Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Linux kernel panic

 
   Soft32 Home -> Linux2 Arch -> Setup RSS
Next:  Does Red Hat AS4 Update4 support intel P965 chips..  
Author Message
mark

External


Since: Oct 03, 2006
Posts: 12



(Msg. 1) Posted: Mon Dec 18, 2006 12:35 pm
Post subject: Linux kernel panic
Archived from groups: comp>os>linux>setup (more info?)

Hello,

I just wanted to install realTime module (rtLinux) to linux red hat 8.0
(on vmWare). I go exactly as mentioned in intruction
(http://www.ece.osu.edu/~cglee/ECE694Z/rtlinux/rtlinuxInstallation2005Sp.pdf
) and everything goes fine till lilo.conf. I added the following lines:

image /boot/rtzImage
label = rtLinux
read-only
root=/dev/sda2

where /dev/sda2 I take from the results of df command (sda2 stands for
/ ). While executing I got:

request_module[block-major-8]: Root fs not mounted
VFS: Cannot open root device "802" or 08:02
Please append a correct "root=" option
Kernel panic: VFS: Unable to mount root fs on 08:02.

Could you tell me how I can make it work? Thank you!

Regards, mark
Back to top
Login to vote
The Ghost In The Machine

External


Since: Apr 10, 2007
Posts: 676



