From nobody@FreeBSD.org  Thu Jul 24 02:26:38 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 00A78106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jul 2008 02:26:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id CCC278FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jul 2008 02:26:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6O2QbpR017609
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Jul 2008 02:26:37 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6O2Qb13017608;
	Thu, 24 Jul 2008 02:26:37 GMT
	(envelope-from nobody)
Message-Id: <200807240226.m6O2Qb13017608@www.freebsd.org>
Date: Thu, 24 Jul 2008 02:26:37 GMT
From: E Ruggeri <smallhand@crawblog.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Ath driver causes kernel panic in 7-STABLE
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         125914
>Category:       kern
>Synopsis:       [ath] [panic] ath driver causes kernel panic in 7-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sam
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 24 02:30:01 UTC 2008
>Closed-Date:    Tue Dec 02 04:02:09 UTC 2008
>Last-Modified:  Tue Dec 02 04:02:09 UTC 2008
>Originator:     E Ruggeri
>Release:        7-STABLE
>Organization:
None
>Environment:
FreeBSD bigclaw.crawblog.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Jul 23 08:28:49 EDT 2008     smallhand@bigclaw.crawblog.com:/usr/obj/usr/src/sys/GDEBUG  i386
>Description:
Ath driver works under 7.0-RELEASE.  However, when running under 7-STABLE (updated 7/22/08), network use causes kernel panic.  Connection to the wireless network is achieved (IP address assigned), and generally a few webpages will load.  But kernel eventually panics within a minute of network use.

Kernel is the generic 7-STABLE kernel with the 4BSD scheduler swapped for ULE and various debug options enabled (KDB, DDB, INVARIANTS, WITNESS).

I have a core dump.  Here is a backtrace from kgdb:
Unread portion of the kernel message buffer:
panic: no buf for txfrag
cpuid = 0
KDB: enter: panic
panic: from debugger
cpuid = 0
Uptime: 8m4s
Physical memory: 2018 MB
Dumping 75 MB: 60 44 28 12

Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
#0  doadump () at pcpu.h:195
195		__asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc077d58e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc077d853 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:572
#3  0xc04907b7 in db_panic (addr=) at /usr/src/sys/ddb/db_command.c:446
#4  0xc04911bc in db_command (last_cmdp=0xc0bfb9f4, cmd_table=0x0, dopager=1)
    at /usr/src/sys/ddb/db_command.c:413
#5  0xc04912ca in db_command_loop () at /usr/src/sys/ddb/db_command.c:466
#6  0xc0492abd in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:228
#7  0xc07a6276 in kdb_trap (type=3, code=0, tf=0xe572a6a4)
    at /usr/src/sys/kern/subr_kdb.c:524
#8  0xc0a7644b in trap (frame=0xe572a6a4) at /usr/src/sys/i386/i386/trap.c:648
#9  0xc0a5bbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#10 0xc07a63fa in kdb_enter_why (why=0xc0b1402b "panic", 
    msg=0xc0b1402b "panic") at cpufunc.h:60
#11 0xc077d83c in panic (fmt=0xc0add0a6 "no buf for txfrag")
    at /usr/src/sys/kern/kern_shutdown.c:556
#12 0xc0530143 in ath_start (ifp=0xc526bc00)
    at /usr/src/sys/dev/ath/if_ath.c:1748
#13 0xc080dd19 in if_start (ifp=0xc526bc00) at /usr/src/sys/net/if.c:2704
#14 0xc0813d9b in ether_output_frame (ifp=0xc526bc00, m=0xc5555300)
    at /usr/src/sys/net/if_ethersubr.c:405
#15 0xc08143b1 in ether_output (ifp=0xc526bc00, m=0xc5555300, dst=0xc53d98d0, 
    rt0=0xc59ee000) at /usr/src/sys/net/if_ethersubr.c:374
#16 0xc08409eb in ieee80211_output (ifp=0xc526bc00, m=0xc5555300, 
    dst=0xc53d98d0, rt0=0xc59ee000)
    at /usr/src/sys/net80211/ieee80211_output.c:261
#17 0xc0859b04 in ip_output (m=0xc5555300, opt=0x0, ro=0xe572a888, flags=)
    at /usr/src/sys/netinet/ip_output.c:551
#18 0xc08b3a40 in tcp_output (tp=0xc57ca910)
    at /usr/src/sys/netinet/tcp_output.c:1135
#19 0xc08afa1b in tcp_do_segment (m=0xc599f800, th=)
    at /usr/src/sys/netinet/tcp_input.c:1212
#20 0xc08b1e81 in tcp_input (m=0xc599f800, off0=20)
    at /usr/src/sys/netinet/tcp_input.c:845
#21 0xc0857fd0 in ip_input (m=0xc599f800)
    at /usr/src/sys/netinet/ip_input.c:665
#22 0xc081e413 in netisr_dispatch (num=2, m=0xc599f800)
    at /usr/src/sys/net/netisr.c:185
#23 0xc0814601 in ether_demux (ifp=0xc526bc00, m=0xc599f800)
    at /usr/src/sys/net/if_ethersubr.c:834
#24 0xc0814a6f in ether_input (ifp=0xc526bc00, m=0xc599f800)
    at /usr/src/sys/net/if_ethersubr.c:692
#25 0xc0830f52 in ieee80211_deliver_data (ic=0xc528122c, ni=0xc59e5000, 
    m=0xc599f800) at /usr/src/sys/net80211/ieee80211_input.c:779
#26 0xc08367e9 in ieee80211_input (ic=0xc528122c, m=0xc599f800, 
    ni=0xc59e5000, rssi=48, noise=-95, rstamp=9816)
    at /usr/src/sys/net80211/ieee80211_input.c:519
#27 0xc0531c4d in ath_rx_proc (arg=0xc5281000, npending=1)
    at /usr/src/sys/dev/ath/if_ath.c:3673
#28 0xc07aff5b in taskqueue_run (queue=0xc526ac00)
    at /usr/src/sys/kern/subr_taskqueue.c:255
#29 0xc07b00b8 in taskqueue_thread_loop (arg=0xc5282674)
    at /usr/src/sys/kern/subr_taskqueue.c:374
#30 0xc075c888 in fork_exit (callout=0xc07b0050 <taskqueue_thread_loop>, 
    arg=0xc5282674, frame=0xe572ad38) at /usr/src/sys/kern/kern_fork.c:781
#31 0xc0a5bc30 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205


>How-To-Repeat:
Buy a current ThinkPad with a ThinkPad 11a/b/g Wireless LAN Mini Express Adapter (AR5212 chipset).  Install 7-STABLE FreeBSD.  Connect to wireless network, attempt to load a few websites.

