?
Solved

all of your loopback devices are in use, and other recompile questions

Posted on 2004-08-12
2
Medium Priority
?
206 Views
Last Modified: 2013-12-15
I have RedHat9 running on an old laptop(5years old) and I am upgrading the kernel to 2.6.  My major problems are the following:

1. When I 'make install', sometimes I am getting the error message "all of you loopback devices are in use"
I understand what a loopback device is and I am sure that my laptop does not require the SCSI modules to boot up using an initrd image.  I want to know what options need to be disabled or made modular so that an initrd image is not created.
For instance, there is the 'device' section in the kernel config where you will find the SCSI options.  Likewise, there is the "block device" section within this device section where there are the loopback and RAMdisk options.  What are the exact options that need to be turned off so that an initrd image is not required?  I have recompiled over 10 times in the last three days and things are not getting any clearer.

2. Second, the reason for recompiling the kernel is so that I can include support for Bluetooth.  When I restart the machine using the newly compiled kernel, I keep getting warnings about the 'usb_ohci' module as well as keydev, mousedev and iptables even though I am sure those have been compiled.  When I read /var/log/dmesg, I do not see these warning messages so does anyone have a good way to reproduce these so I can begin troubleshooting?

3. I have used lspci to see what pci devices the laptop is using although I think that I would be better off getting a more inclusive list.  I have the specifications for the machine but I was wondering if there were any other commands that at least in conjunction with lspci show all of the devices?
0
Comment
Question by:bisonfur37
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 750 total points
ID: 11785132
Run lspci -v (or lspci -vv) to get more information about your PCI devices. You need to run this as root.

A loopback device is used when you mount a disk image (not an actual disk, just a file that contains a disk image). This is (as you suspect) from creating the initrd. If I remember correctly, there is a config file for initrd that lists the modules that should go into the initrd. I'm not at my Linux system right now, so I cannot check the correct path.

You could also install the kernel manually:

make
make modules
make modules_install

You need to copy the bzImage file to the correct location:

cp arch/i386/boot/bzImage /boot/<your kernel name>

0
 
LVL 2

Author Comment

by:bisonfur37
ID: 11798409
There are only a few times when an initrd is needed.  The way I solved the initial problem what to NOT run 'make install' and make sure to:
1. cp arch/i386/boot/bzImage /boot/<your kernel name>
2. cp System.map /boot/System.map<your kernel name or whatever your little heart desires>
3. make sure to edit either /etc/lilo.conf or /boot/grub/grub.conf
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question