diff options
Diffstat (limited to '')
| -rw-r--r-- | results/classifier/108/other/1218 | 35 | ||||
| -rw-r--r-- | results/classifier/108/other/1218098 | 137 |
2 files changed, 172 insertions, 0 deletions
diff --git a/results/classifier/108/other/1218 b/results/classifier/108/other/1218 new file mode 100644 index 000000000..4d8f32586 --- /dev/null +++ b/results/classifier/108/other/1218 @@ -0,0 +1,35 @@ +other: 0.867 +permissions: 0.847 +files: 0.840 +device: 0.831 +boot: 0.831 +network: 0.823 +debug: 0.818 +socket: 0.814 +performance: 0.814 +graphic: 0.812 +PID: 0.800 +KVM: 0.792 +semantic: 0.767 +vnc: 0.746 + +bitmap lost when create snapshot using blockdev-snapshot-sync function +Description of problem: +bitmap will be lost when using the blockdev-snapshot-sync qmp command to create external snapshot. +if we create snapshot with the bitmap ,we have to start our incremental backup chain from a new full-backup. +Steps to reproduce: +1. start the qemu : +qemu-system-x86_64 -name guest=i-00001C,debug-threads=on -machine pc,dump-guest-core=off -cpu qemu64,hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0x1fff -m 4096 -smp 4,sockets=1,cores=4,threads=1 -uuid 991c2994-e1c9-48c0-9554-6b23e43900eb -smbios type=1,manufacturer=data,serial=7C1A9ABA-02DD-4E7D-993C-E1CDAB47A19B,family="Virtual Machine" -no-user-config -nodefaults -device sga -rtc base=2022-09-09T02:54:38,clock=host,driftfix=slew -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot menu=on,splash-time=0,strict=on -device pci-bridge,chassis_nr=1,id=pci.1,bus=pci.0,addr=0x6 -device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.0,addr=0xa -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x8 -device ich9-usb-ehci1,id=usb1,bus=pci.0,addr=0x9 -device piix4-usb-uhci,id=usb2,bus=pci.0,addr=0xb -device qemu-xhci,id=usb3,bus=pci.0,addr=0xc -device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x5 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x4 -drive if=none,id=drive-ide0-1-1,readonly=on -device ide-cd,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1,bootindex=2 -drive if=none,id=drive-fdc0-0-0,readonly=on -drive file=/datastore//c08fee8e-caf4-4217-ab4d-351a021c2c3d,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,num-queues=1,bus=pci.1,addr=0x1,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1,write-cache=on -device usb-tablet,id=input0,bus=usb.0,port=1 -device intel-hda,id=sound0,bus=pci.0,addr=0x3 -device hda-micro,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -sandbox off -device pvpanic,ioport=1285 -msg timestamp=on -qmp tcp:127.0.0.1:4444,server,nowait + +2. {"execute":"block-dirty-bitmap-add","arguments":{"node":"drive-virtio-disk0", "name":"bitmap-2022-09-19-16-10-23"}} + +3. {"execute":"query-block"} and the result: + {"return": [{"io-status": "ok", "device": "drive-ide0-1-1", "locked": false, "removable": true, "qdev": "ide0-1-1", "tray_open": false, "type": "unknown"}, {"device": "drive-fdc0-0-0", "locked": false, "removable": true, "type": "unknown"}, {"io-status": "ok", "device": "drive-virtio-disk0", "locked": false, "removable": false, "inserted": {"iops_rd": 0, "detect_zeroes": "off", "image": {"virtual-size": 21474836480, "filename": "/datastore//c08fee8e-caf4-4217-ab4d-351a021c2c3d", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "compression-type": "zlib", "lazy-refcounts": false, "refcount-bits": 16, "corrupt": false, "extended-l2": false}}, "dirty-flag": false}, "iops_wr": 0, "ro": false, "node-name": "#block173", "backing_file_depth": 0, "drv": "qcow2", "iops": 0, "bps_wr": 0, "write_threshold": 0, "**dirty-bitmaps**": [{"name": "bitmap-2022-09-19-16-10-23", "recording": true, "persistent": false, "busy": false, "granularity": 65536, "count": 0}], "encrypted": false, "bps": 0, "bps_rd": 0, "cache": {"no-flush": false, "direct": true, "writeback": true}, "file": "/datastore//c08fee8e-caf4-4217-ab4d-351a021c2c3d"}, "qdev": "/machine/peripheral/virtio-disk0/virtio-backend", "type": "unknown"}]} + +4. {"execute":"blockdev-snapshot-sync","arguments":{"device": "drive-virtio-disk0", "snapshot-file": "/datastore/c08fee8e-caf4-4217-ab4d-351a021c2c3d-actice", "format": "qcow2"}} +5. {"execute":"query-block"} and the result: + {"return": [{"io-status": "ok", "device": "drive-ide0-1-1", "locked": false, "removable": true, "qdev": "ide0-1-1", "tray_open": false, "type": "unknown"}, {"device": "drive-fdc0-0-0", "locked": false, "removable": true, "type": "unknown"}, {"io-status": "ok", "device": "drive-virtio-disk0", "locked": false, "removable": false, "inserted": {"iops_rd": 0, "detect_zeroes": "off", "image": {"backing-image": {"virtual-size": 21474836480, "filename": "/datastore//c08fee8e-caf4-4217-ab4d-351a021c2c3d", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "compression-type": "zlib", "lazy-refcounts": false, "refcount-bits": 16, "corrupt": false, "extended-l2": false}}, "dirty-flag": false}, "backing-filename-format": "qcow2", "virtual-size": 21474836480, "filename": "/datastore/c08fee8e-caf4-4217-ab4d-351a021c2c3d-actice", "cluster-size": 65536, "format": "qcow2", "actual-size": 200704, "format-specific": {"type": "qcow2", "data": {"compat": "1.1", "compression-type": "zlib", "lazy-refcounts": false, "refcount-bits": 16, "corrupt": false, "extended-l2": false}}, "full-backing-filename": "/datastore//c08fee8e-caf4-4217-ab4d-351a021c2c3d", "backing-filename": "/datastore//c08fee8e-caf4-4217-ab4d-351a021c2c3d", "dirty-flag": false}, "iops_wr": 0, "ro": false, "node-name": "#block618", "backing_file_depth": 1, "drv": "qcow2", "iops": 0, "bps_wr": 0, "write_threshold": 0, "backing_file": "/datastore//c08fee8e-caf4-4217-ab4d-351a021c2c3d", "encrypted": false, "bps": 0, "bps_rd": 0, "cache": {"no-flush": false, "direct": true, "writeback": true}, "file": "/datastore/c08fee8e-caf4-4217-ab4d-351a021c2c3d-actice"}, "qdev": "/machine/peripheral/virtio-disk0/virtio-backend", "type": "unknown"}]} + +we lost the bitmap bitmap-2022-09-19-16-10-23 +Additional information: +the bitmap attach the active bs, when changing the active bs ,the bitmap will be lost... diff --git a/results/classifier/108/other/1218098 b/results/classifier/108/other/1218098 new file mode 100644 index 000000000..fcf44f406 --- /dev/null +++ b/results/classifier/108/other/1218098 @@ -0,0 +1,137 @@ +other: 0.762 +performance: 0.636 +graphic: 0.620 +debug: 0.556 +KVM: 0.526 +permissions: 0.499 +boot: 0.494 +network: 0.494 +device: 0.481 +PID: 0.474 +semantic: 0.473 +files: 0.460 +socket: 0.443 +vnc: 0.440 + +qemu-system-ppc64 segfaults in helper_ldl_mmu + +Download a Fedora 19 ISO from: +http://mirrors.kernel.org/fedora-secondary/releases/19/Fedora/ppc64/iso/ + +Compile qemu from git (I'm using 401c227b0a1134245ec61c6c5a9997cfc963c8e4 +from today). + +Run qemu-system-ppc64 like this: + +ppc64-softmmu/qemu-system-ppc64 -M pseries -m 4096 -hda /dev/fedora/f20ppc64 -cdrom /tmp/Fedora-19-ppc64-DVD.iso -netdev user,id=usernet,net=169.254.0.0/16 -device virtio-net-pci,netdev=usernet + +Guest gets to yaboot. If you hit return, qemu segfaults: + +Program received signal SIGABRT, Aborted. +0x00007ffff041fa19 in __GI_raise (sig=sig@entry=6) + at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 +56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); +(gdb) t a a bt + +Thread 4 (Thread 0x7fff6eef7700 (LWP 7553)): +#0 sem_timedwait () + at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101 +#1 0x00005555559a5897 in qemu_sem_timedwait (sem=sem@entry=0x55555631e788, + ms=ms@entry=10000) at util/qemu-thread-posix.c:238 +#2 0x000055555577e54c in worker_thread (opaque=0x55555631e6f0) + at thread-pool.c:97 +#3 0x00007ffff625ec53 in start_thread (arg=0x7fff6eef7700) + at pthread_create.c:308 +#4 0x00007ffff04df13d in clone () + at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 + +Thread 3 (Thread 0x7fff6e605700 (LWP 7547)): +#0 0x00007ffff041fa19 in __GI_raise (sig=sig@entry=6) + at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 +#1 0x00007ffff0421128 in __GI_abort () at abort.c:90 +#2 0x000055555583ea33 in helper_ldl_mmu (env=0x7ffff7fd7140, addr=1572864, + mmu_idx=1) at /home/rjones/d/qemu/include/exec/softmmu_template.h:153 +#3 0x00007fffab0819d8 in code_gen_buffer () +#4 0x00005555557aa7ae in cpu_tb_exec (tb_ptr=<optimized out>, + cpu=0x7ffff7fd7010) at /home/rjones/d/qemu/cpu-exec.c:56 +#5 cpu_ppc_exec (env=env@entry=0x7ffff7fd7140) + at /home/rjones/d/qemu/cpu-exec.c:631 +#6 0x00005555557abc35 in tcg_cpu_exec (env=0x7ffff7fd7140) + at /home/rjones/d/qemu/cpus.c:1193 +#7 tcg_exec_all () at /home/rjones/d/qemu/cpus.c:1226 +#8 qemu_tcg_cpu_thread_fn (arg=<optimized out>) + at /home/rjones/d/qemu/cpus.c:885 +#9 0x00007ffff625ec53 in start_thread (arg=0x7fff6e605700) + at pthread_create.c:308 +#10 0x00007ffff04df13d in clone () + at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 + +Thread 1 (Thread 0x7ffff7fa9a40 (LWP 7542)): +#0 0x00007ffff04d4c2f in __GI_ppoll (fds=0x555556483210, nfds=4, + timeout=<optimized out>, timeout@entry=0x7fffffffd940, + sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 +#1 0x0000555555762db9 in ppoll (__ss=0x0, __timeout=0x7fffffffd940, + __nfds=<optimized out>, __fds=<optimized out>) + at /usr/include/bits/poll2.h:77 +#2 qemu_poll_ns (fds=<optimized out>, nfds=<optimized out>, + timeout=timeout@entry=951497) at qemu-timer.c:276 +#3 0x000055555572b58c in os_host_main_loop_wait (timeout=951497) + at main-loop.c:228 +#4 main_loop_wait (nonblocking=<optimized out>) at main-loop.c:484 +#5 0x00005555555ef9d8 in main_loop () at vl.c:2090 +#6 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>) + at vl.c:4435 + +NB: This does NOT happen if you specify -cpu POWER7 on the command line. + +git bisect points the finger at: + +401c227b0a1134245ec61c6c5a9997cfc963c8e4 is the first bad commit +commit 401c227b0a1134245ec61c6c5a9997cfc963c8e4 +Author: Richard Henderson <email address hidden> +Date: Thu Jul 25 07:16:52 2013 -1000 + + tcg-i386: Use new return-argument ld/st helpers + + Discontinue the jump-around-jump-to-jump scheme, trading it for a single + immediate move instruction. The two extra jumps always consume 7 bytes, + whereas the immediate move is either 5 or 7 bytes depending on where the + code_gen_buffer gets located. + + Signed-off-by: Richard Henderson <email address hidden> + +:040000 040000 dfd9a66c85713cd1886a3342de1e9ac95d7ea43f df8673dea69bc89cc2cc979aa24415e3fea4ed53 M include +:040000 040000 1f7cd5291f2c69b4126c63bd567c6b106eb332c9 87e7ece766168dda860b513dc97fe5af28ec2c4b M tcg + + +I just bisected the same thing down to this commit. It only breaks on one of my x86 machines though. Namely one with + + gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012] + +The abort comes from stack protect code: + +(gdb) bt +#0 0x00007f4cdf7ff3d5 in raise () from /lib64/libc.so.6 +#1 0x00007f4cdf800858 in abort () from /lib64/libc.so.6 +#2 0x00007f4ce18f15b9 in helper_ldl_mmu (env=0x7f4cce74f140, addr=2143803008, + mmu_idx=1) at /tmp/qemu_src/include/exec/softmmu_template.h:153 +#3 0x00007f4cd71eb335 in ?? () +#4 0x0000000000000000 in ?? () +(gdb) up +#1 0x00007f4cdf800858 in abort () from /lib64/libc.so.6 +(gdb) +#2 0x00007f4ce18f15b9 in helper_ldl_mmu (env=0x7f4cce74f140, addr=2143803008, + mmu_idx=1) at /tmp/qemu_src/include/exec/softmmu_template.h:153 +warning: Source file is more recent than executable. +153 GETPC_EXT()); +(gdb) p /x addr +$1 = 0x7fc7d680 +(gdb) x /i $pc +=> 0x7f4ce18f15b9 <helper_ldl_mmu+121>: + callq 0x7f4ce16d3550 <__stack_chk_fail@plt> + +Fix posted: http://patchwork.ozlabs.org/patch/270872/ + + +Commit 584950fd4e4d6ca580800e46f1b41cf1b0b4236c + |