Re: 2.6.11-rc3-mm1 : can't insmod dm-mod

From: Laurent Riffard
Date: Sat Feb 05 2005 - 08:29:16 EST



Le 05.02.2005 12:26, Andrew Morton a écrit :
Laurent Riffard <laurent.riffard@xxxxxxx> wrote:

Le 04.02.2005 19:33, Andrew Morton a écrit :
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc3/2.6.11-rc3-mm1/
>

loading dm-mod module fails with this message :

FATAL: Error inserting dm-mod
(/lib/modules/2.6.11-rc3-mm1/kernel/drivers/md/dm-mod.ko): Device or resource busy

The following line appears in dmesg :

register_blkdev: failed to get major for device-mapper


You've enabled CONFIG_BASE_SMALL and so the major_names[] hashtable has
just one element. device-mapper uses dynamic major allocation, the range
of which is limited to the size of the top-level major_names[] array. You
ran out of slots and register_blkdev() failed.

Ok, selecting CONFIG_BASE_FULL=y solved the problem.

Thanks for your help.

--
laurent

Attachment: signature.asc
Description: OpenPGP digital signature