NetBSD-Bugs archive

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

PR/60848 CVS commit: src/sys/dev/pci



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

From: "Andrius Varanavicius" <andvar%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60848 CVS commit: src/sys/dev/pci
Date: Mon, 12 Oct 2026 19:35:49 +0000

 Module Name:	src
 Committed By:	andvar
 Date:		Mon Oct 12 19:35:49 UTC 2026
 
 Modified Files:
 	src/sys/dev/pci: if_vr.c
 
 Log Message:
 vr(4): reinitialize device when rx engine fails to go to the idle state.
 
 When detecting root via NFS, DHCP timed out on some boots.
 Investigation showed that in certain cases RX engine was getting stuck,
 likely triggered by an ARP frame arriving before driver handled a link up
 state.
 
 NFS boot's RARP fallback was calling media up command, triggering
 reinitialization and forced reset, restoring the device state.
 Since fallback doesn't set the IP address, NFS boot failed,
 requesting to prompt root device again.
 
 Subsequent attempt succeeded since device was reinitialized
 by the RARP fallback, but manual input was required.
 
 The fix always verifies successful rx/tx engine shutdown in vr_mii_statchg(),
 even when state is active and media link is up.
 In case it fails, device reinitialization is initiated, allowing DHCP process
 to succeed.
 
 Verified fixed by the bug report owner Ekkehard.
 Tested on my own hardware as well.
 
 PR port-i386/60848
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.138 -r1.139 src/sys/dev/pci/if_vr.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index