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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-08-2003, 11:00 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28
Rep:
|
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.
|
|
|
|
10-17-2003, 05:39 PM
|
#2
|
|
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:
|
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.
|
|
|
|
10-18-2003, 02:14 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
|
10-19-2003, 05:06 AM
|
#4
|
|
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:
|
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.
|
|
|
|
10-19-2003, 08:56 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
|
10-21-2003, 01:40 PM
|
#6
|
|
LQ Newbie
Registered: Aug 2003
Location: California
Distribution: RedHat
Posts: 28
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:32 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|