On Mon, Feb 12, 2018 at 5:47 AM, Pavel Dovgalyuk <dovga...@ispras.ru> wrote:
> I tested ARM only with –kernel and –initrd. > > Can you provide the full command line and the disk image? > > > The command I tried was: time ./buildroot/output.arm~/host/usr/bin/qemu-system-arm -M versatilepb -append 'root=/dev/sda nokaslr norandmaps printk.devkmsg=on printk.time=y - lkmc_eval="/rand_check.out;wget -S google.com;/poweroff.out;"' -kernel ./buildroot/output.arm~/images/zImage -dtb ./buildroot/output.arm~/images/versatile-pb.dtb -nographic -drive file=./buildroot/output.arm~/images/rootfs.ext2,if=scsi,id=img-direct,format=raw -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay -device scsi-hd,drive=img-blkreplay -netdev user,id=net1 -device rtl8139,netdev=net1 -object filter-replay,id=replay,netdev=net1 and the required files can be downloaded from: https://github.com/cirosantilli/linux-kernel-module-cheat/releases/download/test-replay-arm/images.zip They were generated with: ./build -a arm on that repo. > Pavel Dovgalyuk > > > > *From:* Ciro Santilli [mailto:ciro.santi...@gmail.com] > *Sent:* Saturday, February 10, 2018 3:09 AM > *To:* Pavel Dovgalyuk > *Cc:* Pavel Dovgalyuk; qemu-devel@nongnu.org; kw...@redhat.com; Peter > Maydell; war2jor...@live.com; Igor R; quint...@redhat.com; > jasow...@redhat.com; m...@redhat.com; Aleksandr Bezzubikov; > maria.klimushenk...@ispras.ru; kra...@redhat.com; Thomas Dullien; > pbonz...@redhat.com; Alex Bennée > *Subject:* Re: [RFC PATCH v6 00/20] replay additions > > > > Also, what command do you use to test on ARM? I'm a bit stuck to get the > drive part right, e.g.: > > > > -drive > file=./buildroot/output.arm~/images/rootfs.ext2,if=scsi,id=img-direct,format=raw > \ > > -drive driver=blkreplay,if=none,image=img-direct,id=img-blkreplay \ > > -device scsi-hd,drive=img-blkreplay \ > > > > fails with: qemu-system-arm: -device scsi-hd,drive=img-blkreplay: > Conflicts with use by img-direct as 'root', which does not allow 'write' on > #block968 > > >