All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1440843] [NEW] Guest WinXP crashes when trying to use a USB spectrometer
@ 2015-04-06 18:59 Ruslan
  2015-04-21  7:03 ` [Qemu-devel] [Bug 1440843] " Erik Rull
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ruslan @ 2015-04-06 18:59 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I'm using Amadeus spectrometer (OceanOptics USB250) via Windows-based
software "Quantum". I've tried six ways of attaching it to QEMU:

1. command line parameter "-device usb-host,hostbus=3,hostaddr=25"
2. command line parameter "-device usb-host,vendorid=0x2457,productid=0x1030"
3. command line parameter "-usbdevice host:2457:1030
4. command line parameter "-usbdevice host:3.25"
5. qemu console command "usb_add host:2457:1030"
5. qemu console command "usb_add host:3.25"

>From these, only "-device ..." options work, i.e. numbers 1 and 2 in the
list above, and all others lead to IRQL_NOT_LESS_OR_EQUAL BSOD in
usbuhci.sys when I launch Quantum, which tries to start acquiring
spectra.

I've also tried to reproduce the crash with a flash drive, but couldn't
— it seems to work reliably in this case.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1440843

Title:
  Guest WinXP crashes when trying to use a USB spectrometer

Status in QEMU:
  New

Bug description:
  I'm using Amadeus spectrometer (OceanOptics USB250) via Windows-based
  software "Quantum". I've tried six ways of attaching it to QEMU:

  1. command line parameter "-device usb-host,hostbus=3,hostaddr=25"
  2. command line parameter "-device usb-host,vendorid=0x2457,productid=0x1030"
  3. command line parameter "-usbdevice host:2457:1030
  4. command line parameter "-usbdevice host:3.25"
  5. qemu console command "usb_add host:2457:1030"
  5. qemu console command "usb_add host:3.25"

  From these, only "-device ..." options work, i.e. numbers 1 and 2 in
  the list above, and all others lead to IRQL_NOT_LESS_OR_EQUAL BSOD in
  usbuhci.sys when I launch Quantum, which tries to start acquiring
  spectra.

  I've also tried to reproduce the crash with a flash drive, but
  couldn't — it seems to work reliably in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1440843/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1440843] Re: Guest WinXP crashes when trying to use a USB spectrometer
  2015-04-06 18:59 [Qemu-devel] [Bug 1440843] [NEW] Guest WinXP crashes when trying to use a USB spectrometer Ruslan
@ 2015-04-21  7:03 ` Erik Rull
  2015-04-21  7:31 ` Ruslan
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Erik Rull @ 2015-04-21  7:03 UTC (permalink / raw)
  To: qemu-devel

Which version is used? Try the latest QEMU or at least QEMU 2.0.
The behavior sounds like a pretty old QEMU version.
Additionally, enable the EHCI controller (see example in the docs subdirectory).
It it working on a native Windows XP?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1440843

Title:
  Guest WinXP crashes when trying to use a USB spectrometer

Status in QEMU:
  New

Bug description:
  I'm using Amadeus spectrometer (OceanOptics USB250) via Windows-based
  software "Quantum". I've tried six ways of attaching it to QEMU:

  1. command line parameter "-device usb-host,hostbus=3,hostaddr=25"
  2. command line parameter "-device usb-host,vendorid=0x2457,productid=0x1030"
  3. command line parameter "-usbdevice host:2457:1030
  4. command line parameter "-usbdevice host:3.25"
  5. qemu console command "usb_add host:2457:1030"
  5. qemu console command "usb_add host:3.25"

  From these, only "-device ..." options work, i.e. numbers 1 and 2 in
  the list above, and all others lead to IRQL_NOT_LESS_OR_EQUAL BSOD in
  usbuhci.sys when I launch Quantum, which tries to start acquiring
  spectra.

  I've also tried to reproduce the crash with a flash drive, but
  couldn't — it seems to work reliably in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1440843/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1440843] Re: Guest WinXP crashes when trying to use a USB spectrometer
  2015-04-06 18:59 [Qemu-devel] [Bug 1440843] [NEW] Guest WinXP crashes when trying to use a USB spectrometer Ruslan
  2015-04-21  7:03 ` [Qemu-devel] [Bug 1440843] " Erik Rull
@ 2015-04-21  7:31 ` Ruslan
  2015-04-21 17:34 ` Erik Rull
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Ruslan @ 2015-04-21  7:31 UTC (permalink / raw)
  To: qemu-devel

I was using QEMU from git, v2.3.0-rc2, when reporting this bug. And this
is the same since much earlier (about a year older) version. And of
course I do enable EHCI controller via `-device usb-ehci`. And checked
it with native Windows XP, where the device works with no problem.
Actually, as I said in OP, `-device hsb-host,...` options work in QEMU
too, but the others like `-usbdevice host...` and `usb_add host...`
don't.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1440843

Title:
  Guest WinXP crashes when trying to use a USB spectrometer

Status in QEMU:
  New

Bug description:
  I'm using Amadeus spectrometer (OceanOptics USB250) via Windows-based
  software "Quantum". I've tried six ways of attaching it to QEMU:

  1. command line parameter "-device usb-host,hostbus=3,hostaddr=25"
  2. command line parameter "-device usb-host,vendorid=0x2457,productid=0x1030"
  3. command line parameter "-usbdevice host:2457:1030
  4. command line parameter "-usbdevice host:3.25"
  5. qemu console command "usb_add host:2457:1030"
  5. qemu console command "usb_add host:3.25"

  From these, only "-device ..." options work, i.e. numbers 1 and 2 in
  the list above, and all others lead to IRQL_NOT_LESS_OR_EQUAL BSOD in
  usbuhci.sys when I launch Quantum, which tries to start acquiring
  spectra.

  I've also tried to reproduce the crash with a flash drive, but
  couldn't — it seems to work reliably in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1440843/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1440843] Re: Guest WinXP crashes when trying to use a USB spectrometer
  2015-04-06 18:59 [Qemu-devel] [Bug 1440843] [NEW] Guest WinXP crashes when trying to use a USB spectrometer Ruslan
  2015-04-21  7:03 ` [Qemu-devel] [Bug 1440843] " Erik Rull
  2015-04-21  7:31 ` Ruslan
@ 2015-04-21 17:34 ` Erik Rull
  2015-04-28  5:35 ` Ruslan
  2018-05-09 10:17 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Erik Rull @ 2015-04-21 17:34 UTC (permalink / raw)
  To: qemu-devel

Please check that the devices get added to the EHCI bus and not to the UHCI.
As far as I know the -usb* commands are deprecated. The functions behind the -device usb* and -usb* should behave the same.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1440843

Title:
  Guest WinXP crashes when trying to use a USB spectrometer

Status in QEMU:
  New

Bug description:
  I'm using Amadeus spectrometer (OceanOptics USB250) via Windows-based
  software "Quantum". I've tried six ways of attaching it to QEMU:

  1. command line parameter "-device usb-host,hostbus=3,hostaddr=25"
  2. command line parameter "-device usb-host,vendorid=0x2457,productid=0x1030"
  3. command line parameter "-usbdevice host:2457:1030
  4. command line parameter "-usbdevice host:3.25"
  5. qemu console command "usb_add host:2457:1030"
  5. qemu console command "usb_add host:3.25"

  From these, only "-device ..." options work, i.e. numbers 1 and 2 in
  the list above, and all others lead to IRQL_NOT_LESS_OR_EQUAL BSOD in
  usbuhci.sys when I launch Quantum, which tries to start acquiring
  spectra.

  I've also tried to reproduce the crash with a flash drive, but
  couldn't — it seems to work reliably in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1440843/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1440843] Re: Guest WinXP crashes when trying to use a USB spectrometer
  2015-04-06 18:59 [Qemu-devel] [Bug 1440843] [NEW] Guest WinXP crashes when trying to use a USB spectrometer Ruslan
                   ` (2 preceding siblings ...)
  2015-04-21 17:34 ` Erik Rull
