Antoine Martin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi,
>
> Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12
> Booting with:
> qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384
> - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append
> "earlyprintk=serial,ttyS0,115200"
>
>   

what happen if you add -no-kvm?

> Boot stops after:
> [    0.509283] time.c: Detected 2393.985 MHz processor.
> [    0.600090] Console: colour VGA+ 80x25
> [    0.600570] console handover: boot [earlyser0] -> real [tty0]
>
> It sits there using 100% CPU until I kill it.
>
> If I add "-serial file:serial.log", I get dropped to the qemu shell and
> the log file contains the same as above.
>
> Sorry if this has been covered before, couldn't find it.
>
> Cheers
> Antoine
>
>
> Strace of the spinning process:
> clock_gettime(CLOCK_MONOTONIC, {6003, 864979716}) = 0
> ioctl(4, 0x4008ae61, 0x7fff64780f10)    = 0
> ioctl(4, 0x4008ae61, 0x7fff64780f10)    = 0
> ioctl(4, 0x4008ae61, 0x7fff64780f10)    = 0
> ioctl(4, 0x4008ae61, 0x7fff64780f10)    = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 865075815}) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 865092971}) = 0
> timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0
> timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 250000}}, NULL) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 865156093}) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 865173715}) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 865192525}) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 865210519}) = 0
> timer_gettime(0, {it_interval={0, 0}, it_value={0, 162334}}) = 0
> ioctl(5, 0xae80, 0)                     = -1 EINTR (Interrupted system call)
> rt_sigtimedwait([USR2 ALRM IO], {si_signo=SIGALRM, si_code=SI_TIMER,
> si_pid=0, si_uid=0, si_value={int=0, ptr=0x7fff00000000}},
> 0x7fff64781140, 8) = 14
> rt_sigaction(SIGALRM, NULL, {0x60006e20, ~[KILL STOP RTMIN RT_1],
> SA_RESTORER, 0x2b6546c23ed0}, 8) = 0
> rt_sigtimedwait([USR2 ALRM IO], 0x6026ee00) = -1 EAGAIN (Resource
> temporarily unavailable)
> select(1, [0], [], [], {0, 0})          = 0 (Timeout)
> clock_gettime(CLOCK_MONOTONIC, {6003, 874979291}) = 0
> ioctl(4, 0x4008ae61, 0x7fff64780f10)    = 0
> ioctl(4, 0x4008ae61, 0x7fff64780f10)    = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 875036807}) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 875054053}) = 0
> timer_gettime(0, {it_interval={0, 0}, it_value={0, 0}}) = 0
> timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 8781000}}, NULL) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 875116694}) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 875134858}) = 0
> clock_gettime(CLOCK_MONOTONIC, {6003, 875152025}) = 0
> timer_gettime(0, {it_interval={0, 0}, it_value={0, 8712787}}) = 0
> timer_settime(0, 0, {it_interval={0, 0}, it_value={0, 8683000}}, NULL) = 0
> ioctl(5, 0xae80 <unfinished ...>
> (ad-infinitum)
>
>
> Full boot log below:
> # qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384
> - -nographic -cpu qemu64 -kernel /boot/vmlinuz-2.6.23.12 -append
> "earlyprintk=serial,115200"
> [    0.000000] Linux version 2.6.23.12 ([EMAIL PROTECTED]) (gcc version 4.1.1
> (Gentoo 4.1.1-r3)) #2 SMP Fri Jan 4 21:25:37 GMT 2008
> [    0.000000] Command line: earlyprintk=serial,115200
> [    0.000000] BIOS-provided physical RAM map:
> [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
> [    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> [    0.000000]  BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
> [    0.000000]  BIOS-e820: 0000000000100000 - 0000000017ff0000 (usable)
> [    0.000000]  BIOS-e820: 0000000017ff0000 - 0000000018000000 (ACPI data)
> [    0.000000]  BIOS-e820: 00000000fffbd000 - 0000000100000000 (reserved)
> [    0.000000] console [earlyser0] enabled
> [    0.000000] end_pfn_map = 1048576
> kernel direct mapping tables up to 100000000 @ 8000-d000
> [    0.000000] DMI not present or invalid.
> [    0.000000] ACPI: RSDP 000FAD00, 0014 (r0 QEMU  )
> [    0.000000] ACPI: RSDT 17FF0000, 002C (r1 QEMU   QEMURSDT        1
> QEMU        1)
> [    0.000000] ACPI: FACP 17FF002C, 0074 (r1 QEMU   QEMUFACP        1
> QEMU        1)
> [    0.000000] ACPI: DSDT 17FF0100, 0948 (r1   BXPC   BXDSDT        1
> INTL 20061109)
> [    0.000000] ACPI: FACS 17FF00C0, 0040
> [    0.000000] ACPI: APIC 17FF0A48, 0040 (r1 QEMU   QEMUAPIC        1
> QEMU        1)
> [    0.000000] No mptable found.
> [    0.000000] Zone PFN ranges:
> [    0.000000]   DMA             0 ->     4096
> [    0.000000]   DMA32        4096 ->  1048576
> [    0.000000]   Normal    1048576 ->  1048576
> [    0.000000] Movable zone start PFN for each node
> [    0.000000] early_node_map[2] active PFN ranges
> [    0.000000]     0:        0 ->      159
> [    0.000000]     0:      256 ->    98288
> [    0.000000] ACPI: PM-Timer IO Port: 0xb008
> [    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
> [    0.000000] Processor #0 (Bootup-CPU)
> [    0.000000] ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
> [    0.000000] IOAPIC[0]: apic_id 1, address 0xfec00000, GSI 0-23
> [    0.000000] Setting APIC routing to flat
> [    0.000000] Using ACPI (MADT) for SMP configuration information
> [    0.000000] swsusp: Registered nosave memory region: 000000000009f000
> - - 00000000000a0000
> [    0.000000] swsusp: Registered nosave memory region: 00000000000a0000
> - - 00000000000e8000
> [    0.000000] swsusp: Registered nosave memory region: 00000000000e8000
> - - 0000000000100000
> [    0.000000] Allocating PCI resources starting at 20000000 (gap:
> 18000000:e7fbd000)
> [    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
> [    0.000000] PERCPU: Allocating 31336 bytes of per cpu data
> [    0.000000] Built 1 zonelists in Zone order.  Total pages: 94849
> [    0.000000] Kernel command line: earlyprintk=serial,115200
> [    0.000000] Initializing CPU#0
> [    0.000000] PID hash table entries: 2048 (order: 11, 16384 bytes)
> [    0.496644] time.c: Detected 2393.776 MHz processor.
> [    0.587700] Console: colour VGA+ 80x25
> [    0.588182] console handover: boot [earlyser0] -> real [tty0]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.8 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEAREKAAYFAkeBK8MACgkQGK2zHPGK1rvVxQCeIIqxyiOF4cjE1LGmUNdz97nn
> t2cAnjnSUlqjHxBwXRTkXYRKahQy8IAg
> =qF2a
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to