My network card information:
ath0: <Atheros 5212> mem 0xdf2f0000-0xdf2fffff irq 17 at device 0.0 on pci3
ath0: [ITHREAD]
ath0: using obsoleted if_watchdog interface
ath0: Ethernet address: XX:XX:XX:XX:XX:XX
ath0: mac 10.3 phy 6.1 radio 10.2

ath0@pci0:3:0:0:	class=0x020000 card=0x058a1014 chip=0x1014168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212 Atheros AR5212 802.11abg wireless'
    class      = network
    subclass   = ethernet
>Fix:
Not a fix, but a guess.  Panic occurs on line 1748 of if_ath.c.  An assertion fails that a pointer is non-null.  Anyone who can help would probably know this already though...

1747                         bf = STAILQ_FIRST(&frags);
1748                         KASSERT(bf != NULL, ("no buf for txfrag"));

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Jul 24 02:46:20 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125914 
State-Changed-From-To: open->feedback 
State-Changed-By: sam 
State-Changed-When: Thu Jul 24 05:22:10 UTC 2008 
State-Changed-Why:  
need network setup information and information on how to reproduce 
the problem 

The line number pointed at indicates you are doing tx fragmentation 
which is highly unlikely--either that or your code does not match 
the kernel. 


Responsible-Changed-From-To: freebsd-net->sam 
Responsible-Changed-By: sam 
Responsible-Changed-When: Thu Jul 24 05:22:10 UTC 2008 
Responsible-Changed-Why:  
need network setup information and information on how to reproduce 
the problem 

The line number pointed at indicates you are doing tx fragmentation 
which is highly unlikely--either that or your code does not match 
the kernel. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125914 

From: "Edward Ruggeri" <smallhand@crawblog.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Thu, 24 Jul 2008 08:15:55 -0400

 Sam: Thanks for the help!
 
 For network setup information, do you want the results of ifconfig
 ath0?  Sorry tabs aren't formatted correctly: I'm on the road and
 can't plug the laptop into ethernet.
 
 ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   ether 00:XX:XX:XX:XX:XX
   inet 192.168.1.7 netmask 0xffffff00 broadcast 192.168.1.255
   media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
   status: associated
   ssid "Snackfood Express (Eastbound)" channel 6 (2437 Mhz 11g) bssid
 00:XX:XX:XX:XX:XX
   authmode OPEN privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan
   bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5
   protmode CTS burst
 
 I also have the results of dhclient ath0
 DHCPREQUEST on ath0 to 255.255.255.255 port 67
 ip length 314 disagrees with bytes received 534.
 accepting packet with data after udp payload.
 DHCPACK from 192.168.1.1
 bound to 192.168.1.7 -- renewal in 22076
 
 When I look at /usr/src/sys/dev/ath/if_ath.c, indeed line 1748 is the
 assertion checking that bf is non-null.  I don't know if that's what
 you meant by "match the kernel"?
 
 Thanks again, Sam!  Please let me know if this was not what you are looking for.
 
 -- Ned Ruggeri

From: "Edward Ruggeri" <smallhand@crawblog.com>
To: bug-followup@FreeBSD.org, smallhand@crawblog.com
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Sun, 27 Jul 2008 17:03:39 -0500

 Dear Sam,
 
 As for reproducing the kernel panic, I have installed a minimal
 installation of FreeBSD 7.0 RELEASE from FTP.  I get the ports tree,
 and build/install the cvsup-without-gui port.  I use the sample stable
 supfile at /usr/share/examples/cvsup/stable-supfile to update the
 source tree.  I then (in /usr/src) do make buildworld, make
 buildkernel KERNCONF=GENERIC; make installkernel KERNCONF=GENERIC.  I
 reboot into single user mode.  I run mergemaster -p, make
 installworld, and finally mergemaster.  I reboot, and then
 build/install the Lybx port.  But then anything beside trivial network
 load in Lynx causes a kernel panic.
 
 I'm not sure if this was helpful to you.  But this is /exactly/ what I
 did to produce the error.  Maybe I have done something wrong that you
 can spot right away.
 
 Thanks, Sam!
 
 Sincerely,
 
 -- Ned Ruggeri

