On Thu, 2006-12-07 at 11:09 +0000, MikeW wrote:> Trying the most basic 'vanilla hello world' kernel driver, install
using insmod,
> and trying in module_init to do a simple kmalloc() fails,
> kmalloc returns NULL - i.e. cannot allocate memory.
>
> The driver loads fine under another non-VM system.
>
> Is this a CentOS/VMware quirk ?
> Does anyone know of a workaround or is it just a fact of life that you
> cannot use insmod once the system is running ?
> After all, the 'normal' kernel modules are able to load OK at
startup.
>
> Thanks,
>
> MikeW
>
Should work fine if the kernels are the same ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL:
<http://lists.centos.org/pipermail/centos/attachments/20061207/f512568f/attachment-0001.sig>