UHCI Host Controller no longer present with -usb

Bug #897466 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Expired
Undecided
Unassigned
qemu-kvm (Ubuntu)
Expired
Medium
Unassigned
Precise
Expired
Medium
Unassigned

Bug Description

If on an up to date 12.04 install and I start a VM with:
$ qemu -m 192 -serial none -chardev null,id=chardevmon -pidfile /tmp/pid -daemonize -nographic -monitor tcp:127.0.0.1:4444,server,nowait -net user,hostfwd=tcp:127.0.0.1:4422-:22 -usb -rtc base=utc -name qatest-vm -uuid ded3a46b-bb60-43f4-8113-d041aeb93cdf -hda libvirt/qatest/qatest.qcow2

Then use the 'info usbhost' in the monitor, I get:
$ echo 'info usbhost' | nc -q 1 127.0.0.1 4444
(qemu) info usbhost
husb: using sys file-system with /dev/bus/usb
$

In Oneiric and eariler, 'info usbhost' would show a UHCI Host Controller. Eg:
$ qemu -m 192 -serial none -chardev null,id=chardevmon -pidfile /tmp/pid -daemonize -nographic -monitor tcp:127.0.0.1:4444,server,nowait -net user,hostfwd=tcp:127.0.0.1:4422-:22 -usb -rtc base=utc -name qatest-vm -uuid ded3a46b-bb60-43f4-8113-d041aeb93cdf -hda libvirt/qatest/qatest.qcow2
$ echo 'info usbhost' | nc -q 1 127.0.0.1 4444
QEMU 0.14.1 monitor - type 'help' for more information
(qemu) info usbhost
husb: using sys file-system with /dev/bus/usb
  Device 1.1, speed 12 Mb/s
    Hub: USB device 1d6b:0001, UHCI Host Controller

This breaks QRT/scripts/test-qemu.py and appears to be a regression, but I am not sure if it is a 3.2 kernel issue or a 0.14.1 vs 0.15 issue. I should mention this is happening with qemu without /dev/kvm available (ie, I am running test-qemu.py in an up to date precise VM).

description: updated
description: updated
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

hm, i couldn't reproduce this with 0.15.0+noroms-0ubuntu2 on top of 3.2.0-1-generic

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

also couldn't reproduce it after an upgrade just now.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I did a dist-upgrade and this is still reproducible:
$ uname -a
Linux sec-precise-i386 3.2.0-2-generic #5-Ubuntu SMP Mon Nov 28 18:09:32 UTC 2011 i686 i686 i386 GNU/Linux
$ dpkg -l | grep qemu
ii qemu-common 0.15.0+noroms-0ubuntu6 qemu common functionality (bios, documentation, etc)
ii qemu-kvm 0.15.0+noroms-0ubuntu6 Full virtualization on i386 and amd64 hardware
ii qemu-utils 0.15.0+noroms-0ubuntu6 qemu utilities

My testing is: my amd64 Oneiric kvm laptop boots an i386 12.04 non-kvm guest which boots a minimal install i386 6.06 image. All of this is verified to work when booting an i386 11.10 non-kvm guest (which boots the same 6.06 image).

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

oh, sorry, i'll try without kvm.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Ok, I see now - other usb devices are there, but not the EHCI or UHCI controller.

Changed in qemu-kvm (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

there have been quite a few changes upstream to the usb code. I'm building latest qemu-kvm to test with.

Changed in qemu-kvm (Ubuntu Precise):
importance: Undecided → Medium
description: updated
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Latest qemu-kvm from upstream has the same problem.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Reproduced with today's qemu git head as well.

Revision history for this message
Thomas Huth (th-huth) wrote :

Looking through old bug tickets... is this still an issue with the latest version of QEMU, or could we close this ticket nowadays?

Changed in qemu:
status: New → Incomplete
Changed in qemu-kvm (Ubuntu):
status: Confirmed → Incomplete
Changed in qemu-kvm (Ubuntu Precise):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qemu-kvm (Ubuntu) because there has been no activity for 60 days.]

Changed in qemu-kvm (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qemu-kvm (Ubuntu Precise) because there has been no activity for 60 days.]

Changed in qemu-kvm (Ubuntu Precise):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.