Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2011 10:35:09 +1000
From:      Geoff Roberts <geoff@apro.com.au>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: Atheros 5212 based card causing system freeze - suggested replacement?
Message-ID:  <201109091035.09294.geoff@apro.com.au>
In-Reply-To: <CAJ-VmokJqKP=UHUCyiomtQ1DPEKSppNNzQ5A42EMOnMexvpyZw@mail.gmail.com>
References:  <201108290134.50561.geoff@apro.com.au> <201109080354.10765.geoff@apro.com.au> <CAJ-VmokJqKP=UHUCyiomtQ1DPEKSppNNzQ5A42EMOnMexvpyZw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_98VaOblYnBkpr9l
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Adrian,

On Thu, 8 Sep 2011 02:09:16 pm you wrote:
> Hm, ok. Let's try this. Put this into /boot/loader.conf:
>=20
> hw.ath.hal.debug=3D0xffffffff
> dev.ath.0.debug=3D0xffffffff

Unfortunately I have those values already configured in /boot/loader.conf. =
All=20
I get with these values is the output sent originally:

> ath0: <Atheros 52127> mem 0xfbce0000-0xfbceffff irq 19 at device 0.0 on p=
ci4
> ath0: [ITHREAD]
> ar5212Attach - sc 0xffffff0002447000 st 0x1 sh 0xffffff00fbce0000
> ar5212SetPowerMode: AWAKE -> AWAKE (set chip )
> ar5212SetPowerModeAwake: Bogus SCR 0xffffffff, PCICFG 0xffffffff

If I don't have these values the boot error message is:
> ath0: <Atheros 52127> mem 0xfbce0000-0xfbceffff irq 19 at device 0.0 on p=
ci4
> ath0: [ITHREAD]

and then the freeze.

I am cvsup'ed to RELENG_8, so if you would like me to run a patch or add an=
y=20
extra debugging output that can be done.

I've attached pciconf output (pciconf -lbcv) just in case there are any=20
conflicts or abnormalities you can see there.

Kind regards,

Geoff

=2D-=20

___________________________________
=46rom the desk of Geoff Roberts
Chief Technology Officer
AUSTRALIAN PROJECTS PTY LIMITED

S A F E   K N O W L E D G E
IT Security - Data Protection

Email: support@apro.com.au

NATIONAL HELP DESK SUPPORT
Sydney          02 4231 4222
Melbourne       03 9017 8222
Adelaide        08 6461 6222
Perth           08 8463 1222
Brisbane        07 3137 1555
Hobart          03 6281 2555
Canberra        02 6112 8855
___________________________________

--Boundary-00=_98VaOblYnBkpr9l
Content-Type: text/plain;
  charset="UTF-8";
  name="pciconf.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="pciconf.txt"

hostb0@pci0:0:0:0:	class=0x060000 card=0x00000000 chip=0x01008086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = HOST-PCI
    cap 09[e0] = vendor (length 12) Intel cap 0 version 1
pcib1@pci0:0:1:0:	class=0x060400 card=0x50001458 chip=0x01018086 rev=0x09 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
    cap 0d[88] = PCI Bridge card=0x50001458
    cap 01[80] = powerspec 3  supports D0 D3  current D0
    cap 05[90] = MSI supports 1 message 
    cap 10[a0] = PCI-Express 2 root port max data 128(128) link x16(x16)
ecap 0002[100] = VC 1 max VC0
ecap 0005[140] = unknown 1
vgapci1@pci0:0:2:0:	class=0x038000 card=0xd0001458 chip=0x01028086 rev=0x09 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = display
    bar   [10] = type Memory, range 64, base 0xfb400000, size 4194304, enabled
    bar   [18] = type Prefetchable Memory, range 64, base 0xe0000000, size 268435456, enabled
    bar   [20] = type I/O Port, range 32, base 0xff00, size 64, enabled
    cap 05[90] = MSI supports 1 message 
    cap 01[d0] = powerspec 2  supports D0 D3  current D0
    cap 13[a4] = PCI Advanced Features: FLR TP
none0@pci0:0:22:0:	class=0x078000 card=0x1c3a1458 chip=0x1c3a8086 rev=0x04 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = simple comms
    bar   [10] = type Memory, range 64, base 0xfbfff000, size 16, enabled
    cap 01[50] = powerspec 3  supports D0 D3  current D0
    cap 05[8c] = MSI supports 1 message, 64 bit 
ehci0@pci0:0:26:0:	class=0x0c0320 card=0x50061458 chip=0x1c2d8086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xfbffe000, size 1024, enabled
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
    cap 13[98] = PCI Advanced Features: FLR TP
