From: Craig H. <cr...@hu...> - 2005-04-15 02:50:32
|
Just remove the post-down lines and you should be OK. If you're=20 rebooting anyway, no need to worry too much about unloading modules=20 first... C On Apr 14, 2005, at 11:47 AM, Dave Hylands wrote: > Hi, > > I'm using my etherstix and during the bootup, I'm getting the=20 > following errors: > > Starting network... > ip: Cannot find device "usb0" > ...snip... > ip: Cannot find device "eth0" > ...snip... > > I'm running build 456 > > I modified my /etc/network/interfaces to add the pre-up and post-down > stuff (found on the list):: > > # Configure Loopback > auto lo > iface lo inet loopback > > auto usb0 > iface usb0 inet dhcp > pre-up /sbin/modprobe g_ether;/sbin/modprobe af_packet > post-down /sbin/modprobe -r g_ether > > iface bnep0 inet dhcp > > auto eth0 > iface eth0 inet dhcp > pre-up /sbin/modprobe smc91x > post-down /sbin/modprobe -r smc91x > > iface wlan0 inet dhcp > > and those errors go away, and appropriate DHCP addresses are obtained. > However, if I issue the reboot command, it seems to hang at the > Stopping network.... with these in my process list: > > 1362 root 368 S /bin/sh /etc/init.d/rcS stop > 1410 root 368 S /bin/sh /etc/init.d/S40network stop > 1412 root 364 S /sbin/ifdown -a > 1451 root 360 S /bin/sh -c /sbin/modprobe -r smc91x > 1452 root 324 S /sbin/modprobe -r smc91x > 1455 root 360 S sh -c rmmod smc91x > 1456 root 280 D rmmod smc91x > > If I kill -9 1455 then the reboot resumes. Is this a bug? Or should I > be doing something different in my interfaces file? > > --=20 > Dave Hylands > Vancouver, BC, Canada > http://www.DaveHylands.com/ > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real=20 > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |