folks, I''m trying to satrtup xen-unstable with linux kernel-2.6.7 but seems I need little bit more luck. [Symptom] - got kernel pacnic in the boot process. It says ..(snip) > Kernel command line: /xen/vmlinuz-2.6.7-xen0 root=/dev/sda3 ro console=tty0 console=ttyS0 > Unknown boot option `/xen/vmlinuz-2.6.7-xen0'': ignoring > Initializing CPU#0 > ...(snip) > ICH6: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA > ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio > invalid operand: 0000 [#1] > PREEMPT > Modules linked in: > CPU: 0 > EIP: 0061:[<c010e20d>] Not tainted > EFLAGS: 00211246 (2.6.7-xen0) > EIP is at mwait_idle+0x31/0x67 > eax: c03d4008 ebx: c03d4008 ecx: 00000000 edx: 00000000 > esi: c03d4000 edi: c04456e0 ebp: 00000000 esp: c03d5fc8 > ds: 007b es: 007b ss: 0069 > Process swapper (pid: 0, threadinfo=c03d4000 task=c0376ec0) > Stack: 00000000 c03d4000 c0499200 c010e1d3 c03d4000 c03d6682 c0376ec0 00000000 > c0434f58 00000021 c03d63df c0445d00 00020800 c010009b > Call Trace: > c03d5fc8: [<c010e1d3>] cpu_idle+0x2c/0x35 > c03d5fd0: [<c03d6682>] start_kernel+0x16c/0x197 > c03d5fe4: [<c03d63df>] unknown_bootoption+0x0/0x110 > > Code: 0f 01 c8 8b 46 08 a8 08 75 0c 89 c8 0f 01 c9 8b 46 08 a8 08 > <0>Kernel panic: Attempted to kill the idle task! > In idle task - not syncing I attatched full boot log as "xen-2.0-k267.log". - kernel 2.4.26 looks OK. Please refer attached file "xen-2.0_k2426_boot.log". - Xen DemoCD v1.2 works fine as well. [I did] - use vanilla 2.4.26, 2.6.7 kernels - make world - make linux26 to create all xen, -xen0, -xenU kernels - xen-unatable was pulled yesterday (7th Aug). - add boot option "ignorebiostables", "noacpi" but no help Any advice to step forward would be very appreciated. Thanks very much. Best regards, Daisaku
> I''m trying to satrtup xen-unstable with linux kernel-2.6.7 > but seems I need little bit more luck. > > EIP: 0061:[<c010e20d>] Not tainted > > EFLAGS: 00211246 (2.6.7-xen0) > > EIP is at mwait_idle+0x31/0x67 > > eax: c03d4008 ebx: c03d4008 ecx: 00000000 edx: 00000000 > > esi: c03d4000 edi: c04456e0 ebp: 00000000 esp: c03d5fc8 > > ds: 007b es: 007b ss: 0069 > > Process swapper (pid: 0, threadinfo=c03d4000 task=c0376ec0) > > Stack: 00000000 c03d4000 c0499200 c010e1d3 c03d4000 c03d6682 c0376ec0 00000000 > > c0434f58 00000021 c03d63df c0445d00 00020800 c010009b > > Call Trace: > > c03d5fc8: [<c010e1d3>] cpu_idle+0x2c/0x35 > > c03d5fd0: [<c03d6682>] start_kernel+0x16c/0x197 > > c03d5fe4: [<c03d63df>] unknown_bootoption+0x0/0x110OK, I think I can see what''s going on here: you''ve got a shiny new CPU that supports the new "mwait" instruction, which is causing us to select the wrong idle loop. Please can you edit select_idle_routine in arch/xen/arch/kernel/process.c to remove the if clause at the top of the function. Christian may be able to suggest a cleaner fix, but I think that should do it. Thanks, Ian ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Sun, Aug 08, 2004 at 08:45:27AM +0100, Ian Pratt wrote:> OK, I think I can see what''s going on here: you''ve got a shiny > new CPU that supports the new "mwait" instruction, which is > causing us to select the wrong idle loop.yes.> Please can you edit select_idle_routine in > arch/xen/arch/kernel/process.c to remove the if clause at the top > of the function. Christian may be able to suggest a cleaner fix, > but I think that should do it.I fixed it slightly differently by moving the xen specific part into setup.c, making the change to process.c more generic. christian ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Christian, Ian, great! the new bk pulled unstable tree is working like magic. Ah, and yes, the target CPU is LGA775 Intel-P4. Just one thing, still I can see a line "Unknown boot option `/xen/vmlinuz-2.6.7-xen0'': ignoring" in the boot sequence, though it looks no harm so far. It is no problem, right? Thanks very much. Best regards, Daisaku On Sun, 8 Aug 2004 09:57:37 +0100 Christian Limpach <Christian.Limpach@cl.cam.ac.uk> wrote: (snip)> I fixed it slightly differently by moving the xen specific part > into setup.c, making the change to process.c more generic. > > christian >------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel