The kernel is not letting open some files on debugfs which should be opened

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

 



Hi folks,
I tries debug problems with hung of GPU Vega 64 and AMD developers
helps me in this:
https://lists.freedesktop.org/archives/amd-gfx/2018-December/029903.html

But we are stopped because on my setup some files in directory
`/sys/kernel/debug/dri/0/` not openens.

For example:
# cat /sys/kernel/debug/dri/0/amdgpu_gca_config
cat: /sys/kernel/debug/dri/0/amdgpu_gca_config: Operation not permitted

But some another files are possible to open:
# cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
VCE feature version: 0, firmware version: 0x37030400
UVD feature version: 0, firmware version: 0x01571100
MC feature version: 0, firmware version: 0x00000000
ME feature version: 40, firmware version: 0x00000099
PFP feature version: 40, firmware version: 0x000000ae
CE feature version: 40, firmware version: 0x0000004d
RLC feature version: 0, firmware version: 0x00000058
RLC SRLC feature version: 0, firmware version: 0x00000000
RLC SRLG feature version: 0, firmware version: 0x00000000
RLC SRLS feature version: 0, firmware version: 0x00000000
MEC feature version: 40, firmware version: 0x0000018b
MEC2 feature version: 40, firmware version: 0x0000018b
SOS feature version: 0, firmware version: 0x00080039
ASD feature version: 0, firmware version: 0x00172830
SMC feature version: 0, firmware version: 0x051c1100
SDMA0 feature version: 40, firmware version: 0x000001a8
SDMA1 feature version: 40, firmware version: 0x000001a8
VCN feature version: 0, firmware version: 0x00000000
DMCU feature version: 0, firmware version: 0x00000000
VBIOS version: xxx-xxx-xxx

Tom (AMD developer) said that on his machine he could cat
amdgpu_gca_config fine.

I don't have any ideas why on my system I couldn't cat this file.

fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 8), ...}) = 0
openat(AT_FDCWD, "/sys/kernel/debug/dri/0/amdgpu_ring_gfx", O_RDONLY)
= -1 EPERM (Operation not permitted)

Who can tell where to look problem?

Thanks.

--
Best Regards,
Mike Gavrilov.



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux