From: Anthony Liguori <anthony@codemonkey.ws>
To: "Richard W.M. Jones" <rjones@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>,
Max Filippov <jcmvbkbc@gmail.com>,
qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0
Date: Sat, 17 Dec 2011 09:22:45 -0600 [thread overview]
Message-ID: <4EECB3C5.6060608@codemonkey.ws> (raw)
In-Reply-To: <4EECB1B0.7050404@codemonkey.ws>
On 12/17/2011 09:13 AM, Anthony Liguori wrote:
> On 12/17/2011 02:33 AM, Richard W.M. Jones wrote:
>> On Fri, Dec 16, 2011 at 07:44:10PM -0600, Anthony Liguori wrote:
>>> On 12/16/2011 06:53 PM, Max Filippov wrote:
>>>>>> git bisect says this. I didn't believe it first time, so I ran it
>>>>>> twice with a few modifications, and it pointed to the same commit both
>>>>>> times ...
>>>>>
>>>>> Richard,
>>>>> could you please elaborate on your testcase and configuration
>>>>> (host/target architecture, command lines, etc).
>>>>
>>>> Ok, I've found most of details, what's not clear to me is how you
>>>> decide whether the build is good or bad.
>>>>
>>>> I mean, you need to rebuild qemu on every bisection step, but neither
>>>> this commit nor the previous or the next one
>>>> change anything that would compile for x86 targets.
>>>
>>> Fairly certain this bisect is a red herring.
>>>
>>> tglx reported this the other day in IRC. He narrowed it down to
>>> virtio-serial. He was able to reproduce it both with kvm tools and
>>> QEMU.
>>
>> Yes, we do use virtio-serial. The command line is:
>>
>> /home/rjones/d/qemu/qemu.wrapper \
>> -drive file=/tmp/libguestfs-test-tool-sda-b4hesH,cache=off,format=raw,if=virtio \
>> -nodefconfig \
>> -machine accel=kvm:tcg \
>> -nodefaults \
>> -nographic \
>> -m 500 \
>> -no-reboot \
>> -no-hpet \
>> -device virtio-serial \
>> -serial stdio \
>
> Okay, I can reproduce this now with a F15 guest.
>
> I've narrowed it down to '-nodefaults -serial stdio'. Can you confirm that if
> you remove those options it works for you?
I've even further narrowed it down to the presents or lack of '-vga cirrus'. If
you add '-vga cirrus' to the above command line, the guest will boot successfully.
Regards,
Anthony Liguori
>
> Regards,
>
> Anthony Liguori
>
>
>> -chardev socket,path=/tmp/libguestfsQQ187c/guestfsd.sock,id=channel0 \
>> -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
>> -kernel /var/tmp/.guestfs-500/kernel.24171 \
>> -initrd /var/tmp/.guestfs-500/initrd.24171 \
>> -append 'panic=1 console=ttyS0 udevtimeout=300 no_timer_check acpi=off
>> printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
>> -drive file=/var/tmp/.guestfs-500/root.24171,snapshot=on,if=virtio,cache=unsafe
>>
>> which comes from this libguestfs test case:
>>
>> LIBGUESTFS_QEMU=~/d/qemu/qemu.wrapper libguestfs-test-tool -t 60
>>
>> where qemu.wrapper is:
>>
>> #!/bin/sh -
>> qemudir=/home/rjones/d/qemu
>> exec $qemudir/x86_64-softmmu/qemu-system-x86_64 -L $qemudir/pc-bios "$@"
>>
>> I'll try it with/without virtio-serial.
>>
>> git bisect red herring is pretty strange?
>>
>> Rich.
>>
>
next prev parent reply other threads:[~2011-12-17 15:22 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-30 13:11 [Qemu-devel] qemu.git hangs booting Linux after insmod virtio_blk.ko Richard W.M. Jones
2011-09-30 16:51 ` [Qemu-devel] git-bisect results (was: Re: qemu.git hangs booting Linux after insmod virtio_blk.ko) Richard W.M. Jones
2011-12-16 22:19 ` Richard W.M. Jones
2011-12-17 0:07 ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 (was: Re: git-bisect results (was: Re: qemu.git hangs booting Linux after insmod virtio_blk.ko)) Richard W.M. Jones
2011-12-17 0:26 ` Max Filippov
2011-12-17 0:53 ` Max Filippov
2011-12-17 1:44 ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 (was: Re: git-bisect results Anthony Liguori
2011-12-17 8:33 ` Richard W.M. Jones
2011-12-17 15:13 ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 Anthony Liguori
2011-12-17 15:22 ` Richard W.M. Jones
2011-12-17 15:22 ` Anthony Liguori [this message]
2011-12-17 15:25 ` Richard W.M. Jones
2011-12-17 16:24 ` Anthony Liguori
2011-12-17 16:35 ` Richard W.M. Jones
2011-12-17 16:49 ` Kevin O'Connor
2011-12-17 17:03 ` Anthony Liguori
2011-12-17 17:30 ` Richard W.M. Jones
2011-12-19 10:31 ` Daniel P. Berrange
2011-12-19 17:23 ` [Qemu-devel] [SeaBIOS] " Fred .
2011-12-19 17:26 ` Fred .
2011-12-19 17:34 ` [Qemu-devel] " Anthony Liguori
2011-12-19 17:43 ` Daniel P. Berrange
2011-12-19 18:02 ` Anthony Liguori
2011-12-19 19:04 ` Richard W.M. Jones
2011-12-19 19:16 ` Daniel P. Berrange
2011-12-19 19:40 ` Richard W.M. Jones
2011-12-19 19:42 ` Richard W.M. Jones
2011-12-19 19:44 ` Anthony Liguori
2011-12-19 19:19 ` Daniel P. Berrange
2011-12-19 19:26 ` Anthony Liguori
2011-12-20 3:38 ` Kevin O'Connor
2011-12-20 8:13 ` Gleb Natapov
2011-12-17 13:16 ` [Qemu-devel] insmod virtio-blk is broken in qemu 1.0 (was: Re: git-bisect results Richard W.M. Jones
2011-12-17 1:39 ` Anthony Liguori
2011-12-17 1:43 ` Anthony Liguori
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=4EECB3C5.6060608@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=amit.shah@redhat.com \
--cc=jcmvbkbc@gmail.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rjones@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).