Native Linux KVM tool v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using kvmtool for the first time. I followed the instructions
from this website to run kvmtool:

https://lwn.net/Articles/447556/#kvm

When I try to run the kvmtool with Debian Squeeze QCOW2 image with
"./kvm run -d debian_squeeze_i386_standard.qcow2" command given in the
website I get the following error:

[    0.405130] md: Waiting for all devices to be available before autodetect
[    0.405995] md: If you don't use raid, use raid=noautodetect
[    0.407079] md: Autodetecting RAID arrays.
[    0.407593] md: Scanned 0 and added 0 devices.
[    0.408163] md: autorun ...
[    0.408526] md: ... autorun DONE.
[    0.409635] List of all partitions:
[    0.410104] 0100           65536 ram0  (driver?)
[    0.410721] 0101           65536 ram1  (driver?)
[    0.411356] 0102           65536 ram2  (driver?)
[    0.411956] 0103           65536 ram3  (driver?)
[    0.412562] 0104           65536 ram4  (driver?)
[    0.413179] 0105           65536 ram5  (driver?)
[    0.413784] 0106           65536 ram6  (driver?)
[    0.414393] 0107           65536 ram7  (driver?)
[    0.414977] 0108           65536 ram8  (driver?)
[    0.415603] 0109           65536 ram9  (driver?)
[    0.416227] 010a           65536 ram10  (driver?)
[    0.416838] 010b           65536 ram11  (driver?)
[    0.417483] 010c           65536 ram12  (driver?)
[    0.418102] 010d           65536 ram13  (driver?)
[    0.418729] 010e           65536 ram14  (driver?)
[    0.419366] 010f           65536 ram15  (driver?)
[    0.420000] fd00          260672 vda  driver: virtio_blk
[    0.420720] No filesystem could mount root, tried:  ext3 ext2 ext4
vfat fuseblk
[    0.421758] Kernel panic - not syncing: VFS: Unable to mount root
fs on unknown-block(253,0)
[    0.422320] CPU: 5 PID: 1 Comm: swapper/0 Not tainted 4.4.2CFSNOHZ #11
[    0.422320]  ffffea0000850100 ffff880022a67df0 ffffffff813a1e0d
ffffffff81a77300
[    0.422320]  ffff880022a67e68 ffffffff81178de7 ffffffff00000010
ffff880022a67e78
[    0.422320]  ffff880022a67e18 ffff880022a67e20 ffff880022a67e80
0000000000000014
[    0.422320] Call Trace:
[    0.422320]  [<ffffffff813a1e0d>] dump_stack+0x44/0x57
[    0.422320]  [<ffffffff81178de7>] panic+0xc8/0x20f
[    0.422320]  [<ffffffff81d52673>] mount_block_root+0x29a/0x2a9
[    0.422320]  [<ffffffff81d52833>] mount_root+0x67/0x6a
[    0.422320]  [<ffffffff81d529a2>] prepare_namespace+0x16c/0x1a4
[    0.422320]  [<ffffffff81d522fc>] kernel_init_freeable+0x1e7/0x1fa
[    0.422320]  [<ffffffff81d51999>] ? initcall_blacklist+0xba/0xba
[    0.422320]  [<ffffffff81780330>] ? rest_init+0x80/0x80
[    0.422320]  [<ffffffff8178033e>] kernel_init+0xe/0xe0
[    0.422320]  [<ffffffff8178c1cf>] ret_from_fork+0x3f/0x70
[    0.422320]  [<ffffffff81780330>] ? rest_init+0x80/0x80
[    0.422320] Kernel Offset: disabled
[    0.422320] Rebooting in 1 seconds..
  # KVM session ended normally.


Could you please let me know where I am going wrong?

Also the website says build the kernel with following configuration:

4. Build a kernel with the following options:

  CONFIG_VIRTIO_BLK=y
  CONFIG_VIRTIO_NET=y
  CONFIG_VIRTIO_CONSOLE=y
  CONFIG_SERIAL_8250_CONSOLE=y
  CONFIG_HW_RANDOM_VIRTIO=y
  CONFIG_FB_VESA=y

Note: also make sure you have CONFIG_EXT2_FS or CONFIG_EXT4_FS if you use the
above images.

But the kernel is not used when kvmtool is run using

./kvm run -d debian_squeeze_i386_standard.qcow2

Could you please let me know how to use the kernel option?

How can I create a new qcow2 image or does the tool support only the
images given in the website ?




Thanks,

Spoorti Doddamani



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux