All of lore.kernel.org
 help / color / mirror / Atom feed
* kvm: get_dirty_pages returned -2 (kvm-15)
@ 2007-02-28 17:30 Larry Matter
       [not found] ` <54577.192.168.1.160.1172683800.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Matter @ 2007-02-28 17:30 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

I installed kvm-15 on my AMD-64 box running 32bit fedora core 6.  I ran
into the modprobe issues already mentioned so I dropped back to kvm-14.

This worked then I started getting the get_dirty_pages error.  Searching
the list I saw the patch from Avi which solved the modprobe issues and I
went back to kvm-15.  But I am still getting the get_dirty_pages error;
not sure if this is related to bug 1661262 or not.

My command line is:

/usr/local/kvm/bin/qemu -m 512 -std-vga -soundhw es1370 -net
nic,macaddr=<removed>,vlan=0 -net
tap,ifname=tap0,vlan=0,script=/etc/qemu-ifup -boot c -hda
/mnt/windows/windows.img

Any help appreciated.

Thanks!
Larry Matter

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kvm: get_dirty_pages returned -2 (kvm-15)
       [not found] ` <54577.192.168.1.160.1172683800.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
@ 2007-02-28 17:36   ` Avi Kivity
       [not found]     ` <45E5BDAE.9020800-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2007-02-28 17:36 UTC (permalink / raw)
  To: Larry Matter; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Larry Matter wrote:
> Hi,
>
> I installed kvm-15 on my AMD-64 box running 32bit fedora core 6.  I ran
> into the modprobe issues already mentioned so I dropped back to kvm-14.
>
> This worked then I started getting the get_dirty_pages error.  Searching
> the list I saw the patch from Avi which solved the modprobe issues and I
> went back to kvm-15.  But I am still getting the get_dirty_pages error;
> not sure if this is related to bug 1661262 or not.
>
> My command line is:
>
> /usr/local/kvm/bin/qemu -m 512 -std-vga -soundhw es1370 -net
> nic,macaddr=<removed>,vlan=0 -net
> tap,ifname=tap0,vlan=0,script=/etc/qemu-ifup -boot c -hda
> /mnt/windows/windows.img
>
>   

Can you try stracing to see if it's a kernel or userspace problem?

prefix your command line with

   strace -e trace=ioctl -e signal=none -o /tmp/kvm.trace 
/usr/local/bin/qemu...

and then post the result of

   grep ENOENT /tmp/kvm.trace

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kvm: get_dirty_pages returned -2 (kvm-15)
       [not found]     ` <45E5BDAE.9020800-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-02-28 18:03       ` Larry Matter
       [not found]         ` <38982.192.168.1.160.1172685816.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Matter @ 2007-02-28 18:03 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> Can you try stracing to see if it's a kernel or userspace problem?
>
> prefix your command line with
>
>    strace -e trace=ioctl -e signal=none -o /tmp/kvm.trace
> /usr/local/bin/qemu...
>
> and then post the result of
>
>    grep ENOENT /tmp/kvm.trace

I get lots of these:

ioctl(6, 0x4010ae0c, 0xbfc71af8)        = -1 ENOENT (No such file or
directory)

Thanks,
Larry


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kvm: get_dirty_pages returned -2 (kvm-15)
       [not found]         ` <38982.192.168.1.160.1172685816.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
@ 2007-02-28 18:06           ` Avi Kivity
       [not found]             ` <45E5C493.8050104-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2007-02-28 18:06 UTC (permalink / raw)
  To: Larry Matter; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Larry Matter wrote:
>> Can you try stracing to see if it's a kernel or userspace problem?
>>
>> prefix your command line with
>>
>>    strace -e trace=ioctl -e signal=none -o /tmp/kvm.trace
>> /usr/local/bin/qemu...
>>
>> and then post the result of
>>
>>    grep ENOENT /tmp/kvm.trace
>>     
>
> I get lots of these:
>
> ioctl(6, 0x4010ae0c, 0xbfc71af8)        = -1 ENOENT (No such file or
> directory)
>
>   

When you run it (without strace), do the messages stop after a while, or 
do they go on forever?


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kvm: get_dirty_pages returned -2 (kvm-15)
       [not found]             ` <45E5C493.8050104-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-02-28 18:06               ` Avi Kivity
       [not found]                 ` <45E5C4BF.2010506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2007-02-28 18:06 UTC (permalink / raw)
  To: Larry Matter; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Avi Kivity wrote:
> Larry Matter wrote:
>>> Can you try stracing to see if it's a kernel or userspace problem?
>>>
>>> prefix your command line with
>>>
>>>    strace -e trace=ioctl -e signal=none -o /tmp/kvm.trace
>>> /usr/local/bin/qemu...
>>>
>>> and then post the result of
>>>
>>>    grep ENOENT /tmp/kvm.trace
>>>     
>>
>> I get lots of these:
>>
>> ioctl(6, 0x4010ae0c, 0xbfc71af8)        = -1 ENOENT (No such file or
>> directory)
>>
>>   
>
> When you run it (without strace), do the messages stop after a while, 
> or do they go on forever?
>
>

And do they show up without -std-vga?

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kvm: get_dirty_pages returned -2 (kvm-15)
       [not found]                 ` <45E5C4BF.2010506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-02-28 18:32                   ` Larry Matter
       [not found]                     ` <34721.192.168.1.160.1172687551.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Matter @ 2007-02-28 18:32 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>> When you run it (without strace), do the messages stop after a while,
>> or do they go on forever?

It does on for as long as I let it

>
> And do they show up without -std-vga?

Nope, that seems to be the culprit.   Should that flag be supported?  I
believe this is recommeded in qemu when displaying high res (I'm doing
1280x1024).

Thanks!
Larry



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: kvm: get_dirty_pages returned -2 (kvm-15)
       [not found]                     ` <34721.192.168.1.160.1172687551.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
@ 2007-02-28 18:37                       ` Avi Kivity
  0 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2007-02-28 18:37 UTC (permalink / raw)
  To: Larry Matter; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Larry Matter wrote:
>>> When you run it (without strace), do the messages stop after a while,
>>> or do they go on forever?
>>>       
>
> It does on for as long as I let it
>
>   
>> And do they show up without -std-vga?
>>     
>
> Nope, that seems to be the culprit.   Should that flag be supported?  I
> believe this is recommeded in qemu when displaying high res (I'm doing
> 1280x1024).
>   

It's a bug.  It also means we don't accelerate -std-vga mode (which I 
have never used myself).



-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-02-28 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 17:30 kvm: get_dirty_pages returned -2 (kvm-15) Larry Matter
     [not found] ` <54577.192.168.1.160.1172683800.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
2007-02-28 17:36   ` Avi Kivity
     [not found]     ` <45E5BDAE.9020800-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-28 18:03       ` Larry Matter
     [not found]         ` <38982.192.168.1.160.1172685816.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
2007-02-28 18:06           ` Avi Kivity
     [not found]             ` <45E5C493.8050104-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-28 18:06               ` Avi Kivity
     [not found]                 ` <45E5C4BF.2010506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-02-28 18:32                   ` Larry Matter
     [not found]                     ` <34721.192.168.1.160.1172687551.squirrel-eRF/mgt17vY7WJLwNC7dFw@public.gmane.org>
2007-02-28 18:37                       ` Avi Kivity

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.