From owner-freebsd-current@FreeBSD.ORG Thu Apr 3 05:42:09 2003 Return-Path: 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 652C337B401 for ; Thu, 3 Apr 2003 05:42:09 -0800 (PST) Received: from quicksilver.ukc.ac.uk (quicksilver.ukc.ac.uk [129.12.21.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E7B543FD7 for ; Thu, 3 Apr 2003 05:42:08 -0800 (PST) (envelope-from mark@markdnet.demon.co.uk) Received: from stue9f4.ukc.ac.uk ([129.12.233.244] helo=markdnet.demon.co.uk) by quicksilver.ukc.ac.uk with esmtp (Exim 3.22 #4) id 1914w5-0005nX-00 for freebsd-current@freebsd.org; Thu, 03 Apr 2003 14:39:21 +0100 Message-ID: <3E8C3A35.6060704@markdnet.demon.co.uk> Date: Thu, 03 Apr 2003 14:42:13 +0100 From: Mark Dixon User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-gb, en, en-us MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-UKC-Mail-System: No virus detected Subject: Re: Kernel panic - never had one before, what do I do? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 13:42:09 -0000 > > >I just got a panic. As I have never had one before, I don't know what to >do. It's on another system so I don't have to reboot immediately (that >would solve the problem temporarily, wouldn't it?) if someone would give >me some advice, I could try to help debug it; however, as I'm not a >coder (not a real one anyway), I don't know how much help I would be. > I've got a nasty one booting with today's current. Think I vaguely recall seeing it before, so sorry if this is known. I'm gathering this data using the pen 'n paper approach, so if its not exactly right, you knwo why: ad4 READ Command timeout tag=0 serv=0 -resetting ata2: resetting devices Fatal trap 12: page fault while in kernel mode fault virtual address: 0x0 fault code: supervisor read, page not present instr pointer: 0x8:0xC0160441 [note this is a custom kernel] stack pointer: 0x10:0xd1d6fc84 frame pointer: 0x10:0xd1d6fc8c code segment: base 0x0 limit 0xfffff type 0x1b DPL 0, pres 1, defy2 1, gron 1 processor effage: interrupt enabled, rswen, IOPC=0 current process = 12 (swi7: tty:sio check) kernel: type 12 trap, code = 0 stopped at reinit_bus+0xb: movl[something i can't read] 0(%esi), %eaf db> trace [i saw someone else do this] reinit_bus(0,2,c11f0c00, d1d6fcbc, c0146462) at reinit_bus+0x0 atapicam_reinit_bus(c11f0c00, 1, c338da80, c3470800, c015732c) at atapi_cam_reinit_bus+0x13 ata_reinit(c11f0c00, 7, c338da0, d1d6fcf0, c024c071) at ata_reinit+[something - possibly 0x34c] [more stuff - losing the will to live at this stage] Hope that helps somebody, shame i can't read my own writing. Mark