Thinus Viljoen wrote: >> M. Koehrer wrote: >>> O.K., >>> >>> I have done a test with the standard e1000 driver of linux (2.4.33, the >> Intel e1000 driver 7.1.9) >>> I have written the following bash script: >>> modprobe e1000 >>> ifconfig eth1 up 192.168.2.2 >>> dmesg -c >>> sleep 1 >>> echo "--------" >>> dmesg -c >>> sleep 1 >>> echo "--------" >>> dmesg -c >>> > > Some results from my setup: > > If I put "sleep 5" between the "modprobe" and "ifconfig eth1 up 192.168.2.2", > everything works fine. > If I change it to "sleep 3", then eth1 comes up, but it is not assigned an IP > address. > If I have no "sleep", then eth1 doesn't come up, and I get the following > messages: > > eth1: unknown interface: No such device > SIOCSIFADDR: No such device > eth1: unknown interface: No such device >
Mmh, the critical path is between modprobe and ifup? Does it also apply on the rt-driver? Anyway, can we say this is basically a vanilla problem? The usual reply of the kernel folks on such reports is: "Have you already tried latest shiny git?". This would likely be http://www.kernel.org/git/?p=linux/kernel/git/jgarzik/netdev-2.6.git;a=tree;h=51578697d4994715151e6484f27793c2d5ee7262;hb=95064a75ebf8744e1ff595e8cd7ff9b6c851523e;f=drivers/net/e1000 (netdev-git) We may also move the generic part of this thread to LKML or netdev if we can exclude that this issue was already fixed elsewhere. There we may at least gain some numbers on that magic startup delay... Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users