View previous topic :: View next topic |
Author |
Message |
SteakTheMooCow Tux's lil' helper

Joined: 02 Sep 2005 Posts: 99 Location: /dev/urandom
|
Posted: Tue Apr 18, 2006 12:47 am Post subject: Wireless Fails (IPW2200 or Atheros?!) |
|
|
Hey guys,
I've been pulling my hair out for the last month trying to get Gentoo to load my wifi. Now, on the install disk it loads up eth0 and eth1, but even using the install CD's kernel (and modprobing all the modules later), I can't get it to load eth1 again.
On the install disk, eth1 is my wired, and now eth0 is my wired, which leads to the obvious conclusion that the card isn't being detected and no interface is being created for it...
However:
lspci
Code: |
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 21)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 21)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200 32M/64M] (rev a1)
02:05.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:09.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (LOM) (rev 03)
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)
|
lspci -v
Code: |
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 21)
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [e4] Vendor Specific Information
Capabilities: [a0] AGP version 2.0
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 21) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fd000000-fdffffff
Prefetchable memory behind bridge: d0000000-dfffffff
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at efe0 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at ef80 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1440 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
Memory at 34000000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=05, sec-latency=64
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fc600000-fcefffff
Prefetchable memory behind bridge: 30000000-33ffffff
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at bfa0 [size=16]
Memory at 34000400 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: medium devsel
I/O ports at d880 [size=32]
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
Subsystem: Toshiba America Info Systems Unknown device 0246
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at 1000 [size=256]
I/O ports at 1400 [size=64]
Memory at 34000800 (32-bit, non-prefetchable) [size=512]
Memory at 34000a00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
01:00.0 VGA compatible controller: nVidia Corporation NV34M [GeForce FX Go5200 32M/64M] (rev a1) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems Unknown device 0020
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 10
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0
02:05.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: Askey Computer Corp. Unknown device 7057
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at fc6f0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at fc606000 (32-bit, non-prefetchable) [size=2K]
Memory at fc600000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
02:09.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (LOM) (rev 03)
Subsystem: Toshiba America Info Systems PRO/1000 MT Mobile Connection
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at fc6c0000 (32-bit, non-prefetchable) [size=128K]
I/O ports at cf40 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, slow devsel, latency 168, IRQ 11
Memory at fc604000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=04, sec-latency=0
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 36000000-37fff000
I/O window 0: 0000c000-0000c0ff
I/O window 1: 0000c400-0000c4ff
16-bit legacy interface ports at 0001
02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support (rev 32)
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: bus master, slow devsel, latency 168, IRQ 11
Memory at fc605000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=05, subordinate=08, sec-latency=0
Memory window 0: 32000000-33fff000 (prefetchable)
Memory window 1: 38000000-39fff000
I/O window 0: 0000c800-0000c8ff
I/O window 1: 0000cc00-0000ccff
16-bit legacy interface ports at 0001
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)
Subsystem: Toshiba America Info Systems Unknown device 0001
Flags: medium devsel, IRQ 255
Memory at fc606800 (32-bit, non-prefetchable) [disabled] [size=512]
Capabilities: [80] Power Management version 2
|
lspci -n
Code: |
00:00.0 0600: 8086:3340 (rev 21)
00:01.0 0604: 8086:3341 (rev 21)
00:1d.0 0c03: 8086:24c2 (rev 03)
00:1d.1 0c03: 8086:24c4 (rev 03)
00:1d.2 0c03: 8086:24c7 (rev 03)
00:1d.7 0c03: 8086:24cd (rev 03)
00:1e.0 0604: 8086:2448 (rev 83)
00:1f.0 0601: 8086:24cc (rev 03)
00:1f.1 0101: 8086:24ca (rev 03)
00:1f.3 0c05: 8086:24c3 (rev 03)
00:1f.5 0401: 8086:24c5 (rev 03)
01:00.0 0300: 10de:0328 (rev a1)
02:05.0 0200: 168c:0013 (rev 01)
02:07.0 0c00: 104c:8023
02:09.0 0200: 8086:1016 (rev 03)
02:0b.0 0607: 1179:0617 (rev 32)
02:0b.1 0607: 1179:0617 (rev 32)
02:0d.0 0880: 1179:0805 (rev 03)
|
Now, the ID (168c:0013) confirms that it is an Atheros AR5212 card... however, madwifi and madwifi-ng don't seem to work either...
Anyone got any ideas?
=====EDIT1=====
We have a change with my latest attempt to re-install the drivers!
Code: |
ath_pci: 0.9.4.5 (svn 1502)
ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
wifi%d: unable to attach hardware: 'Hardware didn't respond as expected' (HAL status 3)
ACPI: PCI interrupt for device 0000:02:05.0 disabled
|
This came AFTER I installed HAL...
=====EDIT2=====
Potential Solution might be found here: http://madwifi.org/wiki/UserDocs/Troubleshooting
Code: |
When I load the ath_pci module I get "unable to attach hardware: Hardware didnt respond as expected, (HAL status 3)"! ¶
PCI bridges exist which pose difficulties to Atheros cards (and maybe other hardware too). To get your card working, you first have to find your PCI bridge's PCI ID with lspci. Then you have to set the SUBORDINATE_BUS option for this PCI ID with the setpci tool.
For example:
# lspci | grep -i "pci bridge"
0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge
# setpci -s 0:1e.0 SUBORDINATE_BUS=0A
If you have problems with your Cardbus card instead, you should try with the PCI ID of your PCI to Cardbus controller, which you can find by running lspci | grep -i "cardbus bridge".
|
=====EDIT3=====
Clean reboot gives
Code: |
ath_pci: 0.9.4.5 (svn 1502)
ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
wifi%d: unable to attach hardware: 'Hardware self-test failed' (HAL status 14)
ACPI: PCI interrupt for device 0000:02:05.0 disabled
|
mmm...
=====EDIT4=====
Rebooting with the card off results in a constant HAL status 13 -- the card isn't supported error.
Result: Attempting to revert to previous version (And possibly old madwifi drivers) _________________ Gentoo HP ProBook 6540b |
|
Back to top |
|
 |
