kern/121061: panic while ejecting ath(4)-adapter during shutdown

Martin Sugioarto nakal at web.de
Sun Feb 24 21:10:02 UTC 2008


>Number:         121061
>Category:       kern
>Synopsis:       panic while ejecting ath(4)-adapter during shutdown
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>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:
>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:
>Unformatted:


More information about the freebsd-bugs mailing list