diff options
Diffstat (limited to 'results/classifier/111/files')
| -rw-r--r-- | results/classifier/111/files/1258168 | 343 | ||||
| -rw-r--r-- | results/classifier/111/files/1481990 | 71 | ||||
| -rw-r--r-- | results/classifier/111/files/1720747 | 37 | ||||
| -rw-r--r-- | results/classifier/111/files/1781463 | 133 | ||||
| -rw-r--r-- | results/classifier/111/files/1885718 | 96 | ||||
| -rw-r--r-- | results/classifier/111/files/533613 | 95 |
6 files changed, 775 insertions, 0 deletions
diff --git a/results/classifier/111/files/1258168 b/results/classifier/111/files/1258168 new file mode 100644 index 000000000..8a42922de --- /dev/null +++ b/results/classifier/111/files/1258168 @@ -0,0 +1,343 @@ +files: 0.086 +semantic: 0.083 +permissions: 0.082 +device: 0.082 +PID: 0.077 +other: 0.077 +network: 0.074 +debug: 0.073 +socket: 0.070 +performance: 0.068 +vnc: 0.061 +graphic: 0.060 +boot: 0.059 +KVM: 0.047 +files: 0.200 +debug: 0.157 +other: 0.132 +PID: 0.099 +semantic: 0.080 +permissions: 0.068 +boot: 0.048 +device: 0.046 +network: 0.042 +performance: 0.037 +socket: 0.036 +graphic: 0.026 +vnc: 0.014 +KVM: 0.014 + +QEMU fails to build on CentOS 5.10 with --disable-pie reporting "/usr/bin/ld: -f may not be used without -shared " + +fails for (7dc65c0 (HEAD, origin/master, origin/HEAD, master) Open 2.0 development tree): + +... +libtool --mode=link --tag=CC cc -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -Wendif-labels -Wmissing-include-dirs -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wold-style-definition -fstack-protector-all -I/usr/include/libpng12 -I/usr/include/nss3 -I/usr/include/nspr4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/home/don/qemu/dtc/libfdt -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/don/qemu/tests -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -Wl,--warn-common -m64 -g -o vscclient libcacard/vscclient.o libcacard.la -Wc,-fstack-protector-all -lrt -pthread -L/lib64 -lgthread-2.0 -lglib-2.0 -lz -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -luuid +cc -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -Wendif-labels -Wmissing-include-dirs -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wold-style-definition -fstack-protector-all -I/usr/include/libpng12 -I/usr/include/nss3 -I/usr/include/nspr4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/home/don/qemu/dtc/libfdt -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/don/qemu/tests -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -Wl,--warn-common -m64 -g -o .libs/vscclient libcacard/vscclient.o -Wl,-fstack-protector-all -pthread ./.libs/libcacard.so -L/lib64 -L/usr/kerberos/lib64 -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -lrt -lgthread-2.0 -lglib-2.0 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -luuid -Wl,--rpath -Wl,/usr/local/lib +/usr/bin/ld: -f may not be used without -shared +collect2: ld returned 1 exit status +make: *** [vscclient] Error 1 + +rm -rf out/tmp;mkdir out/tmp;pushd out/tmp;../../configure --disable-pie;make V=1 1>zz1 2>&1;popd +~/qemu/out/tmp ~/qemu +Install prefix /usr/local +BIOS directory /usr/local/share/qemu +binary directory /usr/local/bin +library directory /usr/local/lib +libexec directory /usr/local/libexec +include directory /usr/local/include +config directory /usr/local/etc +local state directory /usr/local/var +Manual directory /usr/local/share/man +ELF interp prefix /usr/gnemul/qemu-%M +Source path /home/don/qemu +C compiler cc +Host C compiler cc +C++ compiler c++ +Objective-C compiler cc +ARFLAGS rv +CFLAGS -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g +QEMU_CFLAGS -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -Wendif-labels -Wmissing-include-dirs -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wold-style-definition -fstack-protector-all -I/usr/include/libpng12 -I/usr/include/nss3 -I/usr/include/nspr4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt +LDFLAGS -Wl,--warn-common -m64 -g +make make +install install +python python +smbd /usr/sbin/smbd +host CPU x86_64 +host big endian no +target list alpha-softmmu arm-softmmu cris-softmmu i386-softmmu lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mips64-softmmu mips64el-softmmu mipsel-softmmu moxie-softmmu or32-softmmu ppc-softmmu ppc64-softmmu ppcemb-softmmu s390x-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu unicore32-softmmu x86_64-softmmu xtensa-softmmu xtensaeb-softmmu alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user i386-linux-user m68k-linux-user microblaze-linux-user microblazeel-linux-user mips-linux-user mips64-linux-user mips64el-linux-user mipsel-linux-user mipsn32-linux-user mipsn32el-linux-user or32-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user s390x-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc32plus-linux-user sparc64-linux-user unicore32-linux-user x86_64-linux-user +tcg debug enabled no +gprof enabled no +sparse enabled no +strip binaries yes +profiler no +static build no +-Werror enabled no +pixman system +SDL support yes +GTK support no +curses support yes +curl support yes +mingw32 support no +Audio drivers oss +Block whitelist (rw) +Block whitelist (ro) +VirtFS support yes +VNC support yes +VNC TLS support no +VNC SASL support yes +VNC JPEG support yes +VNC PNG support yes +VNC WS support no +xen support yes +brlapi support no +bluez support no +Documentation yes +GUEST_BASE yes +PIE no +vde support no +Linux AIO support no +ATTR/XATTR support yes +Install blobs yes +KVM support yes +RDMA support no +TCG interpreter no +fdt support yes +preadv support no +fdatasync yes +madvise yes +posix_madvise yes +sigev_thread_id yes +uuid support yes +libcap-ng support no +vhost-net support yes +vhost-scsi support yes +Trace backend nop +Trace output file trace-<pid> +spice support no (/) +rbd support no +xfsctl support no +nss used yes +libusb no +usb net redir no +GLX support yes +libiscsi support no +build guest agent yes +QGA VSS support no +seccomp support no +coroutine backend ucontext +coroutine pool yes +GlusterFS support no +virtio-blk-data-plane no +gcov gcov +gcov enabled no +TPM support no +libssh2 support no +TPM passthrough no +QOM debugging yes +vhdx yes + +I bisect'd this to: + +dcs-xen-53:~/qemu>git-bisect good +37746c5eacf309fa019ea0fa45f776c36c561457 is the first bad commit +commit 37746c5eacf309fa019ea0fa45f776c36c561457 +Author: Marc-André Lureau <email address hidden> +Date: Mon Feb 25 23:31:12 2013 +0100 + + build-sys: must link with -fstack-protector + + It is needed to give that flag to the linker as well, but latest + libtool 2.4.2 still swallows that argument, so let's pass it with + libtool -Wc argument. + + qemu-1.4.0/stubs/arch-query-cpu-def.c:6: undefined reference to `__stack_chk_guard' + + Signed-off-by: Marc-André Lureau <email address hidden> + Reviewed-by: Alon Levy <email address hidden> + +:100755 100755 33d3354ea30838694020660f5822f551293d7e9a ee2e7e8ad9b8a23af96e4e404e3f7658efcbe74b M configure +:100644 100644 edc2552f0886c99608b97f85bd932460fa50da73 36aba2de1fa9e0f8acde7640818e94a28dd03c80 M rules.mak + +Using the hack: + +git diff +diff --git a/configure b/configure +index 0666228..cf8123b 100755 +--- a/configure ++++ b/configure +@@ -1292,7 +1292,9 @@ done + + if compile_prog "-Werror -fstack-protector-all" "" ; then + QEMU_CFLAGS="$QEMU_CFLAGS -fstack-protector-all" +- LIBTOOLFLAGS="$LIBTOOLFLAGS -Wc,-fstack-protector-all" ++ if test "$pie" != "no" ; then ++ LIBTOOLFLAGS="$LIBTOOLFLAGS -Wc,-fstack-protector-all" ++ fi + fi + + # Workaround for http://gcc.gnu.org/PR55489. Happens with -fPIE/-fPIC and + +I now get: + +/home/don/qemu/libcacard/vscclient.c: In function 'do_socket_read': +/home/don/qemu/libcacard/vscclient.c:410: warning: implicit declaration of function 'g_warn_if_reached' +/home/don/qemu/libcacard/vscclient.c:410: warning: nested extern declaration of 'g_warn_if_reached' +/home/don/qemu/libcacard/vscclient.c: In function 'main': +/home/don/qemu/libcacard/vscclient.c:763: warning: implicit declaration of function 'g_byte_array_unref' +/home/don/qemu/libcacard/vscclient.c:763: warning: nested extern declaration of 'g_byte_array_unref' +... +libcacard/vscclient.o: In function `do_socket_read': +/home/don/qemu/libcacard/vscclient.c:410: undefined reference to `g_warn_if_reached' +libcacard/vscclient.o: In function `main': +/home/don/qemu/libcacard/vscclient.c:763: undefined reference to `g_byte_array_unref' +collect2: ld returned 1 exit status +make: *** [vscclient] Error 1 + + +This is the same as listed in: + +https://lists.gnu.org/archive/html/qemu-devel/2013-05/msg01667.html + +rpm -q glib2 +glib2-2.12.3-4.el5_3.1 +glib2-2.12.3-4.el5_3.1 + +Using: +http://pidgin.im/pipermail/commits/2011-February/018919.html + +I came up with: + + +diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c +index a3cb776..5c9cec8 100644 +--- a/libcacard/vscclient.c ++++ b/libcacard/vscclient.c +@@ -407,7 +407,13 @@ do_socket_read(GIOChannel *source, + } + break; + default: ++#if GLIB_CHECK_VERSION(2, 16 ,0) + g_warn_if_reached(); ++#else ++ g_log(G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, ++ "(%s:%d):%s%s code should not be reached", ++ __FILE__, __LINE__, G_STRFUNC, G_STRFUNC[0] ? ":" : ""); ++#endif + return FALSE; + } + +@@ -760,7 +766,11 @@ main( + + g_io_channel_unref(channel_stdin); + g_io_channel_unref(channel_socket); ++#if GLIB_CHECK_VERSION(2, 22, 0) + g_byte_array_unref(socket_to_send); ++#else ++ g_byte_array_free(socket_to_send, TRUE); ++#endif + + closesocket(sock); + return 0; + + +And I get a clean compile. + +We met the same problem when compiling qemu 2.0.0 on CentOS6, and fixed it with a similar patch to the configure script. + +Can you please test this patch? + +My testing of this patch is that it does not help. + + LINK qemu-bridge-helper + CC qmp-marshal.o +lt LINK vscclient +/usr/bin/ld: -f may not be used without -shared +collect2: ld returned 1 exit status +make: *** [vscclient] Error 1 +make: *** Waiting for unfinished jobs.... +dcs-xen-53:~/qemu/out/bug-1258168>git show +commit cceddd04255cdacacf91562d43fdb7afcec91242 +Author: Paolo Bonzini <email address hidden> +Date: Thu Nov 13 16:34:16 2014 +0000 + + configure: test patch for 1258168 + +diff --git a/configure b/configure +index 47048f0..b7bf30a 100755 +--- a/configure ++++ b/configure +@@ -140,8 +140,10 @@ do_libtool() { + } + + libtool_prog() { +- do_libtool --mode=compile $QEMU_CFLAGS -c -fPIE -DPIE -o $TMPO $TMPC || return $? +- do_libtool --mode=link $LDFLAGS -o $TMPA $TMPL -rpath /usr/local/lib ++ local_cflags="$1" ++ local_ldflags="$2" ++ do_libtool --mode=compile $QEMU_CFLAGS $local_cflags -c -fPIE -DPIE -o $TMPO $TMPC || return $? ++ do_libtool --mode=link $LDFLAGS $local_ldflags -o $TMPA $TMPL -rpath /usr/local/lib + } + + # symbolically link $1 to $2. Portable version of "ln -sf". +@@ -1501,13 +1503,16 @@ if test "$stack_protector" != "no"; then + for flag in $gcc_flags; do + # We need to check both a compile and a link, since some compiler + # setups fail only on a .c->.o compile and some only at link time +- if do_cc $QEMU_CFLAGS -Werror $flag -c -o $TMPO $TMPC && +- compile_prog "-Werror $flag" ""; then +- QEMU_CFLAGS="$QEMU_CFLAGS $flag" +- LIBTOOLFLAGS="$LIBTOOLFLAGS -Wc,$flag" +- sp_on=1 +- break ++ do_cc $QEMU_CFLAGS -Werror $flag -c -o $TMPO $TMPC || continue ++ compile_prog "-Werror $flag" "" || continue ++ if test -n "$libtool"; then ++ libtool_prog "-Werror $flag" "-Wc,$flag" || continue + fi ++ ++ QEMU_CFLAGS="$QEMU_CFLAGS $flag" ++ LIBTOOLFLAGS="$LIBTOOLFLAGS -Wc,$flag" ++ sp_on=1 ++ break + done + if test "$stack_protector" = yes; then + if test $sp_on = 0; then +@@ -1608,7 +1613,7 @@ g(unsigned char *buf, int len) + } + + EOF +- if ! libtool_prog; then ++ if ! libtool_prog "" ""; then + echo "Disabling libtool due to broken toolchain support" + libtool= + fi +dcs-xen-53:~/qemu/out/bug-1258168>git log -2 +commit cceddd04255cdacacf91562d43fdb7afcec91242 +Author: Paolo Bonzini <email address hidden> +Date: Thu Nov 13 16:34:16 2014 +0000 + + configure: test patch for 1258168 + +commit b56cb288954d900dec79cc55128efa61bebf6178 +Merge: e08d300 953ea14 +Author: Peter Maydell <email address hidden> +Date: Thu Nov 13 13:02:31 2014 +0000 + + Merge remote-tracking branch 'remotes/kraxel/tags/pull-seabios-1.7.5.1-20141113-1' into staging + + update seabios to 1.7.5.1 stable release + + # gpg: Signature made Thu 13 Nov 2014 11:03:05 GMT using RSA key ID D3E87138 + # gpg: Good signature from "Gerd Hoffmann (work) <email address hidden>" + # gpg: aka "Gerd Hoffmann <email address hidden>" + # gpg: aka "Gerd Hoffmann (private) <email address hidden>" + + * remotes/kraxel/tags/pull-seabios-1.7.5.1-20141113-1: + update seabios to 1.7.5.1 stable release + + Signed-off-by: Peter Maydell <email address hidden> + + +libcacard has been removed from the QEMU sources and is an external project now, so this problem should not exist anymore with the latest version of QEMU. If it still persists, please feel free to re-open this ticket. + diff --git a/results/classifier/111/files/1481990 b/results/classifier/111/files/1481990 new file mode 100644 index 000000000..7cd02ed9d --- /dev/null +++ b/results/classifier/111/files/1481990 @@ -0,0 +1,71 @@ +files: 0.120 +PID: 0.107 +semantic: 0.105 +other: 0.104 +device: 0.099 +debug: 0.089 +permissions: 0.076 +graphic: 0.071 +performance: 0.051 +network: 0.046 +socket: 0.042 +boot: 0.038 +vnc: 0.032 +KVM: 0.020 +files: 0.205 +PID: 0.142 +debug: 0.135 +vnc: 0.125 +device: 0.061 +socket: 0.056 +boot: 0.054 +network: 0.052 +KVM: 0.038 +semantic: 0.038 +other: 0.037 +performance: 0.027 +permissions: 0.016 +graphic: 0.013 + +2.3.0 build fails on Ubuntu 12.04 + +Build of 2.3.0 fails on Ubuntu 12.04: + +sudo make clean +sudo ./configure --prefix=/usr/local --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu +sudo make + + GEN config-host.h + GEN qemu-options.def + GEN qmp-commands.h + GEN qapi-types.h + GEN qapi-visit.h + GEN qapi-event.h + GEN trace/generated-events.h + GEN trace/generated-tracers.h + ... + + CC migration/qemu-file-stdio.o + CC migration/xbzrle.o + CC migration/rdma.o +migration/rdma.c: In function ‘qemu_rdma_dump_id’: +migration/rdma.c:706:21: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ +migration/rdma.c:707:22: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ +migration/rdma.c:707:37: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function) +migration/rdma.c:707:37: note: each undeclared identifier is reported only once for each function it appears in +migration/rdma.c:708:24: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ +migration/rdma.c:708:39: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function) +migration/rdma.c: In function ‘qemu_rdma_broken_ipv6_kernel’: +migration/rdma.c:800:26: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ +migration/rdma.c:800:41: error: ‘IBV_LINK_LAYER_INFINIBAND’ undeclared (first use in this function) +migration/rdma.c:802:33: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ +migration/rdma.c:802:48: error: ‘IBV_LINK_LAYER_ETHERNET’ undeclared (first use in this function) +migration/rdma.c:841:18: error: ‘struct ibv_port_attr’ has no member named ‘link_layer’ +make: *** [migration/rdma.o] Error 1 + +Build succeeds with + +sudo ./configure --prefix=/usr/local --target-list=i386-softmmu,arm-softmmu,x86_64-softmmu --disable-rdma + +This does not happend anymore with the upstream git. Closing. Please reopen if you still see this. + diff --git a/results/classifier/111/files/1720747 b/results/classifier/111/files/1720747 new file mode 100644 index 000000000..3a6968a80 --- /dev/null +++ b/results/classifier/111/files/1720747 @@ -0,0 +1,37 @@ +files: 0.288 +other: 0.257 +device: 0.082 +semantic: 0.081 +vnc: 0.050 +performance: 0.037 +PID: 0.036 +boot: 0.031 +network: 0.030 +permissions: 0.027 +graphic: 0.025 +socket: 0.022 +debug: 0.018 +KVM: 0.017 +files: 0.594 +other: 0.067 +semantic: 0.060 +boot: 0.045 +permissions: 0.039 +debug: 0.038 +device: 0.033 +network: 0.028 +PID: 0.028 +performance: 0.018 +socket: 0.016 +graphic: 0.013 +KVM: 0.013 +vnc: 0.008 + +cannot extract release tarball on case-insensitive filesystems + +Extracting the release tarball for qemu-2.10.0 results in an error on case-insensitive filesystems because of the files qemu-2.10.0/roms/u-boot/scripts/Kconfig and qemu-2.10.0/roms/u-boot/scripts/kconfig. + +All other files are extracted correctly, and the resulting source can be built correctly. + +But tar returns with an error, which creates difficulties when trying to automate the build process (e.g: homebrew). + diff --git a/results/classifier/111/files/1781463 b/results/classifier/111/files/1781463 new file mode 100644 index 000000000..06759f711 --- /dev/null +++ b/results/classifier/111/files/1781463 @@ -0,0 +1,133 @@ +files: 0.099 +device: 0.091 +PID: 0.090 +permissions: 0.089 +semantic: 0.088 +debug: 0.084 +other: 0.075 +boot: 0.073 +graphic: 0.073 +performance: 0.067 +vnc: 0.057 +network: 0.043 +socket: 0.037 +KVM: 0.036 +files: 0.320 +debug: 0.212 +device: 0.126 +other: 0.062 +boot: 0.052 +semantic: 0.041 +PID: 0.035 +network: 0.033 +graphic: 0.025 +vnc: 0.024 +socket: 0.020 +permissions: 0.020 +performance: 0.018 +KVM: 0.010 + +qemu don't start *.abs firmware files + +Hello Devs, + +I'm here to report this bug/issue because i'm using Win64 Qemu but i can't start a *.abs firmware at normally this firmware is based in Linux Kernel and this type of firmware is made for STB Receivers, + +So this is all information i provide to get support. + +Files extracted by ( binwalk -e ) + + +Terminal output: + +# binwalk -e AMIKO_HD8150_2.4.43_emu.abs + +DECIMAL HEXADECIMAL DESCRIPTION + +-------------------------------------------------------------------------------- +196736 0x30080 LZMA compressed data, properties: 0x6C, dictionary size: 8388608 bytes, uncompressed size: 11883876 bytes +3866752 0x3B0080 LZMA compressed data, properties: 0x6C, dictionary size: 8388608 bytes, uncompressed size: 3255512 bytes +5636224 0x560080 LZMA compressed data, properties: 0x6C, dictionary size: 8388608 bytes, uncompressed size: 87904 bytes + + +Files extracted with ALI TOOLS or Ali FirmwareDecriptor. + +Windows files output: + +Software used: Ali Main Code Decrypter 8.9 + +Files unpacked: + +bootloader +MemCfg +maincode(AV) +seecode +default_lang +cipluskey +countryband +logo_user +logo_menu +logo_radio +logo_boot +patch +defaultdb(PRC) +userdb(64+64) + + +Terminal OUTPUT: + +# hexdump -C + +part of file + + +00b51a30 00 00 00 00 4c 69 62 63 6f 72 65 20 76 65 72 73 |....Libcore vers| +00b51a40 69 6f 6e 20 31 33 2e 31 36 2e 30 40 53 44 4b 34 |ion 13.16.0@SDK4| +00b51a50 2e 30 66 61 2e 31 33 2e 31 36 5f 32 30 31 36 31 |.0fa.13.16_20161| +00b51a60 30 31 39 28 67 63 63 20 76 65 72 73 69 6f 6e 20 |019(gcc version | +00b51a70 33 2e 34 2e 34 20 6d 69 70 73 73 64 65 2d 36 2e |3.4.4 mipssde-6.| +00b51a80 30 36 2e 30 31 2d 32 30 30 37 30 34 32 30 29 28 |06.01-20070420)(| +00b51a90 41 64 6d 69 6e 69 73 74 72 61 74 6f 72 40 20 46 |Administrator@ F| +00b51aa0 72 69 2c 20 4a 75 6c 20 32 38 2c 20 32 30 31 37 |ri, Jul 28, 2017| +00b51ab0 20 31 32 3a 35 33 3a 32 38 20 41 4d 29 0a 00 00 | 12:53:28 AM)...| +00b51ac0 44 4d 58 5f 53 33 36 30 31 5f 30 00 00 a1 03 18 |DMX_S3601_0.....| + + +When I use readelf it says files isn't an ELF file, so i can't run it like a kernel (Bootloader,Maincode, and etc. ) + +so this is the cmd output when i use qemu Win64 (I don't whant to use linux to do the emulation about this *.abs extension firmware so please help me for win64 version from Qemu) + +CMD OUTPUT: + + C:\Program Files\qemu>qemu-system-mips.exe -machine mips -cpu mips32r6-generic -drive file=C:\30080.bin,index=0,media=disk,format=raw + +qemu-system-mips.exe: warning: could not load MIPS bios 'mips_bios.bin' + +I also tried a lot of diferents qemu-system... and a lot of diferent configs like -machine -cpu -kernel -driver root= -PFLASH and etc... and nothing hapenned + +How can i reproduce this issue ? +Reply:. + +Donwload *.abs firmware in amikoreceiver.com (only *.abs) and download AliDekompressor in http://www.satedu.cba.pl/ + +Direct tools: + +FirmwareDecrypter_v8.9.zip : + +http://www.satedu.cba.pl/index.php?action=downloadfile&filename=FirmwareDecrypter_v8.9.zip&directory=Test%20Folder& + +Ali__tools_Console_v4.0__CRC_FIXER.rar : + +http://www.satedu.cba.pl/index.php?action=downloadfile&filename=Ali__tools_Console_v4.0__CRC_FIXER.rar&directory=Test%20Folder& + + +so if Qemu can explain how can i fix this issue this can be highly helpfull. + +With my best regards, +David Martins +Screamfox + +As far as I understand the original description, this was about running an arbitrary firmware in QEMU that has been written for a board that we do not support in QEMU? This can not work. A machine consists of a CPU and various devices that are on board, so you can only run the software that has been written for the CPU and the corresponding devices. If I've got you right, you want to run some software for a board that we do not model in QEMU, so it just can't work since the required devices are not emulated. Thus I'm closing this as "Invalid" now ... unless I've misunderstood your description, then please complain and we can open the ticket again. + +Comment #1 from Thomas is correct, this MIPS machine is not modelled. + diff --git a/results/classifier/111/files/1885718 b/results/classifier/111/files/1885718 new file mode 100644 index 000000000..7820de34b --- /dev/null +++ b/results/classifier/111/files/1885718 @@ -0,0 +1,96 @@ +files: 0.213 +other: 0.133 +semantic: 0.119 +PID: 0.094 +socket: 0.070 +device: 0.065 +graphic: 0.048 +permissions: 0.047 +debug: 0.045 +network: 0.040 +boot: 0.036 +vnc: 0.035 +performance: 0.030 +KVM: 0.024 +files: 0.206 +semantic: 0.151 +debug: 0.132 +other: 0.095 +PID: 0.077 +boot: 0.069 +device: 0.055 +performance: 0.040 +vnc: 0.039 +KVM: 0.035 +network: 0.035 +socket: 0.024 +graphic: 0.021 +permissions: 0.021 + +qemu/target/mips/op_helper.c:943:5: style:inconclusive: Found duplicate branches for 'if' and 'else' + +Source code is + + if (other_tc == other->current_tc) { + tccause = other->CP0_Cause; + } else { + tccause = other->CP0_Cause; + } + +Thank you for reporting this! + +Believe it or not, this has been a know issue to us for a while. We contacted the original contributor, and he says he can't recall what he actually meant when he wrote the segment. We left it as is until he remembers. However, this seems not likely to happen, and probably we will issue a fix soon. In any case, it is good that you reported it, many thanks! + +You already reported that 6 months ago: +https://bugs.launchpad.net/qemu/+bug/1856706 + +From: Aleksandar Markovic <email address hidden> + +Remove the segment: + + if (other_tc == other->current_tc) { + tccause = other->CP0_Cause; + } else { + tccause = other->CP0_Cause; + } + +Original contributor can't remember what was his intention. + +Fixes: 5a25ce9487 ("mips: Hook in more reg accesses via mttr/mftr") +Buglink: https://bugs.launchpad.net/qemu/+bug/1885718 +Signed-off-by: Aleksandar Markovic <email address hidden> +Message-Id: <email address hidden> +Signed-off-by: Philippe Mathieu-Daudé <email address hidden> +--- +Cc: Bug 1885718 <email address hidden> + + target/mips/cp0_helper.c | 9 +-------- + 1 file changed, 1 insertion(+), 8 deletions(-) + +diff --git a/target/mips/cp0_helper.c b/target/mips/cp0_helper.c +index bbf12e4a97..de64add038 100644 +--- a/target/mips/cp0_helper.c ++++ b/target/mips/cp0_helper.c +@@ -375,16 +375,9 @@ target_ulong helper_mftc0_entryhi(CPUMIPSState *env) + target_ulong helper_mftc0_cause(CPUMIPSState *env) + { + int other_tc = env->CP0_VPEControl & (0xff << CP0VPECo_TargTC); +- int32_t tccause; + CPUMIPSState *other = mips_cpu_map_tc(env, &other_tc); + +- if (other_tc == other->current_tc) { +- tccause = other->CP0_Cause; +- } else { +- tccause = other->CP0_Cause; +- } +- +- return tccause; ++ return other->CP0_Cause; + } + + target_ulong helper_mftc0_status(CPUMIPSState *env) +-- +2.21.3 + + + diff --git a/results/classifier/111/files/533613 b/results/classifier/111/files/533613 new file mode 100644 index 000000000..b21288a54 --- /dev/null +++ b/results/classifier/111/files/533613 @@ -0,0 +1,95 @@ +files: 0.132 +other: 0.125 +semantic: 0.094 +device: 0.074 +performance: 0.072 +graphic: 0.068 +vnc: 0.065 +PID: 0.063 +KVM: 0.062 +permissions: 0.055 +network: 0.050 +debug: 0.049 +socket: 0.048 +boot: 0.043 +files: 0.496 +KVM: 0.173 +other: 0.059 +network: 0.048 +semantic: 0.046 +PID: 0.031 +device: 0.029 +socket: 0.022 +graphic: 0.022 +vnc: 0.017 +debug: 0.017 +boot: 0.015 +performance: 0.014 +permissions: 0.011 + +fr-ca keymap is wrong + +The fr-ca keymap has tons of wrong keys in it, it affects other projects using Qemu/KVM like Xen. +Documentation about how to make a keymap is too vague to allow me to make something useful to send a patch, I was however able to make something which at least allows me to use important keys like dot and slash, I will attach it for reference. + + + +Cc: <email address hidden> +Cc: Thomas Huth <email address hidden> +Suggested-by: Jérôme Poulin +Signed-off-by: Gerd Hoffmann <email address hidden> +--- + pc-bios/keymaps/fr-ca | 14 +++++++++++--- + 1 file changed, 11 insertions(+), 3 deletions(-) + +diff --git a/pc-bios/keymaps/fr-ca b/pc-bios/keymaps/fr-ca +index 030f56a78e..2e540d596c 100644 +--- a/pc-bios/keymaps/fr-ca ++++ b/pc-bios/keymaps/fr-ca +@@ -3,6 +3,8 @@ + include common + map 0xc0c + ++numbersign 0x29 ++bar 0x29 + backslash 0x29 altgr + plusminus 0x2 altgr + at 0x3 altgr +@@ -10,7 +12,6 @@ sterling 0x4 altgr + cent 0x5 altgr + currency 0x6 altgr + notsign 0x7 altgr +-bar 0x29 shift + twosuperior 0x9 altgr + threesuperior 0xa altgr + onequarter 0xb altgr +@@ -38,6 +39,10 @@ dead_cedilla 0x1b + dead_diaeresis 0x1b shift + exclam 0x2 shift + quotedbl 0x3 shift ++comma 0x33 ++apostrophe 0x33 shift ++period 0x34 ++period 0x34 shift + slash 0x4 shift + dollar 0x5 shift + percent 0x6 shift +@@ -48,5 +53,8 @@ parenleft 0xa shift + parenright 0xb shift + underscore 0xc shift + plus 0xd shift +-minus 0xc +-equal 0xd ++minus 0x0c ++underscore 0x0c shift ++equal 0x0d ++semicolon 0x27 ++colon 0x27 shift +-- +2.9.3 + + + +Patch has finally been included here: +http://git.qemu.org/?p=qemu.git;a=commitdiff;h=b02cf99b9d998b3ec23dae8 + |