Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 327322 Details for
Bug 439540
app-emulation/qemu fails to handle a usb serial port with a specific vendorid - qdev_prop_set: property "usb-serial.vendorid" not found
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
outputs of gdb with backtrace and emerge --info
file_439540.txt (text/plain), 11.81 KB, created by
Rostislav Devyatov
on 2012-10-24 19:11:20 UTC
(
hide
)
Description:
outputs of gdb with backtrace and emerge --info
Filename:
MIME Type:
Creator:
Rostislav Devyatov
Created:
2012-10-24 19:11:20 UTC
Size:
11.81 KB
patch
obsolete
>=====================FIRST WAY TO REPRODUCE: gdb OUTPUT==================== >rostislav@hp_linux ~/my_computer/qemu/vmach1 $ gdb qemu-system-i386 >GNU gdb (Gentoo 7.3.1 p2) 7.3.1 >Copyright (C) 2011 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >For bug reporting instructions, please see: ><http://bugs.gentoo.org/>... >Reading symbols from /usr/bin/qemu-system-i386...Reading symbols from /usr/lib64/debug/usr/bin/qemu-system-i386.debug...done. >done. >(gdb) run -usb -usbdevice serial:vendorid=1221,productid=1331:pty vmach1_v3.qcow2 >Starting program: /usr/bin/qemu-system-i386 -usb -usbdevice serial:vendorid=1221,productid=1331:pty vmach1_v3.qcow2 >warning: Could not load shared library symbols for linux-vdso.so.1. >Do you need "set solib-search-path" or "set sysroot"? >[Thread debugging using libthread_db enabled] >[New Thread 0x7ffff251b700 (LWP 17459)] >[New Thread 0x7ffff1b19700 (LWP 17460)] >char device redirected to /dev/pts/6 >qemu-system-i386: usb_create: no bus specified, using "usb.0" for "usb-serial" > >qdev_prop_set: property "usb-serial.vendorid" not found > >Program received signal SIGABRT, Aborted. >0x00007ffff523ba75 in raise () from /lib64/libc.so.6 >(gdb) bt >#0 0x00007ffff523ba75 in raise () from /lib64/libc.so.6 >#1 0x00007ffff523cd75 in abort () from /lib64/libc.so.6 >#2 0x00000000004d224d in qdev_prop_set (dev=0x1406090, name=0x6ec50f "vendorid", src=0x7fffffffd94c, type=PROP_TYPE_UINT16) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/qdev-properties.c:663 >#3 0x00000000004d2348 in qdev_prop_set_uint16 (dev=<optimized out>, name=<optimized out>, value=4641) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/qdev-properties.c:685 >#4 0x0000000000520b96 in usb_serial_init (filename=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/usb-serial.c:551 >#5 0x0000000000518ebc in usbdevice_create (cmdline=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/usb-bus.c:481 >#6 0x00000000004b0b3d in usb_device_add (devname=0x7fffffffe1b3 "serial:vendorid=1221,productid=1331:pty") at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:1048 >#7 0x00000000004b0bf6 in usb_parse (cmdline=0x7fffffffe1b3 "serial:vendorid=1221,productid=1331:pty") at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:1095 >#8 0x00000000004affc5 in foreach_device_config (type=0, func=0x4b0bd0 <usb_parse>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:1868 >#9 0x00000000004b37f1 in main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:3367 > >=====================SECOND WAY TO REPRODUCE: gdb OUTPUT=================== >rostislav@hp_linux ~/my_computer/qemu/vmach1 $ gdb qemu-system-i386 >GNU gdb (Gentoo 7.3.1 p2) 7.3.1 >Copyright (C) 2011 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. Type "show copying" >and "show warranty" for details. >This GDB was configured as "x86_64-pc-linux-gnu". >For bug reporting instructions, please see: ><http://bugs.gentoo.org/>... >Reading symbols from /usr/bin/qemu-system-i386...Reading symbols from /usr/lib64/debug/usr/bin/qemu-system-i386.debug...done. >done. >(gdb) handle SIG38 nostop noprint pass >Signal Stop Print Pass to program Description >SIG38 No No Yes Real-time event 38 >(gdb) run -usb vmach1_v3.qcow2 >Starting program: /usr/bin/qemu-system-i386 -usb vmach1_v3.qcow2 >warning: Could not load shared library symbols for linux-vdso.so.1. >Do you need "set solib-search-path" or "set sysroot"? >[Thread debugging using libthread_db enabled] >[New Thread 0x7ffff251b700 (LWP 17543)] >[New Thread 0x7ffff1b19700 (LWP 17544)] >[New Thread 0x7fffe726c700 (LWP 17546)] >char device redirected to /dev/pts/6 >qdev_prop_set: property "usb-serial.vendorid" not found > >Program received signal SIGABRT, Aborted. >0x00007ffff523ba75 in raise () from /lib64/libc.so.6 >(gdb) bt >#0 0x00007ffff523ba75 in raise () from /lib64/libc.so.6 >#1 0x00007ffff523cd75 in abort () from /lib64/libc.so.6 >#2 0x00000000004d224d in qdev_prop_set (dev=0x14bc110, name=0x6ec50f "vendorid", src=0x7fffffffd4ec, type=PROP_TYPE_UINT16) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/qdev-properties.c:663 >#3 0x00000000004d2348 in qdev_prop_set_uint16 (dev=<optimized out>, name=<optimized out>, value=4641) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/qdev-properties.c:685 >#4 0x0000000000520b96 in usb_serial_init (filename=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/usb-serial.c:551 >#5 0x0000000000518ebc in usbdevice_create (cmdline=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/hw/usb-bus.c:481 >#6 0x00000000004b0b3d in usb_device_add (devname=0x145ca10 "serial:vendorid=1221,productid=1331:pty") at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:1048 >#7 0x00000000004b208d in do_usb_add (mon=<optimized out>, qdict=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:1105 >#8 0x000000000057aa39 in handle_user_command (mon=0x1310620, cmdline=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/monitor.c:4130 >#9 0x000000000057ad0d in monitor_command_cb (mon=0x1310620, cmdline=<optimized out>, opaque=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/monitor.c:4746 >#10 0x00000000004e53e9 in readline_handle_byte (rs=0x1310a90, ch=<optimized out>) at readline.c:370 >#11 0x000000000057aafb in monitor_read (opaque=<optimized out>, buf=0x7fffffffd760 "\r", size=1) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/monitor.c:4732 >#12 0x000000000044e9fa in kbd_send_chars (opaque=<optimized out>) at console.c:1126 >#13 0x000000000045049d in kbd_put_keysym (keysym=<optimized out>) at console.c:1185 >#14 0x00000000004fec31 in handle_keydown (ev=0x7fffffffd830, ds=0x13bf380) at ui/sdl.c:724 >#15 sdl_refresh (ds=0x13bf380) at ui/sdl.c:870 >#16 0x00000000004b060e in dpy_refresh (s=0x13bf380) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/console.h:267 >#17 gui_update (opaque=0x13bf380) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:1212 >#18 0x00000000004e0b35 in qemu_run_timers (clock=0x11a5a70) at qemu-timer.c:420 >#19 0x00000000004e0d96 in qemu_run_all_timers () at qemu-timer.c:483 >#20 0x00000000004baa53 in main_loop_wait (nonblocking=<optimized out>) at main-loop.c:468 >#21 0x00000000004b39e7 in main_loop () at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:1483 >#22 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) at /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1/vl.c:3490 > >=====================emerge --info========================================= >rostislav@hp_linux ~/my_computer/qemu/vmach1 $ emerge --info >Portage 2.1.11.9 (default/linux/amd64/10.0, gcc-4.5.4, glibc-2.15-r2, 3.4.9-gentoo-gnu_build20120904 x86_64) >================================================================= >System uname: Linux-3.4.9-gentoo-gnu_build20120904-x86_64-Intel-R-_Core-TM-_i5_CPU_M_450_@_2.40GHz-with-gentoo-2.1 >Timestamp of tree: Sun, 02 Sep 2012 12:00:01 +0000 >app-shells/bash: 4.2_p37 >dev-java/java-config: 2.1.11-r3 >dev-lang/python: 2.7.3-r2, 3.2.3 >dev-util/cmake: 2.8.8-r3 >dev-util/pkgconfig: 0.27 >sys-apps/baselayout: 2.1-r1 >sys-apps/openrc: 0.9.8.4 >sys-apps/sandbox: 2.5 >sys-devel/autoconf: 2.13, 2.68 >sys-devel/automake: 1.9.6-r3, 1.11.6 >sys-devel/binutils: 2.22-r1 >sys-devel/gcc: 3.4.6-r2, 4.5.4 >sys-devel/gcc-config: 1.7.3 >sys-devel/libtool: 2.4-r1 >sys-devel/make: 3.82-r3 >sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers) >sys-libs/glibc: 2.15-r2 >Repositories: gentoo >ACCEPT_KEYWORDS="amd64" >ACCEPT_LICENSE="@FREE" >CBUILD="x86_64-pc-linux-gnu" >CFLAGS="-O2 -march=native -pipe -ggdb" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -march=native -pipe -ggdb" >DISTDIR="/usr/portage/distfiles" >FCFLAGS="-O2 -pipe" >FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" >FFLAGS="-O2 -pipe" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="en_US.UTF-8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed" >LINGUAS="en_US fr ru de en ua" >MAKEOPTS="-j3" >PKGDIR="/usr/portage/packages" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" >PORTAGE_TMPDIR="/var/tmp" >PORTDIR="/usr/portage" >PORTDIR_OVERLAY="" >SYNC="rsync://rsync.gentoo.org/gentoo-portage" >USE="X acl alsa amd64 apng berkdb bluetooth bzip2 cairo cdda cli consolekit cracklib crypt cups cxx dbus deblob declarative device-mapper djvu dri ebook embedded extras fortran gdbm gdu gpm iconv ipv6 kde mmx mng modules mudflap multilib ncurses networkmanager nls nptl ogg opengl openmp pam pcre png policykit pppd qt3support qt4 readline session sql sqlite sse sse2 ssl svg tcpd udev unicode vorbis webkit zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="synaptics keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US fr ru de en ua" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" >Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 439540
: 327322