[Lguest] FATAL: Error inserting lg (/lib/modules/2.6.36.1/kernel/drivers/lguest/lg.ko): Cannot allocate memory
hxqq
houqh06 at gmail.com
Thu Dec 9 18:56:39 EST 2010
Hi guys,
I download Linux 2.6.36.1 and want to compile a lguest host kernel and I
copy config file in my OS Federo 11,
use *make oldconfig* to config the kernel, I keep the new config option
in 2.6.36.1 by default.
than I config lguest in the kernel like this(
http://lguest.ozlabs.org/lguest.txt),
what I do is just below:
"General setup":
"Prompt for development and/or incomplete code/drivers" = Y
(CONFIG_EXPERIMENTAL=y)
"Processor type and features":
"Paravirtualized guest support" = Y
"Lguest guest support" = Y
"High Memory Support" = off/4GB
"Alignment value to which kernel should be aligned" = 0x100000
(CONFIG_PARAVIRT=y, CONFIG_LGUEST_GUEST=y, CONFIG_HIGHMEM64G=n and
CONFIG_PHYSICAL_ALIGN=0x100000)
"Device Drivers":
"Block devices"
"Virtio block driver (EXPERIMENTAL)" = M/Y
"Network device support"
"Universal TUN/TAP device driver support" = M/Y
"Virtio network driver (EXPERIMENTAL)" = M/Y
(CONFIG_VIRTIO_BLK=m, CONFIG_VIRTIO_NET=m and CONFIG_TUN=m)
"Virtualization"
"Linux hypervisor example code" = M/Y
(CONFIG_LGUEST=m)
than I
make modules_install
make install
change /boot/grub/grub.conf
and reboot
when I use
*modprobe lg*
It says:
FATAL: Error inserting lg (/lib/modules/2.6.36.1/kernel/drivers/lguest/lg.ko):
Cannot allocate memory
Can someone help me?
Many thanks!
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/lguest/attachments/20101209/4b37e172/attachment.html>
More information about the Lguest
mailing list