FC2 test1: pcmcia problems on dell i8100
Alexandre Oliva
aoliva at redhat.com
Fri Feb 13 18:00:49 UTC 2004
On Feb 13, 2004, Alexander Volovics <awol at home.nl> wrote:
> The driver xirc2ps_cs is loaded and pcmcia is running but
> when pcmcia services are started I get the message:
> "pcmcia: cardmgr[1129]: no sockets found!" in the boot.log.
> Can somebody tell me how to get this working again with the
> 2.6 kernel.
Be sure to have a look at the end of this bug report, it may affect
you: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=100528
FWIW, this got severely broken for me on FC2 test1; now the network
card doesn't work at all. While debugging the problem, I found a
problem in initscripts that might also help you (without it you may
end up with hotplug disabled), but it unfortunately hasn't fixed the
problem for me. I'm yet to file a new bug report with this patch, but
if someone would like to integrate the patch and save both of us a few
minutes, I certainly wouldn't mind :-)
--- /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 fedora-test-list
mailing list