Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel panic - no init found. solution wont be typical
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kazzmir
n00b
n00b


Joined: 11 Jan 2004
Posts: 50

PostPosted: Mon Jan 12, 2004 8:39 pm    Post subject: kernel panic - no init found. solution wont be typical Reply with quote

I have searched for hours, google and gentoo and all my attempts at fixing this have failed.

I had a 2.4.23 kernel. I added in drm and tdfx support and rebooted. The kernel panicked at the end with "kernel panic - no init found. try passing init= to lilo". Right before that, i saw messages about not being able to create /dev/ide0/host0/bus0/disc. It kinda seems like the root partition is not being mounted, but I cant figure out why. It is an ext3 filesystem and I have run fsck dozens of times on it. The strange part is I can boot 2.4.20 just fine. I also tried 2.4.24 and got the same problems with 2.4.23.

Solutions I have already tried:
pass init=/sbin/init
pass init=linuxrc
enable multi-mode as the default in the kernel

The disk is Maxtor 80g ultra ata/133. any help is appreciated
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Mon Jan 12, 2004 9:28 pm    Post subject: Reply with quote

Are you missing some driver from your 2.4.23 config? IIRC ext3 is enabled by default, so I assume you've got that. Check that all the drivers you had enabled in 2.4.20 are still enabled in the newer kernels.
Back to top
View user's profile Send private message
vdboor
Guru
Guru


Joined: 03 Dec 2003
Posts: 592
Location: The Netherlands

PostPosted: Mon Jan 12, 2004 10:17 pm    Post subject: Reply with quote

If you run "make mrproper", your /usr/src/linux/.config file will be removed..

If you use the "genkernel --config" script, it might be a good idea to duplicate your configuration in /etc/kernels.
_________________
The best way to accelerate a windows server is by 9.81M/S²
Linux user #311670 and Yet Another Perl Programmer

[ screenies | Coding on KMess ]
Back to top
View user's profile Send private message
kazzmir
n00b
n00b


Joined: 11 Jan 2004
Posts: 50

PostPosted: Mon Jan 12, 2004 11:34 pm    Post subject: Reply with quote

i loaded the saved config file from 2.4.20, which i emerged and built with genkernel. 2.4.24 now boots up fine, but 2.4.23 was booting up before i added drm and tdfx. Now I guess I have to go through and figure out which module it cares about :P.
Back to top
View user's profile Send private message
io-
n00b
n00b


Joined: 17 Dec 2003
Posts: 29
Location: Arizona

PostPosted: Thu Jan 15, 2004 7:24 pm    Post subject: Reply with quote

any luck on figuring that missing module out?

I just setup a fresh gentoo system , 2.4.24 kernel manually configured. I followed all the steps in the install.html file about manually setting up a kernel and I'm getting the exact same error as you on bootup. all my hardware is detected just fine though, and my /etc/fstab file and lilo.conf file are setup correctly too. I haven't run into this setting up gentoo before until now :( this was my first stage3 install though!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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