From owner-freebsd-bugs@FreeBSD.ORG Sat Aug 9 15:20:03 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 367FF106566B for ; Sat, 9 Aug 2008 15:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9AA8FC17 for ; Sat, 9 Aug 2008 15:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m79FK2IK037106 for ; Sat, 9 Aug 2008 15:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m79FK2lO037105; Sat, 9 Aug 2008 15:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 9 Aug 2008 15:20:02 GMT Resent-Message-Id: <200808091520.m79FK2lO037105@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Keda Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3117106567D for ; Sat, 9 Aug 2008 15:13:29 +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 AF79B8FC12 for ; Sat, 9 Aug 2008 15:13:29 +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 m79FDS8K082916 for ; Sat, 9 Aug 2008 15:13:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m79FDSGP082915; Sat, 9 Aug 2008 15:13:28 GMT (envelope-from nobody) Message-Id: <200808091513.m79FDSGP082915@www.freebsd.org> Date: Sat, 9 Aug 2008 15:13:28 GMT From: Alex Keda To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/126396: kernel panic after unplug USB Bluetooth device X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2008 15:20:03 -0000 >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@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: