RELENG_5 panic: mtx_lock() with ACPI

Anish Mistry mistry.7 at osu.edu
Tue Sep 21 12:03:23 PDT 2004


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 
dropping to a db> prompt.

Hand transcribed:

kernel trap 12 with interrupts disableed
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x6c
fault code = supervisor read, page not present 
instruction pointer = 0x8 : 0xc04dfb85
stack pointer = 0x10 : 0xd0c3bad4
frame pointer = 0x10 : 0xd0c3bad8
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1,gran 1
processor eflags = resume, IOPL = 0
current process = 63 (sysctl)
[thread 100063]
Stopped at turnstile_setowner+0x9: movl0x6c(%edx),%eax
turnstile_setowner(d0c3bb6c,d0c3bb18,c069a700,c069b460,c13e58c0 at 
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 
userland_sysctl
__sysctl(c13f0410) at __sysctl+0x77
syscall(2f,2f,2f,2,bfbfe4ac) at syscall+0x1c7
Xint0x80_syscall() at Xint0x80_syscall+0x1f
-- syscall (202, FreeBSD ELF32, __sysctl), eip=0x280cb7c3, esp=0xbfbfe41c, 
ebp+0xbfbfe458

BTW, is there a way to set the dump device at the loader that works.

-- 
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20040921/4eba4910/attachment.bin


More information about the freebsd-acpi mailing list