kern/126396: kernel panic after unplug USB Bluetooth device

Alex Keda admin at lissyara.su
Sat Aug 9 15:20:03 UTC 2008


>Number:         126396
>Category:       kern
>Synopsis:       kernel panic after unplug USB Bluetooth device
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 09 15:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alex Keda
>Release:        CURRENT
>Organization:
USSR
>Environment:
FreeBSD acer.lissyara.int.otradno.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Aug  9 04:18:50 MSD 2008     root at acer.lissyara.int.otradno.ru:/var/tmp/obj/usr/src/sys/main-color-console  amd64

>Description:
today, I update source and rebuild kernel and world
and see new behavior - 
kernel panic after unplug USB Bluetooth device
previous, I have source ~20 days oldest - and unplug not cause panic
===========
ubt0: at uhub0 port 1 (addr 3) desconnected
ubt0: detached

after 3-4 seconds - kernel panic:

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x468
fault code = supervisor read data, page not present
instruction pointer = 0x8: 0xffffffff802ebt0e
stack pointer = 0x10: 0xfffffffe40091at0
frame pointer = 0x10: 0xfffffffe40091b30
code segment = base 0x0, limit 0xfffff, type 0x1b
              = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 11 (irq19: ohci0 ohci+)
trap number = 12
panic: page fault

=======
kernel config
acer$ cat /usr/src/sys/amd64/conf/main-color-console | grep -v ^# | grep -v ^\$
include         GENERIC
options         SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options         SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options         SC_HISTORY_SIZE=2022
nooptions         KDB                     # Enable kernel debugger support.
nooptions         DDB                     # Support DDB.
nooptions         GDB                     # Support remote GDB.
nooptions         INVARIANTS              # Enable calls of extra sanity checking
nooptions         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
nooptions         WITNESS                 # Enable checks to detect deadlocks and cycles
nooptions         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
options         VGA_WIDTH90
options         INCLUDE_CONFIG_FILE
nooptions       SMP
nodevice        atapifd
nodevice        atapist
nodevice        kbdmux
nodevice        splash
nooptions       INET6
nooptions       SCTP
nooptions       UFS_GJOURNAL
nooptions       MD_ROOT
nooptions       NFS_ROOT
nooptions       GEOM_PART_GPT
nooptions       GEOM_LABEL
nooptions       COMPAT_FREEBSD4
nooptions       COMPAT_FREEBSD5
nooptions       COMPAT_FREEBSD6
nooptions       COMPAT_FREEBSD7
nooptions       SCSI_DELAY
nooptions       KTRACE
nooptions       STACK
nooptions       AUDIT
nodevice        de
nodevice        em
nodevice        ixgb
nodevice        le
nodevice        ti
nodevice        txp
nodevice        vx
nodevice        age
nodevice        bce
nodevice        bfe
nodevice        bge
nodevice        dc
nodevice        et
nodevice        jme
nodevice        fxp
nodevice        lge
device          wlan_acl
device          wlan_xauth
device          smbus
device          ichsmb
device          smb
nodevice        sio
nodevice        ppc
nodevice        ppbus
nodevice        lpt
nodevice        plip
nodevice        ppi
nodevice        iwi
nodevice        ipf
nodevice        nfe
nodevice        nve
nodevice        arcmsr
nodevice        twa
nodevice        ncv
nodevice        nsp
nodevice        stg
nodevice        aac
nodevice        aacp
nodevice        hptmv
nodevice        htprr
nodevice        hptiop
nodevice        ips
nodevice        ahc
nodevice        ahd
nodevice        amd
nodevice        isp
nodevice        mpt
nodevice        sym
nodevice        trm
nodevice        adv
nodevice        adw
nodevice        aic
nodevice        bt
nodevice        sa
nodevice        amr
nodevice        ciss
nodevice        dpt
nodevice        iir
nodevice        mly
nodevice        ida
nodevice        mfi
nodevice        mlx
nodevice        twe

>How-To-Repeat:
plug device, after 3-5 seconds - unplug
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list