Serge,
I will rerun tests and send results this morning.
Regards
Roy
Roy Carter
- Sent from mobile phone -
----- Reply message -----
From: "Serge Hallyn" <email address hidden>
Date: Fri, May 27, 2011 04:37
Subject: [Bug 787091] Re: Unable to use USB device in KVM quest
To: <email address hidden>
Thanks. Unfortunately the strace output didn't show kvm trying to
access the usb device at all, and the status info doesn't show anything.
DAC should not be preventing this access.
To be sure I'm understanding correctly - you see no apparmor errors at
all in your syslog any more since you added your new rules, right?
I have been trying for some considerable time to get a Windows XP
guest to recognise a USB Canon printer. I have searched google
endlessly and applied a number of changes to apparmor profiles. I am
still not able to get the guest to recognise that there a USB device
attached. I was originally getting repeated messages in kern.log as
below but the apparmor changes did resolve these:
I am now left with messages in the VM log file as follows which I
cannot find a solution for:
char device redirected to /dev/pts/5
usb_create: no bus specified, using "usb.0" for "usb-host"
husb: open device 1.4
/dev/bus/usb/001/004: Operation not permitted
husb: open device 1.4
/dev/bus/usb/001/004: Operation not permitted
husb: open device 1.4
This is a fairly basic requirement and hopefully a solution already exists.
Serge,
I will rerun tests and send results this morning.
Regards
Roy
Roy Carter
- Sent from mobile phone -
----- Reply message -----
From: "Serge Hallyn" <email address hidden>
Date: Fri, May 27, 2011 04:37
Subject: [Bug 787091] Re: Unable to use USB device in KVM quest
To: <email address hidden>
Thanks. Unfortunately the strace output didn't show kvm trying to
access the usb device at all, and the status info doesn't show anything.
DAC should not be preventing this access.
To be sure I'm understanding correctly - you see no apparmor errors at
all in your syslog any more since you added your new rules, right?
-- /bugs.launchpad .net/bugs/ 787091
You received this bug notification because you are a direct subscriber
of the bug.
https:/
Title:
Unable to use USB device in KVM quest
Status in “qemu-kvm” package in Ubuntu:
New
Bug description:
Binary package hint: qemu-kvm
Ubuntu 10.04 Server:
I have been trying for some considerable time to get a Windows XP
guest to recognise a USB Canon printer. I have searched google
endlessly and applied a number of changes to apparmor profiles. I am
still not able to get the guest to recognise that there a USB device
attached. I was originally getting repeated messages in kern.log as
below but the apparmor changes did resolve these:
May 22 08:01:51 vmserver kernel: [424696.858434] type=1503 1306047711. 654:81239) : operation="open" pid=19695 parent=1 "libvirt- 629433c8- 3714-561b- 8e91-4a8a9bb65b 9f" mask="r: :" denied_mask="r::" fsuid=0 ouid=0 "/sys/devices/ pci0000: 00/0000: 00:05.0/ 0000:02: 00.0/usb8/ devnum"
audit(
profile=
requested_
name=
I am now left with messages in the VM log file as follows which I
cannot find a solution for:
char device redirected to /dev/pts/5 bus/usb/ 001/004: Operation not permitted bus/usb/ 001/004: Operation not permitted
usb_create: no bus specified, using "usb.0" for "usb-host"
husb: open device 1.4
/dev/
husb: open device 1.4
/dev/
husb: open device 1.4
This is a fairly basic requirement and hopefully a solution already exists.
ProblemType: Bug 0ubuntu16+ 0.12.3+ noroms+ 0ubuntu9. 6 gnature: Ubuntu 2.6.32-31.61-server 2.6.32.32+drm33.14 Modules: fglrx edia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
DistroRelease: Ubuntu 10.04
Package: kvm 1:84+dfsg-
ProcVersionSi
Uname: Linux 2.6.32-31-server x86_64
NonfreeKernel
Architecture: amd64
Date: Mon May 23 17:33:39 2011
InstallationM
KvmCmdLine:
UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
root 3604 1 25 188376 364400 1 15:55 ? 00:24:30 /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 512 -smp 2,cores=2 -name Trixbox2.8 -uu=