Solved

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

Posted on 2004-08-12
2
199 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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