From: alex <none@FreeBSD.org (to prevent spam)>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Mon, 4 Aug 2008 21:17:38 GMT

 >Submitter-Id:	current-users
 >Originator:	alex
 >Organization:	
 >Confidential:	no
 >Synopsis:	Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
 >Severity:	serious
 >Priority:	medium
 >Category:	kern
 >Class:		sw-bug
 >Release:	7-STABLE
 >Environment:	FreeBSD moshnroll 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jul 15 19:32:15 CEST 2008     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
 >Description:
 i'm experiencing the ver same problem. here's a backtrace and my kernel config.
 
 cheers.
 
 Unread portion of the kernel message buffer:
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; apic id = 01
 fault virtual address	= 0x4b60142d
 fault code		= supervisor read, page not present
 instruction pointer	= 0x20:0xc052f064
 stack pointer	        = 0x28:0xe5d707e8
 frame pointer	        = 0x28:0xe5d707ec
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 38 (ath0 taskq)
 trap number		= 12
 panic: page fault
 cpuid = 1
 
 Syncing disks, vnodes remaining...7 Syncing disks, buffers remaining... 7153 7141 7135 7135 7135 7135 7135 7135 0 7135 7135 7134 7134 7134 7134 0 7134 7134 7134 7134 7134 7134 7134 0 7134 7134 7134 7134 7134 7134 0 7134 7134 7134 
 Giving up on 7134 buffers
 Uptime: 2d19h53m17s
 Physical memory: 2030 MB
 Dumping 229 MB: 214 198 182 166 150 134 118 102 86 70 54 38 22 6
 
 Reading symbols from /boot/kernel/cd9660.ko...Reading symbols from /boot/kernel/cd9660.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cd9660.ko
 Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linprocfs.ko
 Reading symbols from /boot/kernel/pseudofs.ko...Reading symbols from /boot/kernel/pseudofs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/pseudofs.ko
 Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linux.ko
 Reading symbols from /boot/kernel/procfs.ko...Reading symbols from /boot/kernel/procfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/procfs.ko
 Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/sound.ko
 Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/snd_hda.ko
 Reading symbols from /boot/kernel/ums.ko...Reading symbols from /boot/kernel/ums.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ums.ko
 Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/kernel/umass.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/umass.ko
 Reading symbols from /boot/kernel/cam.ko...Reading symbols from /boot/kernel/cam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cam.ko
 Reading symbols from /boot/kernel/random.ko...Reading symbols from /boot/kernel/random.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/random.ko
 Reading symbols from /boot/modules/nvidia.ko...done.
 Loaded symbols for /boot/modules/nvidia.ko
 Reading symbols from /boot/kernel/wlan_wep.ko...Reading symbols from /boot/kernel/wlan_wep.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_wep.ko
 Reading symbols from /boot/kernel/wlan_scan_sta.ko...Reading symbols from /boot/kernel/wlan_scan_sta.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_scan_sta.ko
 Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_ubt.ko
 Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/netgraph.ko
 Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/atapicam.ko
 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/acpi.ko
 Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_btsocket.ko
 Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_bluetooth.ko
 Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_hci.ko
 Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_l2cap.ko
 Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_socket.ko
 #0  doadump () at pcpu.h:195
 	in pcpu.h
 (kgdb) bt
 #0  doadump () at pcpu.h:195
 #1  0xc04de3c6 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:418
 #2  0xc04de6c6 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:572
 #3  0xc0657d73 in trap_fatal (frame=0xe5d707a8, eva=1264587821) at /usr/src/sys/i386/i386/trap.c:899
 #4  0xc0657fd0 in trap_pfault (frame=0xe5d707a8, usermode=0, eva=1264587821) at /usr/src/sys/i386/i386/trap.c:812
 #5  0xc0658962 in trap (frame=0xe5d707a8) at /usr/src/sys/i386/i386/trap.c:490
 #6  0xc063e7cb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 #7  0xc052f064 in m_tag_locate (m=0xc7238500, cookie=0, type=21, t=0x0) at /usr/src/sys/kern/uipc_mbuf2.c:389
 #8  0xc05737b5 in ether_output (ifp=0xc56be000, m=0xc7238500, dst=0xc58d9070, rt0=0xc5a9e078) at mbuf.h:952
 #9  0xc05918bb in ieee80211_output (ifp=0xc56be000, m=0xc61e8100, dst=0xc58d9070, rt0=0xc5a9e078) at /usr/src/sys/net80211/ieee80211_output.c:261
 #10 0xc05a76f6 in ip_output (m=0xc61e8100, opt=0x0, ro=0xe5d708a4, flags=) at /usr/src/sys/netinet/ip_output.c:551
 #11 0xc05af6d8 in tcp_output (tp=0xca5d6ae0) at /usr/src/sys/netinet/tcp_output.c:1135
 #12 0xc05ad3c5 in tcp_do_segment (m=0xc67c9000, th=0xc7ed9838, so=0xca5e17bc, tp=0xca5d6ae0, drop_hdrlen=52, tlen=0) at /usr/src/sys/netinet/tcp_input.c:2347
 #13 0xc05adfef in tcp_input (m=0xc67c9000, off0=20) at /usr/src/sys/netinet/tcp_input.c:845
 #14 0xc05a5c38 in ip_input (m=0xc67c9000) at /usr/src/sys/netinet/ip_input.c:665
 #15 0xc0574d85 in netisr_dispatch (num=2, m=0xc67c9000) at /usr/src/sys/net/netisr.c:185
 #16 0xc0573b2a in ether_demux (ifp=0xc56be000, m=0xc67c9000) at /usr/src/sys/net/if_ethersubr.c:834
 #17 0xc0573f23 in ether_input (ifp=0xc56be000, m=0xc67c9000) at /usr/src/sys/net/if_ethersubr.c:692
 #18 0xc0582a8d in ieee80211_deliver_data (ic=0xc56c222c, ni=0xc5a8f000, m=0xc67c9000) at /usr/src/sys/net80211/ieee80211_input.c:779
 #19 0xc058818c in ieee80211_input (ic=0xc56c222c, m=0xc67c9000, ni=0xc5a8f000, rssi=30, noise=-98, rstamp=3019) at /usr/src/sys/net80211/ieee80211_input.c:519
 #20 0xc0457ccd in ath_rx_proc (arg=0xc56c2000, npending=1) at /usr/src/sys/dev/ath/if_ath.c:3673
 #21 0xc05116a5 in taskqueue_run (queue=0xc56bd080) at /usr/src/sys/kern/subr_taskqueue.c:255
 #22 0xc05118ab in taskqueue_thread_loop (arg=0xc56c3674) at /usr/src/sys/kern/subr_taskqueue.c:374
 #23 0xc04bc069 in fork_exit (callout=0xc05117f0 <taskqueue_thread_loop>, arg=0xc56c3674, frame=0xe5d70d38) at /usr/src/sys/kern/kern_fork.c:783
 #24 0xc063e840 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205
 
 
 
 cpu		I686_CPU
 ident		ARUNDEL
 #maxusers	10
 makeoptions	DEBUG=-g
 #makeoptions	CONF_CFLAGS=-fno-builtin
 #options		MPTABLE_FORCE_HTT	# Enable HTT CPUs with the MP Table
 #options		CPU_SUSP_HLT
 #options		CPU_UPGRADE_HW_CACHE
 #options		CPU_FASTER_5X86_FPU
 options		ATA_STATIC_ID
 
 #options		MSDOSFS
 #options		CD9660
 #options		USB_DEBUG
 #options		TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN
 #options		HZ=100
 
 options		PREEMPTION
 #options		IPI_PREEMPTION
 
 #options		SCHED_4BSD		#4BSD scheduler
 options		SCHED_ULE
 options 	INET			#InterNETworking
 options 	FFS			#Berkeley Fast Filesystem
 options 	SOFTUPDATES		#Enable FFS soft updates support
 options 	UFS_DIRHASH		#Improve performance on big directories
 options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
 options		COMPAT_43TTY		#Compatible with BSD 4.3 [KEEP THIS!]
 options		COMPAT_FREEBSD4		#Compatible with FreeBSD4
 options		COMPAT_FREEBSD5		#Compatible with FreeBSD5
 options		COMPAT_FREEBSD6		#Compatible with FreeBSD6
 
 options		SC_HISTORY_SIZE=1000	#number of history buffer lines
 options		KDB			#Compile with kernel debugger related code
 options		KDB_TRACE		#Print a stack trace of the current thread on the console for a panic.
 options 	KTRACE			#ktrace(1) support
 options 	SYSVSHM			#SYSV-style shared memory
 options 	SYSVMSG			#SYSV-style message queues
 options 	SYSVSEM			#SYSV-style semaphores
 options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
 options 	KBD_INSTALL_CDEV	#install a CDEV entry in /dev
 options		UKBD_DFLT_KEYMAP	#specify the built-in keymap
 makeoptions	UKBD_DFLT_KEYMAP="german.iso"
 #options		AUTO_EOI_1
 #options		AUTO_EOI_2
 options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
 options         STOP_NMI                # Stop CPUS using NMI instead of IPI
 
 
 options		SMP			# Symmetric MultiProcessor Kernel
 device		apic			# I/O APIC
 
 
 #devices
 device		eisa
 device		pci
 device		ata
 device		atadisk
 device		atapicd
 device		usb
 device		uhci
 device		ehci
 device		vga
 device		sc
 device		ukbd
 device		ulpt
 device		ath
 device		ath_hal
 device		ath_rate_sample
 device		wlan
 device		cpufreq
 device		coretemp
 
 #pseudo devices
 device		loop
 device		ether
 device		pty
 >How-To-Repeat:
 in my case the kernel panic occurs during heavy ath0 i/o e.g. while p2p-apps are running. i haven't noticed a crash during low i/o like surfing or emailing.
 >Fix:
 
 

