I was assigned an Ubuntu desktop with some stuff already on it. I did not reformat it, but attached a mini-PCI wireless card over a PCI to mini-PCI adapter. I manually built the madwifi driver and installed its .ko files.
Now lshw -C network always shows the card, but it sometimes shows it as 'unclaimed' and sometimes it shows with the madwifi (i.e. ath_pci) driver. Any idea what can cause this effect?
EDIT: Snippet from /var/log/kern.log, on failed load.
Apr 19 11:47:21 manju-desktop kernel: [ 9.935304] ath_hal: module license 'Proprietary' taints kernel.
Apr 19 11:47:21 manju-desktop kernel: [ 9.936614] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
Apr 19 11:47:21 manju-desktop kernel: [ 9.958671] wlan: svn r4133 (branch madwifi-0.9.4)
Apr 19 11:47:21 manju-desktop kernel: [ 9.975867] ath_pci: svn r4133 (branch madwifi-0.9.4)
Apr 19 11:47:21 manju-desktop kernel: [ 9.975940] ath_pci 0000:02:04.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Apr 19 11:47:21 manju-desktop kernel: [ 9.976024] ath_pci: HAL doesn't support MAC revision 0xffffffff
Apr 19 11:47:21 manju-desktop kernel: [ 9.976037] ath_pci 0000:02:04.0: PCI INT A disabled
Output of lshw -C network
*-network:1 UNCLAIMED
description: Ethernet controller
product: AR5413 802.11abg NIC
vendor: Atheros Communications Inc.
physical id: 4
bus info: pci@0000:02:04.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm cap_list
configuration: latency=168 maxlatency=12 mingnt=10
/var/log/kern.log) (post anything that you aren't sure is irrelevant)?/var/log/kern.log. Also trymodprobe ath_pciand report any error message or line appearing in the kernel logs. One possible explanation is that there's a conflicting driver that claims the card but then doesn't work; if that's the issue and you find this name, you can blacklist it.rmmod ath_pci; rmmod ath_hal; modprobe ath_pci, does it sometimes work?