Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2012-02-16 Thread Royston Carter
Hendrik, The issue I had was due to cgroup and unmounting it did fix the issue. There had also been discussion about Aparmor but I would raise an issue if I were you Regards Roy Sent from my iPad On 16 Feb 2012, at 21:30, Hendrik Friedel hen_m...@web.de wrote: Hello, I am experiencing

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-06 Thread Royston Carter
Serge, Thanks again for your assistance with this. I will leave cgroup un-mounted for now as I do not believe I lose anything by doing so. After all this effort I suspect the lack of qemu USB2 support will be a show stopper anyway Best regards Roy Sent from my iPad On 6 Jul 2011, at 00:08,

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-06 Thread Royston Carter
Serge, Thanks again for your assistance with this. I will leave cgroup un-mounted for now as I do not believe I lose anything by doing so. After all this effort I suspect the lack of qemu USB2 support will be a show stopper anyway Best regards Roy Sent from my iPad On 6 Jul 2011, at 00:08,

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-05 Thread Royston Carter
Serge, I have commented out the cgroup line in fstab and rebooted. My Virtual machine is now able to see my USB printer ! Regards Roy On 05/07/2011 14:07, Serge Hallyn wrote: Quoting Royston Carter (787...@bugs.launchpad.net): Serge, I have uncommented the cgroup_controllers line out

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-04 Thread Royston Carter
Serge, I have uncommented the cgroup_controllers line out of qemu.conf and rebooted but still have the problem. I will attach this file and the xmldump of the vm. Is there a way of completely taking cgroup out of the picture. I believe I mounted this when I was experimenting with LXC but I no

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-04 Thread Royston Carter
** Attachment added: qemu.conf https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2190371/+files/qemu.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787091 Title:

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-04 Thread Royston Carter
** Attachment added: WindowsXP.xml https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2190374/+files/WindowsXP.xml -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787091

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-01 Thread Royston Carter
Serge, Have more or less done as requested and attached results. Your line cat /cgroup/libvirt/qemu/WindowsXP would not work as this is a directory so I improvised a little. Regards Roy ** Attachment added: cgroup.info

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-07-01 Thread Royston Carter
Serge, I will try this Monday. Regards Roy Sent from my iPad On 1 Jul 2011, at 14:40, Serge Hallyn 787...@bugs.launchpad.net wrote: Thanks, Roy. I'm sorry, this shoudl have occurred to me much sooner. Just to make absolutely sure, could you add the following to the bottom of your

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-30 Thread Royston Carter
Serge, Results of kernel probe attached. Roy ** Attachment added: kernlogextract.gz https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2185400/+files/kernlogextract.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-30 Thread Royston Carter
Serge, I have added the output to the call. Regards Roy On 30/06/2011 14:20, Serge Hallyn wrote: Please download this file and extract it using tar zxf openeperm_kprobe.tar.gz Then you'll need to install a few prerequisites: apt-get install make gcc

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-29 Thread Royston Carter
Serge, See below. The open program opens it and gets file ID 3 as one would expect. Whilst running this the VM is outputting the not permitted message on the same device. So root can open but libvirt cannot! root@vmserver:/tmp# lsusb Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-29 Thread Royston Carter
Serge, OK, thanks for your efforts on this. Regards Roy Sent from my iPad On 29 Jun 2011, at 18:49, Serge Hallyn 787...@bugs.launchpad.net wrote: Thanks, Roy. I'm trying to come up with a working systemtap script to figure out why the kernel gives -EPERM. Unfortunately it seems touch-

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-27 Thread Royston Carter
Further to my previous comment, I have tried another printer which appears to install and work OK. Main difference I suspect is that this is an older printer and possibly USB 1.1 whereas the first printer I tries may possible only be USB 2.0. -- You received this bug notification because you are

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-27 Thread Royston Carter
Further to my previous comment, I have tried another printer which appears to install and work OK. Main difference I suspect is that this is an older printer and possibly USB 1.1 whereas the first printer I tries may possible only be USB 2.0. -- You received this bug notification because you are

[Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-06-26 Thread Royston Carter
I have had the opportunity to try this issue on an Intel based machine (I have attached the output of lshw). The issues does appear to be the same on this environment. i only have access to this for 1 day but I would be able to try alternative kernel if required. Regards Roy ** Attachment

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-26 Thread Royston Carter
I have had the opportunity to try this issue on an Intel machine and have attached the output of an lshw of this machine for information. From an original installation of Lucid Server I was able to get a Windows XP VM to recognise a USB printer. I applied all updates and still the printer us

[Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-06-26 Thread Royston Carter
I have had the opportunity to try this issue on an Intel based machine (I have attached the output of lshw). The issues does appear to be the same on this environment. i only have access to this for 1 day but I would be able to try alternative kernel if required. Regards Roy ** Attachment

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-26 Thread Royston Carter
I have had the opportunity to try this issue on an Intel machine and have attached the output of an lshw of this machine for information. From an original installation of Lucid Server I was able to get a Windows XP VM to recognise a USB printer. I applied all updates and still the printer us

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-22 Thread Royston Carter
Serge, Any more thoughts on this one, it causes me some significant issues so I would really like to get to the bottom of it if possible. Regards Roy Sent from my iPad On 17 Jun 2011, at 22:22, Serge Hallyn 787...@bugs.launchpad.net wrote: Since KVM is running as root and the device is

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-22 Thread Royston Carter
Serge, Unfortunately I have only one vm capable host which is my main machine, firewall, PBS, family desktop etc. It is an AMD Phenom II, the only other kit I have is not 64bit and has no virtualisation capabilities. I am reluctant therefore to risk this unless there in no other way forward.

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-22 Thread Royston Carter
Serge, I would add that the system runs on software raid with LVM2 and it would seem that simply taking a full backup and restoring after trying alternative Kernel. is also non-trivial. Roy On 22/06/2011 14:02, Serge Hallyn wrote: Do you have a system on which you could test either with

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-22 Thread Royston Carter
Serge, Any more thoughts on this one, it causes me some significant issues so I would really like to get to the bottom of it if possible. Regards Roy Sent from my iPad On 17 Jun 2011, at 22:22, Serge Hallyn 787...@bugs.launchpad.net wrote: Since KVM is running as root and the device is

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-22 Thread Royston Carter
Serge, Unfortunately I have only one vm capable host which is my main machine, firewall, PBS, family desktop etc. It is an AMD Phenom II, the only other kit I have is not 64bit and has no virtualisation capabilities. I am reluctant therefore to risk this unless there in no other way forward.

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-22 Thread Royston Carter
Serge, I would add that the system runs on software raid with LVM2 and it would seem that simply taking a full backup and restoring after trying alternative Kernel. is also non-trivial. Roy On 22/06/2011 14:02, Serge Hallyn wrote: Do you have a system on which you could test either with

Re: [Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-06-20 Thread Royston Carter
Seb, I am afraid I shied away from trying the kernel that Serge suggested. This is my main (and only) machine and I did ot feel sufficiently confident with backing out the alternate kernel. I have a workaround for the problem by adding kernel parameters to instruct the guest to use

Re: [Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-06-20 Thread Royston Carter
Seb, I am afraid I shied away from trying the kernel that Serge suggested. This is my main (and only) machine and I did ot feel sufficiently confident with backing out the alternate kernel. I have a workaround for the problem by adding kernel parameters to instruct the guest to use

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-19 Thread Royston Carter
Serge, Done but no difference. Apparmor_status reports: apparmor module is loaded. apparmor file system not loaded Still get not permitted error. Did this with android phone in debug mode to avoid any cups related issue. Regards Roy Sent from my iPad On 17 Jun 2011, at 22:22, Serge Hallyn

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-19 Thread Royston Carter
Serge, Done but no difference. Apparmor_status reports: apparmor module is loaded. apparmor file system not loaded Still get not permitted error. Did this with android phone in debug mode to avoid any cups related issue. Regards Roy Sent from my iPad On 17 Jun 2011, at 22:22, Serge Hallyn

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-17 Thread Royston Carter
Serge, I will give it a go and get back to you Regards Roy Sent from my iPad On 17 Jun 2011, at 22:22, Serge Hallyn 787...@bugs.launchpad.net wrote: Since KVM is running as root and the device is owned by root (and ACL gives 'user:rw' perms), I don't think the ACLs are to blame. Could

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-17 Thread Royston Carter
Serge, I will give it a go and get back to you Regards Roy Sent from my iPad On 17 Jun 2011, at 22:22, Serge Hallyn 787...@bugs.launchpad.net wrote: Since KVM is running as root and the device is owned by root (and ACL gives 'user:rw' perms), I don't think the ACLs are to blame. Could

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-13 Thread Royston Carter
I have just also tried an Android phone in debugging mode connecting via USB to a Scientific 6.0 host. The results are consistent, /dev/bus/usb/003/003: Operation not permitted repeated in guest log and no sign of device in guest. Roy -- You received this bug notification because you are a

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-13 Thread Royston Carter
I have just also tried an Android phone in debugging mode connecting via USB to a Scientific 6.0 host. The results are consistent, /dev/bus/usb/003/003: Operation not permitted repeated in guest log and no sign of device in guest. Roy -- You received this bug notification because you are a

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-08 Thread Royston Carter
Serge, I nite this device has extended attributes (ACL), any relevance? ls -l /dev/bus/usb/001/004 crw-rw-r--+ 1 root root 189, 3 2011-06-07 11:31 /dev/bus/usb/001/004 getfacl /dev/bus/usb/001/004 # file: dev/bus/usb/001/004 # owner: root # group: root user::rw- user:rpcarter:rw- group::rw-

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-08 Thread Royston Carter
Serge, I nite this device has extended attributes (ACL), any relevance? ls -l /dev/bus/usb/001/004 crw-rw-r--+ 1 root root 189, 3 2011-06-07 11:31 /dev/bus/usb/001/004 getfacl /dev/bus/usb/001/004 # file: dev/bus/usb/001/004 # owner: root # group: root user::rw- user:rpcarter:rw- group::rw-

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, Done as requested but no change. I no longer get my host reporting that it has seen a new printer but the KVM guest still does not see the device. The log file is still showing operation not permitted on a regular basis. Any other thoughts? Regards Roy Sent from my iPad On 1 Jun

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, I already have rapper in place to give me multi-core capability so I will edit this to add the strace as requested. Regards Roy Sent from my iPad On 7 Jun 2011, at 15:57, Serge Hallyn 787...@bugs.launchpad.net wrote: Quoting Royston Carter (787...@bugs.launchpad.net): Serge, Done

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
from my iPad On 7 Jun 2011, at 15:57, Serge Hallyn 787...@bugs.launchpad.net wrote: Quoting Royston Carter (787...@bugs.launchpad.net): Serge, Done as requested but no change. I no longer get my host reporting that it has seen a new printer but the KVM guest still does not see the device

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
STRACE extract added as requested ** Attachment added: strace-kvm.8845.out.gz https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2159416/+files/strace-kvm.8845.out.gz -- You received this bug notification because you are a member of Ubuntu Server Team, which is

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, My wrap is similar to the one you had suggested. I use virt-manager which lacks some capability in particular i wanted to pass multiple core to guests. The wrap makes no odds though as I have the same result when I do nots use it. Regards Roy Sent from my iPad On 7 Jun 2011, at

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Results of apparmor-parsor attached as requested ** Attachment added: apparmor-parser.out https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2160005/+files/apparmor-parser.out -- You received this bug notification because you are a member of Ubuntu Server Team, which

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Jamie, Attached to call as requested. Is there not a way to put apparmor into a complain mode rather than enforce to rule this out once and for all? Regards Roy Sent from my iPad On 7 Jun 2011, at 21:24, Jamie Strandboge ja...@ubuntu.com wrote: Roysten, Can you provide the output of the

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, I do not see anything different i'm afraid. Regards Roy Sent from my iPad On 7 Jun 2011, at 21:30, Serge Hallyn 787...@bugs.launchpad.net wrote: Please also disable kernel print rate limiting (just to be sure) by doing sysctl -w kernel.printk_ratelimit=0 -- You received this

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, Done as requested but no change. I no longer get my host reporting that it has seen a new printer but the KVM guest still does not see the device. The log file is still showing operation not permitted on a regular basis. Any other thoughts? Regards Roy Sent from my iPad On 1 Jun

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, I already have rapper in place to give me multi-core capability so I will edit this to add the strace as requested. Regards Roy Sent from my iPad On 7 Jun 2011, at 15:57, Serge Hallyn 787...@bugs.launchpad.net wrote: Quoting Royston Carter (787...@bugs.launchpad.net): Serge, Done

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
from my iPad On 7 Jun 2011, at 15:57, Serge Hallyn 787...@bugs.launchpad.net wrote: Quoting Royston Carter (787...@bugs.launchpad.net): Serge, Done as requested but no change. I no longer get my host reporting that it has seen a new printer but the KVM guest still does not see the device

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
STRACE extract added as requested ** Attachment added: strace-kvm.8845.out.gz https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2159416/+files/strace-kvm.8845.out.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, My wrap is similar to the one you had suggested. I use virt-manager which lacks some capability in particular i wanted to pass multiple core to guests. The wrap makes no odds though as I have the same result when I do nots use it. Regards Roy Sent from my iPad On 7 Jun 2011, at

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Results of apparmor-parsor attached as requested ** Attachment added: apparmor-parser.out https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2160005/+files/apparmor-parser.out -- You received this bug notification because you are a member of Ubuntu Bugs, which is

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Jamie, Attached to call as requested. Is there not a way to put apparmor into a complain mode rather than enforce to rule this out once and for all? Regards Roy Sent from my iPad On 7 Jun 2011, at 21:24, Jamie Strandboge ja...@ubuntu.com wrote: Roysten, Can you provide the output of the

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-06-07 Thread Royston Carter
Serge, I do not see anything different i'm afraid. Regards Roy Sent from my iPad On 7 Jun 2011, at 21:30, Serge Hallyn 787...@bugs.launchpad.net wrote: Please also disable kernel print rate limiting (just to be sure) by doing sysctl -w kernel.printk_ratelimit=0 -- You received this

Re: [Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-06-01 Thread Royston Carter
Serge, I will try this if there is a method by which I can revert to the normal kernel and thereby the normal update cycle? Regards Roy On 01/06/2011 14:23, Serge Hallyn wrote: Quoting Royston Carter (790...@bugs.launchpad.net): Serge, I will do this if there is a foolproof way

Re: [Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-06-01 Thread Royston Carter
Serge, I will try this if there is a method by which I can revert to the normal kernel and thereby the normal update cycle? Regards Roy On 01/06/2011 14:23, Serge Hallyn wrote: Quoting Royston Carter (790...@bugs.launchpad.net): Serge, I will do this if there is a foolproof way

[Bug 790789] [NEW] KVM Guest freezing following Ubuntu update

2011-05-31 Thread Royston Carter
Public bug reported: Binary package hint: qemu-kvm UBUNTU 10.04 AMD 64 bit: I have been running a trixbox 2.8 KVM guest on my system since July 2010. This system has worked flawlessly up until this morning. I had a notification that my system needed a reboot, following which the trixbox guest

[Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-05-31 Thread Royston Carter
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/790789 Title: KVM Guest freezing following Ubuntu update -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com

Re: [Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-05-31 Thread Royston Carter
Serge, I will do this if there is a foolproof way of doing so. This is my main machine that runs a number of VM's so I would need to know there is a sure fire method of testing this new kernel. Happy to follow a reliable link. By the way, other guests seem OK. Trixbox is Centos 5.5 I

[Bug 790789] [NEW] KVM Guest freezing following Ubuntu update

2011-05-31 Thread Royston Carter
Public bug reported: Binary package hint: qemu-kvm UBUNTU 10.04 AMD 64 bit: I have been running a trixbox 2.8 KVM guest on my system since July 2010. This system has worked flawlessly up until this morning. I had a notification that my system needed a reboot, following which the trixbox guest

[Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-05-31 Thread Royston Carter
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790789 Title: KVM Guest freezing following Ubuntu update -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

Re: [Bug 790789] Re: KVM Guest freezing following Ubuntu update

2011-05-31 Thread Royston Carter
Serge, I will do this if there is a foolproof way of doing so. This is my main machine that runs a number of VM's so I would need to know there is a sure fire method of testing this new kernel. Happy to follow a reliable link. By the way, other guests seem OK. Trixbox is Centos 5.5 I

[Bug 790961] [NEW] mount of LVM Snapshot fails.

2011-05-31 Thread Royston Carter
Public bug reported: Binary package hint: lvm2 UBUNTU 10.04 AMD 64 bit. Apologies but I seem to ne raising a few bugs of late! I have a simple script that creates a snapshot of an LVM partition, mounts the snapshot, backs up the snapshot partition, unmounts and then removes the snapshot. I

[Bug 790961] Re: mount of LVM Snapshot fails.

2011-05-31 Thread Royston Carter
** Attachment added: VMBackup.sh https://bugs.launchpad.net/bugs/790961/+attachment/2149842/+files/VMBackup.sh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/790961 Title: mount of LVM Snapshot

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-28 Thread Royston Carter
Output of ls -l /proc/3545/fd ** Attachment added: ls-info https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2145554/+files/ls-info -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-28 Thread Royston Carter
Output of ls -l /proc/3545/fd ** Attachment added: ls-info https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2145554/+files/ls-info -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Serge, I will rerun tests and send results this morning. Regards Roy Roy Carter - Sent from mobile phone - - Reply message - From: Serge Hallyn 787...@bugs.launchpad.net Date: Fri, May 27, 2011 04:37 Subject: [Bug 787091] Re: Unable to use USB device in KVM quest To:

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
At Serge's request. I have run a fresh set of tests with this issue. I rebooted the host with the usb canon mp510 printer attached and turned on. At 11:25am I started the Windows XP VM with virt-manager. The attached tar file contains the outputs of: dmesg /usr/log/libvirt/qemu/VM.log lsusb ls

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Serge, No good I'm afraid. I am still getting repeated /dev/bus/usb/001/002: Operation not permitted in the VM log file. Is it perhaps possible that something else (e.g. the linux printing system) already has exclusive access to these devices? Regards Roy On 27/05/2011 14:43, Serge

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Serge, I get the following, not sure if this is useful. lsof /dev/bus/usb/001/002 lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/rpcarter/.gvfs Output information may be incomplete. Regards Roy On 27/05/2011 15:59, Serge Hallyn wrote: Quoting Royston Carter

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Attachment for: mount df -h /dev/bus/usb/001 ** Attachment added: mountinfo https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2145291/+files/mountinfo -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
attachment for: ps -ef ** Attachment added: psinfo https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2145292/+files/psinfo -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Serge, I will rerun tests and send results this morning. Regards Roy Roy Carter - Sent from mobile phone - - Reply message - From: Serge Hallyn 787...@bugs.launchpad.net Date: Fri, May 27, 2011 04:37 Subject: [Bug 787091] Re: Unable to use USB device in KVM quest To:

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
At Serge's request. I have run a fresh set of tests with this issue. I rebooted the host with the usb canon mp510 printer attached and turned on. At 11:25am I started the Windows XP VM with virt-manager. The attached tar file contains the outputs of: dmesg /usr/log/libvirt/qemu/VM.log lsusb ls

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Serge, No good I'm afraid. I am still getting repeated /dev/bus/usb/001/002: Operation not permitted in the VM log file. Is it perhaps possible that something else (e.g. the linux printing system) already has exclusive access to these devices? Regards Roy On 27/05/2011 14:43, Serge

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Serge, I get the following, not sure if this is useful. lsof /dev/bus/usb/001/002 lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/rpcarter/.gvfs Output information may be incomplete. Regards Roy On 27/05/2011 15:59, Serge Hallyn wrote: Quoting Royston Carter

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
Attachment for: mount df -h /dev/bus/usb/001 ** Attachment added: mountinfo https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2145291/+files/mountinfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-27 Thread Royston Carter
attachment for: ps -ef ** Attachment added: psinfo https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2145292/+files/psinfo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
qemu.conf added as requested ** Attachment added: qemu.conf https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/214/+files/qemu.conf -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
VM.log added as requested ** Attachment added: WindowsXP.log https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2143334/+files/WindowsXP.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Serge, Have added attachments as requested Regards Roy Roy Carter - Sent from mobile phone - - Reply message - From: Serge Hallyn 787...@bugs.launchpad.net Date: Thu, May 26, 2011 01:10 Subject: [Bug 787091] Re: Unable to use USB device in KVM quest To: rpcar...@blueyonder.co.uk

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Requested output of ls -l /dev/bus/usb/001/007 ** Attachment added: usbdevices https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144109/+files/usbdevices -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Output of the following attached: for i in `pidof kvm`; do echo $i statusinfo cat /proc/$i/status statusinfo echo statusinfo done ** Attachment added: statusinfo https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144110/+files/statusinfo -- You received

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
output of the following attached: strace -f -ooutout2 qemu -usb -usbdevice tablet -vnc :7 -vga cirrus -usbdevice host:04a9:1717 ** Attachment added: outout2 https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144111/+files/outout2 -- You received this bug

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
output of the following attached: strace -f -ooutout2 qemu -usb -usbdevice tablet -vnc :7 -vga cirrus -usbdevice host:04a9:1717 ** Attachment added: outout2.gz https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144112/+files/outout2.gz -- You received this bug

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Serge, I believe I have now added the additional items requested. The ID of the device and the connected point is now different, let me know if this confuses things. Regards Roy On 26/05/2011 16:53, Serge Hallyn wrote: Finally (and perhaps most usefully) please do: strace -f -ooutout2

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
qemu.conf added as requested ** Attachment added: qemu.conf https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/214/+files/qemu.conf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
VM.log added as requested ** Attachment added: WindowsXP.log https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2143334/+files/WindowsXP.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Serge, Have added attachments as requested Regards Roy Roy Carter - Sent from mobile phone - - Reply message - From: Serge Hallyn 787...@bugs.launchpad.net Date: Thu, May 26, 2011 01:10 Subject: [Bug 787091] Re: Unable to use USB device in KVM quest To: rpcar...@blueyonder.co.uk

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Requested output of ls -l /dev/bus/usb/001/007 ** Attachment added: usbdevices https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144109/+files/usbdevices -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Output of the following attached: for i in `pidof kvm`; do echo $i statusinfo cat /proc/$i/status statusinfo echo statusinfo done ** Attachment added: statusinfo https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144110/+files/statusinfo -- You received

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
output of the following attached: strace -f -ooutout2 qemu -usb -usbdevice tablet -vnc :7 -vga cirrus -usbdevice host:04a9:1717 ** Attachment added: outout2 https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144111/+files/outout2 -- You received this bug

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
output of the following attached: strace -f -ooutout2 qemu -usb -usbdevice tablet -vnc :7 -vga cirrus -usbdevice host:04a9:1717 ** Attachment added: outout2.gz https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2144112/+files/outout2.gz -- You received this bug

Re: [Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-26 Thread Royston Carter
Serge, I believe I have now added the additional items requested. The ID of the device and the connected point is now different, let me know if this confuses things. Regards Roy On 26/05/2011 16:53, Serge Hallyn wrote: Finally (and perhaps most usefully) please do: strace -f -ooutout2

[Bug 787091] [NEW] Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
Public bug reported: 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

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: WindowsXP.log https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2139893/+files/WindowsXP.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: libvirt-qemu https://bugs.launchpad.net/bugs/787091/+attachment/2139878/+files/libvirt-qemu -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/787091 Title:

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: libvirt-qemu https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2139891/+files/libvirt-qemu -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu.

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: usr.lib.libvirt.virt-aa-helper https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2139890/+files/usr.lib.libvirt.virt-aa-helper -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: libvirt-qemu https://bugs.launchpad.net/bugs/787091/+attachment/2139878/+files/libvirt-qemu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787091 Title: Unable to use USB

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: libvirt-qemu https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2139891/+files/libvirt-qemu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787091

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: WindowsXP.log https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2139893/+files/WindowsXP.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/787091

[Bug 787091] Re: Unable to use USB device in KVM quest

2011-05-23 Thread Royston Carter
** Attachment added: usr.lib.libvirt.virt-aa-helper https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/787091/+attachment/2139890/+files/usr.lib.libvirt.virt-aa-helper -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

  1   2   >