[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERR
From: |
Ciro Santilli 六四事件 法轮功 |
Subject: |
[Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed" |
Date: |
Wed, 11 Apr 2018 09:42:49 -0000 |
** Description changed:
QEMU master at 915d34c5f99b0ab91517c69f54272bfdb6ca2b32 Ubuntu 17.10
host.
QEMU commands:
```
#!/usr/bin/env bash
cmd="\
time \
./x86_64-softmmu/qemu-system-x86_64 \
-append 'root=/dev/sda console=ttyS0 nokaslr printk.time=y -
lkmc_eval=\"/rand_check.out;/sbin/ifup -a;wget -S google.com;/poweroff.out;\"' \
-kernel 'out/x86_64/buildroot/images/bzImage' \
-nographic \
\
-drive
file=out/x86_64/buildroot/images/rootfs.ext2.qcow2,if=none,id=img-direct,format=qcow2
\
-drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \
-device ide-hd,drive=img-blkreplay \
\
-netdev user,id=net1 \
-device rtl8139,netdev=net1 \
-object filter-replay,id=replay,netdev=net1 \
"
echo "$cmd"
eval "$cmd -icount 'shift=7,rr=record,rrfile=replay.bin'"
eval "$cmd -icount 'shift=7,rr=replay,rrfile=replay.bin'"
```
This tries to stay as close as possible to the documented commands:
https://github.com/qemu/qemu/blob/08e173f29461396575c85510eb41474b993cb1fb/docs/replay.txt#L28
Images uploaded to: https://github.com/cirosantilli/linux-kernel-module-
cheat/releases/download/test-replay-arm/images4.zip
Images generated with: https://github.com/cirosantilli/linux-kernel-
module-cheat/tree/9513c162ef57e6cb70006dfe870856f94ee9a133
The replay failed straight out with:
```
ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed:
(replay_file && replay_mutex_locked())
```
QEMU configure:
```
- ./configure --enable-debug --enable-trace-backends=simple
--target-list="x86_64-softmmu"
+ ./configure --enable-debug --enable-trace-backends=simple
--target-list=x86_64-softmmu
```
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1762179
Title:
Record and replay replay fails with: "ERROR:replay/replay-
time.c:49:replay_read_clock: assertion failed"
Status in QEMU:
New
Bug description:
QEMU master at 915d34c5f99b0ab91517c69f54272bfdb6ca2b32 Ubuntu 17.10
host.
QEMU commands:
```
#!/usr/bin/env bash
cmd="\
time \
./x86_64-softmmu/qemu-system-x86_64 \
-append 'root=/dev/sda console=ttyS0 nokaslr printk.time=y -
lkmc_eval=\"/rand_check.out;/sbin/ifup -a;wget -S google.com;/poweroff.out;\"' \
-kernel 'out/x86_64/buildroot/images/bzImage' \
-nographic \
\
-drive
file=out/x86_64/buildroot/images/rootfs.ext2.qcow2,if=none,id=img-direct,format=qcow2
\
-drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \
-device ide-hd,drive=img-blkreplay \
\
-netdev user,id=net1 \
-device rtl8139,netdev=net1 \
-object filter-replay,id=replay,netdev=net1 \
"
echo "$cmd"
eval "$cmd -icount 'shift=7,rr=record,rrfile=replay.bin'"
eval "$cmd -icount 'shift=7,rr=replay,rrfile=replay.bin'"
```
This tries to stay as close as possible to the documented commands:
https://github.com/qemu/qemu/blob/08e173f29461396575c85510eb41474b993cb1fb/docs/replay.txt#L28
Images uploaded to: https://github.com/cirosantilli/linux-kernel-
module-cheat/releases/download/test-replay-arm/images4.zip
Images generated with: https://github.com/cirosantilli/linux-kernel-
module-cheat/tree/9513c162ef57e6cb70006dfe870856f94ee9a133
The replay failed straight out with:
```
ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed:
(replay_file && replay_mutex_locked())
```
QEMU configure:
```
./configure --enable-debug --enable-trace-backends=simple
--target-list=x86_64-softmmu
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1762179/+subscriptions
- [Qemu-devel] [Bug 1762179] [NEW] Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Ciro Santilli 六四事件 法轮功, 2018/04/08
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Ciro Santilli 六四事件 法轮功, 2018/04/08
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Ciro Santilli 六四事件 法轮功, 2018/04/08
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Ciro Santilli 六四事件 法轮功, 2018/04/08
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Ciro Santilli 六四事件 法轮功, 2018/04/09
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed",
Ciro Santilli 六四事件 法轮功 <=
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Arnabjyoti Kalita, 2018/04/29
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Ciro Santilli 六四事件 法轮功, 2018/04/30
- [Qemu-devel] [Bug 1762179] Re: Record and replay replay fails with: "ERROR:replay/replay-time.c:49:replay_read_clock: assertion failed", Arnabjyoti Kalita, 2018/04/30