From: Gordan Bobic Subject: Re: =?utf-8?q?Bug_in_usbdevices_option_handling_when_BusI?= =?utf-8?b?RD04?= Date: Tue, 06 Aug 2013 10:25:56 +0100 Message-ID: <514eacfa5e058d06abcdfc52ee9fd8e1@mail.shatteredsilicon.net> References: "\"<51FE362A.3000300@bobich.net> <1375687784.15681.84.camel@dagon.hellion.org.uk>" " <51FFFAE8.1000206@bobich.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Anthony PERARD , Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 6 Aug 2013 10:24:09 +0100, George Dunlap wrote: > On Mon, Aug 5, 2013 at 8:20 PM, Gordan Bobic > wrote: >> On 08/05/2013 02:22 PM, George Dunlap wrote: >>> >>> On Mon, Aug 5, 2013 at 8:29 AM, Ian Campbell >>> >>> wrote: >>>> >>>> On Sun, 2013-08-04 at 12:08 +0100, Gordan Bobic wrote: >>>>> >>>>> At a glance, this looks like something buggy happens when >>>>> BusID=8. It >>>>> sees that the device is host:008.002, but then goes and tries to >>>>> open >>>>> /dev/bus/usb/000/002 instead of /dev/bus/usb/008/002. >>>> >>>> >>>> Smells like a bitmask gone wrong somewhere, or something like >>>> that. >>>> >>>> xl/libxl doesn't really do much with the string which you passed >>>> in so >>>> it should be going straight to qemu unmodified. You ought to be >>>> able to >>>> see this in the logs I think. >>> >>> >>> Or using ps -ax -- what does that show the command-line to be? >> >> >> It looks like a qemu-traditional (qemu-dm) issue: >> >> # grep usb /var/log/xen/qemu-dm-edi.log >> >> husb: open device 0.2 >> /dev/bus/usb/000/002: No such file or directory >> >> # ps auxw | grep qemu >> root 8364 4.4 0.0 239132 8880 ? SLsl 20:16 0:07 >> /usr/lib/xen/bin/qemu-dm -d 1 -domain-name edi -vnc 127.0.0.1:0 >> -vncunused >> -k en-gb -serial pty -videoram 8 -std-vga -boot c -usb -usbdevice >> host:008.002 -acpi -vcpus 8 -vcpu_avail 0xff -net >> nic,vlan=0,macaddr=00:16:3e:4e:c5:0c,model=e1000 -net >> tap,vlan=0,ifname=vif1.0-emu,bridge=br0,script=no,downscript=no -M >> xenfv > > Could you test qemu-xen with configuration, to test to see if it > works? If it doesn't we probably need to report this upstream -- > otherwise it's just a matter of fixing it in our tree. I'll have to rebuild my packages to test that - my build only includes qemu-dm. Gordan