[ipxe-devel] i217lm after reboot not working

Geert Stappers stappers at stappers.nl
Mon Mar 30 20:54:33 UTC 2020


On Fri, Mar 13, 2020 at 09:26:55AM +0000, Martin Habets wrote:
> On 12/03/2020 22:31, belyj at belyj.eu wrote:
> > On 2020-03-12 23:44, Geert Stappers wrote:
> >> On Thu, Mar 12, 2020 at 11:09:05PM +0200, belyj at belyj.eu wrote:
> >>> On 2020-03-12 23:02, Geert Stappers wrote:
> >>> > On Thu, Mar 12, 2020 at 11:06:11AM +0200, belyj at belyj.eu wrote:
> >>> > > On 2020-03-12 10:37, Geert Stappers wrote:
> >>> > > > On 12-03-2020 09:36, belyj at belyj.eu wrote:
> >>> > > > >
> >>> > > > > Im having issues with intel i217lm. iPXE works only once, after reboot
> >>> > > > > network is not working, however if i boot from livecd and after
> >>> > > > > network detection i reboot server iPXE works one time. iPXE latest
> >>> > > > > build from git.
> >>> > > > >
> >>> > > >
> >>> > > > lspci
> >>> > > >
> >>> > > 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05)
> >>> > > 03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)
> >>> >
> >>> > lspci -s  00:19.0  -n
> >>> > lspci -s  03:00.0  -n
> >>> >
> >>>
> >>> 00:19.0 0200: 8086:153a (rev 05)
> >>> 03:00.0 0200: 8086:1533 (rev 03)
> >>
> >> <screendump>
> >> stappers at trancilo:~/src
> >> $ cd ipxe
> >> stappers at trancilo:~/src/ipxe
> >> $ git pull
> >> Already up to date.
> >> stappers at trancilo:~/src/ipxe
> >> $ git grep 1533
> >> src/drivers/net/intel.c:        PCI_ROM ( 0x8086, 0x1533, "i210", "I210", 0 ),
> >> stappers at trancilo:~/src/ipxe
> >> $ git grep 153a
> >> src/drivers/net/intel.c:        PCI_ROM ( 0x8086, 0x153a, "i217lm", "I217-LM", INTEL_NO_PHY_RST ),
> 
> That INTEL_NO_PHY_RST flag looks like a good one to try on your NIC, i.e.  put it in the line above.

Mmm, No Phy reset makes sense in this context

--- a/src/drivers/net/intel.c
+++ b/src/drivers/net/intel.c
@@ -1130,7 +1130,7 @@ static struct pci_device_id intel_nics[] = {
        PCI_ROM ( 0x8086, 0x1525, "82567v-4", "82567V-4", 0 ),
        PCI_ROM ( 0x8086, 0x1526, "82576-5", "82576", 0 ),
        PCI_ROM ( 0x8086, 0x1527, "82580-f2", "82580 Fiber", 0 ),
-       PCI_ROM ( 0x8086, 0x1533, "i210", "I210", 0 ),
+       PCI_ROM ( 0x8086, 0x1533, "i210", "I210", INTEL_NO_PHY_RST ),
        PCI_ROM ( 0x8086, 0x1539, "i211", "I211", 0 ),
        PCI_ROM ( 0x8086, 0x153a, "i217lm", "I217-LM", INTEL_NO_PHY_RST),
        PCI_ROM ( 0x8086, 0x153b, "i217v", "I217-V", 0 ),

> 
> Martin
> 
> >> stappers at trancilo:~/src/ipxe
> >> $
> >> </screendump>
> >>
> >>
> >> Both cards seem to be supported by iPXE.  I have no idea what kind of
> >> extras the livecd
> >> does to make them working under Linux.
> >>
> >> If there is only one NIC, goes that one get properly initialized?

Please read that as "Remove 1 NIC and report back"

> >>
> > 
> > iPXE works only one time, when ipxe is flashed to disk and then
> > rebooted everything is working. Later after reboot (reboot from
> > linux booted via iPXE) iPXE network not working, until i start livecd
> > (debian netinstaller), and then just reboot after network init. It
> > will work one time.

Yes, that has also in the original email.

 
> > first boot all good
> >  https://pasteboard.co/IYOmUHC.png
> > after reboot
> >  https://pasteboard.co/IYOkzlm.png

I haven't looked today if they still exist.
What I remember from those pictures that they contain
http://ipxe.org/err/64e78c0de URL
Please share those URLs with us ...


Regards
Geert Stappers
not your OCR device
-- 
Silence is hard to parse



More information about the ipxe-devel mailing list