From: alex <none@FreeBSD.org (to prevent spam)>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Mon, 4 Aug 2008 21:24:47 GMT

 >Submitter-Id:	current-users
 >Originator:	alex
 >Organization:	
 >Confidential:	no
 >Synopsis:	Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
 >Severity:	serious
 >Priority:	medium
 >Category:	kern
 >Class:		sw-bug
 >Release:	7-STABLE
 >Environment:	FreeBSD moshnroll 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Jul 15 19:32:15 CEST 2008     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
 >Description:
 here're a few more backtraces from previous core dumps:
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; apic id = 01
 fault virtual address	= 0xc
 fault code		= supervisor read, page not present
 instruction pointer	= 0x20:0xc052f75c
 stack pointer	        = 0x28:0xe59708c0
 frame pointer	        = 0x28:0xe59708c8
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 38 (ath0 taskq)
 trap number		= 12
 panic: page fault
 cpuid = 1
 Syncing disks, buffers remaining... 7147 7146 7146 7146 7146 
 Syncing disks, vnodes remaining...0 7146 7146 7146 7146 7146 7146 7146 7146 7146 7146 7146 7146 7146 7146 7146 7146 
 Giving up on 7146 buffers
 Uptime: 8d2h51m16s
 Physical memory: 2034 MB
 Dumping 265 MB: 250 234 218 202 186 170 154 138 122 106 90 74 58 42 26 10
 
 Reading symbols from /boot/kernel/cd9660.ko...Reading symbols from /boot/kernel/cd9660.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cd9660.ko
 Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linprocfs.ko
 Reading symbols from /boot/kernel/pseudofs.ko...Reading symbols from /boot/kernel/pseudofs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/pseudofs.ko
 Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linux.ko
 Reading symbols from /boot/kernel/procfs.ko...Reading symbols from /boot/kernel/procfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/procfs.ko
 Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/sound.ko
 Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/snd_hda.ko
 Reading symbols from /boot/kernel/ums.ko...Reading symbols from /boot/kernel/ums.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ums.ko
 Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/kernel/umass.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/umass.ko
 Reading symbols from /boot/kernel/cam.ko...Reading symbols from /boot/kernel/cam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cam.ko
 Reading symbols from /boot/kernel/random.ko...Reading symbols from /boot/kernel/random.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/random.ko
 Reading symbols from /boot/kernel/wlan_wep.ko...Reading symbols from /boot/kernel/wlan_wep.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_wep.ko
 Reading symbols from /boot/kernel/wlan_scan_sta.ko...Reading symbols from /boot/kernel/wlan_scan_sta.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_scan_sta.ko
 Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_ubt.ko
 Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/netgraph.ko
 Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/atapicam.ko
 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/acpi.ko
 Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_btsocket.ko
 Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_bluetooth.ko
 Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_hci.ko
 Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_l2cap.ko
 Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_socket.ko
 Reading symbols from /boot/kernel/msdosfs.ko...Reading symbols from /boot/kernel/msdosfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/msdosfs.ko
 Reading symbols from /boot/modules/nvidia.ko...done.
 Loaded symbols for /boot/modules/nvidia.ko
 #0  doadump () at pcpu.h:195
 	in pcpu.h
 (kgdb) bt
 #0  doadump () at pcpu.h:195
 #1  0xc04de3c6 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:418
 #2  0xc04de6c6 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:572
 #3  0xc0657d73 in trap_fatal (frame=0xe5970880, eva=12) at /usr/src/sys/i386/i386/trap.c:899
 #4  0xc0657fd0 in trap_pfault (frame=0xe5970880, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:812
 #5  0xc0658962 in trap (frame=0xe5970880) at /usr/src/sys/i386/i386/trap.c:490
 #6  0xc063e7cb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 #7  0xc052f75c in sbsndptr (sb=0xc5e3dd3c, off=2196, len=1412, moff=0xe5970948) at /usr/src/sys/kern/uipc_sockbuf.c:938
 #8  0xc05af036 in tcp_output (tp=0xc58d2000) at /usr/src/sys/netinet/tcp_output.c:802
 #9  0xc05ad3c5 in tcp_do_segment (m=0xc5258000, th=0xc5609838, so=0xc5e3dc60, tp=0xc58d2000, drop_hdrlen=40, tlen=0) at /usr/src/sys/netinet/tcp_input.c:2347
 #10 0xc05adfef in tcp_input (m=0xc5258000, off0=20) at /usr/src/sys/netinet/tcp_input.c:845
 #11 0xc05a5c38 in ip_input (m=0xc5258000) at /usr/src/sys/netinet/ip_input.c:665
 #12 0xc0574d85 in netisr_dispatch (num=2, m=0xc5258000) at /usr/src/sys/net/netisr.c:185
 #13 0xc0573b2a in ether_demux (ifp=0xc52bb000, m=0xc5258000) at /usr/src/sys/net/if_ethersubr.c:834
 #14 0xc0573f23 in ether_input (ifp=0xc52bb000, m=0xc5258000) at /usr/src/sys/net/if_ethersubr.c:692
 #15 0xc0582a8d in ieee80211_deliver_data (ic=0xc52bf22c, ni=0xc5696000, m=0xc5258000) at /usr/src/sys/net80211/ieee80211_input.c:779
 #16 0xc058818c in ieee80211_input (ic=0xc52bf22c, m=0xc5258000, ni=0xc5696000, rssi=27, noise=-98, rstamp=15157) at /usr/src/sys/net80211/ieee80211_input.c:519
 #17 0xc0457ccd in ath_rx_proc (arg=0xc52bf000, npending=1) at /usr/src/sys/dev/ath/if_ath.c:3673
 #18 0xc05116a5 in taskqueue_run (queue=0xc52ba080) at /usr/src/sys/kern/subr_taskqueue.c:255
 #19 0xc05118ab in taskqueue_thread_loop (arg=0xc52c0674) at /usr/src/sys/kern/subr_taskqueue.c:374
 #20 0xc04bc069 in fork_exit (callout=0xc05117f0 <taskqueue_thread_loop>, arg=0xc52c0674, frame=0xe5970d38) at /usr/src/sys/kern/kern_fork.c:783
 #21 0xc063e840 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205
 
 
 
 Unread portion of the kernel message buffer:
 panic: sbdrop
 cpuid = 1
 
 Syncing disks, vnodes remaining...3 Syncing disks, buffers remaining... 7154 7153 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 7152 
 Giving up on 7152 buffers
 Uptime: 1d19h37m25s
 Physical memory: 2034 MB
 Dumping 257 MB: 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2
 
 Reading symbols from /boot/kernel/cd9660.ko...Reading symbols from /boot/kernel/cd9660.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cd9660.ko
 Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linprocfs.ko
 Reading symbols from /boot/kernel/pseudofs.ko...Reading symbols from /boot/kernel/pseudofs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/pseudofs.ko
 Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linux.ko
 Reading symbols from /boot/kernel/procfs.ko...Reading symbols from /boot/kernel/procfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/procfs.ko
 Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/sound.ko
 Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/snd_hda.ko
 Reading symbols from /boot/kernel/ums.ko...Reading symbols from /boot/kernel/ums.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ums.ko
 Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/kernel/umass.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/umass.ko
 Reading symbols from /boot/kernel/cam.ko...Reading symbols from /boot/kernel/cam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cam.ko
 Reading symbols from /boot/kernel/random.ko...Reading symbols from /boot/kernel/random.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/random.ko
 Reading symbols from /boot/modules/nvidia.ko...done.
 Loaded symbols for /boot/modules/nvidia.ko
 Reading symbols from /boot/kernel/wlan_wep.ko...Reading symbols from /boot/kernel/wlan_wep.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_wep.ko
 Reading symbols from /boot/kernel/wlan_scan_sta.ko...Reading symbols from /boot/kernel/wlan_scan_sta.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_scan_sta.ko
 Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_ubt.ko
 Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/netgraph.ko
 Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/atapicam.ko
 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/acpi.ko
 Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_bluetooth.ko
 Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_hci.ko
 Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_l2cap.ko
 Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_btsocket.ko
 Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_socket.ko
 #0  doadump () at pcpu.h:195
 	in pcpu.h
 (kgdb) bt
 #0  doadump () at pcpu.h:195
 #1  0xc04ddff6 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:418
 #2  0xc04de2f6 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:572
 #3  0xc053012b in sbdrop_internal (sb=0xca153a24, len=2069)
     at /usr/src/sys/kern/uipc_sockbuf.c:848
 #4  0xc053031e in sbdrop_locked (sb=0xca153a24, len=2800)
     at /usr/src/sys/kern/uipc_sockbuf.c:898
 #5  0xc05ac807 in tcp_do_segment (m=0xc6360d00, th=0xc7694838, so=0xca153948, tp=0xca1371d0, 
     drop_hdrlen=52, tlen=0) at /usr/src/sys/netinet/tcp_input.c:2031
 #6  0xc05adbbf in tcp_input (m=0xc6360d00, off0=20) at /usr/src/sys/netinet/tcp_input.c:845
 #7  0xc05a5798 in ip_input (m=0xc6360d00) at /usr/src/sys/netinet/ip_input.c:665
 #8  0xc05748d5 in netisr_dispatch (num=2, m=0xc6360d00) at /usr/src/sys/net/netisr.c:185
 #9  0xc057367a in ether_demux (ifp=0xc528a000, m=0xc6360d00)
     at /usr/src/sys/net/if_ethersubr.c:834
 #10 0xc0573a73 in ether_input (ifp=0xc528a000, m=0xc6360d00)
     at /usr/src/sys/net/if_ethersubr.c:692
 #11 0xc05825dd in ieee80211_deliver_data (ic=0xc528e22c, ni=0xc566b000, m=0xc6360d00)
     at /usr/src/sys/net80211/ieee80211_input.c:779
 #12 0xc0587cdc in ieee80211_input (ic=0xc528e22c, m=0xc6360d00, ni=0xc566b000, rssi=31, 
     noise=-98, rstamp=23523) at /usr/src/sys/net80211/ieee80211_input.c:519
 #13 0xc0457bdd in ath_rx_proc (arg=0xc528e000, npending=1)
     at /usr/src/sys/dev/ath/if_ath.c:3673
 #14 0xc05111f5 in taskqueue_run (queue=0xc5288080) at /usr/src/sys/kern/subr_taskqueue.c:255
 #15 0xc05113fb in taskqueue_thread_loop (arg=0xc528f674)
     at /usr/src/sys/kern/subr_taskqueue.c:374
 #16 0xc04bbf49 in fork_exit (callout=0xc0511340 <taskqueue_thread_loop>, arg=0xc528f674, 
     frame=0xe4211d38) at /usr/src/sys/kern/kern_fork.c:783
 #17 0xc063e4a0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205
 
 
 
 Unread portion of the kernel message buffer:
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 1; apic id = 01
 fault virtual address	= 0xc
 fault code		= supervisor read, page not present
 instruction pointer	= 0x20:0xc052f2ac
 stack pointer	        = 0x28:0xe648a980
 frame pointer	        = 0x28:0xe648a988
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 1071 (donkey)
 trap number		= 12
 panic: page fault
 cpuid = 1
 Syncing disks, buffers remaining... 7154 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 7147 
 Giving up on 7147 buffers
 Uptime: 14h44m56s
 Physical memory: 2034 MB
 Dumping 266 MB: 251 235 219 203 187 171 155 139 123 107 91 75 59 43 27 11
 
 Reading symbols from /boot/kernel/cd9660.ko...Reading symbols from /boot/kernel/cd9660.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cd9660.ko
 Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /boot/kernel/linprocfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linprocfs.ko
 Reading symbols from /boot/kernel/pseudofs.ko...Reading symbols from /boot/kernel/pseudofs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/pseudofs.ko
 Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/linux.ko
 Reading symbols from /boot/kernel/procfs.ko...Reading symbols from /boot/kernel/procfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/procfs.ko
 Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/sound.ko
 Reading symbols from /boot/kernel/snd_hda.ko...Reading symbols from /boot/kernel/snd_hda.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/snd_hda.ko
 Reading symbols from /boot/kernel/ums.ko...Reading symbols from /boot/kernel/ums.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ums.ko
 Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/kernel/umass.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/umass.ko
 Reading symbols from /boot/kernel/cam.ko...Reading symbols from /boot/kernel/cam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/cam.ko
 Reading symbols from /boot/kernel/random.ko...Reading symbols from /boot/kernel/random.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/random.ko
 Reading symbols from /boot/modules/nvidia.ko...done.
 Loaded symbols for /boot/modules/nvidia.ko
 Reading symbols from /boot/kernel/wlan_wep.ko...Reading symbols from /boot/kernel/wlan_wep.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_wep.ko
 Reading symbols from /boot/kernel/wlan_scan_sta.ko...Reading symbols from /boot/kernel/wlan_scan_sta.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/wlan_scan_sta.ko
 Reading symbols from /boot/kernel/ng_ubt.ko...Reading symbols from /boot/kernel/ng_ubt.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_ubt.ko
 Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boot/kernel/netgraph.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/netgraph.ko
 Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/atapicam.ko
 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/acpi.ko
 Reading symbols from /boot/kernel/ng_bluetooth.ko...Reading symbols from /boot/kernel/ng_bluetooth.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_bluetooth.ko
 Reading symbols from /boot/kernel/ng_hci.ko...Reading symbols from /boot/kernel/ng_hci.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_hci.ko
 Reading symbols from /boot/kernel/ng_l2cap.ko...Reading symbols from /boot/kernel/ng_l2cap.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_l2cap.ko
 Reading symbols from /boot/kernel/ng_btsocket.ko...Reading symbols from /boot/kernel/ng_btsocket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_btsocket.ko
 Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /boot/kernel/ng_socket.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/ng_socket.ko
 Reading symbols from /boot/kernel/msdosfs.ko...Reading symbols from /boot/kernel/msdosfs.ko.symbols...done.
 done.
 Loaded symbols for /boot/kernel/msdosfs.ko
 #0  doadump () at pcpu.h:195
 	in pcpu.h
 (kgdb) bt
 #0  doadump () at pcpu.h:195
 #1  0xc04ddff6 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:418
 #2  0xc04de2f6 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:572
 #3  0xc0657943 in trap_fatal (frame=0xe648a940, eva=12) at /usr/src/sys/i386/i386/trap.c:899
 #4  0xc0657ba0 in trap_pfault (frame=0xe648a940, usermode=0, eva=12) at /usr/src/sys/i386/i386/trap.c:812
 #5  0xc0658532 in trap (frame=0xe648a940) at /usr/src/sys/i386/i386/trap.c:490
 #6  0xc063e42b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 #7  0xc052f2ac in sbsndptr (sb=0xc5c9f898, off=1081, len=1400, moff=0xe648aa08) at /usr/src/sys/kern/uipc_sockbuf.c:938
 #8  0xc05aec06 in tcp_output (tp=0xc5fbf000) at /usr/src/sys/netinet/tcp_output.c:802
 #9  0xc05b7d92 in tcp_usr_send (so=0xc5c9f7bc, flags=) at /usr/src/sys/netinet/tcp_usrreq.c:843
 #10 0xc0535025 in sosend_generic (so=0xc5c9f7bc, addr=0x0, uio=0xe648ab34, top=0xc5d08700, control=0x0, flags=0, td=0xc5577000) at /usr/src/sys/kern/uipc_socket.c:1240
 #11 0xc0530fdf in sosend (so=0xc5c9f7bc, addr=0x0, uio=0xe648ab34, top=0x0, control=0x0, flags=0, td=0xc5577000) at /usr/src/sys/kern/uipc_socket.c:1286
 #12 0xc05376e6 in kern_sendit (td=0xc5577000, s=55, mp=0xe648abb0, flags=0, control=0x0, segflg=UIO_USERSPACE) at /usr/src/sys/kern/uipc_syscalls.c:789
 #13 0xc0539f82 in sendit (td=0xc5577000, s=55, mp=0xe648abb0, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:730
 #14 0xc053a1bf in sendto (td=0xc5577000, uap=0xe648ac28) at /usr/src/sys/kern/uipc_syscalls.c:841
 #15 0xc07a97ed in linux_socketcall (td=0xc5577000, args=0xe648acfc) at /usr/src/sys/modules/linux/../../compat/linux/linux_socket.c:890
 #16 0xc0657ed9 in syscall (frame=0xe648ad38) at /usr/src/sys/i386/i386/trap.c:1035
 #17 0xc063e490 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196
 #18 0x00000033 in ?? ()
 >How-To-Repeat:
 in my case the kernel panic occurs during heavy ath0 i/o e.g. while p2p-apps are running. i haven't noticed a crash during low i/o like surfing or emailing.
 >Fix:
 
 
 ULE+PREEMPTION is known broken in RELENG_7, please try to reproduce with 4BSD.

