From: Antoine Martin <antoine-pzR7fkEi+fEqdlJmJB21zg@public.gmane.org>
To: Carlo Marcelo Arenas Belon
<carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: boot stops after console handover?
Date: Tue, 08 Jan 2008 00:12:09 +0000 [thread overview]
Message-ID: <4782BFD9.8090909@nagafix.co.uk> (raw)
In-Reply-To: <20080107223616.GA5706@tapir>
Carlo Marcelo Arenas Belon wrote:
> On Mon, Jan 07, 2008 at 07:30:44PM +0000, Antoine Martin wrote:
>> Avi Kivity wrote:
>>> Antoine Martin wrote:
>>>> 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"
>>>>
>>>>
>>> Does regular boot (without -kernel) work?
>>>
>> Nope, it's just spinning at 100% cpu, tried stock 2.6.23.12 and
>> 2.6.24-rc6, lots of clock_gettime(CLOCK_MONOTONIC,...
>
> this is a big guess as I have no way to test it or know the internals well
> enough to come with an authoritative answer, but I remember having a similar
> problem once which was fixed by using the kernel option "nolapic"
I assume this is for the host? (no effect on the guest) unfortunately
that box won't boot with nolapic, the sata controllers timeout.
(although I haven't tried turning apic off in the bios)
>> Do I need to enable/disable some RTC / HPET options?
>
> there used to be a bug about it before which was closed by the reported
> even though I was able to reproduce it after all (haven't looked since) and it
> was related to the use of CONFIG_HPET_EMULATE_RTC=y in the guest kernel.
I've disabled that, and everything else I could trim. Still no luck :(
> sorry for not giving you any hard evidence, but I am just going from memory
> here and though I would mention it just in case it could help.
Thanks, much appreciated.
gdb gives me this, dunno if this helps:
#0 0x00002b231784d777 in ioctl () from /lib/libc.so.6
#1 0x00000000600ef2df in kvm_run (kvm=0x62541010, vcpu=0) at libkvm.c:901
#2 0x000000006008bdb6 in kvm_cpu_exec (env=<value optimized out>) at
/usr/src/kvm-59/qemu/qemu-kvm.c:143
#3 0x000000006008bf80 in kvm_main_loop_cpu (env=0x62546100) at
/usr/src/kvm-59/qemu/qemu-kvm.c:341
#4 0x00000000600108f7 in main (argc=8, argv=0x7fff9422e758) at
/usr/src/kvm-59/qemu/vl.c:7771
Which is this:
r = ioctl(fd, KVM_RUN, 0);
where
int fd = kvm->vcpu_fd[vcpu];
Antoine
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
next prev parent reply other threads:[~2008-01-08 0:12 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
[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 [this message]
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=4782BFD9.8090909@nagafix.co.uk \
--to=antoine-pzr7fkei+feqdljmjb21zg@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=carenas-kLeDWSohozoJb6fo7hG9ng@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