Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic after kernel uppgrade (22-r2) [solved]
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
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Tue Jul 31, 2007 1:47 pm    Post subject: Kernel panic after kernel uppgrade (22-r2) [solved] Reply with quote

I did a kernel uppgrade today and now my kernel panics everytime I boot. complaining about my root= var in grub conf is wrong (it can't find my sda3 partition).

Has there been any changes to how udev /dev is managed that I am unaware of? I have rechecked and trippledchecked the kernel and it is ok. I have support for sata disks and extfs3.

Any hints?

*update
It seems like during boot it finds my disk as hda3 (wich is wrong). When I try to boot it as hda3 (root=/dev/hda3) it get past the earlier panic point but fails when chext2 tries to run.

I'm quite confused right now
_________________
From Gentoo with love


Last edited by Sedrik on Wed Aug 01, 2007 5:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Nephilim666
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2007
Posts: 148

PostPosted: Tue Jul 31, 2007 3:56 pm    Post subject: Reply with quote

From which kernel did you upgrade?

I had similar probs when updating from 2.6.18 to 2.6.20 or something like that.
IIRC, they changed the location of the sata drivers in the kernel config.

This is the current location. ;)

Code:
                                                                                 
  x   Location:                                                                                                     
  x     -> Device Drivers                                                                                             
  x       -> Serial ATA (prod) and Parallel ATA (experimental) drivers                                               
  x         -> ATA device support (ATA [=y])
Back to top
View user's profile Send private message
sonaatti
n00b
n00b


Joined: 09 Jan 2006
Posts: 39

PostPosted: Wed Aug 01, 2007 2:49 pm    Post subject: Reply with quote

See https://forums.gentoo.org/viewtopic-t-571945.html and https://forums.gentoo.org/viewtopic-t-573255.html

You need to completely remove generic-ide, then again your cdrom might be broken.
Back to top
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Wed Aug 01, 2007 5:47 pm    Post subject: Reply with quote

Uppgraded from 21-r4

Removing the generic ide support solved the case and cdrom works fine thanks guys :)
_________________
From Gentoo with love
Back to top
View user's profile Send private message
J_L
n00b
n00b


Joined: 11 Sep 2006
Posts: 68
Location: Gothenburg

PostPosted: Thu Aug 02, 2007 8:02 pm    Post subject: Reply with quote

I don't get it. I have the same problem. I've just compiled the latest stable kernel with my saved .config from a 2.6.19 that worked just fine. Now when i boot with the install cd my disk shows up as sda, but when I boot my system it seems to be identified as hda an the kernel panics. What do I do?
Back to top
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Fri Aug 03, 2007 9:55 am    Post subject: Reply with quote

J_L wrote:
I don't get it. I have the same problem. I've just compiled the latest stable kernel with my saved .config from a 2.6.19 that worked just fine. Now when i boot with the install cd my disk shows up as sda, but when I boot my system it seems to be identified as hda an the kernel panics. What do I do?


My error was solved by removing the support for Generic IDE in the kernel (it was somewhere in the device driver section, under ATA I think). Do note that my laptop don't use ATA so I could do it without problems.
_________________
From Gentoo with love
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