From owner-freebsd-acpi@FreeBSD.ORG Tue Sep 21 19:03:22 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEC3E16A4CE for ; Tue, 21 Sep 2004 19:03:22 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD8D43D2F for ; Tue, 21 Sep 2004 19:03:22 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.0.6] (adsl-68-250-185-35.dsl.wotnoh.ameritech.net [68.250.185.35]) (authenticated bits=0)i8LImbHR055985 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 21 Sep 2004 14:48:39 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Nate Lawson Date: Tue, 21 Sep 2004 15:05:18 -0400 User-Agent: KMail/1.7 References: <200409201501.48755.mistry.7@osu.edu> <200409201556.39518.mistry.7@osu.edu> <414F36E2.6050100@root.org> In-Reply-To: <414F36E2.6050100@root.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1233284.Vg69CPLG8b"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409211505.27479.mistry.7@osu.edu> X-Spam-Status: No, hits=0.8 required=5.0 tests=BIZ_TLD autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on crumpet.united-ware.com cc: freebsd-acpi@freebsd.org Subject: Re: RELENG_5 panic: mtx_lock() with ACPI X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 19:03:23 -0000 --nextPart1233284.Vg69CPLG8b Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 20 September 2004 04:00 pm, you wrote: > Anish Mistry wrote: > > On Monday 20 September 2004 03:35 pm, you wrote: > >>Anish Mistry wrote: > >>>On Monday 20 September 2004 03:01 pm, Anish Mistry wrote: > >>>>I'm getting the following panic on boot only with ACPI enabled. > >>>>On a verbose boot right after: start_init: trying /sbin/init > >>>>panic: mtx_lock() of spin mutex(null) @ /usr/src/sys/tty/tty.c:2809 > >>>>Can't seem to get a dump even if dumpdev is set at the loader prompt. > >>>> > >>>>Verbose boot without ACPI enabled and ASL attached. > >>> > >>>Attachments got stripped. > >>>http://am-productions.biz/debug/BIGGUY-dmesg.txt.gz > >>>http://am-productions.biz/debug/bigguy.asl.gz > >> > >>Can you send a backtrace ("tr" from ddb)? > > > > It doesn't break to the ddb prompt. > > Can you enable options DDB? If ddb is enabled, all panics should break > to the debugger. Ok, I removed WITNESS and INVARIANTS from my kernel config, and now it's=20 dropping to a db> prompt. Hand transcribed: kernel trap 12 with interrupts disableed =46atal trap 12: page fault while in kernel mode fault virtual address =3D 0x6c fault code =3D supervisor read, page not present=20 instruction pointer =3D 0x8 : 0xc04dfb85 stack pointer =3D 0x10 : 0xd0c3bad4 frame pointer =3D 0x10 : 0xd0c3bad8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1,gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 63 (sysctl) [thread 100063] Stopped at turnstile_setowner+0x9: movl0x6c(%edx),%eax turnstile_setowner(d0c3bb6c,d0c3bb18,c069a700,c069b460,c13e58c0 at=20 turnstile_setowner+0x9 turnstile_wait(0,c069b460,0) at turnstile_wait+0x47a _mtx_lock_sleep(c069b460, c13f04b0,0,0,0) at _mtx_lock_sleep+0x7f sysctl_kern_ttys(c0674660,0,0,d0c3bc14,c0674660) at sysctl_kern_ttys+0x253 sysctl_root(2,d0c3bc14,c13f04b0,0) at sysctl_root+0x80 userland_sysctl(c13f04b0,d0c3bc80,2,0,bfbfe4ac,0,0,0,d0c3bc7c) at=20 userland_sysctl __sysctl(c13f0410) at __sysctl+0x77 syscall(2f,2f,2f,2,bfbfe4ac) at syscall+0x1c7 Xint0x80_syscall() at Xint0x80_syscall+0x1f =2D- syscall (202, FreeBSD ELF32, __sysctl), eip=3D0x280cb7c3, esp=3D0xbfbf= e41c,=20 ebp+0xbfbfe458 BTW, is there a way to set the dump device at the loader that works. =2D-=20 Anish Mistry --nextPart1233284.Vg69CPLG8b Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBUHt3xqA5ziudZT0RAhggAKCJZQhDQb2p3W1+3teeX2PYeWpAJACfXwGQ DY01Q1qdMDrr71caG60G56o= =XsFa -----END PGP SIGNATURE----- --nextPart1233284.Vg69CPLG8b--