I've suffered the same issue in some netcards (nexcom and portwell HW). The usleep of netcfg.c is not enought to up the interface and detect the link up in auto mode (buggy driver or buggy hardware?? :-/).
In my case the sleep goes to some seconds (4-5 secs.). BR 2010/12/13 Floris Bos <[email protected]> > Hi, > > On Monday, December 13, 2010 04:15:46 am Qin Bo wrote: > > 2010/12/10 Lennart Sorensen <[email protected]> > > > > > Is this another case of a driver/NIC taking longer to get link up after > > > being enabled than the installer is willing to wait? I seem to recall > > > a bnx2 user a few days ago reporting a similar problem. > > > > How can i find the bnx2 problem? I had set netcfg/dhcp_timeout=60 as > boot > > parameter, the problem still reproduce. > > But I still think the netcfg didn't got the correct interface, then > > couldn't get the IP address from dhcp server. > > Because I had read the netcfg source:netcfg.c netcfg-common.c, i can't > find > > where the program deal with interface=auto. > > You need "netcfg/choose_interface=auto" > > > As far as the detection goes, it is this part in netcfg.c: > > == > interface_up(*ifaces); > > usleep(250); > > if (ethtool_lite (*ifaces) == 1) /* CONNECTED */ { > di_info("found link on interface %s, making it the > default.", *ifaces); > defiface = strdup(*ifaces); > interface_down(*ifaces); > break; > } else { > #ifdef WIRELESS > struct wireless_config wc; > #endif /* WIRELESS */ > di_info("found no link on interface %s.", *ifaces); > == > > > A 250 us delay is kinda short. > > It takes 3 seconds for the link of my test box to get up. > (on-board Intel 82574L NIC, connected to a HP 1810G gigabit switch). > > > -- > Yours sincerely, > > Floris Bos > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > Archive: > http://lists.debian.org/[email protected] > >

