From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Bellac Subject: 2.6.32.22 (amd64) domU Kernel doesnt boot - kernel panic Date: Tue, 21 Sep 2010 10:02:53 +0000 (GMT) Message-ID: <181628.18427.qm@web29720.mail.ird.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1395398160==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1395398160== Content-Type: multipart/alternative; boundary="0-7557889-1285063373=:18427" --0-7557889-1285063373=:18427 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello=0A=0AI have used my 2.6.32.20 config and compiled now a 2.6.32.22 fro= m kernel.org.=0A2.6.32.22 has the important security fix (local user can be= root with a =0Aexploit).=0A=0AWhen booting up the domU with the new kernel= , it hangs here:=0A=0A[7061459.971314] installing Xen timer for CPU 0=0A[70= 61459.971338] BUG: unable to handle kernel NULL pointer dereference at (nul= l)=0A[7061459.971347] IP: [<(null)>] (null)=0A[7061459.971353] PGD 0=0A[706= 1459.971357] Thread overran stack, or stack corrupted=0A[7061459.971362] Oo= ps: 0010 [#1] SMP=0A[7061459.971368] last sysfs file:=0A[7061459.971372] CP= U 0=0A[7061459.971377] Modules linked in:=0A[7061459.971383] Pid: 0, comm: = swapper Not tainted 2.6.32.22 #1=0A[7061459.971389] RIP: e030:[<00000000000= 00000>] [<(null)>] (null)=0A[7061459.971395] RSP: e02b:ffffffff81805da0 E= FLAGS: 00010082=0A[7061459.971400] RAX: ffffffff81b62a50 RBX: 0000000000000= 000 RCX: =0A00000000000002 = = =0A 00=0A[7061459.971407] RDX: 000000000000= 0000 RSI: ffffffff81b434a8 RDI: =0A00000000000000 = = =0A 00=0A[7061459.97= 1413] RBP: ffffffff81805db8 R08: ffff88007fc18080 R09: =0Affffffff818937 = = = =0A 30=0A[7061459.971420] R10: ffffffff81893750 R11: 0000000000000001 R1= 2: =0Affffffff818272 = = =0A 40=0A[7061459.971426] R13: ffff88007fc1b000 R= 14: 0000000000000000 R15: =0Affffffff818272 = = =0A a4=0A[7061459.971438] = FS: 0000000000000000(0000) GS:ffff880001fd6000(0000) =0AknlGS:000 = = =0A= 0000000000000=0A[7061459.971445] CS: e033 DS: 0000 ES: 0000 CR0: 00000000= 8005003b=0A[7061459.971450] CR2: 0000000000000000 CR3: 0000000001001000 CR4= : =0A00000000000026 = = =0A 60=0A[7061459.971457] DR0: 0000000000000000 DR= 1: 0000000000000000 DR2: =0A00000000000000 = = =0A 00=0A[7061459.971464] D= R3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: =0A00000000000004 = = =0A = 00=0A[7061459.971471] Process swapper (pid: 0, threadinfo ffffffff81804000,= task =0Affff = = =0A ffff818979f0)=0A[7061459.971478] Stack:=0A[7061459.9= 71481] ffffffff8107cac5 0000000000000000 00000000ffffffda =0Affffffff818 = = = =0A 05dd8=0A[7061459.971490] <0> ffffffff8107caa5 ffffffff815a94b1 ffff= ffff81827240 =0Affffffff = = =0A 81805e18=0A[7061459.971502] <0> ffffffff8= 107c009 0000000000000200 ffff88007fc1b000 =0A00000000 = = =0A fffffff4=0A[= 7061459.971515] Call Trace:=0A[7061459.971525] [] ? defa= ult_enable+0x1a/0x28=0A[7061459.971533] [] default_start= up+0x19/0x1f=0A[7061459.971542] [] ? _spin_lock_irqsave+= 0x19/0x32=0A[7061459.971550] [] __setup_irq+0x197/0x2cf= =0A[7061459.971558] [] ? xen_timer_interrupt+0x0/0x182= =0A[7061459.971565] [] request_threaded_irq+0xec/0x12b= =0A[7061459.971575] [] bind_virq_to_irqhandler+0x13f/0x1= 63=0A[7061459.971582] [] ? xen_timer_interrupt+0x0/0x182= =0A[7061459.971589] [] xen_setup_timer+0x59/0x9e=0A[7061= 459.971598] [] xen_time_init+0xb7/0xc0=0A[7061459.971604= ] [] x86_late_time_init+0xa/0x11=0A[7061459.971612] [] start_kernel+0x2fe/0x385=0A[7061459.971618] [] x86_64_start_reservations+0xaa/0xae=0A[7061459.971626] [] xen_start_kernel+0x541/0x548=0A[7061459.971631] Code: Bad RIP v= alue.=0A[7061459.971641] RIP [<(null)>] (null)=0A[7061459.971646] RSP =0A[7061459.971650] CR2: 0000000000000000=0A[7061459.971660]= ---[ end trace 4eaa2a86a8e2da22 ]---=0A[7061459.971665] Kernel panic - not= syncing: Attempted to kill the idle task!=0A[7061459.971671] Pid: 0, comm:= swapper Tainted: G D 2.6.32.22 #1=0A[7061459.971676] Call Trace:= =0A[7061459.971682] [] panic+0xa0/0x158=0A[7061459.97168= 8] [] ? printk+0x67/0x69=0A[7061459.971696] [] ? blocking_notifier_call_chain+0xf/0x11=0A[7061459.971705] [] do_exit+0x79/0x6c9=0A[7061459.971711] []= oops_end+0xb9/0xc1=0A[7061459.971718] [] no_context+0x1= ea/0x1f9=0A[7061459.971724] [] __bad_area_nosemaphore+0x= 1b9/0x1df=0A[7061459.971733] [] ? __alloc_pages_nodemask= +0x11a/0x5e7=0A[7061459.971741] [] ? xen_force_evtchn_ca= llback+0xd/0xf=0A[7061459.971747] [] ? check_events+0x12= /0x20=0A[7061459.971754] [] bad_area_nosemaphore+0xe/0x1= 0=0A[7061459.971761] [] do_page_fault+0x1a0/0x2d6=0A[706= 1459.971768] [] page_fault+0x25/0x30=0A[7061459.971775] = [] ? default_enable+0x1a/0x28=0A[7061459.971782] [] default_startup+0x19/0x1f=0A[7061459.971788] [] ? _spin_lock_irqsave+0x19/0x32=0A[7061459.971795] [] __setup_irq+0x197/0x2cf=0A[7061459.971801] [] ? xen_= timer_interrupt+0x0/0x182=0A[7061459.971808] [] request_= threaded_irq+0xec/0x12b=0A[7061459.971815] [] bind_virq_= to_irqhandler+0x13f/0x163=0A[7061460.172264] [] ? xen_ti= mer_interrupt+0x0/0x182=0A[7061460.172273] [] xen_setup_= timer+0x59/0x9e=0A[7061460.172283] [] xen_time_init+0xb7= /0xc0=0A[7061460.172290] [] x86_late_time_init+0xa/0x11= =0A[7061460.172297] [] start_kernel+0x2fe/0x385=0A[70614= 60.172304] [] x86_64_start_reservations+0xaa/0xae=0A[706= 1460.172311] [] xen_start_kernel+0x541/0x548=0A=0A=0A=0A= dom0 is XEN 3.4.3 selfcompiled on Debian Lenny amd64.=0AHardware is Supermi= cro Board with XEON E5506 CPU.=0A=0ABest regards=0AGio=0A=0A --0-7557889-1285063373=:18427 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
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 f= ix (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 poin= ter dereference at (null)
[7061459.971347] IP: [<(null)>] (null)[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 i= n:
[7061459.971383] Pid: 0, comm: swapper Not tainted 2.6.32.22 #1
[7= 061459.971389] RIP: e030:[<0000000000000000>]  [<(null)>] (null)
[7061459.971395] RSP: e02b:ffffffff81805da0&nbs= p; EFLAGS: 00010082
[7061459.971400] RAX: ffffffff81b62a50 RBX: 00000000= 00000000 RCX: 00000000000002          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         00
[7061459.971407] RDX: 0000000000000000 RSI: ffffffff81b434a8 RDI: 00000000000000          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         00
[7061459.971413] RBP: ffffffff81805db8 R08: ffff88007fc18080 R09: ffffffff818937          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         30
[7061459.971420] R10: ffffffff81893750 R11: 0000000000000001 R12: ffffffff818272          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         40
[7061459.971426] R13: ffff88007fc1b000 R14: 0000000000000000 R15: ffffffff818272          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         a4
[7061459.971438] FS:  0000000000000000(0000) GS:ffff880001fd600= 0(0000) knlGS:000           = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;            = ;            &n= bsp;        0000000000000
[7061459.971445] CS:  e033 DS: 0000 ES: 0000 CR0: 00= 0000008005003b
[7061459.971450] CR2: 0000000000000000 CR3: 0000000001001= 000 CR4: 00000000000026          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         60
[7061459.971457] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00000000000000          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         00
[7061459.971464] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 00000000000004          =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;         00
[7061459.971471] Process swapper (pid: 0, threadinfo ffffffff8180400= 0, task ffff           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;       ffff818979f0)
[7061459.971478] Stack:
[7061459.971481]  fffffff= f8107cac5 0000000000000000 00000000ffffffda ffffffff818          &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =          05dd8
[7061459.971490] <0> ffffffff8107caa5 ffffffff815a94b1 ffff= ffff81827240 ffffffff           =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;        81805e18
[7061459.971502] <0> ffffffff8107c009 0000000000000200 f= fff88007fc1b000 00000000           =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;            =             &nb= sp;        fffffff4
[7061459.971515] Call Trace:
[7061459.971525]  [<ff= ffffff8107cac5>] ? default_enable+0x1a/0x28
[7061459.971533]  [&= lt;ffffffff8107caa5>] default_startup+0x19/0x1f
[7061459.971542] = ; [<ffffffff815a94b1>] ? _spin_lock_irqsave+0x19/0x32
[7061459.971= 550]  [<ffffffff8107c009>] __setup_irq+0x197/0x2cf
[7061459.9= 71558]  [<ffffffff8100e05f>] ? xen_timer_interrupt+0x0/0x182
= [7061459.971565]  [<ffffffff8107c22d>] request_threaded_irq+0xec= /0x12b
[7061459.971575]  [<ffffffff812b278c>] bind_virq_to_ir= qhandler+0x13f/0x163
[7061459.971582]  [<ffffffff8100e05f>] ?= xen_timer_interrupt+0x0/0x182
[7061459.971589]  [<ffffffff8100e= 01a>] xen_setup_timer+0x59/0x9e
[7061459.971598]  [<ffffffff8= 198d5a3>] xen_time_init+0xb7/0xc0
[7061459.971604]  [<fffffff= f8198da27>] x86_late_time_init+0xa/0x11
[7061459.971612]  [<ffffffff81989c2f>] start_kernel+0x2fe/0x385
[7061459.971618]&nb= sp; [<ffffffff819892bf>] x86_64_start_reservations+0xaa/0xae
[7061= 459.971626]  [<ffffffff8198cad2>] xen_start_kernel+0x541/0x548[7061459.971631] Code:  Bad RIP value.
[7061459.971641] RIP = [<(null)>] (null)
[7061459.971646]  RSP <ffffffff81805da0= >
[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: swappe= r Tainted: G      D    2.6.32.22 #1=
[7061459.971676] Call Trace:
[7061459.971682]  [<ffffffff815= a7537>] panic+0xa0/0x158
[7061459.971688]  [<ffffffff815a7656= >] ? printk+0x67/0x69
[7061459.971696]  [<ffffffff81055e60>= ;] ? blocking_notifier_call_chain+0xf/0x11
[7061459.971705]  [<ffffffff81042b76>] do_exit+0x79/0x6c9
[7061459.971711]  [&= lt;ffffffff815aa492>] oops_end+0xb9/0xc1
[7061459.971718]  [<= ffffffff8102aeed>] no_context+0x1ea/0x1f9
[7061459.971724]  [<= ;ffffffff8102b0b5>] __bad_area_nosemaphore+0x1b9/0x1df
[7061459.97173= 3]  [<ffffffff8108ec17>] ? __alloc_pages_nodemask+0x11a/0x5e7[7061459.971741]  [<ffffffff8100dd01>] ? xen_force_evtchn_callb= ack+0xd/0xf
[7061459.971747]  [<ffffffff8100e352>] ? check_ev= ents+0x12/0x20
[7061459.971754]  [<ffffffff8102b0e9>] bad_are= a_nosemaphore+0xe/0x10
[7061459.971761]  [<ffffffff815ab98a>]= do_page_fault+0x1a0/0x2d6
[7061459.971768]  [<ffffffff815a9975&= gt;] page_fault+0x25/0x30
[7061459.971775]  [<ffffffff8107cac5&g= t;] ? default_enable+0x1a/0x28
[7061459.971782]  [<ffffffff8107c= aa5>] default_startup+0x19/0x1f
[7061459.971788]  [<ffffffff815a94b1>] ? _spin_lock_irqsave+0x19/0x32
[7061459.9717= 95]  [<ffffffff8107c009>] __setup_irq+0x197/0x2cf
[7061459.97= 1801]  [<ffffffff8100e05f>] ? xen_timer_interrupt+0x0/0x182
[= 7061459.971808]  [<ffffffff8107c22d>] request_threaded_irq+0xec/= 0x12b
[7061459.971815]  [<ffffffff812b278c>] bind_virq_to_irq= handler+0x13f/0x163
[7061460.172264]  [<ffffffff8100e05f>] ? = xen_timer_interrupt+0x0/0x182
[7061460.172273]  [<ffffffff8100e0= 1a>] xen_setup_timer+0x59/0x9e
[7061460.172283]  [<ffffffff81= 98d5a3>] xen_time_init+0xb7/0xc0
[7061460.172290]  [<ffffffff= 8198da27>] x86_late_time_init+0xa/0x11
[7061460.172297]  [<ff= ffffff81989c2f>] start_kernel+0x2fe/0x385
[7061460.172304]  [<= ;ffffffff819892bf>] x86_64_start_reservations+0xaa/0xae
[7061460.1723= 11]  [<ffffffff8198cad2>] 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

=0A

--0-7557889-1285063373=:18427-- --===============1395398160== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1395398160==--