LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-05-2014, 02:02 AM   #1
funboy
Member
 
Registered: Jul 2011
Posts: 49

Rep: Reputation: Disabled
KVM in 14.1


Hello,

I installed the KVM packages from the slackbuilds and it seems the application itself runs, but when I try to install some virtual machine I recieved errors regarding usb bus

Here is the logged errors:
Code:
h-privileges
2014-01-05 07:20:05.279+0000: 1815: info : virSecurityDACSetOwnership:259 : Setting DAC user and group on '/var/lib/libvirt/images/server1.example.com.img' to '0:100'
2014-01-05 07:20:05.279+0000: 1815: info : virSecurityDACSetOwnership:259 : Setting DAC user and group on '/opt/CentOS6.4_iso/CentOS-6.4-i386-bin-DVD1.iso' to '0:100'
2014-01-05 07:20:05.479+0000: 1815: error : qemuMonitorOpenUnix:306 : failed to connect to monitor socket: No such process
2014-01-05 07:20:05.479+0000: 1815: info : qemuConnectMonitor:1430 : Failed to connect monitor for server1.example.com
2014-01-05 07:20:05.479+0000: 1815: error : qemuProcessWaitForMonitor:1846 : internal error: process exited while connecting to monitor: qemu-system-x86_64: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'
h-privileges
2014-01-05 07:20:05.279+0000: 1815: info : virSecurityDACSetOwnership:259 : Setting DAC user and group on '/var/lib/libvirt/images/server1.example.com.img' to '0:100'
2014-01-05 07:20:05.279+0000: 1815: info : virSecurityDACSetOwnership:259 : Setting DAC user and group on '/opt/CentOS6.4_iso/CentOS-6.4-i386-bin-DVD1.iso' to '0:100'
2014-01-05 07:20:05.479+0000: 1815: error : qemuMonitorOpenUnix:306 : failed to connect to monitor socket: No such process
2014-01-05 07:20:05.479+0000: 1815: info : qemuConnectMonitor:1430 : Failed to connect monitor for server1.example.com
2014-01-05 07:20:05.479+0000: 1815: error : qemuProcessWaitForMonitor:1846 : internal error: process exited while connecting to monitor: qemu-system-x86_64: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'
I additionally installed qemu-kvm/qemu-kvm-1.2.0-x86_64-1alien.txz
and usbredir but the result is the same and the VM cannot be installed.

Here are some more detailes at the error:
Code:
Unable to complete install: 'internal error: process exited while connecting to monitor: qemu-system-x86_64: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1920, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1134, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1202, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2901, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: qemu-system-x86_64: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'

Any ideas ?
 
Old 01-05-2014, 02:44 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
it seems to me that you're using libvirt/virt-manager: which packages have you installed?

