Sébastien CRAMATTE
2007-Jul-26 09:50 UTC
[Xen-users] unable to start domU under Ubuntu Feisty and Xen 3.1 : kernel panic
Hello, I''ve customized a 2.6.20 kernel + Xen 3.1 for my P35 motherboard. Dom0 starts correctly. When I try to launch a DomU I obtain a kernel panic ???? Same problem with an etch or a feisty domU Migh be this due to this error ? ... Early unpacking initramfs...<3>bad: scheduling from the idle thread! Any ideas ? #xm create -c etch.cfg Using config file "/etc/xen/etch.cfg". Started domain etch [ 0.000000] Linux version 2.6.20-100-server-amd64-elsa (root@elsa) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #3 SMP Thu Jul 26 07:54:55 UTC 2007 (Ubuntu Unofficial) [ 0.000000] Command line: root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 - 0000000008800000 (usable) [ 0.000000] end_pfn_map = 34816 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0 -> 34816 [ 0.000000] DMA32 34816 -> 34816 [ 0.000000] Normal 34816 -> 34816 [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0 -> 34816 [ 3451.555218] No mptable found. [ 3451.555463] PERCPU: Allocating 25088 bytes of per cpu data [ 3451.555480] Built 1 zonelists. Total pages: 33217 [ 3451.555483] Kernel command line: root=/dev/sda1 ro ip=:1.2.3.4::::eth0:dhcp [ 3451.555948] Initializing CPU#0 [ 3451.556107] PID hash table entries: 1024 (order: 10, 8192 bytes) [ 3451.556122] Xen reported: 2402.376 MHz processor. [ 3451.556137] Console: colour dummy device 80x25 [ 3451.556285] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) [ 3451.556365] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes) [ 3451.556392] Software IO TLB disabled [ 3451.556718] Memory: 32020k/139264k available (2264k kernel code, 98892k reserved, 1202k data, 196k init) [ 3451.683946] Calibrating delay using timer specific routine.. 4805.80 BogoMIPS (lpj=24029043) [ 3451.684002] Security Framework v1.0.0 initialized [ 3451.684009] SELinux: Disabled at boot. [ 3451.684025] Mount-cache hash table entries: 256 [ 3451.684137] CPU: L1 I cache: 32K, L1 D cache: 32K [ 3451.684143] CPU: L2 cache: 4096K [ 3451.684151] CPU: Physical Processor ID: 0 [ 3451.684153] CPU: Processor Core ID: 1 [ 3451.684156] (SMP-)alternatives turned off [ 3451.684221] Early unpacking initramfs...<3>bad: scheduling from the idle thread! [ 3451.707326] [ 3451.707328] Call Trace: [ 3451.707341] [<ffffffff802673b8>] __sched_text_start+0xd8/0x89d [ 3451.707346] [<ffffffff80269aa9>] _spin_lock_irqsave+0x9/0x30 [ 3451.707351] [<ffffffff80244209>] lock_timer_base+0x29/0x60 [ 3451.707356] [<ffffffff8021f54c>] __mod_timer+0xac/0xc0 [ 3451.707361] [<ffffffff8026861a>] schedule_timeout+0x9a/0xd0 [ 3451.707367] [<ffffffff80299940>] process_timeout+0x0/0x10 [ 3451.707371] [<ffffffff80267e48>] io_schedule_timeout+0x28/0x40 [ 3451.707376] [<ffffffff802c099f>] congestion_wait+0x8f/0xc0 [ 3451.707381] [<ffffffff802a41d0>] autoremove_wake_function+0x0/0x30 [ 3451.707386] [<ffffffff8024dd31>] pdflush_operation+0x41/0xa0 [ 3451.707390] [<ffffffff802bfdde>] try_to_free_pages+0x24e/0x2c0 [ 3451.707394] [<ffffffff8021072e>] __alloc_pages+0x1de/0x300 [ 3451.707398] [<ffffffff80269b99>] _read_lock_irq+0x9/0x20 [ 3451.707402] [<ffffffff8021172f>] generic_file_buffered_write+0x1df/0x6c0 [ 3451.707407] [<ffffffff802187c7>] __generic_file_aio_write_nolock+0x3e7/0x470 [ 3451.707412] [<ffffffff8020add7>] kmem_cache_alloc+0x77/0x90 [ 3451.707416] [<ffffffff80224d07>] generic_file_aio_write+0x67/0xd0 [ 3451.707421] [<ffffffff8021a43f>] do_sync_write+0xcf/0x120 [ 3451.707425] [<ffffffff802a41d0>] autoremove_wake_function+0x0/0x30 [ 3451.707429] [<ffffffff80230a81>] notify_change+0x301/0x330 [ 3451.707434] [<ffffffff80218d8e>] vfs_write+0xde/0x1a0 [ 3451.707437] [<ffffffff80219873>] sys_write+0x53/0x90 [ 3451.707442] [<ffffffff8058cfa8>] do_copy+0x28/0xb0 [ 3451.707446] [<ffffffff8058a82d>] write_buffer+0x1d/0x30 [ 3451.707450] [<ffffffff8058c1d3>] unpack_to_rootfs+0xe3/0x960 [ 3451.707454] [<ffffffff8058ca9d>] early_populate_rootfs+0x4d/0x70 [ 3451.707458] [<ffffffff80587795>] start_kernel+0x245/0x260 [ 3451.707462] [<ffffffff8058712f>] _sinittext+0x12f/0x140 [ 3451.707465] [ 3451.707475] Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP: [ 3451.707479] [<ffffffff8028c244>] dequeue_task+0x4/0x50 [ 3451.707488] PGD 0 [ 3451.707491] Oops: 0002 [1] SMP [ 3451.707495] CPU 0 [ 3451.707498] Modules linked in: [ 3451.707502] Pid: 0, comm: swapper Not tainted 2.6.20-100-server-amd64-elsa #3 [ 3451.707506] RIP: e030:[<ffffffff8028c244>] [<ffffffff8028c244>] dequeue_task+0x4/0x50 [ 3451.707513] RSP: e02b:ffffffff8057f880 EFLAGS: 00010083 [ 3451.707516] RAX: 0000000000000080 RBX: ffffffff8051d5e0 RCX: ffffffff8051d620 [ 3451.707520] RDX: ffffffff8051d5e0 RSI: 0000000000000000 RDI: ffffffff8051d5e0 [ 3451.707524] RBP: ffffffff8057f890 R08: 0000000000001215 R09: ffff880005fc2000 [ 3451.707528] R10: 0000000000000011 R11: ffffffff803519e0 R12: ffff880005f838c0 [ 3451.707532] R13: 0000000000000001 R14: 00000323a9cc2661 R15: ffffffff8057fb00 [ 3451.707539] FS: 0000000000000000(0000) GS:ffffffff80563000(0000) knlGS:0000000000000000 [ 3451.707544] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b [ 3451.707547] CR2: 0000000000000000 CR3: 0000000000201000 CR4: 0000000000002620 [ 3451.707551] Process swapper (pid: 0, threadinfo ffffffff8057e000, task ffffffff8051d5e0) [ 3451.707555] Stack: ffffffff8028c32e 000000000000000a ffffffff8057f990 ffffffff802674d5 [ 3451.707564] 0000000000000001 0000000000000020 0000000000000000 0000000000000001 [ 3451.707571] ffffffff8051d5e0 000000ef000000ee 00000000090f2daa ffffffff8051d7b8 [ 3451.707577] Call Trace: [ 3451.707581] [<ffffffff8028c32e>] deactivate_task+0x1e/0x30 [ 3451.707585] [<ffffffff802674d5>] __sched_text_start+0x1f5/0x89d [ 3451.707589] [<ffffffff80269aa9>] _spin_lock_irqsave+0x9/0x30 [ 3451.707593] [<ffffffff80244209>] lock_timer_base+0x29/0x60 [ 3451.707597] [<ffffffff8021f54c>] __mod_timer+0xac/0xc0 [ 3451.707602] [<ffffffff8026861a>] schedule_timeout+0x9a/0xd0 [ 3451.707606] [<ffffffff80299940>] process_timeout+0x0/0x10 [ 3451.707610] [<ffffffff80267e48>] io_schedule_timeout+0x28/0x40 [ 3451.707614] [<ffffffff802c099f>] congestion_wait+0x8f/0xc0 [ 3451.707618] [<ffffffff802a41d0>] autoremove_wake_function+0x0/0x30 [ 3451.707623] [<ffffffff8024dd31>] pdflush_operation+0x41/0xa0 [ 3451.707627] [<ffffffff802bfdde>] try_to_free_pages+0x24e/0x2c0 [ 3451.707631] [<ffffffff8021072e>] __alloc_pages+0x1de/0x300 [ 3451.707635] [<ffffffff80269b99>] _read_lock_irq+0x9/0x20 [ 3451.707639] [<ffffffff8021172f>] generic_file_buffered_write+0x1df/0x6c0 [ 3451.707644] [<ffffffff802187c7>] __generic_file_aio_write_nolock+0x3e7/0x470 [ 3451.707648] [<ffffffff8020add7>] kmem_cache_alloc+0x77/0x90 [ 3451.707653] [<ffffffff80224d07>] generic_file_aio_write+0x67/0xd0 [ 3451.707657] [<ffffffff8021a43f>] do_sync_write+0xcf/0x120 [ 3451.707662] [<ffffffff802a41d0>] autoremove_wake_function+0x0/0x30 [ 3451.707666] [<ffffffff80230a81>] notify_change+0x301/0x330 [ 3451.707670] [<ffffffff80218d8e>] vfs_write+0xde/0x1a0 [ 3451.707674] [<ffffffff80219873>] sys_write+0x53/0x90 [ 3451.707678] [<ffffffff8058cfa8>] do_copy+0x28/0xb0 [ 3451.707681] [<ffffffff8058a82d>] write_buffer+0x1d/0x30 [ 3451.707685] [<ffffffff8058c1d3>] unpack_to_rootfs+0xe3/0x960 [ 3451.707689] [<ffffffff8058ca9d>] early_populate_rootfs+0x4d/0x70 [ 3451.707693] [<ffffffff80587795>] start_kernel+0x245/0x260 [ 3451.707697] [<ffffffff8058712f>] _sinittext+0x12f/0x140 [ 3451.707700] [ 3451.707702] [ 3451.707702] Code: 83 2e 01 55 48 8b 57 40 48 8b 41 08 48 89 e5 48 89 10 48 89 [ 3451.707721] RIP [<ffffffff8028c244>] dequeue_task+0x4/0x50 [ 3451.707726] RSP <ffffffff8057f880> [ 3451.707729] CR2: 0000000000000000 [ 3451.707731] <0>Kernel panic - not syncing: Attempted to kill the idle task! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users