From nobody@FreeBSD.org  Sun Feb 24 21:06:55 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 46A8A16A402
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Feb 2008 21:06:55 +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 2093913C457
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Feb 2008 21:06:55 +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 m1OL4Dqk011988
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 24 Feb 2008 21:04:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1OL4D3l011982;
	Sun, 24 Feb 2008 21:04:13 GMT
	(envelope-from nobody)
Message-Id: <200802242104.m1OL4D3l011982@www.freebsd.org>
Date: Sun, 24 Feb 2008 21:04:13 GMT
From: Martin Sugioarto <nakal@web.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: panic while ejecting ath(4)-adapter during shutdown
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121061
>Category:       kern
>Synopsis:       [ath] [panic] panic while ejecting ath(4)-adapter during shutdown
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-wireless
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 24 21:10:01 UTC 2008
>Closed-Date:    
>Last-Modified:  Thu Nov 29 20:26:39 UTC 2012
>Originator:     Martin Sugioarto
>Release:        FreeBSD 7.0 PRERELEASE
>Organization:
>Environment:
FreeBSD 7.0-PRERELEASE #0: Wed Feb 20 02:32:20 CET 2008 i386
>Description:
Ejecting the PCMCIA adapter WGT511T causes panic when a laptop is shutting down.

Here the backtrace:
#0  doadump () at pcpu.h:195
#1  0xc06bd69b in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc06bd96f in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc04ad309 in db_panic (addr=Could not find the frame base for "db_panic".
) at /usr/src/sys/ddb/db_command.c:433
#4  0xc04adc6c in db_command_loop () at /usr/src/sys/ddb/db_command.c:401
#5  0xc04af2b8 in db_trap (type=12, code=0) at /usr/src/sys/ddb/db_main.c:222
#6  0xc06e38de in kdb_trap (type=12, code=0, tf=0xe6b839e8)
    at /usr/src/sys/kern/subr_kdb.c:502
#7  0xc096bb59 in trap_fatal (frame=0xe6b839e8, eva=24)
    at /usr/src/sys/i386/i386/trap.c:890
#8  0xc096c3f4 in trap (frame=0xe6b839e8) at /usr/src/sys/i386/i386/trap.c:280
#9  0xc0953d3b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#10 0xc0779c09 in ieee80211_ioctl (ic=0xc4ab922c, cmd=2149345770, 
    data=0xc60c80c0 "ath0") at /usr/src/sys/net80211/ieee80211_ioctl.c:1257
#11 0xc04f045d in ath_ioctl (ifp=0xc402dc00, cmd=2149345770, 
    data=0xc60c80c0 "ath0") at /usr/src/sys/dev/ath/if_ath.c:5828
#12 0xc078c934 in in_control (so=0xc4682dec, cmd=2149345770, 
    data=0xc60c80c0 "ath0", ifp=0xc402dc00, td=0xc4384000)
    at /usr/src/sys/netinet/in.c:483
#13 0xc074d32f in ifioctl (so=0xc4682dec, cmd=2149345770, 
    data=0xc60c80c0 "ath0", td=0xc4384000) at /usr/src/sys/net/if.c:1888
#14 0xc06faf4d in soo_ioctl (fp=0xc460b510, cmd=2149345770, data=0xc60c80c0, 
    active_cred=0xc3f26a00, td=0xc4384000)
    at /usr/src/sys/kern/sys_socket.c:191
#15 0xc06f56d3 in kern_ioctl (td=0xc4384000, fd=3, com=2149345770, 
    data=0xc60c80c0 "ath0") at file.h:266
#16 0xc06f580b in ioctl (td=0xc4384000, uap=0xe6b83cfc)
    at /usr/src/sys/kern/sys_generic.c:570
#17 0xc096c030 in syscall (frame=0xe6b83d38)
    at /usr/src/sys/i386/i386/trap.c:1035
#18 0xc0953da0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196
#19 0x00000033 in ?? ()

>How-To-Repeat:
1) Use halt -p or shutdown using your favourite display manager.
2) Eject the PCMCIA card during the shutdown sequence. I'm not sure if
   the PCMCIA was still associated at this point when it panic'ed, but I
   was using wireless LAN without problems before I shut down the laptop.
>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Feb 25 07:08:42 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121061 
Responsible-Changed-From-To: freebsd-net->sam 
Responsible-Changed-By: sam 
Responsible-Changed-When: Mon Feb 25 17:19:23 UTC 2008 
Responsible-Changed-Why:  
assign to the correct person 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121061 
Responsible-Changed-From-To: sam->freebsd-wireless 
Responsible-Changed-By: adrian 
Responsible-Changed-When: Thu Nov 29 20:26:26 UTC 2012 
Responsible-Changed-Why:  
Flip to maintainer email list. 

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