* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue [not found] ` <20210913203234.GA6762@codemonkey.org.uk> @ 2021-09-13 20:44 ` Heiner Kallweit 2021-09-13 23:32 ` Hisashi T Fujinaka 0 siblings, 1 reply; 13+ messages in thread From: Heiner Kallweit @ 2021-09-13 20:44 UTC (permalink / raw) To: intel-wired-lan On 13.09.2021 22:32, Dave Jones wrote: + Jesse and Tony as Intel NIC maintainers > On Mon, Sep 13, 2021 at 10:22:57PM +0200, Heiner Kallweit wrote: > > > > This didn't help I'm afraid :( > > > It changed the VPD warning, but that's about it... > > > > > > [ 184.235496] pci 0000:02:00.0: calling quirk_blacklist_vpd+0x0/0x22 @ 1 > > > [ 184.235499] pci 0000:02:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format) > > > [ 184.235501] pci 0000:02:00.0: quirk_blacklist_vpd+0x0/0x22 took 0 usecs > > > > > With this patch there's no VPD access to this device any longer. So this can't be > > the root cause. Do you have any other PCI device that has VPD capability? > > -> Capabilities: [...] Vital Product Data > > > 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) > Subsystem: Device 1dcf:030a > ... > Capabilities: [e0] Vital Product Data > Unknown small resource type 06, will not decode more. > When searching I found the same symptom of invalid VPD data for 82599EB. Do these adapters have non-VPD data in VPD address space? Or is the actual VPD data at another offset than 0? I know that few Chelsio devices have such a non-standard VPD structure. > > I'll add that to the quirk list and see if that helps. > > Dave > Heiner ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-13 20:44 ` [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue Heiner Kallweit @ 2021-09-13 23:32 ` Hisashi T Fujinaka 2021-09-14 5:51 ` Heiner Kallweit 0 siblings, 1 reply; 13+ messages in thread From: Hisashi T Fujinaka @ 2021-09-13 23:32 UTC (permalink / raw) To: intel-wired-lan On Mon, 13 Sep 2021, Heiner Kallweit wrote: > On 13.09.2021 22:32, Dave Jones wrote: > > + Jesse and Tony as Intel NIC maintainers > >> On Mon, Sep 13, 2021 at 10:22:57PM +0200, Heiner Kallweit wrote: >> >> >> This didn't help I'm afraid :( >> >> It changed the VPD warning, but that's about it... >> >> >> >> [ 184.235496] pci 0000:02:00.0: calling quirk_blacklist_vpd+0x0/0x22 @ 1 >> >> [ 184.235499] pci 0000:02:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format) >> >> [ 184.235501] pci 0000:02:00.0: quirk_blacklist_vpd+0x0/0x22 took 0 usecs >> >> >> > With this patch there's no VPD access to this device any longer. So this can't be >> > the root cause. Do you have any other PCI device that has VPD capability? >> > -> Capabilities: [...] Vital Product Data >> >> >> 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) >> Subsystem: Device 1dcf:030a >> ... >> Capabilities: [e0] Vital Product Data >> Unknown small resource type 06, will not decode more. >> > > When searching I found the same symptom of invalid VPD data for 82599EB. > Do these adapters have non-VPD data in VPD address space? Or is the actual > VPD data at another offset than 0? I know that few Chelsio devices have > such a non-standard VPD structure. > >> >> I'll add that to the quirk list and see if that helps. >> >> Dave >> > Heiner Sorry to reply from my personal account. If I did it from my work account I'd be top-posting because of Outlook and that goes over like a lead balloon. Anyway, can you send us a dump of your eeprom using ethtool -e? You can either send it via a bug on e1000.sourceforge.net or try sending it to todd.fujinaka at intel.com The other thing is I'm wondering is what the subvendor device ID you have is referring to because it's not in the pci database. Some ODMs like getting creative with what they put in the NVM. Todd Fujinaka (todd.fujinaka at intel.com) ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-13 23:32 ` Hisashi T Fujinaka @ 2021-09-14 5:51 ` Heiner Kallweit 2021-09-14 14:24 ` Dave Jones 0 siblings, 1 reply; 13+ messages in thread From: Heiner Kallweit @ 2021-09-14 5:51 UTC (permalink / raw) To: intel-wired-lan On 14.09.2021 01:32, Hisashi T Fujinaka wrote: > On Mon, 13 Sep 2021, Heiner Kallweit wrote: > >> On 13.09.2021 22:32, Dave Jones wrote: >> >> + Jesse and Tony as Intel NIC maintainers >> >>> On Mon, Sep 13, 2021 at 10:22:57PM +0200, Heiner Kallweit wrote: >>> >>> >> This didn't help I'm afraid :( >>> >> It changed the VPD warning, but that's about it... >>> >> >>> >> [? 184.235496] pci 0000:02:00.0: calling? quirk_blacklist_vpd+0x0/0x22 @ 1 >>> >> [? 184.235499] pci 0000:02:00.0: [Firmware Bug]: disabling VPD access (can't determine size of non-standard VPD format) >>> >> [? 184.235501] pci 0000:02:00.0: quirk_blacklist_vpd+0x0/0x22 took 0 usecs >>> >> >>> > With this patch there's no VPD access to this device any longer. So this can't be >>> > the root cause. Do you have any other PCI device that has VPD capability? >>> > -> Capabilities: [...] Vital Product Data >>> >>> >>> 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) >>> ??????? Subsystem: Device 1dcf:030a >>> ????... >>> ??????????? Capabilities: [e0] Vital Product Data >>> ??????????????? Unknown small resource type 06, will not decode more. >>> >> >> When searching I found the same symptom of invalid VPD data for 82599EB. >> Do these adapters have non-VPD data in VPD address space? Or is the actual >> VPD data at another offset than 0? I know that few Chelsio devices have >> such a non-standard VPD structure. >> >>> >>> I'll add that to the quirk list and see if that helps. >>> >>> ????Dave >>> >> Heiner > > Sorry to reply from my personal account. If I did it from my work > account I'd be top-posting because of Outlook and that goes over like a > lead balloon. > > Anyway, can you send us a dump of your eeprom using ethtool -e? You can > either send it via a bug on e1000.sourceforge.net or try sending it to > todd.fujinaka at intel.com > > The other thing is I'm wondering is what the subvendor device ID you > have is referring to because it's not in the pci database. Some ODMs > like getting creative with what they put in the NVM. > > Todd Fujinaka (todd.fujinaka at intel.com) Thanks for the prompt reply. Dave, could you please provide the requested information? ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-14 5:51 ` Heiner Kallweit @ 2021-09-14 14:24 ` Dave Jones 2021-09-14 18:28 ` Fujinaka, Todd 2021-09-14 20:00 ` Hisashi T Fujinaka 0 siblings, 2 replies; 13+ messages in thread From: Dave Jones @ 2021-09-14 14:24 UTC (permalink / raw) To: intel-wired-lan On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: > > Sorry to reply from my personal account. If I did it from my work > > account I'd be top-posting because of Outlook and that goes over like a > > lead balloon. > > > > Anyway, can you send us a dump of your eeprom using ethtool -e? You can > > either send it via a bug on e1000.sourceforge.net or try sending it to > > todd.fujinaka at intel.com > > > > The other thing is I'm wondering is what the subvendor device ID you > > have is referring to because it's not in the pci database. Some ODMs > > like getting creative with what they put in the NVM. > > > > Todd Fujinaka (todd.fujinaka at intel.com) > > Thanks for the prompt reply. Dave, could you please provide the requested > information? sent off-list. Dave ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-14 14:24 ` Dave Jones @ 2021-09-14 18:28 ` Fujinaka, Todd 2021-09-14 20:00 ` Hisashi T Fujinaka 1 sibling, 0 replies; 13+ messages in thread From: Fujinaka, Todd @ 2021-09-14 18:28 UTC (permalink / raw) To: intel-wired-lan Wow, I'm waiting for the hardware guy to look at this but this is an off-brand 10Gtek NIC from Amazon that just has nonsense data in the VPD as far as I can tell (3's). I'll let you know if I find out that the critical settings are bad, but I would just ignore any VPD errors. Todd Fujinaka Software Application Engineer Ethernet Products Group Intel Corporation todd.fujinaka at intel.com -----Original Message----- From: Dave Jones <davej@codemonkey.org.uk> Sent: Tuesday, September 14, 2021 7:24 AM To: Heiner Kallweit <hkallweit1@gmail.com> Cc: Brandeburg, Jesse <jesse.brandeburg@intel.com>; Nguyen, Anthony L <anthony.l.nguyen@intel.com>; linux-pci at vger.kernel.org; Linux Kernel Mailing List <linux-kernel@vger.kernel.org>; intel-wired-lan <intel-wired-lan@lists.osuosl.org>; Bjorn Helgaas <bhelgaas@google.com>; Fujinaka, Todd <todd.fujinaka@intel.com>; Hisashi T Fujinaka <htodd@twofifty.com> Subject: Re: [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: > > Sorry to reply from my personal account. If I did it from my work > > account I'd be top-posting because of Outlook and that goes over like a > > lead balloon. > > > > Anyway, can you send us a dump of your eeprom using ethtool -e? You can > > either send it via a bug on e1000.sourceforge.net or try sending it to > > todd.fujinaka at intel.com > > > > The other thing is I'm wondering is what the subvendor device ID you > > have is referring to because it's not in the pci database. Some ODMs > > like getting creative with what they put in the NVM. > > > > Todd Fujinaka (todd.fujinaka at intel.com) > > Thanks for the prompt reply. Dave, could you please provide the requested > information? sent off-list. Dave ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-14 14:24 ` Dave Jones 2021-09-14 18:28 ` Fujinaka, Todd @ 2021-09-14 20:00 ` Hisashi T Fujinaka 2021-09-14 21:51 ` Heiner Kallweit 1 sibling, 1 reply; 13+ messages in thread From: Hisashi T Fujinaka @ 2021-09-14 20:00 UTC (permalink / raw) To: intel-wired-lan On Tue, 14 Sep 2021, Dave Jones wrote: > On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: > > > > Sorry to reply from my personal account. If I did it from my work > > > account I'd be top-posting because of Outlook and that goes over like a > > > lead balloon. > > > > > > Anyway, can you send us a dump of your eeprom using ethtool -e? You can > > > either send it via a bug on e1000.sourceforge.net or try sending it to > > > todd.fujinaka at intel.com > > > > > > The other thing is I'm wondering is what the subvendor device ID you > > > have is referring to because it's not in the pci database. Some ODMs > > > like getting creative with what they put in the NVM. > > > > > > Todd Fujinaka (todd.fujinaka at intel.com) > > > > Thanks for the prompt reply. Dave, could you please provide the requested > > information? > > sent off-list. > > Dave Whoops. I replied from outlook again. I have confirmation that this should be a valid image. The VPD is just a series of 3's. There are changes to preboot header, flash and BAR size, and as far as I can tell, a nonsense subdevice ID, but this should work. What was the original question? Todd Fujinaka <todd.fujinaka@intel.com> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-14 20:00 ` Hisashi T Fujinaka @ 2021-09-14 21:51 ` Heiner Kallweit 2021-09-15 14:18 ` Hisashi T Fujinaka 0 siblings, 1 reply; 13+ messages in thread From: Heiner Kallweit @ 2021-09-14 21:51 UTC (permalink / raw) To: intel-wired-lan On 14.09.2021 22:00, Hisashi T Fujinaka wrote: > On Tue, 14 Sep 2021, Dave Jones wrote: > >> On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: >> >> > > Sorry to reply from my personal account. If I did it from my work >> > > account I'd be top-posting because of Outlook and that goes over like a >> > > lead balloon. >> > > >> > > Anyway, can you send us a dump of your eeprom using ethtool -e? You can >> > > either send it via a bug on e1000.sourceforge.net or try sending it to >> > > todd.fujinaka at intel.com >> > > >> > > The other thing is I'm wondering is what the subvendor device ID you >> > > have is referring to because it's not in the pci database. Some ODMs >> > > like getting creative with what they put in the NVM. >> > > >> > > Todd Fujinaka (todd.fujinaka at intel.com) >> > >> > Thanks for the prompt reply. Dave, could you please provide the requested >> > information? >> >> sent off-list. >> >> ????Dave > > Whoops. I replied from outlook again. > > I have confirmation that this should be a valid image. The VPD is just a > series of 3's. There are changes to preboot header, flash and BAR size, > and as far as I can tell, a nonsense subdevice ID, but this should work. > > What was the original question? > "lspci -vv" complains about an invalid short tag 0x06 and the PCI VPD code resulted in a stall. So it seems the data doesn't have valid VPD format as defined in PCI specification. 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) Subsystem: Device 1dcf:030a ... Capabilities: [e0] Vital Product Data *Unknown small resource type 06, will not decode more.* Not sure which method is used by the driver to get the EEPROM content. For the issue here is relevant what is exposed via PCI VPD. The related kernel error message has been reported few times, e.g. here: https://access.redhat.com/solutions/3001451 Only due to a change in kernel code this became a more prominent issue now. You say that VPD is just a series of 3's. This may explain why kernel and tools complain about an invalid VPD format. VPD misses the tag structure. > Todd Fujinaka <todd.fujinaka@intel.com> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-14 21:51 ` Heiner Kallweit @ 2021-09-15 14:18 ` Hisashi T Fujinaka 2021-09-15 16:05 ` Heiner Kallweit 0 siblings, 1 reply; 13+ messages in thread From: Hisashi T Fujinaka @ 2021-09-15 14:18 UTC (permalink / raw) To: intel-wired-lan On Tue, 14 Sep 2021, Heiner Kallweit wrote: > On 14.09.2021 22:00, Hisashi T Fujinaka wrote: >> On Tue, 14 Sep 2021, Dave Jones wrote: >> >>> On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: >>> >>>>> Sorry to reply from my personal account. If I did it from my work >>>>> account I'd be top-posting because of Outlook and that goes over like a >>>>> lead balloon. >>>>> >>>>> Anyway, can you send us a dump of your eeprom using ethtool -e? You can >>>>> either send it via a bug on e1000.sourceforge.net or try sending it to >>>>> todd.fujinaka at intel.com >>>>> >>>>> The other thing is I'm wondering is what the subvendor device ID you >>>>> have is referring to because it's not in the pci database. Some ODMs >>>>> like getting creative with what they put in the NVM. >>>>> >>>>> Todd Fujinaka (todd.fujinaka at intel.com) >>>> >>>> Thanks for the prompt reply. Dave, could you please provide the requested >>>> information? >>> >>> sent off-list. >>> >>> Dave >> >> Whoops. I replied from outlook again. >> >> I have confirmation that this should be a valid image. The VPD is just a >> series of 3's. There are changes to preboot header, flash and BAR size, >> and as far as I can tell, a nonsense subdevice ID, but this should work. >> >> What was the original question? >> > "lspci -vv" complains about an invalid short tag 0x06 and the PCI VPD > code resulted in a stall. So it seems the data doesn't have valid VPD > format as defined in PCI specification. > > 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) > Subsystem: Device 1dcf:030a > ... > Capabilities: [e0] Vital Product Data > *Unknown small resource type 06, will not decode more.* > > Not sure which method is used by the driver to get the EEPROM content. > For the issue here is relevant what is exposed via PCI VPD. > > The related kernel error message has been reported few times, e.g. here: > https://access.redhat.com/solutions/3001451 > Only due to a change in kernel code this became a more prominent > issue now. > > You say that VPD is just a series of 3's. This may explain why kernel and > tools complain about an invalid VPD format. VPD misses the tag structure. I think I conflated two issues and yours may not be the one with the weird Amazon NIC. In any case, the VPD does not match the spec and two people have confirmed it's just full of 3's. With the bogus subvendor ID, I'm thinking this is not an Intel NIC. Next step is to contact whoever made the NIC and ask them for guidance. Todd Fujinaka <todd.fujinaka@intel.com> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-15 14:18 ` Hisashi T Fujinaka @ 2021-09-15 16:05 ` Heiner Kallweit 2021-09-15 16:16 ` Hisashi T Fujinaka 0 siblings, 1 reply; 13+ messages in thread From: Heiner Kallweit @ 2021-09-15 16:05 UTC (permalink / raw) To: intel-wired-lan On 15.09.2021 16:18, Hisashi T Fujinaka wrote: > On Tue, 14 Sep 2021, Heiner Kallweit wrote: > >> On 14.09.2021 22:00, Hisashi T Fujinaka wrote: >>> On Tue, 14 Sep 2021, Dave Jones wrote: >>> >>>> On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: >>>> >>>>>> Sorry to reply from my personal account. If I did it from my work >>>>>> account I'd be top-posting because of Outlook and that goes over like a >>>>>> lead balloon. >>>>>> >>>>>> Anyway, can you send us a dump of your eeprom using ethtool -e? You can >>>>>> either send it via a bug on e1000.sourceforge.net or try sending it to >>>>>> todd.fujinaka at intel.com >>>>>> >>>>>> The other thing is I'm wondering is what the subvendor device ID you >>>>>> have is referring to because it's not in the pci database. Some ODMs >>>>>> like getting creative with what they put in the NVM. >>>>>> >>>>>> Todd Fujinaka (todd.fujinaka at intel.com) >>>>> >>>>> Thanks for the prompt reply. Dave, could you please provide the requested >>>>> information? >>>> >>>> sent off-list. >>>> >>>> ??? Dave >>> >>> Whoops. I replied from outlook again. >>> >>> I have confirmation that this should be a valid image. The VPD is just a >>> series of 3's. There are changes to preboot header, flash and BAR size, >>> and as far as I can tell, a nonsense subdevice ID, but this should work. >>> >>> What was the original question? >>> >> "lspci -vv" complains about an invalid short tag 0x06 and the PCI VPD >> code resulted in a stall. So it seems the data doesn't have valid VPD >> format as defined in PCI specification. >> >> 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) >> ?????? Subsystem: Device 1dcf:030a >> ????... >> ??????????? Capabilities: [e0] Vital Product Data >> ?????????????? *Unknown small resource type 06, will not decode more.* >> >> Not sure which method is used by the driver to get the EEPROM content. >> For the issue here is relevant what is exposed via PCI VPD. >> >> The related kernel error message has been reported few times, e.g. here: >> https://access.redhat.com/solutions/3001451 >> Only due to a change in kernel code this became a more prominent >> issue now. >> >> You say that VPD is just a series of 3's. This may explain why kernel and >> tools complain about an invalid VPD format. VPD misses the tag structure. > > I think I conflated two issues and yours may not be the one with the > weird Amazon NIC. In any case, the VPD does not match the spec and two > people have confirmed it's just full of 3's. With the bogus subvendor > ID, I'm thinking this is not an Intel NIC. > > Next step is to contact whoever made the NIC and ask them for guidance. > In an earlier mail in this thread was stated that subvendor id is unknown. Checking here https://pcisig.com/membership/member-companies?combine=1dcf it says: Beijing Sinead Technology Co., Ltd. > Todd Fujinaka <todd.fujinaka@intel.com> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-15 16:05 ` Heiner Kallweit @ 2021-09-15 16:16 ` Hisashi T Fujinaka 2021-09-15 22:32 ` Bjorn Helgaas 0 siblings, 1 reply; 13+ messages in thread From: Hisashi T Fujinaka @ 2021-09-15 16:16 UTC (permalink / raw) To: intel-wired-lan On Wed, 15 Sep 2021, Heiner Kallweit wrote: > On 15.09.2021 16:18, Hisashi T Fujinaka wrote: >> On Tue, 14 Sep 2021, Heiner Kallweit wrote: >> >>> On 14.09.2021 22:00, Hisashi T Fujinaka wrote: >>>> On Tue, 14 Sep 2021, Dave Jones wrote: >>>> >>>>> On Tue, Sep 14, 2021 at 07:51:22AM +0200, Heiner Kallweit wrote: >>>>> >>>>>>> Sorry to reply from my personal account. If I did it from my work >>>>>>> account I'd be top-posting because of Outlook and that goes over like a >>>>>>> lead balloon. >>>>>>> >>>>>>> Anyway, can you send us a dump of your eeprom using ethtool -e? You can >>>>>>> either send it via a bug on e1000.sourceforge.net or try sending it to >>>>>>> todd.fujinaka at intel.com >>>>>>> >>>>>>> The other thing is I'm wondering is what the subvendor device ID you >>>>>>> have is referring to because it's not in the pci database. Some ODMs >>>>>>> like getting creative with what they put in the NVM. >>>>>>> >>>>>>> Todd Fujinaka (todd.fujinaka at intel.com) >>>>>> >>>>>> Thanks for the prompt reply. Dave, could you please provide the requested >>>>>> information? >>>>> >>>>> sent off-list. >>>>> >>>>> Dave >>>> >>>> Whoops. I replied from outlook again. >>>> >>>> I have confirmation that this should be a valid image. The VPD is just a >>>> series of 3's. There are changes to preboot header, flash and BAR size, >>>> and as far as I can tell, a nonsense subdevice ID, but this should work. >>>> >>>> What was the original question? >>>> >>> "lspci -vv" complains about an invalid short tag 0x06 and the PCI VPD >>> code resulted in a stall. So it seems the data doesn't have valid VPD >>> format as defined in PCI specification. >>> >>> 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) >>> Subsystem: Device 1dcf:030a >>> ... >>> Capabilities: [e0] Vital Product Data >>> *Unknown small resource type 06, will not decode more.* >>> >>> Not sure which method is used by the driver to get the EEPROM content. >>> For the issue here is relevant what is exposed via PCI VPD. >>> >>> The related kernel error message has been reported few times, e.g. here: >>> https://access.redhat.com/solutions/3001451 >>> Only due to a change in kernel code this became a more prominent >>> issue now. >>> >>> You say that VPD is just a series of 3's. This may explain why kernel and >>> tools complain about an invalid VPD format. VPD misses the tag structure. >> >> I think I conflated two issues and yours may not be the one with the >> weird Amazon NIC. In any case, the VPD does not match the spec and two >> people have confirmed it's just full of 3's. With the bogus subvendor >> ID, I'm thinking this is not an Intel NIC. >> >> Next step is to contact whoever made the NIC and ask them for guidance. >> > In an earlier mail in this thread was stated that subvendor id is unknown. > Checking here https://pcisig.com/membership/member-companies?combine=1dcf > it says: Beijing Sinead Technology Co., Ltd. Huh. I didn't realize there was an official list beyond pciids.ucw.cz. In any case, that's who you need to talk to about the unlisted (to Linux) vendor ID and also the odd VPD data. -- Hisashi T Fujinaka - htodd at twofifty.com BSEE + BSChem + BAEnglish + MSCS + $2.50 = coffee ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-15 16:16 ` Hisashi T Fujinaka @ 2021-09-15 22:32 ` Bjorn Helgaas 2021-09-15 23:46 ` Hisashi T Fujinaka 0 siblings, 1 reply; 13+ messages in thread From: Bjorn Helgaas @ 2021-09-15 22:32 UTC (permalink / raw) To: intel-wired-lan On Wed, Sep 15, 2021 at 09:16:47AM -0700, Hisashi T Fujinaka wrote: > On Wed, 15 Sep 2021, Heiner Kallweit wrote: > > On 15.09.2021 16:18, Hisashi T Fujinaka wrote: > > > On Tue, 14 Sep 2021, Heiner Kallweit wrote: > > > > On 14.09.2021 22:00, Hisashi T Fujinaka wrote: > > > > > I have confirmation that this should be a valid image. The > > > > > VPD is just a series of 3's. There are changes to preboot > > > > > header, flash and BAR size, and as far as I can tell, a > > > > > nonsense subdevice ID, but this should work. > > > > > > > > > > What was the original question? > > > > > > > > > "lspci -vv" complains about an invalid short tag 0x06 and the > > > > PCI VPD code resulted in a stall. So it seems the data doesn't > > > > have valid VPD format as defined in PCI specification. > > > > > > > > 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) > > > > Subsystem: Device 1dcf:030a > > > > ... > > > > Capabilities: [e0] Vital Product Data > > > > *Unknown small resource type 06, will not decode more.* > > > > > > > > Not sure which method is used by the driver to get the EEPROM > > > > content. For the issue here is relevant what is exposed via > > > > PCI VPD. > > > > > > > > The related kernel error message has been reported few times, > > > > e.g. here: https://access.redhat.com/solutions/3001451 Only > > > > due to a change in kernel code this became a more prominent > > > > issue now. > > > > > > > > You say that VPD is just a series of 3's. This may explain why > > > > kernel and tools complain about an invalid VPD format. VPD > > > > misses the tag structure. > > > > > > I think I conflated two issues and yours may not be the one with the > > > weird Amazon NIC. In any case, the VPD does not match the spec and two > > > people have confirmed it's just full of 3's. With the bogus subvendor > > > ID, I'm thinking this is not an Intel NIC. A series of 0x03 0x03 0x03 ... bytes would decode as "small items of type 00", so I assume the VPD contains a series of 0x33 0x33 0x33 ... bytes. That would decode to a series of "small items of type 06", each of length four (one byte for the tag, three bytes of data). Prior to v5.15, we would complain "invalid short VPD tag 06" and stop reading. As of v5.15, I think we'll just keep reading looking for a valid "end" tag, but we'll never find one. I think in v5.15 there will be no error message because the series of four-byte small data items happens to fit exactly in the maximum 32KB size of VPD and is technically legal syntactic structure, even though it makes no sense. But it will be much slower and might account for the boot slowdown Dave reported. > > In an earlier mail in this thread was stated that subvendor id is unknown. > > Checking here https://pcisig.com/membership/member-companies?combine=1dcf > > it says: Beijing Sinead Technology Co., Ltd. > > Huh. I didn't realize there was an official list beyond pciids.ucw.cz. > > In any case, that's who you need to talk to about the unlisted (to > Linux) vendor ID and also the odd VPD data. https://pci-ids.ucw.cz/ is definitely unofficial in the sense that it is basically crowd-sourced data, not the "official" Vendor IDs controlled by the PCI SIG. I submitted an addition to https://pci-ids.ucw.cz/ Bjorn ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-15 22:32 ` Bjorn Helgaas @ 2021-09-15 23:46 ` Hisashi T Fujinaka 2021-09-17 15:09 ` Bjorn Helgaas 0 siblings, 1 reply; 13+ messages in thread From: Hisashi T Fujinaka @ 2021-09-15 23:46 UTC (permalink / raw) To: intel-wired-lan On Wed, 15 Sep 2021, Bjorn Helgaas wrote: > On Wed, Sep 15, 2021 at 09:16:47AM -0700, Hisashi T Fujinaka wrote: >> On Wed, 15 Sep 2021, Heiner Kallweit wrote: >>> On 15.09.2021 16:18, Hisashi T Fujinaka wrote: >>>> On Tue, 14 Sep 2021, Heiner Kallweit wrote: >>>>> On 14.09.2021 22:00, Hisashi T Fujinaka wrote: > >>>>>> I have confirmation that this should be a valid image. The >>>>>> VPD is just a series of 3's. There are changes to preboot >>>>>> header, flash and BAR size, and as far as I can tell, a >>>>>> nonsense subdevice ID, but this should work. >>>>>> >>>>>> What was the original question? >>>>>> >>>>> "lspci -vv" complains about an invalid short tag 0x06 and the >>>>> PCI VPD code resulted in a stall. So it seems the data doesn't >>>>> have valid VPD format as defined in PCI specification. >>>>> >>>>> 01:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01) >>>>> Subsystem: Device 1dcf:030a >>>>> ... >>>>> Capabilities: [e0] Vital Product Data >>>>> *Unknown small resource type 06, will not decode more.* >>>>> >>>>> Not sure which method is used by the driver to get the EEPROM >>>>> content. For the issue here is relevant what is exposed via >>>>> PCI VPD. >>>>> >>>>> The related kernel error message has been reported few times, >>>>> e.g. here: https://access.redhat.com/solutions/3001451 Only >>>>> due to a change in kernel code this became a more prominent >>>>> issue now. >>>>> >>>>> You say that VPD is just a series of 3's. This may explain why >>>>> kernel and tools complain about an invalid VPD format. VPD >>>>> misses the tag structure. >>>> >>>> I think I conflated two issues and yours may not be the one with the >>>> weird Amazon NIC. In any case, the VPD does not match the spec and two >>>> people have confirmed it's just full of 3's. With the bogus subvendor >>>> ID, I'm thinking this is not an Intel NIC. > > A series of 0x03 0x03 0x03 ... bytes would decode as "small items of > type 00", so I assume the VPD contains a series of 0x33 0x33 0x33 ... > bytes. That would decode to a series of "small items of type 06", > each of length four (one byte for the tag, three bytes of data). > > Prior to v5.15, we would complain "invalid short VPD tag 06" and stop > reading. As of v5.15, I think we'll just keep reading looking for a > valid "end" tag, but we'll never find one. > > I think in v5.15 there will be no error message because the series of > four-byte small data items happens to fit exactly in the maximum 32KB > size of VPD and is technically legal syntactic structure, even though > it makes no sense. > > But it will be much slower and might account for the boot slowdown > Dave reported. > >>> In an earlier mail in this thread was stated that subvendor id is unknown. >>> Checking here https://pcisig.com/membership/member-companies?combine=1dcf >>> it says: Beijing Sinead Technology Co., Ltd. >> >> Huh. I didn't realize there was an official list beyond pciids.ucw.cz. >> >> In any case, that's who you need to talk to about the unlisted (to >> Linux) vendor ID and also the odd VPD data. > > https://pci-ids.ucw.cz/ is definitely unofficial in the sense that it > is basically crowd-sourced data, not the "official" Vendor IDs > controlled by the PCI SIG. > > I submitted an addition to https://pci-ids.ucw.cz/ > > Bjorn Just for my edumacation, do they keep track of device IDs, subvendor IDs (which are probably just the same as vendor IDs), and subdevice IDs in the PCI SIG? Or even the branding strings? Todd Fujinaka <todd.fujinaka@intel.com> ^ permalink raw reply [flat|nested] 13+ messages in thread
* [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue 2021-09-15 23:46 ` Hisashi T Fujinaka @ 2021-09-17 15:09 ` Bjorn Helgaas 0 siblings, 0 replies; 13+ messages in thread From: Bjorn Helgaas @ 2021-09-17 15:09 UTC (permalink / raw) To: intel-wired-lan On Wed, Sep 15, 2021 at 04:46:54PM -0700, Hisashi T Fujinaka wrote: > On Wed, 15 Sep 2021, Bjorn Helgaas wrote: > > > On Wed, Sep 15, 2021 at 09:16:47AM -0700, Hisashi T Fujinaka wrote: > > > On Wed, 15 Sep 2021, Heiner Kallweit wrote: > > > > In an earlier mail in this thread was stated that subvendor id is unknown. > > > > Checking here https://pcisig.com/membership/member-companies?combine=1dcf > > > > it says: Beijing Sinead Technology Co., Ltd. > > > > > > Huh. I didn't realize there was an official list beyond pciids.ucw.cz. > > > > > > In any case, that's who you need to talk to about the unlisted (to > > > Linux) vendor ID and also the odd VPD data. > > > > https://pci-ids.ucw.cz/ is definitely unofficial in the sense that it > > is basically crowd-sourced data, not the "official" Vendor IDs > > controlled by the PCI SIG. > > > > I submitted an addition to https://pci-ids.ucw.cz/ > > > > Bjorn > > Just for my edumacation, do they keep track of device IDs, subvendor IDs > (which are probably just the same as vendor IDs), and subdevice IDs in > the PCI SIG? Or even the branding strings? The PCI SIG does not manage Device IDs. That's the responsibility of the vendor. ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2021-09-17 15:09 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAHk-=wgbygOb3hRV+7YOpVcMPTP2oQ=iw6tf09Ydspg7o7BsWQ@mail.gmail.com>
[not found] ` <20210913141818.GA27911@codemonkey.org.uk>
[not found] ` <ab571d7e-0cf5-ffb3-6bbe-478a4ed749dc@gmail.com>
[not found] ` <20210913201519.GA15726@codemonkey.org.uk>
[not found] ` <b84b799d-0aaa-c4e1-b61b-8e2316b62bd1@gmail.com>
[not found] ` <20210913203234.GA6762@codemonkey.org.uk>
2021-09-13 20:44 ` [Intel-wired-lan] Linux 5.15-rc1 - 82599ES VPD access isue Heiner Kallweit
2021-09-13 23:32 ` Hisashi T Fujinaka
2021-09-14 5:51 ` Heiner Kallweit
2021-09-14 14:24 ` Dave Jones
2021-09-14 18:28 ` Fujinaka, Todd
2021-09-14 20:00 ` Hisashi T Fujinaka
2021-09-14 21:51 ` Heiner Kallweit
2021-09-15 14:18 ` Hisashi T Fujinaka
2021-09-15 16:05 ` Heiner Kallweit
2021-09-15 16:16 ` Hisashi T Fujinaka
2021-09-15 22:32 ` Bjorn Helgaas
2021-09-15 23:46 ` Hisashi T Fujinaka
2021-09-17 15:09 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox