Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem running kvm
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
colinpdavidson
n00b
n00b


Joined: 02 Jun 2009
Posts: 18

PostPosted: Thu Aug 18, 2011 2:12 pm    Post subject: Problem running kvm Reply with quote

Hi,

Before a recent update I was running windows 95 under kvm without any serious problems. After the update, I keep getting "no display found". I downloaded the latest stabel qemu/kvm code and got the same problem. I traced through it and found that SDL_Init() was failing. Downloaded the latest stable SDL, tried that and got the same problem. Traced through, tried several different environments, it always came down to XOpenDisplay(null) - whatever my environment, XOpenDisplay is passed a "null" parameter - returning a null.

So, three questions:

First, I know the sources are already on my system - how can I get a debug build using the Gentoo sources (is there an emerge command line parameter that causes a debug build to be installed, with the sources left in their build location? or is there another reasonable approach?).

Next question, I have roughly five parties involved here, the Gentoo integration, the SDL developers, the Qemu developers, the kvm developers (who piggy-back on Qemu) and the Xorg developers. Now, seeing where the problem is happening, I think I can rule out the kvm developers. But which of the others should I be talking to? Is it likely to be a Qemu failure to initialize something? An SDL failure to initialize something? An Xorg problem? A Gentoo integration issue? A misconfiguration on my part??

Third question, does anyone have any idea what I need to do to get kvm running again?

Additional info: It happens whether I run kvm with sudo or su to a root shell and run kvm there.

Thanks in advance,
Colin
Back to top
View user's profile Send private message
Aquous
l33t
l33t


Joined: 08 Jan 2011
Posts: 700

PostPosted: Thu Aug 18, 2011 2:35 pm    Post subject: Reply with quote

To get a meaningful backtrace with gdb, add "-ggdb -fno-omit-frame-pointer" to your CFLAGS and remove any excessive optimizations and have FEATURES=splitdebug.

Also try starting KVM with sudo -E
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum