Skip to contentSkip to conversation

Error: Unable to read VPD

bnxt Vijay Balakrishna 3 participants 4 messages Jan 10, 2022 – Jan 11, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Since moving to 5.10 from 5.4 we are seeing

Quoted 3 lines
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD

these appear to be harmless and introduced by

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac

Does "Unable to read VPD" need to be an error or can it be a warning (netdev_warn)?

Thanks,
Vijay

#1 lore raw
Quoted 6 lines · Vijay Balakrishna

Since moving to 5.10 from 5.4 we are seeing

Quoted 2 lines
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
Quoted 8 lines
Quoted 1 line
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD

these appear to be harmless and introduced by

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac

Does "Unable to read VPD" need to be an error or can it be a warning (netdev_warn)?

We can change these to warnings. Thanks.

#2 lore raw
Quoted 10 lines · Michael Chan
Quoted 8 lines · Vijay Balakrishna

Since moving to 5.10 from 5.4 we are seeing

Quoted 3 lines
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD
Quoted 8 lines
Quoted 6 lines

these appear to be harmless and introduced by

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac

Does "Unable to read VPD" need to be an error or can it be a warning (netdev_warn)?

We can change these to warnings. Thanks.

Since 5.15 it is a pci_warn() already. Supposedly "Unable to read VPD" here simply means that the device has no (valid) VPD. Does "lspci -vv" list any VPD info?
If VPD is an optional feature, then maybe the warning should be changed to info level and the text should be less alarming.

#3 lore raw
Quoted 18 lines · Heiner Kallweit
Quoted 17 lines · Michael Chan
Quoted 14 lines · Vijay Balakrishna

Since moving to 5.10 from 5.4 we are seeing

Quoted 3 lines
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.0 (unnamed net_device) (uninitialized): Unable to read VPD
Jan 01 00:00:01 localhost kernel: bnxt_en 0008:01:00.1 (unnamed net_device) (uninitialized): Unable to read VPD

these appear to be harmless and introduced by

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a0d0fd70fed5cc4f1e2dd98b801be63b07b4d6ac

Does "Unable to read VPD" need to be an error or can it be a warning (netdev_warn)?

Quoted 6 lines
Quoted 1 line

We can change these to warnings. Thanks.

Since 5.15 it is a pci_warn() already. Supposedly "Unable to read VPD" here simply means that the device has no (valid) VPD. Does "lspci -vv" list any VPD info?
If VPD is an optional feature, then maybe the warning should be changed to info level and the text should be less alarming.

See no VPD info.

Quoted 5 lines

/sys/bus/pci/devices# ls
0000:00:00.0 0000:01:00.0 0000:01:00.1 0008:00:00.0 0008:01:00.0 0008:01:00.1 /sys/bus/pci/devices# for i in ls; do cd $i;ls -lR | grep vpd;cd ..; done /sys/bus/pci/devices# lspci -vv | egrep -i '(vpd|vital)' /sys/bus/pci/devices