From owner-freebsd-scsi@FreeBSD.ORG Fri Jun 22 21:04:41 2007 Return-Path: X-Original-To: scsi@freebsd.org Delivered-To: freebsd-scsi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 057A516A421 for ; Fri, 22 Jun 2007 21:04:41 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id C097113C447 for ; Fri, 22 Jun 2007 21:04:40 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (localhost [127.0.0.1]) by ns1.feral.com (8.14.1/8.14.1) with ESMTP id l5MKS5b9074848 for ; Fri, 22 Jun 2007 13:28:13 -0700 (PDT) (envelope-from mjacob@freebsd.org) Received: from localhost (mjacob@localhost) by ns1.feral.com (8.14.1/8.14.1/Submit) with ESMTP id l5MKS5bU074845 for ; Fri, 22 Jun 2007 13:28:05 -0700 (PDT) (envelope-from mjacob@freebsd.org) X-Authentication-Warning: ns1.feral.com: mjacob owned process doing -bs Date: Fri, 22 Jun 2007 13:28:05 -0700 (PDT) From: mjacob@freebsd.org To: scsi@freebsd.org Message-ID: <20070622132621.Q74839@ns1.feral.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: FYI: a note about some automatic attach/detach stuff X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mjacob@freebsd.org List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2007 21:04:41 -0000 Barf. This happened after an event caused a rescan.. Sigh... Hopefully I'll get this tracked down for RELENG_7.0 proberegister: Unable to probe new device. Unable to allocate softc (xpt0:isp0:0:395:0): xpt_scan_lun: cam_alloc_periph returned an error, can't continue probe Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex isp r = 0 (0xc2d71090) locked @ cam/cam_xpt.c:7140 KDB: stack backtrace: db_trace_self_wrapper(c0a3b900,d3c83ae4,c077bebd,c0a3bcbf,d3c83af8,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0a3bcbf,d3c83af8,4,1,0,...) at kdb_backtrace+0x29 witness_warn(5,0,c0a63882,c073a77c,c2e66000,...) at witness_warn+0x1cd trap(d3c83b80) at trap+0x115 calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc0468ef4, esp = 0xd3c83bc0, ebp = 0xd3c83c04 --- xpt_scan_bus(c2dc4680,c4e4d800,d3c83c20,246,c2ead594,...) at xpt_scan_bus+0x334 camisr_runqueue(c2d71090,0,c09efaf9,1be4,0,...) at camisr_runqueue+0x39f camisr(0,0,c0a35bf3,471,c2dc4664,...) at camisr+0x11a ithread_loop(c2e5a0e0,d3c83d38,7c72604,3e800001,c2e66000,...) at ithread_loop+0x1b5 fork_exit(c072afc0,c2e5a0e0,d3c83d38) at fork_exit+0x57 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xd3c83d70, ebp = 0 --- Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xdeadc141 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0468ef4 stack pointer = 0x28:0xd3c83bc0 frame pointer = 0x28:0xd3c83c04 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 = 19 (swi2: cambio) [thread pid 19 tid 100015 ] Stopped at xpt_scan_bus+0x334: testb $0x4,0x63(%edx) db> bt Tracing pid 19 tid 100015 td 0xc2d84800 xpt_scan_bus(c2dc4680,c4e4d800,d3c83c20,246,c2ead594,...) at xpt_scan_bus+0x334 camisr_runqueue(c2d71090,0,c09efaf9,1be4,0,...) at camisr_runqueue+0x39f camisr(0,0,c0a35bf3,471,c2dc4664,...) at camisr+0x11a ithread_loop(c2e5a0e0,d3c83d38,7c72604,3e800001,c2e66000,...) at ithread_loop+0x1b5 fork_exit(c072afc0,c2e5a0e0,d3c83d38) at fork_exit+0x57 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xd3c83d70, ebp = 0 --- db>