Solved

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

Posted on 2004-08-12
2
196 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 250 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now