LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-05-2007, 02:38 PM   #1
StarBV
LQ Newbie
 
Registered: Mar 2007
Posts: 9

Rep: Reputation: 0
Help please .. kernel recompilation ..


Okey .. a small problem ...
so ...
1. I installed slackware 10.2 on my system , with 3.5 GB DDR RAM and SATA hard drive , i booted with kernel sata.i

2. Installed succesfull , but needed to recompile the kernel because HIGH_MEM wasn`t enabled and slack didn`t see all the memory

3. When i boot with the new kernel i get this error:

Code:
VFS: Cannot open root device "081"
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:01

So ... when recompiling kernel just switched on HIGH_MEM to 4GB and recompiled it
and in /etc/lilo.conf current config is:

Code:
image = /boot/vmlinuz
root = /dev/sda2
label = Linux
read-only

image = /boot/vmlinuz.old
root = /dev/sda2
label = Linux.old
read-only
When i boot from vmlinuz i get the error above , when i boot from vmlinuz.old everything`s ok ( except ofcourse the memory problem (linux not seeing all 3.5 GB of ram )


So .. any help ?
 
Old 03-05-2007, 02:53 PM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 30
Looks like you didn't include something in your new kernel.
Double check that you got in kernel:
  • SATA support
  • your root ( / ) filesystem (i.e. if it's ReiserFS, include the ReiserFS driver)
  • proper IDE drivers for your mobo/brand
  • module autoloading and unloading (only for 2.6 kernels, I believe)

Besides that, almost anything else can go in modules

If your old kernel is working alright, but you wanted to add or trim something, HIGH_MEM in this case; why don't you copy your .config file over another kernel source, configure it as your liking and compile from there.

Last edited by raska; 03-05-2007 at 02:57 PM.
 
Old 03-05-2007, 08:28 PM   #3
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
also, I would add, if you don't mind:

#make oldconfig #before running
#make menuconfig #(or xconfig)

else it will reset your old .config to some defaults, and you'll lose all the stuff you already had working.

Skipping this step can cause many a confusing panics...
 
Old 03-05-2007, 08:51 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
@ bioe007

that kernel compile guide link in your sig is broken, just so you know

(http://http//www.digitalhermit.com/l...ild-HOWTO.html)
 
Old 03-06-2007, 12:34 AM   #5
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
@H_TeXMeX_H- many thanks, it is now fixed...

i cna bea dmab clmusy tpyist...

 
  


Reply

Tags
kernel, sata


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 recompilation shrishailnk Linux - Networking 2 04-30-2006 11:05 PM
kernel recompilation shrishailnk Linux - General 4 04-12-2006 12:54 AM
Get agpgart as a loadalbe kernel module, without kernel recompilation? TruongAn Linux - Software 3 03-28-2006 11:44 AM
kernel recompilation ciopi Mandriva 2 11-06-2005 04:18 AM
kernel recompilation sachin_malik Linux - Enterprise 1 05-20-2005 02:57 PM


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

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