hdac1@pci0:0:27:0:	class=0x040300 card=0xa1021458 chip=0x1c208086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = multimedia
    subclass   = HDA
    bar   [10] = type Memory, range 64, base 0xfbff4000, size 16384, enabled
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[70] = PCI-Express 1 root endpoint max data 128(128) link x0(x0)
ecap 0002[100] = VC 1 max VC1
ecap 0005[130] = unknown 1
pcib2@pci0:0:28:0:	class=0x060400 card=0x50011458 chip=0x1c108086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port max data 128(128) link x0(x1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib3@pci0:0:28:3:	class=0x060401 card=0x50011458 chip=0x244e8086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    device     = '82801 Family (ICH2/3/4/5/6/7/8/9,63xxESB) Hub Interface to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port max data 128(128) link x1(x1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib5@pci0:0:28:4:	class=0x060400 card=0x50011458 chip=0x1c188086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port max data 128(128) link x1(x1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib6@pci0:0:28:5:	class=0x060400 card=0x50011458 chip=0x1c1a8086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port max data 128(128) link x1(x1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib7@pci0:0:28:6:	class=0x060400 card=0x50011458 chip=0x1c1c8086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port max data 128(128) link x1(x1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
pcib8@pci0:0:28:7:	class=0x060400 card=0x50011458 chip=0x1c1e8086 rev=0xb5 hdr=0x01
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-PCI
    cap 10[40] = PCI-Express 2 root port max data 128(128) link x1(x1)
    cap 05[80] = MSI supports 1 message 
    cap 0d[90] = PCI Bridge card=0x50011458
    cap 01[a0] = powerspec 2  supports D0 D3  current D0
ehci1@pci0:0:29:0:	class=0x0c0320 card=0x50061458 chip=0x1c268086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 32, base 0xfbffd000, size 1024, enabled
    cap 01[50] = powerspec 2  supports D0 D3  current D0
    cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14
    cap 13[98] = PCI Advanced Features: FLR TP
isab0@pci0:0:31:0:	class=0x060100 card=0x50011458 chip=0x1c448086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = bridge
    subclass   = PCI-ISA
    cap 09[e0] = vendor (length 12) Intel cap 1 version 0
		 features: AMT, 4 PCI-e x1 slots
ahci1@pci0:0:31:2:	class=0x010601 card=0xb0051458 chip=0x1c028086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = mass storage
    subclass   = SATA
    bar   [10] = type I/O Port, range 32, base 0xfe00, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0xfd00, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0xfc00, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0xfb00, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0xfa00, size 32, enabled
    bar   [24] = type Memory, range 32, base 0xfbffc000, size 2048, enabled
    cap 05[80] = MSI supports 1 message enabled with 1 message
    cap 01[70] = powerspec 3  supports D0 D3  current D0
    cap 12[a8] = SATA Index-Data Pair
    cap 13[b0] = PCI Advanced Features: FLR TP
ichsmb0@pci0:0:31:3:	class=0x0c0500 card=0x50011458 chip=0x1c228086 rev=0x05 hdr=0x00
    vendor     = 'Intel Corporation'
    class      = serial bus
    subclass   = SMBus
    bar   [10] = type Memory, range 64, base 0xfbffb000, size 256, enabled
    bar   [20] = type I/O Port, range 32, base 0x500, size 32, enabled
vgapci0@pci0:1:0:0:	class=0x030000 card=0x34d51458 chip=0x0a6510de rev=0xa2 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    device     = 'Nvidia 200 Series (GeForce 210)'
    class      = display
    subclass   = VGA
    bar   [10] = type Memory, range 32, base 0xf9000000, size 16777216, enabled
    bar   [14] = type Prefetchable Memory, range 64, base 0xc0000000, size 268435456, enabled
    bar   [1c] = type Prefetchable Memory, range 64, base 0xde000000, size 33554432, enabled
    bar   [24] = type I/O Port, range 32, base 0xcf00, size 128, enabled
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit 
    cap 10[78] = PCI-Express 2 endpoint max data 128(128) link x16(x16)
    cap 09[b4] = vendor (length 20)
ecap 0002[100] = VC 1 max VC0
ecap 0004[128] = unknown 1
ecap 000b[600] = unknown 1
hdac0@pci0:1:0:1:	class=0x040300 card=0x34d51458 chip=0x0be310de rev=0xa1 hdr=0x00
    vendor     = 'NVIDIA Corporation'
    class      = multimedia
    subclass   = HDA
    bar   [10] = type Memory, range 32, base 0xfaffc000, size 16384, enabled
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit enabled with 1 message
    cap 10[78] = PCI-Express 2 endpoint max data 128(128) link x16(x16)
pcib4@pci0:3:0:0:	class=0x060401 card=0x50001458 chip=0x88921283 rev=0x10 hdr=0x01
    vendor     = 'Integrated Technology Express (ITE) Inc'
    class      = bridge
    subclass   = PCI-PCI
    cap 01[90] = powerspec 2  supports D0 D1 D2 D3  current D0
    cap 0d[a0] = PCI Bridge card=0x50001458
none1@pci0:4:0:0:	class=0x020000 card=0x4d001385 chip=0x0013168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = '802.11a/b/g Wireless Adapter (AR2312)'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base 0xfbce0000, size 65536, enabled
    cap 01[44] = powerspec 2  supports D0 D3  current D0
fxp0@pci0:4:1:0:	class=0x020000 card=0x00408086 chip=0x12298086 rev=0x0c hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82550/1/7/8/9 EtherExpress PRO/100(B) Ethernet Adapter'
    class      = network
    subclass   = ethernet
    bar   [10] = type Memory, range 32, base 0xfbcff000, size 4096, enabled
    bar   [14] = type I/O Port, range 32, base 0xbf00, size 64, enabled
    bar   [18] = type Memory, range 32, base 0xfbca0000, size 131072, enabled
    cap 01[dc] = powerspec 2  supports D0 D1 D2 D3  current D0
fwohci0@pci0:4:2:0:	class=0x0c0010 card=0x10001458 chip=0x30441106 rev=0xc0 hdr=0x00
    vendor     = 'VIA Technologies, Inc.'
    device     = 'VT6306 VIA Fire II IEEE-1394 OHCI Link Layer Controller'
    class      = serial bus
    subclass   = FireWire
    bar   [10] = type Memory, range 32, base 0xfbcfe000, size 2048, enabled
    bar   [14] = type I/O Port, range 32, base 0xbe00, size 128, enabled
    cap 01[50] = powerspec 2  supports D0 D2 D3  current D0
xhci0@pci0:5:0:0:	class=0x0c0330 card=0x50071458 chip=0x70231b6f rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 64, base 0xfbbf8000, size 32768, enabled
    cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 05[70] = MSI supports 4 messages, 64 bit, vector masks 
    cap 10[a0] = PCI-Express 2 endpoint max data 128(1024) link x1(x1)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[190] = Serial 1 0101010101010101
xhci1@pci0:6:0:0:	class=0x0c0330 card=0x50071458 chip=0x70231b6f rev=0x01 hdr=0x00
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 64, base 0xfbaf8000, size 32768, enabled
    cap 01[50] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 05[70] = MSI supports 4 messages, 64 bit, vector masks 
    cap 10[a0] = PCI-Express 2 endpoint max data 128(1024) link x1(x1)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[190] = Serial 1 0101010101010101
re0@pci0:7:0:0:	class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x06 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'Gigabit Ethernet NIC(NDIS 6.0) (RTL8168/8111/8111c)'
    class      = network
    subclass   = ethernet
    bar   [10] = type I/O Port, range 32, base 0xee00, size 256, enabled
    bar   [18] = type Prefetchable Memory, range 64, base 0xfbeff000, size 4096, enabled
    bar   [20] = type Prefetchable Memory, range 64, base 0xfbef8000, size 16384, enabled
    cap 01[40] = powerspec 3  supports D0 D1 D2 D3  current D0
    cap 05[50] = MSI supports 1 message, 64 bit 
    cap 10[70] = PCI-Express 2 endpoint IRQ 2 max data 128(128) link x1(x1)
    cap 11[b0] = MSI-X supports 4 messages in map 0x20 enabled
    cap 03[d0] = VPD
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0002[140] = VC 1 max VC0
ecap 0003[160] = Serial 1 01000000684ce000
ahci0@pci0:8:0:0:	class=0x010601 card=0xb0001458 chip=0x91721b4b rev=0x11 hdr=0x00
    class      = mass storage
    subclass   = SATA
    bar   [10] = type I/O Port, range 32, base 0xdf00, size  8, enabled
    bar   [14] = type I/O Port, range 32, base 0xde00, size  4, enabled
    bar   [18] = type I/O Port, range 32, base 0xdd00, size  8, enabled
    bar   [1c] = type I/O Port, range 32, base 0xdc00, size  4, enabled
    bar   [20] = type I/O Port, range 32, base 0xdb00, size 16, enabled
    bar   [24] = type Memory, range 32, base 0xfbdff000, size 512, enabled
    cap 01[40] = powerspec 3  supports D0 D3  current D0
    cap 05[50] = MSI supports 1 message enabled with 1 message
    cap 10[70] = PCI-Express 2 legacy endpoint max data 128(512) link x1(x1)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected

--Boundary-00=_98VaOblYnBkpr9l--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109091035.09294.geoff>