Dr. Edgar Alwers wrote:
On Thursday 12 January 2006 04:18, Alexander E. Patrakov wrote:
This is not hotplug. Hotplug is working if you can pull and push the
card, not the cable.
just for the sake of learning: if I take of the cable out of my eth0-card from
the PC, I get inmediately the message: "eth0: link down".Or after
reconnecting, "eth0: link up, 100Mbps, full duplex, lpa 0x41E1". Up to now,
I thought, that the ability of the system to recognize the behaviour of a
device on the fly, was exactly what we describe as "hot plug", that means
plugging in or out a device in a "hot" system. Is that really not true ?
It is not true. Adding the card itself to the system is "hotplug".
Events about the cable don't lead to /sbin/hotplug execution. For
handling such events, you want to install the "ifplugd" package that is
completely unrelated (and completely unsupported on LFS).
Please provide the full dmesg, otherwise the problem is undebuggable.
OK, but I was trying to avoid a huge message for all BLFS participants. I
apologize, but here we go:
<snip the proof that the kernel is good and the problem is in userspace>
What happens if you do this?
1) edit /etc/hotplug.d/firmware.agent: add
/usr/bin/env >/tmp/environment
as the second line
2) rmmod ipw2200 ; modprobe ipw2200
3) look if the /tmp/environment file got created
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page