@ 2015-04-28  5:35 ` Ruslan
  2018-05-09 10:17 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Ruslan @ 2015-04-28  5:35 UTC (permalink / raw)
  To: qemu-devel

Indeed, the device appears added to the UHCI in both crashing cases and
to EHCI in the working case. Also, sometimes instead of BSOD of guest OS
I get abort of QEMU:

qemu-system-i386: hw/usb/core.c:735: usb_ep_get: Assertion `pid == 0x69 || pid == 0xe1' failed.
/usr/bin/qemuxp: line 4: 13514 Aborted                 (core dumped) qemu-system-i386 /home/ruslan/iso/Windoze/qemuxp.img -m 512 -display sdl -vga vmware -enable-kvm -usb -device usb-ehci $*

here $* stands for

-snapshot -hdb ~/iso/ntfs-data.img

and the crash was triggered by using usb_add command in QEMU terminal
and then attempting to access the device from WinXP.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1440843

Title:
  Guest WinXP crashes when trying to use a USB spectrometer

Status in QEMU:
  New

Bug description:
  I'm using Amadeus spectrometer (OceanOptics USB250) via Windows-based
  software "Quantum". I've tried six ways of attaching it to QEMU:

  1. command line parameter "-device usb-host,hostbus=3,hostaddr=25"
  2. command line parameter "-device usb-host,vendorid=0x2457,productid=0x1030"
  3. command line parameter "-usbdevice host:2457:1030
  4. command line parameter "-usbdevice host:3.25"
  5. qemu console command "usb_add host:2457:1030"
  5. qemu console command "usb_add host:3.25"

  From these, only "-device ..." options work, i.e. numbers 1 and 2 in
  the list above, and all others lead to IRQL_NOT_LESS_OR_EQUAL BSOD in
  usbuhci.sys when I launch Quantum, which tries to start acquiring
  spectra.

  I've also tried to reproduce the crash with a flash drive, but
  couldn't — it seems to work reliably in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1440843/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1440843] Re: Guest WinXP crashes when trying to use a USB spectrometer
  2015-04-06 18:59 [Qemu-devel] [Bug 1440843] [NEW] Guest WinXP crashes when trying to use a USB spectrometer Ruslan
                   ` (3 preceding siblings ...)
  2015-04-28  5:35 ` Ruslan
@ 2018-05-09 10:17 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2018-05-09 10:17 UTC (permalink / raw)
  To: qemu-devel

"-usbdevice host" and "usb_add host" have been removed with QEMU 2.12,
so marking this bug as Wont-Fix.

** Changed in: qemu
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1440843

Title:
  Guest WinXP crashes when trying to use a USB spectrometer

Status in QEMU:
  Won't Fix

Bug description:
  I'm using Amadeus spectrometer (OceanOptics USB250) via Windows-based
  software "Quantum". I've tried six ways of attaching it to QEMU:

  1. command line parameter "-device usb-host,hostbus=3,hostaddr=25"
  2. command line parameter "-device usb-host,vendorid=0x2457,productid=0x1030"
  3. command line parameter "-usbdevice host:2457:1030
  4. command line parameter "-usbdevice host:3.25"
  5. qemu console command "usb_add host:2457:1030"
  5. qemu console command "usb_add host:3.25"

  From these, only "-device ..." options work, i.e. numbers 1 and 2 in
  the list above, and all others lead to IRQL_NOT_LESS_OR_EQUAL BSOD in
  usbuhci.sys when I launch Quantum, which tries to start acquiring
  spectra.

  I've also tried to reproduce the crash with a flash drive, but
  couldn't — it seems to work reliably in this case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1440843/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-05-09 10:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06 18:59 [Qemu-devel] [Bug 1440843] [NEW] Guest WinXP crashes when trying to use a USB spectrometer Ruslan
2015-04-21  7:03 ` [Qemu-devel] [Bug 1440843] " Erik Rull
2015-04-21  7:31 ` Ruslan
2015-04-21 17:34 ` Erik Rull
2015-04-28  5:35 ` Ruslan
2018-05-09 10:17 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.