LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 02-03-2004, 09:21 PM   #1
hondaman
Member
 
Registered: Feb 2004
Location: Dallas
Distribution: Fedora
Posts: 59

Rep: Reputation: 15
2.6.1 and kernel panics


I am trying to install 2.6.1 on a dual opteron motherboard using via chipsets. My harddrive is a sata wd raptor. When I compile and install, then boot the kernel, I get the following error:

VFS: Cannot open root device "801" on unknown-block (8,1)
Please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on unknown-block (8,1)

boot=/dev/sda
map=/boot/System.map
default="2.6.1"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-smp
label="linux-smp"
root=/dev/sda1
initrd=/boot/initrd-smp.img
append="devfs=mount acpi=off resume=/dev/sda5"
read-only
image=/boot/vmlinuz
label="linux"
root=/dev/sda1
initrd=/boot/initrd.img
append="devfs=mount acpi=off resume=/dev/sda5"
read-only
image=/boot/bzImage
label="2.6.1"
root=/dev/sda1
append="devfs=mount acpi=off resume=/dev/sda5"
read-only

Thats my current lilo.conf.

Any help would sure be nice! Thanks!

hondaman
 
Old 02-03-2004, 09:35 PM   #2
hondaman
Member
 
Registered: Feb 2004
Location: Dallas
Distribution: Fedora
Posts: 59

Original Poster
Rep: Reputation: 15
Oh, one other thing that might help. My fstab looks like this:

/dev/sda1 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
/dev/sda7 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdb,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,iocharset=iso8859-1,sync,umask=0,codepage=850 0 0
none /proc proc defaults 0 0
/dev/sda6 /var ext3 defaults 1 2
/dev/sda5 swap swap defaults 0 0
10.1.1.1:/drive2/cslogs /gaming/cslogs nfs defaults 1 2
 
Old 02-03-2004, 10:23 PM   #3
Khujo
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Your linux box can't seem to find the root partition (as if you didn't know).

First off, make sure the kernel recognizes the hard drive controller, from what I see it looks like your system thinks your sata drive is a scsi drive. Linux 2.6 might have changed sata to actually go under the ide drivers. You should check to make sure you have that driver enabled, and not as a module, have it built into the kernel.

You might try poking around by doing this from lilo:
Linux root=/dev/hda1 1

Linux can be whatever your 2.6 kernel is.

the root= changes the root device, the one will boot into run level 1.

Once you got it to boot (if it's a different device) It will probably try and remount the rootfs as rw, but will fail, because your /etc/fstab is incorrect. What you want to do is somehow get a root prompt, I don't know how your distro does it, but one way or another you need to get to that point. Then you can run `mount -oremount,rw /` to remount your rootfs in readwrite mode. Edit your /etc/fstab, then make sure you `mount -oremount,ro /` before you reboot, incase your system forgets to remount in read-only mode (essentially preparing it for system shutdown).

Let me know if this helps you at all. Or if I made an ass of myself by underestimating how much you know :P
 
Old 02-04-2004, 12:18 PM   #4
little_ball
Member
 
Registered: Oct 2003
Location: teddy bears Land
Distribution: Slackware 10
Posts: 176

Rep: Reputation: 30
I don't know why but Mandy never let me compile any kernel, no matter how much i try it always give me error of kernel panic, or no error at all but it just didn't boot up my box. and all the people i know either could compile an new kernel for their mandy maybe is a bug problem of mandy or who knows, because i compile kernels for other distros and they work fine, but whit mandy i never could. even if i do make oldconfig nothing work well guess i would live whit the doubt why i could never make mandy to boot whit a different kernel that his own recompiled one.
 
Old 02-04-2004, 01:51 PM   #5
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
you aren't alone...I haven't been able to compile 2.6.1 properly yet...its insane...although the rpm with the precompiled 2.6.1 kernel works great!

I'm trying the new 2.6.2rc3 I got from cooker this weekend..hopefully it will work better.
 
Old 02-04-2004, 11:46 PM   #6
enlight1
Member
 
Registered: Jun 2003
Distribution: Fedora 3
Posts: 82

Rep: Reputation: 15
I have been trying to get 2.6 going here. I had it up fine with the rpm from the cooker iso snapshot. It had some problems dieing on booting half way through once in a while and never really shutdown correctly. Since then, I have been trying to get the source to load for 2.6.2rc3 no luck. I loaded source from kernel archives, not mandrake, and got it to compile, it boots most stuff but can't find some of the modules. like natsemi for my eth0. So I patiently wait for something stable for mandrake to come out. I just don't have time to fiddle with it. Why it can't find modules I don't know. Maybe something to do with mod tools?
 
Old 02-07-2004, 09:18 PM   #7
hondaman
Member
 
Registered: Feb 2004
Location: Dallas
Distribution: Fedora
Posts: 59

Original Poster
Rep: Reputation: 15
I finally got over trying to mess with Mandrake and installed Fedora Core 1 Test 1 for x86-64. Upgrading THAT distro to 2.6.2 was painless. There are a couple gotches, but it worked the fist time if you follow the instuctions found on certain web pages.

BTW

I run game servers, and I dont know if its the distro or the kernel, but after upgrading to Fedora and 2.6.2, the performance on my server is a night and day difference.
 
  


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
why kernel panics Niloy Linux - Software 3 08-16-2005 02:46 PM
more kernel panics... Legrow Fedora 0 04-18-2005 11:25 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM
kernel panics please help valleyman Linux - Hardware 12 06-26-2003 06:23 AM
Kernel panics!!! pagal Linux - General 12 01-26-2003 03:29 AM


All times are GMT -5. The time now is 11:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration