[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ROCm test launcher modifications when there is other non-AMD GPU cards.



Hello Christian

> This requires package rocm-podman-support. That package also provides
> you with
>  * rocm-podman-setup(1) to prepare your system for GPU-in-container use
>  * rocm-podman-create(1) to create an image.

We are just using sbuild in order to run the autopkgtest with the unshare system

It end up with this error

autopkgtest [13:11:41]: test command1: rocm-test-launcher reconstruct
autopkgtest [13:11:41]: test command1: [-----------------------
/dev/kfd not present, system either lacks AMD GPU or 'amdgpu' driver is not loaded.
Skipping tests.


but.

This computer has and AMD graphical xcomputing unit.

*******                  
Agent 2                  
*******                  
  Name:                    gfx90c                             
  Uuid:                    GPU-XX                             
  Marketing Name:          AMD Radeon Graphics                
  Vendor Name:             AMD                                
  Feature:                 KERNEL_DISPATCH                    
  Profile:                 BASE_PROFILE                       
  Float Round Mode:        NEAR                               
  Max Queue Number:        128(0x80)                          
  Queue Min Size:          64(0x40)                           
  Queue Max Size:          131072(0x20000)                    
  Queue Type:              MULTI                              
  Node:                    1                                  
  Device Type:             GPU                                
  Cache Info:              
    L1:                      16(0x10) KB                        
    L2:                      1024(0x400) KB                     
  Chip ID:                 5686(0x1636)                       


do you know what should de done in order to prepare the chroot in our case.

a sort of bind mount but when we tryed to bind mount something under /dev/, it enup with this error

I: Placed new chroot tarball at /home/picca/.cache/sbuild/unstable-amd64.tar
I: Unpacking /home/picca/.cache/sbuild/unstable-amd64.tar to /tmp/tmp.sbuild.xDhCW0XnvX...
mount: /tmp/tmp.sbuild.xDhCW0XnvX/dev/kfd: wrong fs type, bad option, bad superblock on /dev/kfd, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
mount failed: No such file or directory at /usr/libexec/sbuild-usernsexec line 387.
E: Running 'true' inside the chroot failed. Please file a bug against sbuild.
E: Error creating chroot session: skipping ufo-filters


thanks for your help.

Fred


Reply to: