Atheros 5212

Sam Leffler sam at errno.com
Wed Aug 10 05:35:40 GMT 2005


Kevin Downey wrote:
> I am running a generic kernel with all the debugging knobs.
> if I use BitTorrent or Gnutella in X the computer reboots after a few minutes.
>>From the console it drops into the debugger deal. But will not give me
> a crash dump.

The stack trace below isn't a crash, it's just witness warning about a 
malloc w/ WAITOK while holding a lock.

Try updating to BETA2 and getting a trace from the crash.  Then also 
provide basic info like what you're trying to do at the time.  It 
appears you're trying to use wpa_supplicant w/ WPA based on the stack trace.

> 
> Under the assumption that something was wrong with the ath driver I
> tried to get the atheros card working with project evil and if_ndis.ko
> built fine, but after I loaded it nothing happened (ndis0 did not show
> up in ifconfig).
> 
> Rebuilding world from old sources (7/20/05) to try and go back to
> before this showed up. This did not help.
> 
> Here are some juicy bits from dmesg, the whole dmesg is attached.
> 
> FreeBSD zifnab 6.0-BETA1 FreeBSD 6.0-BETA1 #4: Tue Aug  9 15:16:43 PDT
> 2005     root at zifnab:/usr/obj/usr/src/sys/GENERIC  i386
> 
> 
> Aug  9 03:32:16 zifnab kernel: ath0: <Atheros 5212> mem
> 0xec410000-0xec41ffff irq 11 at device 10.0 on pci0
> Aug  9 03:32:16 zifnab kernel: ath0: Ethernet address: 00:0f:3d:ae:ad:b8
> Aug  9 03:32:16 zifnab kernel: ath0: mac 5.9 phy 4.3 radio 4.6
> 
> .............................
> 
> 
> Aug  9 03:32:16 zifnab kernel: malloc(M_WAITOK) of "16", forcing
> M_NOWAIT with the following non-sleepable locks held:
> Aug  9 03:32:16 zifnab kernel: exclusive sleep mutex ath0 (network
> driver) r = 0 (0xc1a73d0c) locked @
> /usr/src/sys/modules/ath/../../dev/ath/if_ath
> .c:4677
> Aug  9 03:32:16 zifnab kernel: KDB: stack backtrace:
> Aug  9 03:32:16 zifnab kernel:
> kdb_backtrace(c0a2b0dc,cec5aabc,1,c1a9cda0,c1461b40) at
> kdb_backtrace+0x2e
> Aug  9 03:32:16 zifnab kernel:
> witness_warn(5,0,c092e935,c08f67d4,c1a73bcc) at witness_warn+0x1a3
> Aug  9 03:32:16 zifnab kernel:
> uma_zalloc_arg(c1461b40,0,2,c146c960,c1a9cda0) at uma_zalloc_arg+0x5b
> Aug  9 03:32:16 zifnab kernel: malloc(0,c09772c0,2,c1a9cda0,c1a4008c)
> at malloc+0xc9
> Aug  9 03:32:16 zifnab kernel:
> ieee80211_ioctl_setoptie(c1a731ac,c1a9cda0,cec5ab40,c068d33d,c09e4a40)
> at ieee80211_ioctl_setoptie+0x50
> Aug  9 03:32:16 zifnab kernel:
> ieee80211_ioctl_set80211(c1a731ac,801c69ea,c1a9cda0,1245,0) at
> ieee80211_ioctl_set80211+0x71c
> Aug  9 03:32:16 zifnab kernel:
> ieee80211_ioctl(c1a731ac,801c69ea,c1a9cda0,1245,c0917cc2) at
> ieee80211_ioctl+0x137
> Aug  9 03:32:16 zifnab kernel:
> ath_ioctl(c1a66000,801c69ea,c1a9cda0,c0a2be20,1) at ath_ioctl+0xdc
> Aug  9 03:32:16 zifnab kernel:
> in_control(c1be8de8,801c69ea,c1a9cda0,c1a66000,c1a8b600) at
> in_control+0xcbe
> Aug  9 03:32:16 zifnab kernel:
> ifioctl(c1be8de8,801c69ea,c1a9cda0,c1a8b600,1) at ifioctl+0x1e9
> Aug  9 03:32:16 zifnab kernel:
> soo_ioctl(c1b450d8,801c69ea,c1a9cda0,c1941a80,c1a8b600) at
> soo_ioctl+0x3bf
> Aug  9 03:32:16 zifnab kernel: ioctl(c1a8b600,cec5ad04,c,422,3) at ioctl+0x45d
> Aug  9 03:32:16 zifnab kernel: syscall(3b,3b,3b,bfbfe13c,80672c0) at
> syscall+0x2a2
> Aug  9 03:32:16 zifnab kernel: Xint0x80_syscall() at Xint0x80_syscall+0x1f
> Aug  9 03:32:16 zifnab kernel: --- syscall (54, FreeBSD ELF32, ioctl),
> eip = 0x280fd92f, esp = 0xbfbfe0ec, ebp = 0xbfbfe158 ---
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list