LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-30-2003, 12:18 AM   #1
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
kernel compilation


i have two problems after i compile my kernel.

1.after successful make mrproper,make menucomfig(custom),make dep,make bzImge,make modules,make modules_install and later when i do make install at last it says
"all your loopback device are in use
Error1:.......leaving directory...........
Error2:.......leaving directory..........."
what could be the reason for this?and the solution?

2.after i compile custom kernel by removing all unwanted modules during the boot up process it says
"VFS:cannot open root device "LABEL=/" or 00:00
please append a correct "root=" boot option
kernel panic:unable to mount root fs on 00:00"
what could be the reason for this?
however if i do make oldconfig instead of make menuconfig it says "the kernel is to big for a standalone boot from floppy".but this one runs perfectly but with unnecessary modules.
 
Old 06-30-2003, 12:23 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
2.after i compile custom kernel by removing all unwanted modules during the boot up process it says
"VFS:cannot open root device "LABEL=/" or 00:00
please append a correct "root=" boot option
kernel panic:unable to mount root fs on 00:00"
what could be the reason for this?

Did you reconfigure your bootloader (either lilo or grub) and then run either lilo or grub-install?
 
Old 06-30-2003, 07:52 PM   #3
eastj1974
Member
 
Registered: Feb 2003
Location: Los Angeles
Distribution: Red Hat 8.0
Posts: 68

Rep: Reputation: 15
I'm having the exact same problem. I've messed around with the .conf file, but I get the "kernel panic" error you do every time. I've been doing some research and some suggest not using "make install". Instead they suggest copying bzImage and other files to /boot/. But I don't know how to copy the appropriate files from /usr/src/linux-2.4 to /boot/. If you figure it out, I would love to hear how. Thanks, eastj
 
Old 06-30-2003, 11:14 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
-----------------------------------------------------------------------------------
But I don't know how to copy the appropriate files from /usr/src/linux-2.4 to /boot/


Try something similar to this:
cp /boot/vmlinuz /boot/vmlinuz.old
cp arch/i386/boot/bzImage /boot/vmlinuz

make modules_install

change /etc/lilo.conf to dual boot vmlinuz and vmlinuz.old
lilo
----------------------------------------------------------------------------------
 
Old 07-01-2003, 04:02 PM   #5
kaiserfro
LQ Newbie
 
Registered: Mar 2003
Posts: 10

Rep: Reputation: 0
Your first error means the Loop file system is not installed. Try 'insmod loop' and see if the compile work again. The initial ram disk is actually a loop file system containing a subset of your root directory. Enough to boot with. Things like modules and the init executable, etc. are in the initrd. (by the way, for those who are curious, a loop filesystem is a complete filesystem contained within a file residing on another filesystem, complete with directories and files, etc.)

Usually when the initrd is created (make install), the loopfs driver is loaded automatically. If it doesnt work, then perhaps you didn't have that module selected in the kernel config.

The second error is probably caused by the first. On booting, the root filesystem starts off as your initial ramdisk, then later in the boot process, the root filesystem switches from the initrd to the actual root directory on your harddrive. If the initrd was not created correctly from the above step, your kernel panic will always appear.

Jeff
 
Old 07-15-2003, 02:47 PM   #6
Peartree
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Check out http://www.redhat.com/archives/anaco.../msg00011.html
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 02:08 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 12:35 PM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 11:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 08:33 AM
Kernel Compilation radhapriya Programming 1 05-17-2003 07:32 AM


All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration