Hi Prateek,

2015-11-23 23:54 GMT+00:00 Prateek Sharma <prateek3.14@gmail.com>:
Hello everyone,
   Super excited about Clear Linux, and I have been trying to run the
clear containers demo at
https://download.clearlinux.org/demos/containers/

When I run boot.sh, I get a few warnings, ending with  "# KVM session
ended normally.". I cant observe any new containers/VMs.

I am running this on a 3rd generation Intel Xeon E3-1240 V2. Can
clearlinux run on this CPU?

This will tell you:

    $ grep -q vmx /proc/cpuinfo && echo yes || echo no
 

The full output of ./boot.sh is:
---
  # lkvm run -k ./vmlinux.container -m 1024 -c 6 --name guest-373
  Warning: ./vmlinux.container is not a bzImage. Trying to load it as
a flat binary...

  # KVM compatibility warning.
    virtio-net device was not detected.
    While you have requested a virtio-net device, the guest kernel did
not initialize it.
    Please make sure that the guest kernel was compiled with
CONFIG_VIRTIO_NET=y enabled in .config.
This message is telling you that the host kernel does not have the correct modules available. What distribution are you running? Also, what do the commands below show?:

    $ uname -r
    $ grep ^CONFIG_VIRTIO /boot/config-`uname -r`

If you see CONFIG_VIRTIO_NET=m, you can try loading the module:

    $ sudo modprobe virtio_net

The same applies for virtio_console. If those options are not listed at all, your kernel is either too old, or you need to rebuild it so that the virtio features are either built-in or built as modules to run the demo.

Kind regards,

James.


  # KVM compatibility warning.
    virtio-console device was not detected.
    While you have requested a virtio-console device, the guest kernel
did not initialize it.
    Please make sure that the guest kernel was compiled with
CONFIG_VIRTIO_CONSOLE=y enabled in .config.

  # KVM session ended normally.

--- END LOG


Thank you,
--Prateek
_______________________________________________
Dev mailing list
Dev@lists.clearlinux.org
https://lists.clearlinux.org/mailman/listinfo/dev


-----
https://clearlinux.org
Open Source Technology Center
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.