crash64> crashinfo --pci
Traceback (most recent call last):
File "/home/martin/pykdump-code/LinuxDump/pci.py", line 36, in get_PCI_devices
klist_devices = pci_bus_type.p.klist_devices
File "/home/martin/pykdump-code/pykdump/lowlevel.py", line 391, in __getattr__
raise KeyError(msg)
KeyError: '<struct bus_type> does not have a field <p>'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/martin/pykdump-code/Extension/mpykdump.so/progs/crashinfo.py", line 1557, in <module>
File "/home/martin/pykdump-code/LinuxDump/pci.py", line 51, in print_PCI_devices
for pdev in get_PCI_devices():
File "/home/martin/pykdump-code/LinuxDump/pci.py", line 38, in get_PCI_devices
klist_devices = pci_bus_type.klist_devices
File "/home/martin/pykdump-code/pykdump/lowlevel.py", line 391, in __getattr__
raise KeyError(msg)
KeyError: '<struct bus_type> does not have a field <klist_devices>'
Apparently caused by removal of bus_type.p by this v6.3-rc1 patch:
d2bf38c088e0 driver core: remove private pointer from struct bus_type
See discussion at https://lore.kernel.org/linux-kernel//20230208111330.439504-3-gregkh@linuxfoundation.org/T/.
Fixed in [e2225b].
Related
Commit: [e2225b]