NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/60848: Alix fails to boot sometimes after warmstart, very likely due to network initialization



The following reply was made to PR port-i386/60848; it has been noted by GNATS.

From: netbsd%lissners.de@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-i386/60848: Alix fails to boot sometimes after warmstart,
 very likely due to network initialization
Date: Mon, 12 Oct 2026 11:55:00 +0200

 Am 10.10.26 um 7:45 PM schrieb Andrius V via gnats:
 >  =20
 >   You can discard my first patch completely now.
 >   The problem appears to be that the RX engine sometimes gets stuck (it
 >   seems to fail when the DHCP offer is not the first frame received).
 >   I have prepared a new patch that I have tested locally, and I believe
 >   it should work for you: https://netbsd.org/~andvar/if_vr.c.3.diff
 >   It does something similar to what you were expecting: it forces a
 >   reset of the vr interface during initialization when a DHCP request
 >   has been sent and a stuck RX engine is detected.
 >   I have tested it locally on my machine. You should see something like
 >   the following when a request that previously failed succeeds:
 >   root on vr0
 >   nfs_boot: trying DHCP/BOOTP
 >   vr0: restarting
 >   vr0: using force reset command.
 >   nfs_boot: DHCP next-server: 192.168.19.1
 >   nfs_boot: my_addr=3D3D192.168.19.8
 >   nfs_boot: my_mask=3D3D255.255.255.0
 >   nfs_boot: gateway=3D3D192.168.19.1
 >   root on 192.168.19.1:/srv/pxeroot
 >  =20
 >   If you have any problems applying the patch or building the kernel, I
 >   can provide a prebuilt kernel.
 >   If it works, I will apply this or a similar patch and request a
 >   pull-up to the NetBSD 11 branch.
 >   We have daily builds for supported branches (with some delay)
 >   available at https://nycdn.netbsd.org/, which you will be able to use
 >   directly once the patch is pulled up.
 >   Eventually, the fix will make its way into a new 11.x or 12.0 release.
 >   Of course, alternatives include using builds from the nycdn branches
 >   or building the kernel yourself.
 >  =20
 >   >
 >   >  Regards
 >   >  Ekkehard
 >   >
 >  =20
 >   Regards,
 >   Andrius V
 
 Hi Andrius,
 
 I tested your latest patch and this seems to fix the problem. I had ~20=20
 bootups and found the "vr0: restarting", "vr0: using force reset=20
 command" in the console log. Booting continued.
 I think, that proves your patch is working.
 
 Thanks a lot!
 
 Regards
 Ekkehard
 



Home | Main Index | Thread Index | Old Index