On 01/12/11 05:33, Gót András wrote:
> kernel trap 9 with interrupts disabled
> 
> Fatal trap 9: general protection fault while in kernel mode
> cpuid = 0; apic id = 00
> instruction pointer    = 0x21:0xc0321241
> stack pointer            = 0x29:0xc21ffc8c
> frame pointer            = 0x29:0xc21ffc94
> code segment        = base 0x0, limit 0xfffff, type 0x1b
>             = DPL 1, pres 1, def32 1, gran 1
> processor eflags    = resume, IOPL = 0
> current process        = 11 (idle: cpu0)
> [thread pid 11 tid 100003 ]
> Stopped at      spinlock_exit+0xe1:     hlt

Yep, this is what I was looking for.  Can you try the attached patch (under
the same conditions to avoid the pmap_init panic) and let me know if this
problem goes away?

-- 
Colin Percival
Security Officer, FreeBSD | freebsd.org | The power to serve
Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid
Index: i386/i386/machdep.c
===================================================================
--- i386/i386/machdep.c	(revision 217272)
+++ i386/i386/machdep.c	(working copy)
@@ -2690,8 +2690,10 @@
 	thread0.td_pcb->pcb_fsd = PCPU_GET(fsgs_gdt)[0];
 	thread0.td_pcb->pcb_gsd = PCPU_GET(fsgs_gdt)[1];
 
+#if defined(XEN_PRIVILEGED)
 	if (cpu_probe_amdc1e())
 		cpu_idle_fn = cpu_idle_amdc1e;
+#endif
 }
 
 #else
_______________________________________________
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to