Re: mkinitrd failed with 'All of your loopback devices are in use'

John Haxby <[email protected]> Fri, 03 Oct 2003 08:09:07 +0100
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
Alan Yang wrote:

>Hello,
>
>I ran into a situation where I don't know how to break the catch-22 cycle.
>The scenario is like this:
>0.  from a DELL machine with scsi device
>1.  I installed the FreeSwan ipsec that seems like a rebuild of kernel is required
>     so that when insmod loads ipsec.o there will be no error caused by the 
>     unreferenced varibales from the current booting kernel
>2.  I rebuilt the kernel, that went fine
>3.  but the mkinitrd failed with the error message:
>     "Alll of your loopback devices are in use"
>     and I think the real problem could be that the loop.o was not loaded
>  
>

You've almost answered your own question.    When you configured this 
question it looks as though you didn't include the loopback device in 
the kernel configuration.   It's an easy thing to miss, I know I've 
missed it on several occasions.   Don't forget to include initial 
ramdisk support as well -- and don't make it a module!

jch