public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Izik Eidus <izike-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Antoine Martin <antoine-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: boot stops after console handover?
Date: Sun, 06 Jan 2008 21:29:37 +0200	[thread overview]
Message-ID: <47812C21.2060408@qumranet.com> (raw)
In-Reply-To: <47812BC3.6060503-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>

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 (root@gentoo) (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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> 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/

  parent reply	other threads:[~2008-01-06 19:29 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-06 19:28 boot stops after console handover? Antoine Martin
     [not found] ` <47812BC3.6060503-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
2008-01-06 19:29   ` Izik Eidus [this message]
     [not found]     ` <47812C21.2060408-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-06 19:39       ` Antoine Martin
     [not found]         ` <47812E75.9050301-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
2008-01-06 22:32           ` Antoine Martin
2008-01-07  9:16   ` Avi Kivity
     [not found]     ` <4781EDE3.2000008-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-07 19:30       ` Antoine Martin
     [not found]         ` <47827DE4.2020306-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
2008-01-07 22:36           ` Carlo Marcelo Arenas Belon
2008-01-08  0:12             ` Antoine Martin
2008-01-08  8:33           ` Avi Kivity
     [not found]             ` <47833572.7090902-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-08 18:54               ` Antoine Martin
     [not found]                 ` <4783C6CC.1050404-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
2008-01-12 18:07                   ` Antoine Martin
     [not found]                     ` <478901D7.1060404-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
2008-01-12 21:01                       ` Avi Kivity
     [not found]                         ` <47892AA8.6090406-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-12 22:25                           ` Carlo Marcelo Arenas Belon
2008-01-13  1:19                             ` Antoine Martin
     [not found]                               ` <47896711.4050909-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
2008-01-13  3:10                                 ` Carlo Marcelo Arenas Belon
2008-01-13  3:33                       ` Carlo Marcelo Arenas Belon
2008-01-13 11:32                         ` Antoine Martin
2008-02-26 21:53                           ` Antoine Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47812C21.2060408@qumranet.com \
    --to=izike-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=antoine-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox