public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IP Autoconfig doesn't work for USB network devices
@ 2002-03-15  2:29 rob1
  2002-03-15 23:01 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: rob1 @ 2002-03-15  2:29 UTC (permalink / raw)
  To: linux-kernel

Hi.  I'm trying to setup a generic kernel that can be booted from floppy
or flash that will let me setup an nfs-root machine.  I have it working
from machine "A", which has a PCI network card.  However, machine "B"
doesn't work because the USB network device (D-Link DSB-650) is not
detected until after the IP Autoconfig decides that there aren't any
network cards.

Excerpt from bootup/dmesg:

...
pegasus.c: v0.4.22 (2001/12/07):Pegasus/Pegasus II USB Ethernet driver
usb.c: registered new driver pegasus
...
NET4: Linux TCP/IP 1.0 for NET4.0
...
IP-Config: No network devices available.
...
hub.c: USB new device connect on bus2/1, assigned device number 2
pegasus.c: eth0: D-Link DSB-650
...


And then my bootup script fails to mount the nfs partition, etc since it
can't find the network.

I tried modifying the delay time in net/ipv4/ipconfig.c under the "Give
hardware a chance to settle" comment, but apparently the USB connection
stuff is done after it tries to mount root, etc.  (Is that a separate
kernel thread?  Can it be started sooner?)

Is there any way to get the USB network device recognized before IP
autoconfig is executed?


Please reply directly, since I'm not subscribed.  Thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-03-19 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-15  2:29 IP Autoconfig doesn't work for USB network devices rob1
2002-03-15 23:01 ` Greg KH
2002-03-17  0:25   ` rob1
2002-03-19  0:57     ` Greg KH
2002-03-19 23:29     ` Eric Lammerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox