From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: 2.6.32.22 (amd64) domU Kernel doesnt boot - kernel panic Date: Tue, 21 Sep 2010 08:48:19 -0700 Message-ID: <4C98D3C3.9050904@goop.org> References: <181628.18427.qm@web29720.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <181628.18427.qm@web29720.mail.ird.yahoo.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Giovanni Bellac Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 09/21/2010 03:02 AM, Giovanni Bellac wrote: > Hello > > I have used my 2.6.32.20 config and compiled now a 2.6.32.22 from > kernel.org. > 2.6.32.22 has the important security fix (local user can be root with > a exploit). > > When booting up the domU with the new kernel, it hangs here: > > [7061459.971314] installing Xen timer for CPU 0 > [7061459.971338] BUG: unable to handle kernel NULL pointer dereference > at (null) > [7061459.971347] IP: [<(null)>] (null) Aiee - that's not good. I see the problem, but I'm not sure why I didn't see it in testing. Patch shortly. J > [7061459.971353] PGD 0 > [7061459.971357] Thread overran stack, or stack corrupted > [7061459.971362] Oops: 0010 [#1] SMP > [7061459.971368] last sysfs file: > [7061459.971372] CPU 0 > [7061459.971377] Modules linked in: > [7061459.971383] Pid: 0, comm: swapper Not tainted 2.6.32.22 #1 > [7061459.971389] RIP: e030:[<0000000000000000>] [<(null)>] (null) > [7061459.971395] RSP: e02b:ffffffff81805da0 EFLAGS: 00010082 > [7061459.971400] RAX: ffffffff81b62a50 RBX: 0000000000000000 RCX: > 00000000000002 > 00 > [7061459.971407] RDX: 0000000000000000 RSI: ffffffff81b434a8 RDI: > 00000000000000 > 00 > [7061459.971413] RBP: ffffffff81805db8 R08: ffff88007fc18080 R09: > ffffffff818937 > 30 > [7061459.971420] R10: ffffffff81893750 R11: 0000000000000001 R12: > ffffffff818272 > 40 > [7061459.971426] R13: ffff88007fc1b000 R14: 0000000000000000 R15: > ffffffff818272 > a4 > [7061459.971438] FS: 0000000000000000(0000) GS:ffff880001fd6000(0000) > knlGS:000 > 0000000000000 > [7061459.971445] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b > [7061459.971450] CR2: 0000000000000000 CR3: 0000000001001000 CR4: > 00000000000026 > 60 > [7061459.971457] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > 00000000000000 > 00 > [7061459.971464] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: > 00000000000004 > 00 > [7061459.971471] Process swapper (pid: 0, threadinfo ffffffff81804000, > task > ffff > ffff818979f0) > [7061459.971478] Stack: > [7061459.971481] ffffffff8107cac5 0000000000000000 00000000ffffffda > ffffffff818 > 05dd8 > [7061459.971490] <0> ffffffff8107caa5 ffffffff815a94b1 > ffffffff81827240 > ffffffff > 81805e18 > [7061459.971502] <0> ffffffff8107c009 0000000000000200 > ffff88007fc1b000 > 00000000 > fffffff4 > [7061459.971515] Call Trace: > [7061459.971525] [] ? default_enable+0x1a/0x28 > [7061459.971533] [] default_startup+0x19/0x1f > [7061459.971542] [] ? _spin_lock_irqsave+0x19/0x32 > [7061459.971550] [] __setup_irq+0x197/0x2cf > [7061459.971558] [] ? xen_timer_interrupt+0x0/0x182 > [7061459.971565] [] request_threaded_irq+0xec/0x12b > [7061459.971575] [] bind_virq_to_irqhandler+0x13f/0x163 > [7061459.971582] [] ? xen_timer_interrupt+0x0/0x182 > [7061459.971589] [] xen_setup_timer+0x59/0x9e > [7061459.971598] [] xen_time_init+0xb7/0xc0 > [7061459.971604] [] x86_late_time_init+0xa/0x11 > [7061459.971612] [] start_kernel+0x2fe/0x385 > [7061459.971618] [] x86_64_start_reservations+0xaa/0xae > [7061459.971626] [] xen_start_kernel+0x541/0x548 > [7061459.971631] Code: Bad RIP value. > [7061459.971641] RIP [<(null)>] (null) > [7061459.971646] RSP > [7061459.971650] CR2: 0000000000000000 > [7061459.971660] ---[ end trace 4eaa2a86a8e2da22 ]--- > [7061459.971665] Kernel panic - not syncing: Attempted to kill the > idle task! > [7061459.971671] Pid: 0, comm: swapper Tainted: G D 2.6.32.22 #1 > [7061459.971676] Call Trace: > [7061459.971682] [] panic+0xa0/0x158 > [7061459.971688] [] ? printk+0x67/0x69 > [7061459.971696] [] ? > blocking_notifier_call_chain+0xf/0x11 > [7061459.971705] [] do_exit+0x79/0x6c9 > [7061459.971711] [] oops_end+0xb9/0xc1 > [7061459.971718] [] no_context+0x1ea/0x1f9 > [7061459.971724] [] __bad_area_nosemaphore+0x1b9/0x1df > [7061459.971733] [] ? > __alloc_pages_nodemask+0x11a/0x5e7 > [7061459.971741] [] ? xen_force_evtchn_callback+0xd/0xf > [7061459.971747] [] ? check_events+0x12/0x20 > [7061459.971754] [] bad_area_nosemaphore+0xe/0x10 > [7061459.971761] [] do_page_fault+0x1a0/0x2d6 > [7061459.971768] [] page_fault+0x25/0x30 > [7061459.971775] [] ? default_enable+0x1a/0x28 > [7061459.971782] [] default_startup+0x19/0x1f > [7061459.971788] [] ? _spin_lock_irqsave+0x19/0x32 > [7061459.971795] [] __setup_irq+0x197/0x2cf > [7061459.971801] [] ? xen_timer_interrupt+0x0/0x182 > [7061459.971808] [] request_threaded_irq+0xec/0x12b > [7061459.971815] [] bind_virq_to_irqhandler+0x13f/0x163 > [7061460.172264] [] ? xen_timer_interrupt+0x0/0x182 > [7061460.172273] [] xen_setup_timer+0x59/0x9e > [7061460.172283] [] xen_time_init+0xb7/0xc0 > [7061460.172290] [] x86_late_time_init+0xa/0x11 > [7061460.172297] [] start_kernel+0x2fe/0x385 > [7061460.172304] [] x86_64_start_reservations+0xaa/0xae > [7061460.172311] [] xen_start_kernel+0x541/0x548 > > > > dom0 is XEN 3.4.3 selfcompiled on Debian Lenny amd64. > Hardware is Supermicro Board with XEON E5506 CPU. > > Best regards > Gio > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel