Date: Tue, 9 Aug 2005 21:49:19 -0700 From: Kevin Downey <redchin@gmail.com> To: freebsd-net@freebsd.org Subject: Atheros 5212 Message-ID: <1d3ed48c05080921492e2c4988@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
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@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 ---
--
The best prophet of the future is the past.
[-- Attachment #2 --]
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA2 #2: Mon Aug 8 07:15:24 PDT 2005
root@zifnab:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Duron(tm) processor (799.44-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x631 Stepping = 1
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
AMD Features=0xc0440800<SYSCALL,<b18>,MMX+,3DNow+,3DNow>
real memory = 259981312 (247 MB)
avail memory = 240537600 (229 MB)
ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <VIA694 AWRDACPI> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 12 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 5 on acpi0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 8361 (KLE133) host to PCI bridge> mem 0xec000000-0xec3fffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 5 at device 7.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <bridge> at device 7.4 (no driver attached)
pci0: <display, VGA> at device 8.0 (no driver attached)
pcm0: <ESS Technology Allegro-1> port 0xe400-0xe4ff irq 12 at device 9.0 on pci0
pcm0: failed to enable memory mapping!
pcm0: <ESS Technology ES1988 AC97 Codec>
ath0: <Atheros 5212> mem 0xec410000-0xec41ffff irq 11 at device 10.0 on pci0
ath0: Ethernet address: 00:0f:3d:ae:ad:b8
ath0: mac 5.9 phy 4.3 radio 4.6
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcbfff,0xcc000-0xcffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
ums0: 3 buttons and Z dir.
ukbd0: SEJIN SEJIN USB Mini Keyboard, rev 1.10/2.20, addr 3, iclass 3/1
kbd0 at ukbd0
Timecounter "TSC" frequency 799435848 Hz quality 800
Timecounters tick every 1.000 msec
pcm0: Unknown HWVOL event
ad0: 117246MB <Maxtor 6L120P0 BAH41E00> at ata0-master UDMA100
acd0: DVDR <GENERIC DVD RW 12XMax/110I> at ata1-master UDMA33
Trying to mount root from ufs:/dev/ad0s1a
WARNING: was not properly dismounted
WARNING: was not properly dismounted
WARNING: was not properly dismounted
WARNING: was not properly dismounted
malloc(M_WAITOK) of "16", forcing M_NOWAIT with the following non-sleepable locks held:
exclusive sleep mutex ath0 (network driver) r = 0 (0xc1a73d0c) locked @ /usr/src/sys/modules/ath/../../dev/ath/if_ath.c:4677
KDB: stack backtrace:
kdb_backtrace(c0a2c2c4,cec54abc,1,c1a9cce0,c1461b40) at kdb_backtrace+0x2e
witness_warn(5,0,c092f84f,c08f76ee,c1a73bcc) at witness_warn+0x1a3
uma_zalloc_arg(c1461b40,0,2,c146c960,c1a9cce0) at uma_zalloc_arg+0x5b
malloc(0,c0978340,2,c1a9cce0,c1a4008c) at malloc+0xc9
ieee80211_ioctl_setoptie(c1a731ac,c1a9cce0,cec54b40,c068d34d,c09e5c60) at ieee80211_ioctl_setoptie+0x50
ieee80211_ioctl_set80211(c1a731ac,801c69ea,c1a9cce0,1245,0) at ieee80211_ioctl_set80211+0x71c
ieee80211_ioctl(c1a731ac,801c69ea,c1a9cce0,1245,c0918bdc) at ieee80211_ioctl+0x137
ath_ioctl(c1a66000,801c69ea,c1a9cce0,c0a2d040,1) at ath_ioctl+0xdc
in_control(c1be8de8,801c69ea,c1a9cce0,c1a66000,c1a8b300) at in_control+0xcbe
ifioctl(c1be8de8,801c69ea,c1a9cce0,c1a8b300,1) at ifioctl+0x1e9
soo_ioctl(c1b45480,801c69ea,c1a9cce0,c1941a80,c1a8b300) at soo_ioctl+0x3bf
ioctl(c1a8b300,cec54d04,c,422,3) at ioctl+0x45d
syscall(3b,3b,3b,bfbfe13c,80672c0) at syscall+0x2a2
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (54, FreeBSD ELF32, ioctl), eip = 0x280fd92f, esp = 0xbfbfe0ec, ebp = 0xbfbfe158 ---
drm0: <ATI Radeon QY RV100 7000/VE> port 0xe000-0xe0ff mem 0xe0000000-0xe7ffffff,0xec400000-0xec40ffff irq 10 at device 8.0 on pci0
info: [drm] Initialized radeon 1.16.0 20050311 on minor 0
lock order reversal
1st 0xc0a3a520 UMA lock (UMA lock) @ /usr/src/sys/vm/uma_core.c:1494
2nd 0xc1460144 system map (system map) @ /usr/src/sys/vm/vm_map.c:2317
KDB: stack backtrace:
kdb_backtrace(c0918f68,c1460144,c092ff68,c092ff68,c09304b0) at kdb_backtrace+0x2e
witness_checkorder(c1460144,9,c09304b0,90d,246) at witness_checkorder+0x6c3
_mtx_lock_flags(c1460144,0,c09304b0,90d,c1a81000) at _mtx_lock_flags+0x8a
_vm_map_lock(c14600c0,c09304b0,90d,1,c1a3a9c0) at _vm_map_lock+0x37
vm_map_remove(c14600c0,c1a81000,c1a82000,cc774bdc,c082787b) at vm_map_remove+0x30
kmem_free(c14600c0,c1a81000,1000,cc774c14,c08270bf) at kmem_free+0x32
page_free(c1a81000,1000,2,0,2) at page_free+0x3b
zone_drain(c144a780,0,c092f5c1,5d6,0) at zone_drain+0x2af
zone_foreach(c0826e10,cc774ce4,c083d8da,c1941a0c,0) at zone_foreach+0x4c
uma_reclaim(c1941a0c,0,c093199d,29e,c068d34d) at uma_reclaim+0x17
vm_pageout_scan(0,0,c093199d,5c3,1388) at vm_pageout_scan+0x14a
vm_pageout(0,cc774d38,c091296a,30d,0) at vm_pageout+0x31b
fork_exit(c083e970,0,cc774d38) at fork_exit+0xc1
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xcc774d6c, ebp = 0 ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d3ed48c05080921492e2c4988>
