From owner-freebsd-current Tue Sep 17 17:53:55 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DD4737B401; Tue, 17 Sep 2002 17:53:53 -0700 (PDT) Received: from newtrinity.default-network.net (newtrinity.default-network.net [62.159.128.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98E3D43E88; Tue, 17 Sep 2002 17:53:52 -0700 (PDT) (envelope-from corex@newtrinity.default-network.net) Received: from newtrinity.default-network.net (markus@localhost [127.0.0.1]) by newtrinity.default-network.net (8.12.3/8.12.3/DEFAULT-NETWORK.NET) with ESMTP id g8I0ro4H010203; Wed, 18 Sep 2002 02:53:50 +0200 (CEST) (envelope-from corex@newtrinity.default-network.net) Received: (from corex@localhost) by newtrinity.default-network.net (8.12.3/8.12.3/Submit) id g8I0rnMH010202; Wed, 18 Sep 2002 02:53:49 +0200 (CEST) (envelope-from corex) Date: Wed, 18 Sep 2002 02:53:49 +0200 From: marius@alchemy.franken.de To: freebsd-current@FreeBSD.ORG, freebsd-scsi@FreeBSD.ORG Subject: page fault while in kernel mode, cam related ? Message-ID: <20020918025349.C96711@newtrinity.default-network.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi while trying to upgrade a -current box with an older scsi hd a scsi error seemed to have triggered a panic (actually the first ever on that box): (da0:ahc0:0:0:0): READ(10). CDB: 28 0 0 4b 94 df 0 0 20 0 (da0:ahc0:0:0:0): CAM Status: SCSI Status Error (da0:ahc0:0:0:0): SCSI Status: Check Condition (da0:ahc0:0:0:0): RECOVERED ERROR info:4b94f5 csi:b,b9,2,a2 asc:18,2 (da0:ahc0:0:0:0): Recovered data - data auto-reallocated field replaceable unit1 (da0:ahc0:0:0:0): No Recovery Action Needed Fatal trap 12: page fault while in kernel mode fault virtual address = 0x3e fault code = supervisor write, page not present instruction pointer = 0x8:0xc02d3241 stack pointer = 0x10:0xcfd2d954 frame pointer = 0x10:0xcfd2d96c 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 = 15268 (cpp0) kernel: type 12 trap, code=0 Stopped at vm_object_pip_add+0x21: addw %si,0x3e(%ebx) db> Context switches not allowed in the debugger. db> tr vm_object_pip_add(0,1,0,0,c1f1e000) at vm_object_pip_add+0x21 vm_fault(c0832000,c88c2000,2,0,c21b2b40) at vm_fault+0x212 trap_pfault(cfd2dab8,0,c88c2001) at trap_pfault+0x131 trap(18,10,10,c88c2001,c5c0add8) at trap+0x3ab calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc03025cf, esp = 0xcfd2daf8, ebp = 0xcfd2db44 --- generic_bzero(cfd2dba0,cfd2dbcc,c02be266,cfd2dba0,4) at generic_bzero+0xf spec_vnoperate(cfd2dba0) at spec_vnoperate+0x13 ffs_getpages(cfd2dbd8) at ffs_getpages+0x406 vnode_pager_getpages(c1fac708,cfd2dc8c,10,0) at vnode_pager_getpages+0x62 vm_fault(c27883fc,28304000,1,0,c21b2b40) at vm_fault+0x6d6 trap_pfault(cfd2dd48,1,28304000,28304000,0) at trap_pfault+0xed trap(2f,2f,2f,839e000,83a5008) at trap+0x22b calltrap() at calltrap+0x5 --- trap 0xc, eip = 0x806e373, esp = 0xbfbfeff0, ebp = 0xbfbff008 --- i don't know if fbsd is supposed to panic in case of such an error but i think to remember similar cam/scsi errors under 4-stable that didn't trigger a panic. btw, this box is connected via a serial console at 9600 bps and while typing at the ddb-prompt it swallowed most characters, i.e. i had to type single characters up to four times. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message