Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED: Kernel panic und lilo problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Sat Jan 24, 2004 4:53 am    Post subject: SOLVED: Kernel panic und lilo problem Reply with quote

Hello!

I have now reinstalled my linux system several times and always end with a kernel panic.
When booting I get the following error:
Code:
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

The next error when booting is
Code:
Kernel Panic: VFS: Unable to mount root fs on 03:08


But during the installation of lilo I get the following messages when executing lilo to get the boot manager working:
Code:
Warning: /proc/partitions does not match the /dev directorz structure.
Name change: '/dev/scsi/host0/bus0/target0/lun0/disc' -> '/dev/sda'
This kernel was compiled with DEVFS_FS, but 'devfs=mount' was omitted as a kernel command-line parameter; hence the /dev dierectorz structure does not reflect DEVFS_FS device names.

But I have, as it is told, selected the entry for /dev file system and automount in the kernel. :?

Another strange thing is that I don't have any folder named ide or scsi for my devices.

I'm using the gentoo-sources 2.4.22-r5 kernel.

Any help is appreciated.

Thanks
_________________
Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition.


Last edited by fosstux on Thu Mar 04, 2004 10:24 am; edited 1 time in total
Back to top
View user's profile Send private message
volumen1
Guru
Guru


Joined: 01 Mar 2003
Posts: 393
Location: Missoula, MT

PostPosted: Sat Jan 24, 2004 5:17 am    Post subject: Your disks? Reply with quote

Are your hard drives scsi drives or are they weird in any other way? I would make sure that if they are that you have support for SCSI or SATA or whatever built into your kernel (and not as a module). Also, make sure that you have support for whichever filesystem you are using for your root partition built into the kernel (again, not as a module).

Or, if you are building these as modules, you'll need to be using an initrd image. That gets you out of the whole chicken and the egg deal. (i.e. The machine can't load the module to read the filesystem because the module is on the same filesystem).
_________________
I was born with a freakin' dice bag on my belt.
-- www.howsyournetwork.com
Back to top
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Sat Jan 24, 2004 1:19 pm    Post subject: Re: Kerel panic und lilo problem Reply with quote

crparr wrote:
I have now reinstalled my linux system several times and always end with a kernel panic.

"If you always do what you've always done you'll always get what you've always had" (Wasn't that Deming?)

In addition to the DEVFS option, there's a kernel option for auto mounting devfs which you should probably enable also.
CONFIG_DEVFS_MOUNT=y
Code:
File systems  --->
    [*] /dev file system support (EXPERIMENTAL)
    [*]   Automatically mount at boot

_________________
Kent

Planes are dangerous, get out of 'em quick
Back to top
View user's profile Send private message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Sat Jan 24, 2004 5:48 pm    Post subject: Reply with quote

I've solved the problem. I had selected reiserfs, mey ide controller and my Promise ide controller as modules. Now they're compiled into the kernel and now it's working.
_________________
Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition.
Back to top
View user's profile Send private message
FreeFly42
l33t
l33t


Joined: 03 Nov 2003
Posts: 848
Location: Houston, TX

PostPosted: Sat Jan 24, 2004 5:58 pm    Post subject: Reply with quote

There you go, now wasn't that better than just starting over with another re-install!! :wink:
_________________
Kent

Planes are dangerous, get out of 'em quick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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