this is the sbopkg queue I use (before launching it I remove Slackware's nc) for installing SBo 14.1 SlackBuilds:
Code:
netcat-openbsd
yajl
vala
tunctl
urlgrabber
gtk-vnc
usbredir
celt051
pyparsing
spice-protocol
spice
libcacard
spice-gtk
device-tree-compiler
qemu
libvirt
libvirt-python
libvirt-glib
ipaddr-py
pygobject3
vte3
virt-manager

Last edited by ponce; 01-05-2014 at 10:23 AM. Reason: changed questions - added device-tree-compiler
 
1 members found this post helpful.
Old 01-05-2014, 03:57 AM   #3
funboy
Member
 
Registered: Jul 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
I installed all of them but netcat-openbsd,now I installed it too, but the result is the same.
qemuProcessWaitForMonitor:1846 : internal error: process exited while connecting to monitor: qemu-system-x86_64: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'
 
Old 01-05-2014, 05:16 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
as you installed multiple versions, what it the output of
Code:
qemu-system-x86_64 --version
FYI, I just tried a CentOS installation with virt-manager using the default options (for the type of the emulated machine I selected Linux - Kernel 2.6.25 or later with virtio, try choosing those) and everything went fine.

this is the qemu log http://pastebin.com/1PfXheq6
 
Old 01-05-2014, 05:44 AM   #5
funboy
Member
 
Registered: Jul 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
Code:
root@darkstar:/usr/local/bin/newKVM# qemu-system-x86_64 --version
QEMU emulator version 1.6.1, Copyright (c) 2003-2008 Fabrice Bellard
 
Old 01-05-2014, 12:51 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229
I've seen this problem too.
 
Old 01-06-2014, 12:57 PM   #7
funboy
Member
 
Registered: Jul 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
I've installed the previous version of the KVM in Slackware 14.0 then but it required different packages. I uninstalled them and installed the new from the Slackbuilds.org
But now when I checked with sbopkg I found new packages like libbonobo which also should be installed but it is not listed in the slackbuilds !?
Anywhere, I installed it but the same result with the "usb-error" when VM is started.
 
Old 01-06-2014, 02:25 PM   #8
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229
Actually, when I use the virt-manager wizard to create a new RedHat Enterprise 6 VM I get the error funboy posted.

Making a Slackware VM works just fine.
 
Old 01-06-2014, 03:08 PM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
I cannot try to install Red Hat Enterprise as I'm not a Red Hat customer, but CentOS worked.
 
Old 01-06-2014, 07:11 PM   #10
funboy
Member
 
Registered: Jul 2011
Posts: 49

Original Poster
Rep: Reputation: Disabled
Hmm very strange,

When I change the VM type (from RHEL 6 to Other linux with kernel 2.6) I received another message:
Code:
Unable to complete install: 'Controller 'devices' is not wanted, but 'cpu' is co-mounted: Invalid argument'
I am unable to install not only Cent OS but and Slack.
When I tray to install Slack, the message is the same:
Code:
Unable to complete install: 'Controller 'devices' is not wanted, but 'cpu' is co-mounted: Invalid argument'
 
Old 01-16-2014, 07:11 AM   #11
uBoTo
LQ Newbie
 
Registered: Sep 2008
Location: Varna, Bulgaria
Posts: 9

Rep: Reputation: 0
I have the same problem. Last night I decided to update my kvm and qemu packages, but then - only black screen and some errors. Today I udated to slackware-current64 and then the multilib. Also move the *.new config files over the old ones. After that - everything works just fine. Hope this will help

P.S.: I have problem with virt-manager text - http://robert.penz.name/wp-content/u...rt-manager.png. Any ideas how to fix that?
 
Old 01-16-2014, 07:23 AM   #12
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
Quote:
Originally Posted by uBoTo View Post
P.S.: I have problem with virt-manager text - http://robert.penz.name/wp-content/u...rt-manager.png. Any ideas how to fix that?
maybe you just need to reboot.
 
Old 01-16-2014, 01:19 PM   #13
uBoTo
LQ Newbie
 
Registered: Sep 2008
Location: Varna, Bulgaria
Posts: 9

Rep: Reputation: 0
No, the problem is since I first installed virt-manager. I found one solution, but it is for X forwarding on Red Hat. There were missing fonts (dejavu-lgc-sans-fonts) that need to be installed.

The only one warning that I have, when starting qemu, is this:
Quote:
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.

Last edited by uBoTo; 01-16-2014 at 01:25 PM.
 
Old 01-19-2014, 05:11 PM   #14
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,269
Blog Entries: 11

Rep: Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750Reputation: 750
From the appropriate web sites:

------------------------
http://wiki.qemu.org/KVM
QEMU 1.3
as of the 1.3 release all qemu-kvm features have been merged into upstream QEMU

http://www.linux-kvm.org/page/Status
Status

KVM is included in the mainline linux kernel since 2.6.20 and is stable and fast for most workloads.

The userspace tools are part of mainline QEMU since 1.3.
-----------------------

AFAIK, you don't need the older kvm and qemu-kvm packages since the old fork has been merged back into newer releases of teh kernel and qemu. You only need them for older 2.6 kernels and qemu <= 1.2
 
Old 01-23-2014, 11:43 AM   #15
Gerardo Zamudio
Member
 
Registered: Jan 2011
Distribution: Slackware
Posts: 128

Rep: Reputation: 113Reputation: 113
I'm getting similar errors when trying to install a Windows 7 guest with a Slackware64 14.1 multilib host. I tried changing the display from SPICE To VNC but it doesn't seem to help. I've also tried upgrading to the cairo package from -current as suggested here, no luck.

If I try to install a Slackware guest, the display comes up just fine.

Here is the error I'm receiving:

Code:
Unable to complete install: 'internal error: process exited while connecting to monitor: qemu-kvm: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1920, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1134, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1202, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2901, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: qemu-kvm: -device usb-tablet,id=input0: No 'usb-bus' bus found for device 'usb-tablet'
And this is the queue file I used to install virt-manager:

Code:
gnome-python2-gconf
vte3
tunctl
urlgrabber
ipaddr-py
pyobject3
vala
gtk-vnc
libdaemon
avahi
libcap-ng
libssh2
yajl
libvirt
libvirt-glib
usbredir
libcacard
celt051
spice-protocol
pyparsing
spice
spice-gtk
libvirt-python
virt-manager

I can't try connecting to the display using another VNC client because the virtual machine isn't installed yet. I get the error as soon as I click "Begin Installation". I'm attaching two screenshots (it also seems it isn't picking up my Oxyfaenza KDE icon theme or QtCurve theme, although other GTK programs pick it up just fine)

Any ideas?
Attached Thumbnails
Click image for larger version

Name:	snapshot1.png
Views:	37
Size:	14.9 KB
ID:	14560   Click image for larger version

Name:	snapshot2.png
Views:	43
Size:	63.3 KB
ID:	14561  
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] "No KVM, No qemu-kvm" Available error while trying to install KVM on CentOS 6.3 sriramdas Linux - Virtualization and Cloud 5 01-01-2013 10:46 AM
[SOLVED] Centos 6 and KVM - how to setup bridged networking in KVM in a -Class B- environment? rylan76 Linux - Virtualization and Cloud 7 11-07-2012 06:46 AM
LXer: Implementation Qemu-kvm 0.15.0, SpiceServer and Spice-Gtk-0.7 on Ubuntu 11.10 KVM Server the m LXer Syndicated Linux News 0 08-30-2011 04:40 PM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
LXer: Install Oracle 11gR2 on SL6 KVM at KVM-QEMU Instance on SL 6 (alpha 3) LXer Syndicated Linux News 2 01-01-2011 06:42 AM

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

All times are GMT -5. The time now is 10:31 AM.

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