<div dir="ltr">- I tried forcing TCG and it gets to the same spot and stops.<div><br></div><div>- running make quickcheck passes the tests (see attached)</div><div><br></div><div>- I tried a different kernel (3.13.0-49-generic) and again it passes the quickcheck but virt-builder hangs.</div><div><br></div><div>- I added 'set -x' to the top of the init script and I don't see any additional output (see attached)</div><div><br></div><div>Shawn</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 30, 2015 at 2:06 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Jun 29, 2015 at 08:49:26PM -0600, Shawn Greig wrote:<br>
[...]<br>
<br>
Thanks for the detailed bug report.<br>
<br>
The issue is indeed something strange with your host or KVM or your<br>
host kernel (3.13.0-55-generic).  As you can see from the end of the<br>
messages:<br>
<br>
> [    0.371018] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem<br>
> [    0.393840] EXT4-fs (sdb): mounted filesystem without journal. Opts:<br>
> supermin: chroot<br>
> Starting /init script ...<br>
> ln: failed to create symbolic link '/etc/mtab': File exists<br>
> /init: 55: /init: systemd-tmpfiles: not found<br>
> [    1.687079] systemd-udevd[91]: starting version 204<br>
> [    1.808148] random: nonblocking pool is initialized<br>
> [    1.886029] ACPI Exception: AE_BAD_PARAMETER, Thread 487102464 could not acquire Mutex [0x1] (20131115/utmutex-285)<br>
> [    1.886591] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0<br>
> /init: 79: /init: cannot create /sys/block/{h,s,ub,v}d*/queue/scheduler: Directory nonexistent<br>
> /sbin/dhclient-script: line 31: /etc/fstab: No such file or directory<br>
> [    2.935872] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3<br>
<br>
... the kernel boots quite far, and then hangs in the init script (see<br>
appliance/init).<br>
<br>
Some things you can try:<br>
<br>
 - Force qemu to use TCG (no KVM) mode to see if that makes a difference:<br>
<br>
   export LIBGUESTFS_BACKEND_SETTINGS=force_tcg<br>
<br>
 - Use 'libguestfs-test-tool' for testing to see if that makes a<br>
   difference.  In the build directory, run:<br>
<br>
   make quickcheck<br>
<br>
 - Try a different appliance kernel by setting these variables, but<br>
   choose different kernel versions by looking in your /boot directory<br>
   first:<br>
<br>
   export SUPERMIN_KERNEL_VERSION=3.13.0-55-generic<br>
   export SUPERMIN_KERNEL=/boot/vmlinuz-$SUPERMIN_KERNEL_VERSION<br>
   export SUPERMIN_MODULES=/lib/modules/$SUPERMIN_KERNEL_VERSION<br>
   rm -rf tmp/.guestfs-*<br>
   make quickcheck<br>
<br>
 - Add debugging 'set -x' to the top of appliance/init in the source<br>
   tree to see if it fails while running a specific command.<br>
<br>
Rich.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
virt-top is 'top' for virtual machines.  Tiny program with many<br>
powerful monitoring features, net stats, disk stats, logging, etc.<br>
<a href="http://people.redhat.com/~rjones/virt-top" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones/virt-top</a><br>
</font></span></blockquote></div><br></div></div>