LinuxQuestions.org
Review your favorite Linux distribution.
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 09-18-2005, 08:59 AM   #1
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Rep: Reputation: 15
kernel panic on RH9 and on xandros


what does this error message mean??
 
Old 09-18-2005, 10:10 AM   #2
blindcoder
ROCK Linux
 
Registered: Dec 2003
Location: Berlin, Germany
Distribution: Crystal ROCK
Posts: 108

Rep: Reputation: 15
It means that your kernel has encountered an unresolvable problem and panicked. You can call it the BSOD of Linux.

Greetings,
Benjamin
 
Old 09-18-2005, 03:23 PM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,
or in other words it can be said that "some wrong parameters are being passed to kernel, which it's not being able to resolve".

regards
 
Old 09-18-2005, 03:58 PM   #4
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,110

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You can look at what is happening just before the kernel panic by looking above it on the screen. Sometimes you need to pass the kernel parameter "acpi=off". At the boot menu press "e" Goto the kernel line and add "acpi=off" to the end of it, with a space before it.

This one is hard to read by the kernel output. It it usually because the root filesystem isn't loading, but since you have two distros, which both do the same thing, it is possible you have the wrong root device specified in the "kernel hd(0,1)/boot/vmlinuz root=/dev/sda1 acpi=off" line in /boot/grub/menu.lst.

Don't copy the line exactly, make adjustments for which actual partition you are supposed to be using. That particular line is for disk 0, partition 1. Disks start at 0. Partitions start at 1. hd(0,1)=/dev/sda1=/dev/hda1.

If the error has no such file or directory before it, you might have a bad initrd image, or your root filesystem isn't loading for some other reason.

It is impossible to say exactly what the problem is without knowing the few preceding lines during the boot.

Grub uses the /boot/grub/menu.lst file, which was installed last. That one is the one grub will look for. That is the one to edit. Here is what an entry menu.lst looks like:

title some-linux-distro 2.x.y
kernel hd(0,1)/boot/vmlinuz root=/dev/sda1 acpi=off
initrd hd(0,1)/boot/initrd
savedefault
boot /dev/sda1

or

title some-linux-distro 2.x.y
kernel hd(0,2)/boot/vmlinuz root=/dev/sda2 acpi=off
initrd hd(0,2)/boot/initrd
savedefault
boot /dev/sda2

There are other variations. If you are using a 2.6.8 kernel, the root device has an "s", like sda1. If 2.4 kernel, the root device has a "h", like hda1. You can take a boot cd:

http://www.efense.com/helix

and use the environment to fix the machine if you can't figure out what to put in the grub menu editor at boot up. Remember, when you edit entries at boot, they don't stay that way. You have to go into "/boot/grub/menu.lst" and put the change there after successful boot.

When you boot from a helix cd, all the partitions on your hard drives are in "/mnt". You have to type "mount sda1" in a shell prompt to be able to see, and edit the contents. Helix mounts ro by default, so you have to go into "/etc/fstab" and change the "ro" to "rw".

I will try to keep track of this post. If you still have trouble, reply.
 
Old 09-20-2005, 06:33 AM   #5
linus johann
Member
 
Registered: Jan 2005
Location: philippines
Distribution: rh 9
Posts: 71

Original Poster
Rep: Reputation: 15
oh i forgot to mention that i installed these two distros on different machines.. both have the same error message.. on the xandros box, sometimes it boots successfully.. on other times it puts out the said error.. on the RH box, just after install when it reboots, it already displays this error
 
  


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 panic: attempted to kill init! RH9 after install ghandi Red Hat 2 02-21-2004 01:35 PM
RH9.0 newinstall; kernel panic no init found Boston Dave Linux - Software 5 11-30-2003 08:00 PM
kernel panic : rh9 zorlock Red Hat 4 09-13-2003 08:37 PM
Help -- RH9 Kernel Panic Drogo Linux - Software 3 09-03-2003 11:44 PM
RH9 Kernel Panic St. Martin Linux - General 10 07-09-2003 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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