Re: Panic on acpi_cpu_c1 (Re: cvs commit: src/sys/pci agp.c)

From: John Baldwin <jhb_at_freebsd.org>
Date: Tue, 15 Aug 2006 07:46:49 -0400
On Tuesday 15 August 2006 05:18, Gleb Smirnoff wrote:
> On Tue, Aug 15, 2006 at 06:17:21AM +0900, Norikatsu Shigemura wrote:
> N> On Sun, 13 Aug 2006 21:24:12 +0900
> N> Norikatsu Shigemura <nork_at_freebsd.org> wrote:
> N> > 	Freeze when X is running in my environment:-(.
> N> > 	I'm using VIA Apollo Pro266T (AGP2.0) and ATi RADEON 9600 (AGP3.0).
> N> > 	Please check v3 support.
> N> 
> N> 	I'm sorry.  agp.c's change is not wrong.  When X is initializing,
> N> 	allways freeze the machine, so I think that this change is wrong.
> N> 	But I can get the panic message by other reason.
> N> 
> N> Fatal trap 30: reserved (unknown) fault while in kernel mode
> N> cpuid = 0; apic id = 00
> N> instruction pointer     = 0x20:0xc09b5445
> N> stack pointer           = 0x28:0xe1f12ca8
> N> frame pointer           = 0x28:0xe1f12ca8
> N> code segment            = base 0x0, limit 0xfffff, type 0x1b
> N>                         = DPL 0, pres 1, def32 1, gran 1
> N> processor eflags        = interrupt enabled, IOPL = 0
> N> current process         = 11 (idle: cpu0)
> N> [thread pid 11 tid 100005 ]
> N> Stopped at      acpi_cpu_c1+0x5:        popl    %ebp
> N> db> bt
> N> Tracing pid 11 tid 100005 td 0xc343b6c0
> N> acpi_cpu_c1(0,1,e1f12cc0,c06766b7,e1f12ce0,...) at acpi_cpu_c1+0x5
> N> acpi_cpu_idle(e1f12d08,c04918c9,1,0,0,...) at acpi_cpu_idle+0x186
> N> cpu_idle(1,0,0,0,0,...) at cpu_idle+0x28
> N> idle_proc(0,e1f12d38,0,0,0,...) at idle_proc+0xa9
> N> fork_exit(c0491820,0,e1f12d38) at fork_exit+0x80
> N> fork_trampoline() at fork_trampoline+0x8
> N> --- trap 0x1, eip = 0, esp = 0xe1f12d6c, ebp = 0 ---
> 
> I got the same panic when run 'kldload if_bge.ko' at runtime. Yesterday's
> HEAD.

trap 30 means we got an interrupt vector we aren't expecting.  You can try
installing custom interrupt handlers to see which IDT vector is actually
being triggered.

-- 
John Baldwin
Received on Tue Aug 15 2006 - 10:16:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC