All of lore.kernel.org
 help / color / mirror / Atom feed
From: hkran <hkran@vnet.linux.ibm.com>
To: Bug 818673 <818673@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory
Date: Fri, 16 Sep 2011 16:52:34 +0800	[thread overview]
Message-ID: <4E730E52.3070302@vnet.linux.ibm.com> (raw)
In-Reply-To: <201109151437.36302.rickv@hobi.com>

On 09/16/2011 03:37 AM, Rick Vernam wrote:
> On Thursday 15 September 2011 11:23:53 Rick Vernam wrote:
>> On Wednesday 14 September 2011 16:30:11 Rick Vernam wrote:
>>> On Wednesday 14 September 2011 14:42:09 vrozenfe wrote:
>>>> Thank you, Rick.
>>>>
>>>> Could you help me to narrow this problem down?
>>> Absolutely.
>>>
>>>> As I see, you have three virtio drivers installed on your system -
>>>> block, net, and virtio serial. Technically, anyone of them can create
>>>> "trying to map MMIO memory" problem. The best way to find a buggy
>>>> driver ( or drivers) will be to isolate one from the other. If you
>>>> can, please try running only one virtio device every time to see which
>>>> driver sends incorrect  scatter/gather list element to QEMU.
>>> Sure, no problem.  I'll have that in the next few days.
>> I started qemu without any of the virt-serial stuff, specfically:
>> qemu-system-x86_64 -cpu host -enable-kvm -pidfile
>> /home/rick/qemu/hds/wxp.pid - drive
>> file=/home/rick/qemu/hds/wxp.raw,if=virtio,aio=native -m 1536 -name WinXP
>> -net nic,model=virtio -net user -localtime -usb -vga qxl -spice
>> port=1234,disable-ticketing -monitor stdio
>>
>> It's been running for around 2 hours and no crash yet.
> So without virt-serial, the machine ran until I rebooted the guest OS, then
> crashed with the same error message.  Without virt-serial it seemed to be
> stable so long as it was just left running.
>
> Now I'll run it without virt-net, and let you know how that goes.
>
>> Thanks,
>> -Rick
>>
>>>> Another question. You said, the problem happens after every second or
>>>> third restart. Do you shutdown your VM,  or just restart it?
>>> Have to shut down the VM guest so that the qemu process exits.
>>>
>>>> How does it work
>>>> after going through several hibernate/resume, and/or suspend/resume
>>>> cycles.
>>> I often will suspend with or without pausing qemu (via monitor commands
>>> 'stop' and 'cont').  I have never experienced any problem with the qemu
>>> process that was running prior to the suspend.
>>>
>>>> Best regards,
>>>> Vadim.
>>> Thanks,
>>> -Rik
I have tried many times with many restarts or shutdown-and-boot xp guest 
but failed to meet the crashing.
(I am using the virtio drivers referenced in the earlier mail list.)
my command:

/home/huikai/qemu15/bin/qemu  --enable-kvm  -m 768  -drive 
file=/home/huikai/winxp_dev.img,if=virtio  -net nic,model=virtio -net 
user -usb -usbdevice tablet  -localtime -vga qxl -device virtio-serial 
-chardev spicevmc,name=vdagent,id=vdagent -device 
virtserialport,chardev=vdagent,name=spice0 -spice 
port=1234,disable-ticketing   -monitor telnet:localhost:12341,server,nowait

  reply	other threads:[~2011-09-16  8:53 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-30 23:01 [Qemu-devel] [Bug 818673] [NEW] virtio: trying to map MMIO memory Rick Vernam
2011-07-31 17:54 ` Stefan Hajnoczi
2011-07-31 18:43   ` Vadim Rozenfeld
2011-08-02 14:20 ` [Qemu-devel] [Bug 818673] " Rick Vernam
2011-08-04 21:35 ` David Rando
2011-08-05  3:10 ` Rick Vernam
2011-08-05 16:11 ` Rick Vernam
2011-08-13  4:38 ` Rick Vernam
2011-08-13 12:23 ` David Rando
2011-08-14  6:11 ` Rick Vernam
2011-08-14 15:00   ` Stefan Hajnoczi
2011-08-25 14:53 ` David Rando
2011-08-25 15:54   ` Stefan Hajnoczi
2011-08-25 19:33     ` Vadim Rozenfeld
2011-09-06 15:08 ` dx-vmonroig
2011-09-12 17:49 ` Rick Vernam
2011-09-13 16:27 ` vrozenfe
2011-09-13 23:26 ` Rick Vernam
2011-09-14 15:43 ` Rick Vernam
2011-09-14 17:52 ` Rick Vernam
2011-09-14 19:42 ` vrozenfe
2011-09-14 21:30   ` Rick Vernam
2011-09-15 16:23     ` Rick Vernam
2011-09-15 19:37       ` Rick Vernam
2011-09-16  8:52         ` hkran [this message]
2011-09-16 17:42           ` Rick Vernam
2011-09-16 19:31             ` Rick Vernam
2011-09-22 19:10             ` Rick Vernam
2011-09-23 19:07               ` Alon Levy
2011-09-23 19:49                 ` Rick Vernam
2011-09-15 19:55 ` vrozenfe
2011-09-26 16:38 ` Rick Vernam
2011-09-29  2:07 ` Rick Vernam
2011-12-29 20:52 ` Arequipeno
2011-12-30 16:00 ` Ian Pilcher
2011-12-30 16:31 ` Rick Vernam
2012-01-24 16:35 ` Vitalis
2012-01-24 16:48 ` Vitalis
2012-01-24 19:25   ` Rick Vernam
2012-02-02  9:12 ` Mike Cao
2012-02-02 17:31 ` Rick Vernam
2012-02-02 17:40 ` Rick Vernam
2012-02-08 11:18 ` Vitalis
2012-02-16 17:03 ` vrozenfe
2012-02-17  7:10 ` Vitalis
2012-02-17  7:58 ` Alon Levy
2012-02-17  9:13 ` vrozenfe
2012-02-17  9:14 ` vrozenfe
2016-10-20 21:15 ` Thomas Huth

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=4E730E52.3070302@vnet.linux.ibm.com \
    --to=hkran@vnet.linux.ibm.com \
    --cc=818673@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.