Messages in this thread | | | Date | Sat, 05 Feb 2005 14:25:32 +0100 | From | Laurent Riffard <> | Subject | Re: 2.6.11-rc3-mm1 : can't insmod dm-mod |
| |
Le 05.02.2005 12:26, Andrew Morton a écrit : > Laurent Riffard <laurent.riffard@free.fr> 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 [unhandled content-type:application/pgp-signature]
| |