Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-05-2014, 02:02 AM
|
#1
|
Member
Registered: Jul 2011
Posts: 49
Rep:
|
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 ?
|
|
|
01-05-2014, 02:44 AM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
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.
|
01-05-2014, 03:57 AM
|
#3
|
Member
Registered: Jul 2011
Posts: 49
Original Poster
Rep:
|
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'
|
|
|
01-05-2014, 05:16 AM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
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
|
|
|
01-05-2014, 05:44 AM
|
#5
|
Member
Registered: Jul 2011
Posts: 49
Original Poster
Rep:
|
Code:
root@darkstar:/usr/local/bin/newKVM# qemu-system-x86_64 --version
QEMU emulator version 1.6.1, Copyright (c) 2003-2008 Fabrice Bellard
|
|
|
01-05-2014, 12:51 PM
|
#6
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
I've seen this problem too.
|
|
|
01-06-2014, 12:57 PM
|
#7
|
Member
Registered: Jul 2011
Posts: 49
Original Poster
Rep:
|
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.
|
|
|
01-06-2014, 02:25 PM
|
#8
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860
|
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.
|
|
|
01-06-2014, 03:08 PM
|
#9
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
I cannot try to install Red Hat Enterprise as I'm not a Red Hat customer, but CentOS worked.
|
|
|
01-06-2014, 07:11 PM
|
#10
|
Member
Registered: Jul 2011
Posts: 49
Original Poster
Rep:
|
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'
|
|
|
01-16-2014, 07:11 AM
|
#11
|
LQ Newbie
Registered: Sep 2008
Location: Varna, Bulgaria
Posts: 9
Rep:
|
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?
|
|
|
01-16-2014, 07:23 AM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
Quote:
Originally Posted by uBoTo
|
maybe you just need to reboot.
|
|
|
01-16-2014, 01:19 PM
|
#13
|
LQ Newbie
Registered: Sep 2008
Location: Varna, Bulgaria
Posts: 9
Rep:
|
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.
|
|
|
01-19-2014, 05:11 PM
|
#14
|
Senior Member
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,269
|
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
|
|
|
01-23-2014, 11:43 AM
|
#15
|
Member
Registered: Jan 2011
Distribution: Slackware
Posts: 128
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 10:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|