LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2005, 04:09 PM   #1
PinRojas
Member
 
Registered: Feb 2005
Distribution: debian
Posts: 75

Rep: Reputation: 15
My first compiled Kernel.


Hi Guys,

1st Question:
I just playing with the source for the version 2.6.8
I made it fater use "make menuconfig"
I just selected k7 like my procesor type (I have an AMD Duron)
Now, I am working with a dual boot (the other is WinXP for my wife until I can get over it)
Then I configured my lilo.conf (that was a terrible experience, because at a moment I thougth I lost everything and I had to boot twice with the flopy disk before I could fix it)
But the new kernel show this message:

VFS: Cannot open root device "304" or unknown-block(3,4)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(3,4)

Could you help me out? The old one is still working fine (v2.2.0), cause I don't think that is a problem in the lilo.conf file.

2nd Question:
Other question is. I have a AMD Duron as CPU, a NIC Realtek, a MSI KT3 Ultra as motherboard, a GeForce4 MX 420 as Video Card, etc. But I just could find the processor in the "make menuconfig" menu. How could make a kernel-image more exactly to my needs?


Salu2!
 
Old 03-01-2005, 04:41 PM   #2
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
So the lilo entries for both the old and new kernel look similar? What filesystem is your root directory on, and do you have support for it in your new kernel?
 
Old 03-01-2005, 04:49 PM   #3
PinRojas
Member
 
Registered: Feb 2005
Distribution: debian
Posts: 75

Original Poster
Rep: Reputation: 15
Glup!!

This is my currect lilo.conf

lba32
boot=/dev/hda
root=/dev/hda4
install=/boot/boot-menu.b
map=/boot/map
delay=20
prompt
timeout=150
vga=normal
default=WindowsXP
image=/vmlinuz
label=Linux
read-only
image=/vmlinuz.old
label=LinuxOLD
read-only
other=/dev/hda2
label="WindowsXP"


And /dev/hda4 is ext2. How could I know If my new kernel support it?

Salu2!
 
Old 03-01-2005, 04:56 PM   #4
PinRojas
Member
 
Registered: Feb 2005
Distribution: debian
Posts: 75

Original Poster
Rep: Reputation: 15
I saw this in my .config file

# CONFIG_IDE is not set

Is There any relation?

Salu2!
 
Old 03-01-2005, 05:14 PM   #5
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
Probably - do you have the source tree for the old kernel? If not, and you're using a vanilla kernel you'll need to set a lot of things up to make it all work.

Go into Device Drivers->ATA/ATAPI/MFM/RLL support and make sure at least the first two items are checked. I don't have time to go over the complete settings right now, but I'll try to post something tonight or tomorrow if nobody else does - I assume the IDE controller is onboard your motherboard?
 
Old 03-01-2005, 05:17 PM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
# CONFIG_IDE is not set
I would say this is your problem. Without IDE support the kernel cannot read your HDD.

A good idea would be to copy the .config file from your old kernel source to the new, and run "make oldconfig". Now the kernel settings will default to the old ones. Now run "make menuconfig" or "make xconfig" and make your adjustments.

Last edited by bulliver; 03-01-2005 at 05:19 PM.
 
  


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
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 09:41 AM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 05:05 PM
How to transfer the compiled kernel to old kernel server ?? td0l2 Linux - Newbie 2 07-21-2004 02:22 AM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 10:40 AM


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