IP Autoconfig doesn't work for USB network devices

rob1@rekl.yi.org
Thu, 14 Mar 2002 20:29:54 -0600 (CST)


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/