LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-18-2014, 04:57 PM   #31
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46

Quote:
Originally Posted by ponce View Post
if you want to test the image I built, it's here.
Tried it with the same problems I've been having earlier.
 
Old 07-18-2014, 05:09 PM   #32
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
Also, if kvm-intel is needed (to be loaded, not used - I can get loaded without kvm ;-) ), that's it then:
Code:
# modprobe kvm-intel
modprobe: ERROR: could not insert 'kvm_intel': Operation not supported
It doesn't even load if the HW doesn't have virtualization support.
(like my Pentium M,)
 
Old 07-18-2014, 05:33 PM   #33
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
If output of
Code:
grep -e vmx -e svm /proc/cpuinfo
is empty you can't use kvm. The vmx flag is needed for kvm-intel as stated here. So if you don't have it it's pretty normal that modprobe kvm-intel fails

Last edited by Didier Spaier; 07-18-2014 at 05:37 PM.
 
Old 07-18-2014, 07:48 PM   #34
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
Pentium M doesn't have those. It doesn't support HW acceleration of virtualization.

I checked that the printk-stuff is written in video memory (0xB8000 = CGA?) of the VM and I guess it should show up as output to console in the qemu-window, but it doesn't.
I understand tha vga should be in 0xA0000?

Any idea why not, how to fix the problem?
Could it be that libvirt is needed for it to work? And thus kvm and HW support?

The http://qemu-buch.de doesn't seem to be usable anymore, and there seems to be no
discussion forums for qemu where I could ask.

Anyway this looks like a problem that is not related to any distros in any way.
I guess no compilation flags could solve the problem.
 
Old 07-18-2014, 08:37 PM   #35
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Quote:
Originally Posted by turboscrew View Post
... there seems to be no discussion forums for qemu where I could ask.
Try the mailing list here. All mailing lists are listed there. Not all projects run fora.

Last edited by Didier Spaier; 07-18-2014 at 08:40 PM.
 
Old 07-19-2014, 10:53 AM   #36
turboscrew
Member
 
Registered: Apr 2009
Location: Nokia (town), Finland
Distribution: Mint, Debian
Posts: 601

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by Didier Spaier View Post
Try the mailing list here. All mailing lists are listed there.
Thanks, I will.
Quote:
Not all projects run fora.
No, I know. Fora are just "nicer".
I once put myself in a kernel mailing list. 98% of the mail was spam. And the spamming doesn't, of course, end if you drop off from the mailing list. Tha spam still keeps coming.
So you better get a specific mailbox for that.
 
Old 07-20-2014, 11:49 AM   #37
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
If you don't have support in your CPU for the kvm modules then maybe you could try the older qemu-legacy + the kqemu kernel module. They are no longer part of slackbuilds.org since 14.1 so you'll need to use older versions, but the code hasn't changed:

http://slackbuilds.org/repository/14...m/qemu-legacy/
http://slackbuilds.org/repository/13.37/system/kqemu/

You'll need to uninstall your current qemu package to get it working. Before starting qemu do a 'modprobe kqemu'. This will only work for x86 systems.

Hope this helps
 
Old 07-20-2014, 04:35 PM   #38
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
@ponce: I tried your vmox.img; seems like it works fine, clearly I had a different qemu problem. I figured it out: when I recompiled the kernel, somehow I left CONFIG_DRM_CIRRUS_QEMU=n instead of m. So qemu the command line works, but not the virt-manager

Now I have to try that updated nc thing to see if I can get rid of the

Code:
Error connecting to graphical console
USB redirection support not compiled in
that I see in virt-manager. The thing is, I have usbredir, which I built from usbredir.SlackBuild,

but I see the qemu-SlackBuild wants
Code:
# check if usbredir is there
if pkg-config --exists libusbredirhost ; then
  with_usbredir="--enable-usb-redir"
else
  with_usbredir="--disable-usb-redir"
fi
"libusbredirhost" which usbredir did not apparently build. Where the heck does that come from? From that alternate nc? Or is this a different issue?

Last edited by mostlyharmless; 07-20-2014 at 04:56 PM.
 
