LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-08-2003, 11:00 AM   #1
fbarre
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28

Rep: Reputation: 15
Question new kernel installation & loop back devices?


can somebody give me a hand please... I'm trying to install a new kernel, 4.2.22, and I properly went thru all the compilation process but when I tried to buid the image as follows:

/sbin/mkinitrd /boot/initrd-4.2.22.img 4.2.22

it says:

All of your loopback devices are in use.

what does this mean and what are the loopback devices?

thanks in advance.
 
Old 10-17-2003, 05:39 PM   #2
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
OK, haven't seen this before, so you'll have to give me some more info.

What distro are you using?
How did you build the kernel? (make menuconfig, make Xconfig, or a distro-specific method)?

What modules are you tyring to load in order to boot? initrd is primarily used to load modules that are required for the boot process. If you don't need them, you might not need initrd.

Loopback devices are usually used to support mounting CD images and encrypted file systems.
 
Old 10-18-2003, 02:14 PM   #3
fbarre
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28

Original Poster
Rep: Reputation: 15
It appears few people faced this problem before.. to learn more about it, google "All of your loopback devices are in use".

I built the kernel using "menuconfig" and I 'm not trying to load any modules as I didn't build the kernel with any loadable modules.

I'm building 4.2.22 distribution and the one I'm currently running is 4.2.21.

Hope you can help further.
 
Old 10-19-2003, 05:06 AM   #4
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
Did you compile the kernel with loopback support compiled in? The selection for it is under the "Block Devices" section of menuconfig's display.

You mean kernel 2.4.22, right?

Ok, wait a minute. The coffee has begun to kick in. You are having problems with the kernel you have, not the kernel you compiled. Different problem set. It is possible that you do not have the loopback module loaded. Try 'insmod loop' or 'insmod loop.o' as root. See if that does the trick. If not, we'll scratch our heads for a little while longer.
 
Old 10-19-2003, 08:56 PM   #5
fbarre
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28

Original Poster
Rep: Reputation: 15
Gosh, yes... I mean 2.4.22!!!
Sorry, I've been stressed lately but will try your suggestion and let you know.

Thanks for your help.
 
Old 10-21-2003, 01:40 PM   #6
fbarre
LQ Newbie
 
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28

Original Poster
Rep: Reputation: 15
Ok, I finally got it working after days and days of dragging this problem.

Hussar, as you said, the problem was with the kernel I had 2.4.21(ie. not the kernel I was compiling 2.4.22). I recompiled my old kernel, 2.4.21, after adding the support of "Loopback" under "Block Devices" section and here's the trick that worked for me:

I added Loopback support as a LOADABLE module and NOT built-in. Then once past module compilation step (ie. make modules), I loaded Loopback.o before even re-installing my old kernel and it worked! Why before re-installing? simply because I couldn't even re-install my old kernel and kept saying "All of your loopback devices are in use" after a /sbin/mkinitrd.

To find "loopback.o" location enter "locate loopback.o").

Hope all this make sense..

thanks again Hussar!

Last edited by fbarre; 10-21-2003 at 01:42 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Maximum mounted loop devices? dplazz Linux - General 6 07-21-2005 05:52 PM
fstab and loop devices MBH Linux - Hardware 3 10-21-2004 08:58 AM
un/mounting loop devices box_l Linux - Software 4 08-05-2004 09:03 AM
compiling kernel, initrd can't make image, 'loop devices busy' infamous41md Linux - Newbie 2 06-02-2004 11:59 AM
Loop back Interface siddiqu Linux - Networking 2 11-17-2001 08:34 PM


All times are GMT -5. The time now is 02:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration