|
From: Han <kee...@gm...> - 2013-03-15 04:39:07
|
Hi, I am trying to build and to install a kernel module into UML. The UML kernel is built from linux 2.6.2, 32-bit i386. The rootfs is Debian-Squeeze-x86-root_fs. I was able to build the kernel module successful. But when I tried to insmod, I got the kernel panic. After some debugging, I found the kmalloc() during module init returns NULL, and it was dereferenced later, hence the panic. my question is: is kmalloc() supported in UML (during kernel module init)? Is there anything special I need to do? thanks Han |