<div dir="ltr">Hi,<div><br></div><div>I am trying out lguest for the first time and I have run in to some issue while booting.</div><div>Here are the steps I followed.</div><div><br></div><div>a) Installed 32 bit ubuntu distribution 16.04 (this doesn't have the LGUEST config options enabled)</div><div>b) Built ubuntu kernel sources with LGUEST support and installed kernel image</div><div>c) Replaced the kernel from a) by b) by editing grub config.  Successfully booted ubuntu with self made kernel</div><div>d) modprobe lg.ko </div><div>e) Created a rootfile image and installed same OS as is available with ubuntu 16.04 distribution from step a). I used qemu-system-i386 to install the OS image </div><div><div>f) At the end, I execute the following command to boot up the guest OS using qemu but I get the following error:</div><div><br></div><div><div>vthakkar@ubuntu:~/ubuntu-xenial$ sudo ./tools/lguest/lguest 512 vmlinux -v --tunnet=192.168.19.1 --block=/home/vthakkar/rootfile.img root=/dev/vda[sudo] password for vthakkar: </div><div>device 2: tun tap1: 192.168.19.1</div><div>device 3: virtblock 20971520 sectors</div><div>Guest base is at 0x9745d000</div><div>Section 0: size 11083776 addr 0x1000000</div><div>Section 1: size 3715072 addr 0x1a92000</div><div>Guest: 0x9745d000 - 0xb745d000 (0x20000000, MMIO 0x20100180)</div><div>Emulating instruction at 0x1b589f2</div><div>lguest: Reinjecting trap 13 for fault at 0x1b589f2: Invalid argument</div><div>Resetting device console</div><div>Resetting device net</div><div>Resetting device block</div></div><div><br></div><div>Can anyone tell why I am getting this error?</div><div><br></div>Regards, </div><div><div class="gmail_signature">-Vivek</div>
</div></div>