Monkeh Veteran


Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Tue Apr 18, 2006 3:11 am Post subject: |
|
|
The eth0 on the liveCD will have been firewire.
I suggest trying setpci as the troubleshooting entry says. |
|
Back to top |
|
 |
DeepBass909 Tux's lil' helper

Joined: 23 Jan 2005 Posts: 81 Location: Netherlands
|
Posted: Tue Apr 18, 2006 5:31 am Post subject: |
|
|
In the latest drivers (at least since a month or 2), the atheros cards no longer get an ethX identification. This has been changed to athX.
Code: | ath0 Link encap:Ethernet HWaddr **:**:**:**:**:**
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr **:**:**:**:**:**
inet addr:10.10.10.23 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:187086 errors:0 dropped:0 overruns:0 frame:0
TX packets:149264 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:215987178 (205.9 Mb) TX bytes:10685266 (10.1 Mb)
Interrupt:11 Base address:0x4600
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:222 errors:0 dropped:0 overruns:0 frame:0
TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:18953 (18.5 Kb) TX bytes:18953 (18.5 Kb)
wifi0 Link encap:Ethernet HWaddr **:**:**:**:**:**
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:143 errors:0 dropped:0 overruns:0 frame:21
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:199
RX bytes:11252 (10.9 Kb) TX bytes:1138 (1.1 Kb)
Interrupt:10 Memory:e13e0000-e13f0000 | (I've masked my HWaddr for obvious resons)
But this won't fix your problem you're having at the moment.
Which version of madwifi-ng, madwifi-ng-tools, hal en dbus are you running? I had to change to the unstable brance to get it working. |
|
Back to top |
|
 |
SteakTheMooCow Tux's lil' helper

Joined: 02 Sep 2005 Posts: 99 Location: /dev/urandom
|
Posted: Tue Apr 18, 2006 10:32 pm Post subject: |
|
|
Ah, my laptop is already 100% unstable branch...
HAL: 0.5.5.1-r3
DUBS: 0.61-r1
MW NG: 0.1502.20060414 w/ matching tools.
Now it's giving me "unsupported hardware" nonsense  _________________ Gentoo HP ProBook 6540b |
|
Back to top |
|
 |
flamesrock Tux's lil' helper

Joined: 25 Jan 2005 Posts: 132 Location: Calgary
|
Posted: Tue Apr 18, 2006 10:36 pm Post subject: |
|
|
you have to create a symbolic link from net.eth1 to net.lo.
Then set up your /etc/conf.d/wireless file:
mode_eth1="managed"
etc.. _________________ If it happens, it's possible. |
|
Back to top |
|
 |
Monkeh Veteran


Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Tue Apr 18, 2006 11:10 pm Post subject: |
|
|
flamesrock wrote: | you have to create a symbolic link from net.eth1 to net.lo.
Then set up your /etc/conf.d/wireless file:
mode_eth1="managed"
etc.. |
Did you read? He hasn't GOT an eth1. Which would actually be ath0. |
|
Back to top |
|
 |
DeepBass909 Tux's lil' helper

Joined: 23 Jan 2005 Posts: 81 Location: Netherlands
|
Posted: Wed Apr 19, 2006 2:05 am Post subject: |
|
|
I don't know if your wifi adapter is an pcmcia or build in? Maybe re-emerging the pcmcia tools might help.
And which kernel are you running?
I'm running the same atheros adapter and the same software versions, and it works allmost flawless, so your atheros is supported by these programs.
Looking at the error's, I don't think madwifi is the problem. Hal seems to detect the hardware wrong, which might indicate an error in the kernel, udev-subsystem or dbus. It might even be possible that an IRQ is disabled in the systems BIOS or by the ACPI and that your WiFi adapter is trying to access this IRQ...
Is you laptop 100% linux? Or dual boot with Windows? If it's a dual-boot, does the adapter work in Windows? |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|