(Msg. 2) Posted: Mon Dec 18, 2006 3:07 pm
Post subject: Re: Linux kernel panic [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In comp.os.linux.setup, mark
<mkazmierski RemoveThis @gmail.com>
wrote
on 18 Dec 2006 18:35:09 -0800
<1166495709.461941.319930 RemoveThis @80g2000cwy.googlegroups.com>:
> Hello,
>
> I just wanted to install realTime module (rtLinux) to linux red hat 8.0
> (on vmWare). I go exactly as mentioned in intruction
> (http://www.ece.osu.edu/~cglee/ECE694Z/rtlinux/rtlinuxInstallation2005Sp.pdf
> ) and everything goes fine till lilo.conf. I added the following lines:
>
> image /boot/rtzImage
> label = rtLinux
> read-only
> root=/dev/sda2
>
> where /dev/sda2 I take from the results of df command (sda2 stands for
> / ). While executing I got:
>
> request_module[block-major-8]: Root fs not mounted
> VFS: Cannot open root device "802" or 08:02
> Please append a correct "root=" option
> Kernel panic: VFS: Unable to mount root fs on 08:02.
>
> Could you tell me how I can make it work? Thank you!
>
> Regards, mark
>

One suspects that the SCSI driver is not part of your kernel. This
might be troublesome to fix unless you can rebuild the kernel, or
build a RAM disk containing the SCSI module and have it pivot.

BTW, 8.0 is a little old; you might want to upgrade to Fedora.
(I'm not sure what the current version is; I use Gentoo.)

--
#191, ewill3 RemoveThis @earthlink.net
Useless C++ Programming Idea #992398129:
void f(unsigned u) { if(u < 0) ... }

--
Posted via a free Usenet account from http://www.teranews.com
Back to top
Login to vote
mark

External


Since: Oct 03, 2006
Posts: 12



(Msg. 3) Posted: Mon Dec 18, 2006 8:51 pm
Post subject: Re: Linux kernel panic [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

Thank you for your all answers. I am using old retHat 8.0 because I
need to add realTime environment to my linux machine and rtLinux
supports only kernel 2.4.

About the data you asked:
fstab:
LABEL=/ / ext3 defaults
1 1
LABEL=/boot /boot ext3 defaults
1 2
none /dev/pts devpts gid=5,mode=620
0 0
none /proc proc defaults
0 0
none /dev/shm tmpfs defaults
0 0
/dev/sda3 swap swap defaults
0 0
/dev/cdrom /mnt/cdrom iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto
noauto,owner,kudzu 0 0

df command:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 1652380 1422032 146412 91% /
/dev/sda1 101089 9285 86585 10% /boot
none 127692 0 127692 0% /dev/shm
/dev/cdrom 32936 32936 0 100% /mnt/cdrom

lilo.conf:
prompt
timeout=50
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-14
label=linux
initrd=/boot/initrd-2.4.18-14.img
read-only
append="root=LABEL=/"
image /boot/rtzImage
label = rtLinux
read-only
root=/dev/sda2

btw. this redHat is running on vmWare workstation.

Regards, mark
Back to top
Login to vote
Unruh

External


Since: Aug 14, 2005
Posts: 923



(Msg. 4) Posted: Tue Dec 19, 2006 12:47 am
Post subject: Re: Linux kernel panic [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"mark" <mkazmierski.TakeThisOut@gmail.com> writes:

>Hello,

>I just wanted to install realTime module (rtLinux) to linux red hat 8.0
>(on vmWare). I go exactly as mentioned in intruction
>(http://www.ece.osu.edu/~cglee/ECE694Z/rtlinux/rtlinuxInstallation2005Sp.pdf
>) and everything goes fine till lilo.conf. I added the following lines:

>image /boot/rtzImage
>label = rtLinux
>read-only
>root=/dev/sda2

>where /dev/sda2 I take from the results of df command (sda2 stands for
>/ ). While executing I got:

>request_module[block-major-8]: Root fs not mounted
>VFS: Cannot open root device "802" or 08:02
>Please append a correct "root=" option
>Kernel panic: VFS: Unable to mount root fs on 08:02.

>Could you tell me how I can make it work? Thank you!

We don;t know. It is your machine
a) the correct line is
image=/boot/rtzImage
Note if you do
ls /boot
is there adctually a file called rtzImage there? Usually it is compressed.
Why is yours not?
b) is /dev/sda2 actually mounted? What does df say ( post it here)?
VFS-- what are you running on your machine? What does /etc/fstab say?


>Regards, mark
Back to top
Login to vote
Centrion

External


Since: Dec 19, 2006
Posts: 1



(Msg. 5) Posted: Tue Dec 19, 2006 10:51 am
Post subject: Re: Linux kernel panic [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

mark wrote:

> Hello,
>
> I just wanted to install realTime module (rtLinux) to linux red hat 8.0
> (on vmWare). I go exactly as mentioned in intruction
>
(http://www.ece.osu.edu/~cglee/ECE694Z/rtlinux/rtlinuxInstallation2005Sp.pdf
> ) and everything goes fine till lilo.conf. I added the following lines:
>
> image /boot/rtzImage
> label = rtLinux
> read-only
> root=/dev/sda2
>
> where /dev/sda2 I take from the results of df command (sda2 stands for
> / ). While executing I got:
>
> request_module[block-major-8]: Root fs not mounted
> VFS: Cannot open root device "802" or 08:02
> Please append a correct "root=" option
> Kernel panic: VFS: Unable to mount root fs on 08:02.
>
> Could you tell me how I can make it work? Thank you!

According to my system block-major-8:
/etc/modprobe.d/aliases:alias block-major-8-* sd_mod

In other words, it doesn't appear you've compiled the necessary drivers into
the kernel to enable it to mount the root partition. In your case the
low-level hard drive driver (sd_mod is the generic SCSI disk driver, which
is used by SATA controllers and "real" SCSI controllers).

You can either re-compile your kernel or add the driver to the initial RAM
disk image (you DID enable initrd support in your kernel right?)

HTH,

James
--
(_ ,_, _)
/ `'--) (--'` \
/ _,-'\_/'-,_ \
jgs /.-' " '-.\
Back to top
Login to vote
Display posts from previous:   
Related Topics:
linux kernel 2.6.3 - Kernel panic: VFS: Unable to mount ro.. - I am not sure if I am experiencing a silo problem, or a problem with a kernel configuration. I have a couple of sparc....

kernel panic when I tried to install linux. - Hi, when I tried to install linux , I got error messages as followings... RAMDISK : Could not find..

IDE detection problem after kernel recompile - kernel panic - Hi, I have RedHat 9.0 with kernel 2.4.20-8 which I installed off the distribution CD. The IDE devices are as follows:...

kernel panic? - Hello. when I issue make bzImage , at the end of kerenl compiling , I met error messages as follows. "exec..

Help - Kernel Panic - Hi all, I am running Fedora Core 2, kernel 2.6.5. 1- I have Compaq Presario laptop R3000, Intel PIV processor. 2- As...

kernel panic on root - I have RH9, and I am trying to install the latest kernel, 2.4.21. It compiles fine, no probs there. I even used the..
       Soft32 Home -> Linux2 Arch -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]