Subject: install/27151: Sysinst fails to set mediaopts for NIC
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <email@example.com>
Date: 10/05/2004 15:36:44
>Synopsis: Sysinst fails to set mediaopts for NIC
>Arrival-Date: Tue Oct 05 15:38:00 UTC 2004
>Originator: Paul Kouwelas
NetBSD backupsrv.xx.xx 2.0_RC1 NetBSD 2.0_RC1 (GENERIC) #0: Sun Oct 3 06:36:43 UTC 2004 autobuildqtgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386 /compile/GENERIC i386
My Internetconnection works only at 10baseT-FDX and requires DHCP, when i try to set this in sysinst it fails, which can be seen on the LEDs of the NIC. Set via Sysinst the NIC doesn't switch to this mode and therefore dhclient fails also. By exiting Sysinst and typing "ifconfig ex0 media 10baseT-FDX up" and invoking "dhclient ex0", then reentering Sysinst by leaving the shell everything works. The same thing is the case with Sysinst from NetBSD 1.6.2. It also isn't limited to some obcsure habit of the ex0 because i crosschecked this with another one (3C905B and C), the onboard vr0, several realtek 8139 and so on. Unfortunately i have no access to the switch i'm connected to, so i can't crosscheck with another one.
Get some switch which is managable, or another device which speaks 10baseT-FDX only and has no working N/WAY autonegotiation, set one port fixed to 10baseT-FDX, no N/Way autonegotiation, hook some system behind that and try to install NetBSD over that port with giving it the mediaopts in Sysinst and DHCP. No go. Leave Sysinst, setup the NIC manually, run dhclient for that NIC, leave the shell, tell Sysinst to use the exisiting connection, see it working.
Apart from the abovementioned workaround none. I guess it's a timing/ordering problem in Sysinst.