Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 15:05:18 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        Nate Lawson <nate@root.org>
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: RELENG_5 panic: mtx_lock() with ACPI
Message-ID:  <200409211505.27479.mistry.7@osu.edu>
In-Reply-To: <414F36E2.6050100@root.org>
References:  <200409201501.48755.mistry.7@osu.edu> <200409201556.39518.mistry.7@osu.edu> <414F36E2.6050100@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409211505.27479.mistry.7>