Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ath(4) seems to freeze NetBSD/amd64 6.0_BETA2 system




On Sun, 2 Sep 2012, Jukka Salmi wrote:

Hello

I'm running NetBSD/amd64 6.0_BETA2 on a Soekris net6501 board and see
reproducible system crashes probably related to ath(4).

I've tried with two different PCIe wireless adapters; with both of them
the system freezes (no ddb(4) prompt on the console, though) soon after
some packets have been received on the ath0 interface.

dmesg(8) and pcictl(8) output of the adapters in question:

D-Link DWA-556
--------------

ath0 at pci13 dev 0 function 0: Atheros 5416
ath0: interrupting at ioapic0 pin 19
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ath0: mac 12.10 phy 8.1 radio 13.0

013:00:0: Atheros Communications product 0x0024 (miscellaneous network, 
revision 0x01)


TP-Link TL-WN781ND
------------------

ath0 at pci13 dev 0 function 0: Atheros 9285
ath0: interrupting at ioapic0 pin 19
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ath0: mac 192.2 phy 14.0 radio 12.0

013:00:0: Atheros Communications AR9285 Wireless LAN (miscellaneous network, 
revision 0x01)


Is anybody else seeing this?  Any hints what to do?



Hi:

i'm running NetBSD-current on my laptop and it has exactly the same Atheros chipset that you mention.

Please see below the output of 'pcictl /dev/pci0 list' command

----
000:00:0: AMD Family14h Root Complex (host bridge)
000:01:0: ATI Technologies product 0x9807 (VGA display)
000:01:1: ATI Technologies Wrestler HDMI Audio (multimedia, subclass 0x03)
000:04:0: AMD product 0x1512 (PCI bridge)
000:17:0: ATI Technologies SB700/SB800 SATA Controller (AHCI mode) (SATA mass 
storage, interface 0x01, revision 0x40)
000:18:0: ATI Technologies SB700/SB800 USB OHCI Controller (USB serial bus, 
interface 0x10)
000:18:2: ATI Technologies SB700/SB800 USB EHCI Controller (USB serial bus, 
interface 0x20)
000:19:0: ATI Technologies SB700/SB800 USB OHCI Controller (USB serial bus, 
interface 0x10)
000:19:2: ATI Technologies SB700/SB800 USB EHCI Controller (USB serial bus, 
interface 0x20)
000:20:0: ATI Technologies SB600/SB700/SB800 SMBus Controller (SMBus serial 
bus, revision 0x42)
000:20:1: ATI Technologies SB700/SB800 IDE Controller (IDE mass storage, 
interface 0x8a, revision 0x40)
000:20:2: ATI Technologies SB600 Azalia (multimedia, subclass 0x03, revision 
0x40)
000:20:3: ATI Technologies SB700/SB800 LPC Host Controller (ISA bridge, 
revision 0x40)
000:20:4: ATI Technologies SB600 PCI to PCI Bridge (PCI bridge, interface 0x01, 
revision 0x40)
000:20:5: ATI Technologies SB700/SB800 USB OHCI Controller (USB serial bus, 
interface 0x10)
000:21:0: ATI Technologies product 0x43a0 (PCI bridge)
000:21:1: ATI Technologies product 0x43a1 (PCI bridge)
000:22:0: ATI Technologies SB700/SB800 USB OHCI Controller (USB serial bus, 
interface 0x10)
000:22:2: ATI Technologies SB700/SB800 USB EHCI Controller (USB serial bus, 
interface 0x20)
000:24:0: AMD Family12h/14h HyperTransport Configuration (host bridge, revision 
0x43)
000:24:1: AMD Family12h/14h Address Map Configuration (host bridge)
000:24:2: AMD Family12h/14h DRAM Configuration (host bridge)
000:24:3: AMD Family12h/14h North Bridge Configuration (host bridge)
000:24:4: AMD Family12h/14h CPU C-state Configuration (host bridge)
000:24:5: AMD Family12h/14h Host Bridge (host bridge)
000:24:6: AMD Family12h/14h Misc. Configuration (host bridge)
000:24:7: AMD Family12h/14h Host Bridge (host bridge)
003:00:0: Realtek Semiconductor 8168/8111 10/100/1000 Ethernet (ethernet 
network, revision 0x06)
004:00:0: Atheros Communications AR9285 Wireless LAN (miscellaneous network, 
revision 0x01)
----

Additional details about Atheros from 'lspci -v' command

04:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network 
Adapter (PCI-Express) (rev 01)
        Subsystem: Lite-On Communications Inc Device 6623
        Flags: fast devsel, IRQ 4
        Memory at fea00000 (64-bit, non-prefetchable) [disabled]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00

----

The 'dmesg' output is as follows

ath0 at pci4 dev 0 function 0: Atheros 9285
ath0: interrupting at ioapic0 pin 17
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ath0: mac 192.2 phy 14.0 radio 12.0

----

In fact, post using boot.iso, i've entirely depended on Atheros (ath0) for downloading all the sets, sources, pkgsrc and pkgsrc-wip.

There was no freeze up or crashes, especially given the fact that the system was at 98% cpu utilization, very low on memory and packages were downloading over ath0 link.

While i have not been able to pinpoint what could be the issue in your case, it is nice to compare notes when using similar hardware.


thanks
Saifi.


Home | Main Index | Thread Index | Old Index