Checkbox does not support the PCI_CLASS reported by some virtio-pci devices

Bug #450774 reported by Marc Tardif on 2009-10-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
High
Marc Tardif

Bug Description

Some virtio-pci devices report the following virtual PCI information:

P: /devices/pci0000:00/0000:00:06.0
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:06.0
E: DRIVER=virtio-pci
E: PCI_CLASS=FF00
E: PCI_ID=1AF4:1003
E: PCI_SUBSYS_ID=1AF4:0003
E: PCI_SLOT_NAME=0000:00:06.0
E: MODALIAS=pci:v00001AF4d00001003sv00001AF4sd00000003bc00scFFi00
E: SUBSYSTEM=pci

The problem here is that physical PCI information always contains prog_if information as part of the PCI_CLASS, so the value is assumed to contain more than 4 hexadecimal characters. However, in the above example, this information is not available so strictly 4 characters are provided. This is causing the udev registry to fail when parsing the output of udevadm.

Related branches

Marc Tardif (cr3) on 2009-10-13
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
importance: Undecided → High
status: New → In Progress
Marc Tardif (cr3) on 2009-10-14
Changed in checkbox:
status: In Progress → Fix Committed
Marc Tardif (cr3) on 2009-10-14
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers