Menu

#13 crashinfo --pci aborts on v6 kernel

1.0
closed
v6 (9)
2025-01-06
2024-12-05
No
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>'

Discussion

  • Martin Moore

    Martin Moore - 2025-01-06
    • status: open --> closed
     
  • Martin Moore

    Martin Moore - 2025-01-06

    Fixed in [e2225b].

     

    Related

    Commit: [e2225b]


Log in to post a comment.

MongoDB Logo MongoDB