From owner-freebsd-sparc Thu Apr 25 10:51: 0 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mauchly.symmetron.com (temp.symmetron.com [209.48.226.3]) by hub.freebsd.org (Postfix) with ESMTP id 03ADC37B41F for ; Thu, 25 Apr 2002 10:50:54 -0700 (PDT) Received: from inet-serv.symmetron.com (mail.symmetron.com [206.239.186.66]) by mauchly.symmetron.com (8.11.2/8.11.2) with ESMTP id g3PDIPF69258 for ; Thu, 25 Apr 2002 09:18:25 -0400 (EDT) (envelope-from John.Shue@symmetron.com) Received: from plunky ([206.239.186.159]) by inet-serv.symmetron.com (Netscape Mail Server v2.02) with SMTP id AAA277 for ; Thu, 25 Apr 2002 09:19:17 -0400 From: John.Shue@symmetron.com (John A. Shue) To: Subject: how to debug kernel panics? Date: Thu, 25 Apr 2002 09:19:17 -0400 Message-ID: <00db01c1ec5b$cd9de260$9fbaefce@symmetron.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 Importance: Normal Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've got an ultra 5 running from the sparc64-20020408.iso and the distrib-20020408.tar. lovelace: {88} uname -a FreeBSD lovelace.symmetron.com 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Tue Apr 9 04:25:17 GMT 2002 jake@u60.locore.ca:/usr/current/src/sys/sparc64/compile/GENERIC sparc64 My system keeps panicing and dumping into debug mode. I was wondering which steps I could take to try to determine why and where this is happening. panic: trap: illegal instruction cpuid = 0; Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> or panic: trap: memory address not aligned cpuid = 0; Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> or Lock sysctl sysctllock not exclusively locked @ ../../../kern/kern_sysctl.c:1192 panic: lockmgr: pid 130, not exclusive lock holder 16711810 unlocking cpuid = 0; Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> Also I'm getting errors on the hme0 device, I don't know if this is related to the above problem or not... Messages like the following are reported to the console: kernel: hme0: error signaled, status=0x3010021 kernel: hme0: error signaled, status=0x10121 kernel: hme0: error signaled, status=0x10121 kernel: hme0: error signaled, status=0x3010121 kernel: hme0: error signaled, status=0x2010021 kernel: hme0: too may errors; not reporting any more The hme0 device continues to function after these messages, so I figured that the device was not causing the kernel panics. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message