LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-18-2005, 06:54 AM   #1
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Rep: Reputation: 31
problem during kernel compilation!!


Hi to all,

I'm using RH9 and I'm trying to install the 2.6.13 kernel.

I got the following errors:

[root@localhost linux-2.6.13]# make install
CHK include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
Kernel: arch/i386/boot/bzImage is ready (#4)
sh /usr/src/linux-2.6.13/arch/i386/boot/install.sh 2.6.13 arch/i386/boot/bzImage System.map "/boot"
All of your loopback devices are in use.
mkinitrd failed
make[1]: *** [install] Error 1
make: *** [install] Error 2
[root@localhost linux-2.6.13]#


Can anyone help me with this?

Warm regards,
visham
 
Old 11-18-2005, 07:33 AM   #2
Keruskerfuerst
Member
 
Registered: Oct 2005
Location: Lat: 48░23┤56┤┤N, Lon: 10░41┤45┤┤E
Distribution: Gentoo 2006
Posts: 719

Rep: Reputation: 31
make bzImage
make modules
make modules_install
mkinitrd
cp arch/(Architecture)/boot/bzImage /boot/vmlinuz
cp System.map /boot/(Systemxxx.map)
 
Old 11-18-2005, 10:26 AM   #3
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Wrong window.

Sorry!

Last edited by Charred; 11-18-2005 at 10:27 AM.
 
Old 11-18-2005, 01:07 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 66
Quote:
All of your loopback devices are in use.
So unmount them... (or at least 1)
 
Old 11-19-2005, 01:55 AM   #5
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Original Poster
Rep: Reputation: 31
Many thx for the replies..

I tried what Keruskerf├╝rst said but it didn't work. I still get the same errors.

I tried unmounting loopback devices using losetup -d, but it asks me for the name of the loop-device. Where do i find this info?

regards,
Visham
 
Old 11-19-2005, 02:07 AM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 66
Your loopback devices will be at /dev/loop0 to /dev/loop{n}
Type 'mount' with no arguments to see where they are mounted...
A better question is why they are all being used. Did you do that yourself?
 
Old 11-21-2005, 05:08 AM   #7
vishamr2000
Member
 
Registered: Aug 2004
Posts: 210

Original Poster
Rep: Reputation: 31
When I did mount w/o arguments, i got the following:

[root@localhost root]# mount
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
/dev/hda3 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)
[root@localhost root]#

I didn't mount any of the loopback devices...

Also, when i did modprobe loop, i got "QM_MODULES: Function not implemented" error.

I have already installed module-init-tools-3.1 and modutils-2.4.27-1.src.rpm

I still get the QM_MODULES... errors during the booting of the 2.6.13 kernel. I do this to install module-init-tools:

tar -zxvf module-init-tools-3.1.tar.gz
cd module-init-tools-3.1
./configure --prefix/=sbin
make
make install
./generate-modprobe.conf /etc/modprobe.conf
cd ..
rpm -i modutils-2.4.27-1.src.rpm
rpmbuild -bb /usr/src/redhat/SPECS/modutils.spec
rpm -Fi /usr/src/redhat/RPMS/i386/modutils-2.4.27-1.i386.rpm

Anything wrong with this?
What step should I take now?

Warm regards,
Visham
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation problem JJX Linux - Software 4 08-31-2005 05:50 AM
Kernel compilation problem LinuxLover Linux - Enterprise 3 05-11-2005 11:03 AM
kernel compilation problem SirrusX Slackware 8 03-07-2005 07:13 AM
kernel compilation problem vishamr2000 Linux - Newbie 2 08-22-2004 04:35 AM
Problem after 2.6.3 kernel compilation frzburn Linux - General 3 03-11-2004 07:12 AM


All times are GMT -5. The time now is 04:44 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