From: alex <none@FreeBSD.org (to prevent spam)>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Tue, 5 Aug 2008 18:10:29 GMT

 >Submitter-Id:	current-users
 >Originator:	alex
 >Organization:	
 >Confidential:	no
 >Synopsis:	Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
 >Severity:	serious
 >Priority:	medium
 >Category:	kern
 >Class:		sw-bug
 >Release:	7-STABLE
 >Environment:	FreeBSD moshnroll 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug  5 02:19:45 CEST 2008     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
 >Description:
 thank you for the hint. this should be in /usr/src/UPDATING imo.
 
 i switched to the 4bsd scheduler, but unfortunately matters didn't get any better.
 
 my computer crashed after only a few hours of heavy ath i/o. keyboard and mouse stopped working and the pc internal speaker produced a high-frequency "beep". the only way to get my pc working again was a hard reset. no core dump was found during reboot.
 
 i'll run a different app over night that produces heavy ath i/o and see if i can reproduce the crash.
 
 cheers.
 >How-To-Repeat:
 the app i was running was ports/net-p2p/linux-edonkey-core with the variable mcon set to 150.
 
 i'll try to reproduce the error using ports/net-p2p/nicotine-plus and ports/net-p2p/ctorrent.
 >Fix:
 
 

From: alex <none@FreeBSD.org (to prevent spam)>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Tue, 5 Aug 2008 21:39:11 GMT

 >Submitter-Id:	current-users
 >Originator:	alex
 >Organization:	
 >Confidential:	no
 >Synopsis:	Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
 >Severity:	serious
 >Priority:	medium
 >Category:	kern
 >Class:		sw-bug
 >Release:	7-STABLE
 >Environment:	FreeBSD moshnroll 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug  5 02:19:45 CEST 2008     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
 >Description:
 the very same kind of crash occured while running ctorrent. yet again no core dump. :(
 >How-To-Repeat:
 
 >Fix:
 
 

From: alex <none@FreeBSD.org (to prevent spam)>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Tue, 19 Aug 2008 22:44:34 GMT

 >Submitter-Id:	current-users
 >Originator:	alex
 >Organization:	
 >Confidential:	no
 >Synopsis:	Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
 >Severity:	serious
 >Priority:	medium
 >Category:	kern
 >Class:		sw-bug
 >Release:	7-STABLE
 >Environment:	FreeBSD moshnroll 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 19 21:20:04 CEST 2008     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
 >Description:
 It seems the problem is related to SMP. I added kern.smp.disabled=1 to /boot/loader.conf and hadn't had a single panic in a week. After reverting to SMP mode again my machine crashed after a few minutes of high inet bandwith usage.
 >How-To-Repeat:
 
 >Fix:
 
 

From: alex <freebsd.alex@spamfoodie.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Tue, 11 Nov 2008 19:59:30 GMT

 >Submitter-Id:	current-users
 >Originator:	alex
 >Organization:	
 >Confidential:	no
 >Synopsis:	Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
 >Severity:	critical
 >Priority:	high
 >Category:	kern
 >Class:		sw-bug
 >Release:	7-STABLE
 >Environment:	FreeBSD moshnroll 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Mon Nov 10 20:11:36 CET 2008     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
 >Description:
 Why is this PR still in the feeback state? The feedback sam requested has been submitted months ago.
 
 Please take this PR very serious. I build a fresh kernel and a fresh world yesterday and I am still experiencing lockups and reboots during network activity. The problem didn't exist in 7.0-RELEASE and it seems that disabling SMP solves the issue. Switching between the historic and the new scheduler doesn't seem to make a difference.
 
 Here's the output of pciconf -lv:
 
 ath0@pci0:5:1:0:        class=0x020000 card=0x5a001385 chip=0x0013168c rev=0x01 hdr=0x00
     vendor     = 'Atheros Communications Inc.'
     device     = 'AR5212, AR5213 802.11a/b/g Wireless Adapter'
     class      = network
     subclass   = ethernet
 
 I also attached the output of dmesg. The following device are sharing irq19:
 
 pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
 atapci0: <JMicron JMB363 SATA300 controller> port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f mem 0xf8000000-0xf8001fff irq 19 at device 0.0 on pci3
 uhci4: <UHCI (generic) USB controller> port 0xe400-0xe41f irq 19 at device 29.1 on pci0
 ath0: <Atheros 5212> mem 0xf8100000-0xf810ffff irq 19 at device 1.0 on pci5
 atapci1: <Intel AHCI controller> port 0xe600-0xe607,0xe700-0xe703,0xe800-0xe807,0xe900-0xe903,0xea00-0xea1f mem 0xf8206000-0xf82067ff irq 19 at device 31.2 on pci0
 
 Cheers.
 >How-To-Repeat:
 
 >Fix:
 
 
 Patch attached with submission follows:
 
 Copyright (c) 1992-2008 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 is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-PRERELEASE #4: Mon Nov 10 20:11:36 CET 2008
     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) Dual  CPU  E2160  @ 1.80GHz (1800.01-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6fd  Stepping = 13
   Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM>
   AMD Features=0x20100000<NX,LM>
   AMD Features2=0x1<LAHF>
   Cores per package: 2
 real memory  = 2146304000 (2046 MB)
 avail memory = 2086531072 (1989 MB)
 ACPI APIC Table: <GBT    GBTUACPI>
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0: Changing APIC ID to 2
 ioapic0 <Version 2.0> irqs 0-23 on motherboard
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: <GBT GBTUACPI> on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 acpi0: reservation of 0, a0000 (3) failed
 acpi0: reservation of 100000, 7fde0000 (3) failed
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
 Timecounter "HPET" frequency 14318180 Hz quality 900
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pcib1: <PCI-PCI bridge> irq 16 at device 1.0 on pci0
 pci1: <PCI bus> on pcib1
 vgapci0: <VGA-compatible display> port 0xc000-0xc07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci1
 nvidia0: <GeForce 9600 GT> on vgapci0
 vgapci0: child nvidia0 requested pci_enable_busmaster
 vgapci0: child nvidia0 requested pci_enable_io
 nvidia0: [GIANT-LOCKED]
 nvidia0: [ITHREAD]
 uhci0: <UHCI (generic) USB controller> port 0xe200-0xe21f irq 16 at device 26.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: <UHCI (generic) USB controller> on uhci0
 usb0: USB revision 1.0
 uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 2 ports with 2 removable, self powered
 uhci1: <UHCI (generic) USB controller> port 0xe000-0xe01f irq 21 at device 26.1 on pci0
 uhci1: [GIANT-LOCKED]
 uhci1: [ITHREAD]
 usb1: <UHCI (generic) USB controller> on uhci1
 usb1: USB revision 1.0
 uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
 uhub1: 2 ports with 2 removable, self powered
 uhci2: <UHCI (generic) USB controller> port 0xe100-0xe11f irq 18 at device 26.2 on pci0
 uhci2: [GIANT-LOCKED]
 uhci2: [ITHREAD]
 usb2: <UHCI (generic) USB controller> on uhci2
 usb2: USB revision 1.0
 uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
 uhub2: 2 ports with 2 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf8205000-0xf82053ff irq 18 at device 26.7 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb3: EHCI version 1.0
 usb3: companion controllers, 2 ports each: usb0 usb1 usb2
 usb3: <EHCI (generic) USB 2.0 controller> on ehci0
 usb3: USB revision 2.0
 uhub3: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
 uhub3: 6 ports with 6 removable, self powered
 pcm0: <Intel 82801I High Definition Audio Controller> mem 0xf8200000-0xf8203fff irq 22 at device 27.0 on pci0
 pcm0: [ITHREAD]
 pcib2: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
 pci2: <ACPI PCI bus> on pcib2
 pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
 pci3: <ACPI PCI bus> on pcib3
 atapci0: <JMicron JMB363 SATA300 controller> port 0xd000-0xd007,0xd100-0xd103,0xd200-0xd207,0xd300-0xd303,0xd400-0xd40f mem 0xf8000000-0xf8001fff irq 19 at device 0.0 on pci3
 atapci0: [ITHREAD]
 atapci0: AHCI called from vendor specific driver
 atapci0: AHCI Version 01.00 controller with 2 ports detected
 ata2: <ATA channel 0> on atapci0
 ata2: [ITHREAD]
 ata3: <ATA channel 1> on atapci0
 ata3: [ITHREAD]
 ata4: <ATA channel 2> on atapci0
 ata4: [ITHREAD]
 pcib4: <ACPI PCI-PCI bridge> irq 16 at device 28.4 on pci0
 pci4: <ACPI PCI bus> on pcib4
 uhci3: <UHCI (generic) USB controller> port 0xe300-0xe31f irq 23 at device 29.0 on pci0
 uhci3: [GIANT-LOCKED]
 uhci3: [ITHREAD]
 usb4: <UHCI (generic) USB controller> on uhci3
 usb4: USB revision 1.0
 uhub4: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
 uhub4: 2 ports with 2 removable, self powered
 uhci4: <UHCI (generic) USB controller> port 0xe400-0xe41f irq 19 at device 29.1 on pci0
 uhci4: [GIANT-LOCKED]
 uhci4: [ITHREAD]
 usb5: <UHCI (generic) USB controller> on uhci4
 usb5: USB revision 1.0
 uhub5: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb5
 uhub5: 2 ports with 2 removable, self powered
 uhci5: <UHCI (generic) USB controller> port 0xe500-0xe51f irq 18 at device 29.2 on pci0
 uhci5: [GIANT-LOCKED]
 uhci5: [ITHREAD]
 usb6: <UHCI (generic) USB controller> on uhci5
 usb6: USB revision 1.0
 uhub6: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb6
 uhub6: 2 ports with 2 removable, self powered
 ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf8204000-0xf82043ff irq 23 at device 29.7 on pci0
 ehci1: [GIANT-LOCKED]
 ehci1: [ITHREAD]
 usb7: EHCI version 1.0
 usb7: companion controllers, 2 ports each: usb4 usb5 usb6
 usb7: <EHCI (generic) USB 2.0 controller> on ehci1
 usb7: USB revision 2.0
 uhub7: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb7
 uhub7: 6 ports with 6 removable, self powered
 pcib5: <ACPI PCI-PCI bridge> at device 30.0 on pci0
 pci5: <ACPI PCI bus> on pcib5
 ath0: <Atheros 5212> mem 0xf8100000-0xf810ffff irq 19 at device 1.0 on pci5
 ath0: [ITHREAD]
 ath0: WARNING: using obsoleted if_watchdog interface
 ath0: Ethernet address: 00:0f:b5:82:07:c8
 ath0: mac 7.9 phy 4.5 radio 5.6
 isab0: <PCI-ISA bridge> at device 31.0 on pci0
 isa0: <ISA bus> on isab0
 atapci1: <Intel AHCI controller> port 0xe600-0xe607,0xe700-0xe703,0xe800-0xe807,0xe900-0xe903,0xea00-0xea1f mem 0xf8206000-0xf82067ff irq 19 at device 31.2 on pci0
 atapci1: [ITHREAD]
 atapci1: AHCI Version 01.20 controller with 6 ports detected
 ata5: <ATA channel 0> on atapci1
 ata5: [ITHREAD]
 ata6: <ATA channel 1> on atapci1
 ata6: [ITHREAD]
 ata7: <ATA channel 2> on atapci1
 ata7: [ITHREAD]
 ata8: <ATA channel 3> on atapci1
 ata8: [ITHREAD]
 ata9: <ATA channel 4> on atapci1
 ata9: [ITHREAD]
 ata10: <ATA channel 5> on atapci1
 ata10: [ITHREAD]
 pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
 cpu0: <ACPI CPU> on acpi0
 coretemp0: <CPU On-Die Thermal Sensors> on cpu0
 est0: <Enhanced SpeedStep Frequency Control> on cpu0
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 925092506000925
 device_attach: est0 attach returned 6
 p4tcc0: <CPU Frequency Thermal Control> on cpu0
 cpu1: <ACPI CPU> on acpi0
 coretemp1: <CPU On-Die Thermal Sensors> on cpu1
 est1: <Enhanced SpeedStep Frequency Control> on cpu1
 est: CPU supports Enhanced Speedstep, but is not recognized.
 est: cpu_vendor GenuineIntel, msr 925092506000925
 device_attach: est1 attach returned 6
 p4tcc1: <CPU Frequency Thermal Control> on cpu1
 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
 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
 ata0: [ITHREAD]
 ata1 at port 0x170-0x177,0x376 irq 15 on isa0
 ata1: [ITHREAD]
 ubt0: <vendor 0x0a12 product 0x0001, class 224/1, rev 2.00/15.93, addr 2> on uhub0
 ubt0: Interface 0 endpoints: interrupt=0x81, bulk-in=0x82, bulk-out=0x2
 ubt0: Interface 1 (alt.config 5) endpoints: isoc-in=0x83, isoc-out=0x3; wMaxPacketSize=49; nframes=6, buffer size=294
 ukbd0: <Dell Dell USB Keyboard, class 0/0, rev 1.10/3.06, addr 2> on uhub1
 kbd0 at ukbd0
 ums0: <Razer Razer 1600dpi Mouse, class 0/0, rev 2.00/21.00, addr 3> on uhub1
 ums0: 7 buttons and Z dir.
 Timecounters tick every 1.000 msec
 ad0: 6105MB <SAMSUNG SV0644A JC201-12> at ata4-master UDMA33
 acd0: DVDR <HL-DT-ST DVDRAM GSA-H10N/JL10> at ata4-slave UDMA33
 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
 ad1: 238474MB <SAMSUNG SP2504C VT100-50> at ata5-master SATA300
 pcm0: <HDA Codec: Realtek ALC885>
 pcm0: <HDA Driver Revision: 20080420_0052>
 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x01
 SMP: AP CPU #1 Launched!
 cd0 at ata4 bus 0 target 1 lun 0
 cd0: <HL-DT-ST DVDRAM GSA-H10N JL10> Removable CD-ROM SCSI-0 device 
 cd0: 33.000MB/s transfers
 cd0: cd present [342970 x 2048 byte records]
 Trying to mount root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 WARNING: /usr was not properly dismounted
 /usr: mount pending error: blocks 208 files 2
 ath0: link state changed to UP
 
 
State-Changed-From-To: feedback->patched 
State-Changed-By: sam 
State-Changed-When: Mon Nov 24 17:42:04 UTC 2008 
State-Changed-Why:  
please try with latest RELENG_7; r185190 might fix this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125914 

From: "ivan anyukov" <ivan.anyukov@googlemail.com>
To: bug-followup@freebsd.org, smallhand@crawblog.com
Cc:  
Subject: Re: kern/125914: [ath] [panic] ath driver causes kernel panic in 7-STABLE
Date: Tue, 2 Dec 2008 04:34:20 +0100

 ------=_Part_112424_32275771.1228188860707
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I'm using the patch for about a week now, no panics since then.
 
 Thanks
 
 ------=_Part_112424_32275771.1228188860707
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 I&#39;m using the patch for about a week now, no panics since then.<br><br>Thanks<br>
 
 ------=_Part_112424_32275771.1228188860707--
State-Changed-From-To: patched->closed 
State-Changed-By: sam 
State-Changed-When: Tue Dec 2 04:01:31 UTC 2008 
State-Changed-Why:  
fx verified by multiple people 

http://www.freebsd.org/cgi/query-pr.cgi?pr=125914 
>Unformatted:
