Bug 136795
Summary: | hal does not see coldplugged 16-bit PCMCIA cards | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Brian G. Anderson <bikehead> | ||||
Component: | hal | Assignee: | Dave Jones <davej> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | davidz, pfrields | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.4.0-8 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-10-26 20:14:41 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Brian G. Anderson
2004-10-22 13:06:47 UTC
sorry, I must have hit submit too fast. To complete my sentence: The quickest way to restore the wired interface is to ifdown eth0 followed by ifup eth0 Hmm, this is a hal bug if hal can't see your card. NM uses hal to get a list of cards to control. So, if it can see your wired ethernet but not the wireless, it probably doesn't know the wireless card exists. Note that this is probably a PCMCIA card, right? hal cannot currently detect PCMCIA cards that are not hotplugged, this is slowly being fixed (its really a kernel bug, not a hal bug, but the kernel isn't likely to be fixed that fast). Created attachment 105646 [details]
portion of /var/log/messages
Yes this is a PCMCIA card. I tried 'cardctl eject 2; cardctl insert 2' and it does appear in lshal now. However, I have the wireless disabled on boot. Why was it activated and if NetworkManager didn't do it who did? Before I activated Network manager the wireless wouldn't start. Also, it is a bit confusing that the newtwork monitor applet doesn't show any difference between the wireless interface when it has no IP and when it does: the applet appears to show it up. However, and this may be the topic for a new bug, the wireless link won't stay up. If I disconnect the wired cable now, tt takes about 45 seconds to try and get an IP address and after it gets one, 30 seconds later it drops it. I get a bunch of log messages from network manager. I've added an attachement We should get these patches for sysfs support in the PCMCIA layer into the FC3 kernel. http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/broken-out/pcmcia-update-network-drivers.patch http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/broken-out/pcmcia-update-wireless-drivers.patch http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/broken-out/pcmcia-implement-driver-model-support.patch http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc4/2.6.9-rc4-mm1/broken-out/pcmcia-add-hotplug-support.patch These patches have been in -mm for quite some time and is, IIRC, scheduled for inclusion in mainline 2.6.10. Things like HAL and NetworkManager need these so they don't have to copy whole chunks of pcmcia-cs just to find the 16-bit PCMCIA devices that the kernel should know about. OK, so, I took Dan's patch for importing big chunks of pcmcia-cs into hal so these patches to the kernel are not needed anymore (though I'm hoping it will get merged into mainline so in the future hal doesn't need to contain all that pcmcia-cs code). Fix is in hal-0.4.0-8 available from here http://people.redhat.com/davidz/dist/ and it will hopefully get into FC3. |