Date: Wed, 12 Jan 2011 09:37:42 -0800 From: Colin Percival <cperciva@freebsd.org> To: =?ISO-8859-1?Q?G=F3t_Andr=E1s?= <got.andras@deployis.eu> Cc: freebsd-xen@freebsd.org Subject: Re: does anyone have Xen running on an AMD system? Message-ID: <4D2DE6E6.2090202@freebsd.org> In-Reply-To: <4D2DADC7.8080404@deployis.eu> References: <201101121601.58282.snasonov@bcc.ru> <4D2DADC7.8080404@deployis.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------030608000702000508010208 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 --------------030608000702000508010208 Content-Type: text/x-diff; name="amdc1e_privileged.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="amdc1e_privileged.patch" 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 --------------030608000702000508010208--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D2DE6E6.2090202>