Old 07-20-2014, 11:18 PM   #39
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
if you installed usbredir you should have a /usr/lib${LIBDIRSUFFIX}/pkgconfig/libusbredirhost.pc file (that is checked for).
 
Old 07-26-2014, 09:22 AM   #40
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Hmm, rebuilt qemu-2.0.0, libvirt-1.2.5, libvirt-glib-0.1.8, rebuilt usbredir-0.6, rebuilt virt-manager-1.2.5 and still have the USB redirection error message as well as the no graphical console connection message from virt-manager. qemu works. Grrr, at this point I'm not sure where to begin.

[EDIT] rebuilt the whole virt-manager with sbopkg with the following queue:
Code:
python3
gnome-common
py3cairo
vte3
pygobject3
ipaddr-py
tunctl
gnome-python2-gconf
yajl
urlgrabber
spice-protocol
celt051
pyparsing
spice
spice-gtk
vala
gtk-vnc
libvirt
libvirt-python
libvirt-glib
virt-manager
But now virt-manager fails with:

Code:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager", line 30, in <module>
    from gi.repository import GObject
ImportError: No module named gi.repository
Clearly something is wrong with python, but what?

Last edited by mostlyharmless; 07-26-2014 at 10:46 AM.
 
Old 07-29-2014, 02:14 PM   #41
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Looks like the gi modules were built, but there is something wrong with the path. Googling around I saw reference to an environment variable $PYTHONPATH, but I don't seem to have one, not that I ever checked before. I'm assuming that this has something to do with the presence of python3. Anyone know anything about this, or should I start a new thread on this problem and come back to the qemu/virt-manager later?
 
Old 07-29-2014, 04:24 PM   #42
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
try removing python3 and then rebuilding the queue (you can reinstall it after).
also regarding the queue, you should also build qemu just before libvirt.

Last edited by ponce; 07-29-2014 at 05:08 PM.
 
2 members found this post helpful.
Old 08-02-2014, 10:25 AM   #43
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
OK, did that, it all seems to be working properly, thanks!
 
Old 03-26-2015, 08:32 PM   #44
Anti-CMOS
LQ Newbie
 
Registered: Mar 2015
Posts: 5

Rep: Reputation: Disabled
Rather old post, but the only one that fits the bill with the issue I'm having. What was the fix for the spice video and usb error und virt-manager, I have the exact issue. I also cant use the VNC internal to virt-manager as the video freezes, however if I connect via UltraVNC will work fine. I loved to figure out the Spice issue as it driving me nuts, I'm move from vmware workstation to kvm and I'd really rather not have anything lingering that makes my question it stability to rely on in production. Thanks guys. Btw, I did recompile all the packages in order as mentioned above and qemu was compiled before libvirt, but no help.
 
Old 03-27-2015, 10:10 AM   #45
Anti-CMOS
LQ Newbie
 
Registered: Mar 2015
Posts: 5

Rep: Reputation: Disabled
Ok, I've seem to work out 90 of the issue, was GTK+2 and GTK+3 issues for me, when building spice-gtk, gtk-vnc, and finally virt-manager it's self. Some how it was mixing GTK+2 and GTK+3 in the code, via running a virt-manager --debug I seen; Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported So I removed GTK+2 and compiled all the way up to the point where it started complaining about GTK+2 missing and added GTK+2 and continued, this fixed the above error and got all the graphical consoles working (spice 99%, vnc 100%). In spice however the keyboard will not work, now via the virt-manager --debug method I see; "(virt-manager:8219): GSpice-CRITICAL **: send_key: assertion `scancode != 0' failed" every time I press a key using spice protocol and the VM see's nothing. Still looks to be a spice issue, but I'm still pounding on it... Any help would be great, thanks guys.

Last edited by Anti-CMOS; 03-27-2015 at 10:24 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
Slackware qemu kvm julienfmills Linux - Virtualization and Cloud 1 11-07-2011 07:54 PM
On qemu-kvm, qemu-ifup script not found on Slackware 13 AndrewGaven Linux - Virtualization and Cloud 14 01-29-2010 03:36 AM
Qemu On Slackware bijit1709 Slackware 6 10-17-2007 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration