FC2 test1: pcmcia problems on dell i8100
Alexandre Oliva
aoliva at redhat.com
Fri Feb 13 18:42:46 UTC 2004
On Feb 13, 2004, Alexandre Oliva <aoliva at redhat.com> wrote:
> While debugging the problem, I found a
> problem in initscripts that might also help you
There's yet another bug in network-functions just above that.
modprobe -c now prints an `install eth0 /bin/true' line even though
there is an alias. I can't tell whether this is by design or a bug in
modprobe, but it looks like we may have to work around this in
network-functions.
Also, modprobe 3c574_cs will return an exit status if the module
happens to be already loaded. Is it really appropriate to fail
is_available() in this case?
Unfortunately, even if I comment that bit out, it will still fail on
my box. It seems that loading 3c574_cs simply won't add eth0 to the
ip link output. I'm not sure how to proceed debugging this. Anyone
care to suggest a lead for me to follow?
Thanks in advance,
> --- /etc/sysconfig/network-scripts/network-functions~ 2004-01-28 04:19:41.000000000 -0200
> +++ /etc/sysconfig/network-scripts/network-functions 2004-02-13 15:04:53.000000000 -0200
> @@ -180,8 +180,10 @@
> fi
> HOTPLUG=`cat /proc/sys/kernel/hotplug`
> echo "/bin/true" > /proc/sys/kernel/hotplug
> - modprobe $1 > /dev/null 2>&1 || return 1
> + modprobe $1 > /dev/null 2>&1
> + local status=$?
> echo "$HOTPLUG" > /proc/sys/kernel/hotplug
> + test "$status" = 0 || return 1
> if [ -n "$HWADDR" ]; then
> local curdev=`ip -o link | awk -F ':' -vIGNORECASE=1 '/$HWADDR/ { print $2 }'`
> rename_device "$1" "$HWADDR" "$curdev"
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year! oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the test
mailing list