qemu-system-arm crash at startup with -usbdevice
Public bug reported:
This happens with official 1.2.0 version, but I reproduce the same issue with the main git branch
On my host:
:~$ lsusb | grep Logi Bus 004 Device 002: ID 046d:c219 Logitech, Inc. Cordless RumblePad 2
:~$ qemu/arm-softmmu/qemu-system-arm -kernel output/images/uImage -initrd output/images/rootfs.cpio -M vexpress-a9 -serial stdio -append "console=ttyAMA0" -net nic -net tap,script=$SCRIPTS/qemu-ifup,downscript=$SCRIPTS/qemu-ifdown -m 1024 -usbdevice host:046d:c219
Segmentation fault
** Affects: qemu
Importance: Undecided
Status: New
Signature · 25 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1056668 Title: qemu-system-arm crash at startup with -usbdevice Status in QEMU: New Bug description: This happens with official 1.2.0 version, but I reproduce the same issue with the main git branch On my host: :~$ lsusb | grep Logi Bus 004 Device 002: ID 046d:c219 Logitech, Inc. Cordless RumblePad 2 :~$ qemu/arm-softmmu/qemu-system-arm -kernel output/images/uImage -initrd output/images/rootfs.cpio -M vexpress-a9 -serial stdio -append "console=ttyAMA0" -net nic -net tap,script=$SCRIPTS/qemu-ifup,downscript=$SCRIPTS/qemu-ifdown -m 1024 -usbdevice host:046d:c219 Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1056668/+subscriptions
Well, it's certainly a bug that we crash (and I'll look into that). However, the vexpress-a9 model does not have any USB controller, so a fix for this bug would just make us print a nicer error message instead of crashing...
Signature · 25 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1056668 Title: qemu-system-arm crash at startup with -usbdevice Status in QEMU: New Bug description: This happens with official 1.2.0 version, but I reproduce the same issue with the main git branch On my host: :~$ lsusb | grep Logi Bus 004 Device 002: ID 046d:c219 Logitech, Inc. Cordless RumblePad 2 :~$ qemu/arm-softmmu/qemu-system-arm -kernel output/images/uImage -initrd output/images/rootfs.cpio -M vexpress-a9 -serial stdio -append "console=ttyAMA0" -net nic -net tap,script=$SCRIPTS/qemu-ifup,downscript=$SCRIPTS/qemu-ifdown -m 1024 -usbdevice host:046d:c219 Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1056668/+subscriptions
Quoted 5 lines · Peter Maydell
Well, it's certainly a bug that we crash (and I'll look into that). However, the vexpress-a9 model does not have any USB controller, so a fix for this bug would just make us print a nicer error message instead of crashing...
Yes indeed, is there supported a9 board with a USB controller ? I would make the test as well
Many thanks
Thierry
Signature · 25 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1056668 Title: qemu-system-arm crash at startup with -usbdevice Status in QEMU: New Bug description: This happens with official 1.2.0 version, but I reproduce the same issue with the main git branch On my host: :~$ lsusb | grep Logi Bus 004 Device 002: ID 046d:c219 Logitech, Inc. Cordless RumblePad 2 :~$ qemu/arm-softmmu/qemu-system-arm -kernel output/images/uImage -initrd output/images/rootfs.cpio -M vexpress-a9 -serial stdio -append "console=ttyAMA0" -net nic -net tap,script=$SCRIPTS/qemu-ifup,downscript=$SCRIPTS/qemu-ifdown -m 1024 -usbdevice host:046d:c219 Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1056668/+subscriptions
I'm afraid not -- there isn't currently any A9 model with either USB or PCI (for plugging in a PCI usb controller). (There are a few models of boards where the hardware has a USB controller but we don't have a model of it, including the vexpress-a9, but that doesn't help unless anybody writes the usb controller model.)
Signature · 25 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1056668 Title: qemu-system-arm crash at startup with -usbdevice Status in QEMU: New Bug description: This happens with official 1.2.0 version, but I reproduce the same issue with the main git branch On my host: :~$ lsusb | grep Logi Bus 004 Device 002: ID 046d:c219 Logitech, Inc. Cordless RumblePad 2 :~$ qemu/arm-softmmu/qemu-system-arm -kernel output/images/uImage -initrd output/images/rootfs.cpio -M vexpress-a9 -serial stdio -append "console=ttyAMA0" -net nic -net tap,script=$SCRIPTS/qemu-ifup,downscript=$SCRIPTS/qemu-ifdown -m 1024 -usbdevice host:046d:c219 Segmentation fault To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1056668/+subscriptions