<br><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 3:34 PM, David Konerding <span dir="ltr"><<a href="mailto:dek@konerding.com">dek@konerding.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Fri, Aug 12, 2011 at 3:30 PM, 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">
<div>On Fri, Aug 12, 2011 at 03:13:30PM -0700, David Konerding wrote:<br>
</div><div>> febootstrap: internal insmod virtio_ring.ko<br>
> febootstrap: internal insmod virtio.ko<br>
> febootstrap: internal insmod virtio-rng.ko<br>
> febootstrap: internal insmod virtio_console.ko<br>
> febootstrap: internal insmod virtio_balloon.ko<br>
> febootstrap: no ext2 root device found<br>
> Please include FULL verbose output in your bug report.<br>
<br>
</div>Sorry, disregard the previous answer.<br>
<br>
The real reason is that you don't have a virtio block driver<br>
(virtio_blk.ko). This needs to be built as a module in your kernel.<br>
<br>
Is this a standard Ubuntu kernel?<br>
<div><br></div></blockquote><div><br></div></div></div></blockquote><div><br></div><div>OK, I have a new 2.6.38 kernel with virtio_blk.ko. This solves the failure to find ext2 root device.</div><div> </div><div>Still not having any luck running the test-tool to completion. There is no /sys in the guest root image. There is also no /etc/fstab (is that expected?) There is no ethernet interface even though it looks like it can load virtio_net.</div>
<div><br></div><div><div>febootstrap: internal insmod virtio_balloon.ko</div><div>febootstrap: picked /sys/block/vdb/dev as root device</div><div>febootstrap: creating /dev/root as block special 251:16</div><div>febootstrap: mounting new root on /root</div>
<div>febootstrap: chroot</div><div>/proc/uptime: No such file or directory</div><div>Starting /init script ...</div><div>warning: can't open /etc/fstab: No such file or directory</div><div>mount: mount point /sys does not exist</div>
<div>cannot open /dev/null</div><div>[ 1.518238] udevd (45): /proc/45/oom_adj is deprecated, please use /proc/45/oom_score_adj instead.</div><div>Cannot access the Hardware Clock via any known method.</div><div>Use the --debug option to see the details of our search for an access method.</div>
<div>SIOCSIFADDR: No such device</div><div>eth0: ERROR while getting interface flags: No such device</div><div>SIOCADDRT: No such process</div><div> Failed to find sysfs mount point</div><div> read_urandom: /dev/urandom: open failed: No such file or directory</div>
<div> Failed to find sysfs mount point</div><div> read_urandom: /dev/urandom: open failed: No such file or directory</div><div>/init: line 73: /sys/block/vd*/queue/rotational: No such file or directory</div><div>/dev:</div>
<div>total 4</div><div>-rw-r--r-- 1 0 0 30 Aug 15 22:12 kmsg</div><div>rootfs / rootfs rw 0 0</div><div>proc /proc proc rw,relatime 0 0</div><div>/dev/root / ext2 rw,noatime,errors=continue 0 0</div><div>/proc /proc proc rw,relatime 0 0</div>
<div> Failed to find sysfs mount point</div><div> read_urandom: /dev/urandom: open failed: No such file or directory</div><div> Failed to find sysfs mount point</div><div> read_urandom: /dev/urandom: open failed: No such file or directory</div>
<div> Failed to find sysfs mount point</div><div> read_urandom: /dev/urandom: open failed: No such file or directory</div><div>lo Link encap:Local Loopback </div><div> inet addr:127.0.0.1 Mask:255.0.0.0</div>
<div> inet6 addr: ::1/128 Scope:Host</div><div> UP LOOPBACK RUNNING MTU:16436 Metric:1</div><div> RX packets:0 errors:0 dropped:0 overruns:0 frame:0</div><div> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</div>
<div> collisions:0 txqueuelen:0 </div><div> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)</div><div><br></div><div>Kernel IP routing table</div><div>Destination Gateway Genmask Flags MSS Window irtt Iface</div>
<div>Module Size Used by</div><div>virtio_balloon 4416 0 </div><div>virtio_pci 6621 0 </div><div>virtio_net 13053 0 </div><div>virtio_blk 5631 1 </div><div>
virtio_console 14773 0 </div><div>virtio_rng 2308 0 </div><div>virtio 4824 6 virtio_balloon,virtio_pci,virtio_net,virtio_blk,virtio_console,virtio_rng</div><div>virtio_ring 5807 6 virtio_balloon,virtio_pci,virtio_net,virtio_blk,virtio_console,virtio_rng</div>
<div>sparse_keymap 4178 0 </div><div>sym53c8xx 75987 0 </div><div>scsi_transport_spi 25047 1 sym53c8xx</div><div>crc7 1458 0 </div><div>crc_ccitt 1707 0 </div>
<div>crc32c 3015 0 </div><div>crc_itu_t 1747 0 </div><div>Mon Aug 15 22:12:41 UTC 2011</div><div>uptime: 1.76 0.21</div><div>verbose daemon enabled</div><div>linux commmand line: panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=rxvt </div>
<div><br></div><div><br></div><div>Failed to connect to virtio-serial channel.</div><div><br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote">
<div class="im"><div></div></div><div>Mostly, but there are some modifications. I think the kernel team just didn't compile it in. I'll check with them but probably nothing will be done until next week.</div>
<div><br></div><div>Dave</div><div class="im"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
Rich.<br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div><div>virt-top is 'top' for virtual machines. Tiny program with many<br>
powerful monitoring features, net stats, disk stats, logging, etc.<br>
</div><a href="http://et.redhat.com/~rjones/virt-top" target="_blank">http://et.redhat.com/~rjones/virt-top</a><br>
</blockquote></div></div><br>
</blockquote></div><br>