Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] 3.15.10 kernel panic
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
bootle
n00b
n00b


Joined: 02 Apr 2003
Posts: 21
Location: Hamburg, Germany

PostPosted: Sun Sep 21, 2014 2:20 pm    Post subject: [SOLVED] 3.15.10 kernel panic Reply with quote

Hello,

I have my gentoo on /dev/sda2 for ages, the latest kernel beeing 3.6.2, and it worked just fine all the time.
Now I tried to upgrade to kernel 3.15.10. Compiled flawlessly with the old configuration, but then
panicked on first boot.

Code:
VFS: Cannot open root device "802" or unknown block(8,2): error -6
Please append a correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)

Note what comes after "available partitions:" -- NOTHING!

Looks to me like another udev problem again. Perhaps it doesn't populate the /dev directory early enough
or something. I don't know. I fiddled around with some kernel options, but to no avail. Any ideas?

Many thanks in advance for reply.
Regards, bootle


Last edited by bootle on Wed Sep 24, 2014 2:44 pm; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Sun Sep 21, 2014 3:12 pm    Post subject: Reply with quote

Unless you use an initramfs, which does not appear to be the case from your output, udev will not be running yet, so it cannot cause problems. Please show your kernel command line and check that you have included the required disk and controller drivers. There is an FAQ in the help forum about debugging kernel failure to mount root.
Back to top
View user's profile Send private message
bootle
n00b
n00b


Joined: 02 Apr 2003
Posts: 21
Location: Hamburg, Germany

PostPosted: Wed Sep 24, 2014 2:56 pm    Post subject: Reply with quote

Thanks a lot. That pointed into the right direction. /dev/sda is in fact
a legacy IDE disk translated to scsi because of the hybrid mainboard that
provides two SATA channels as well. The problem disappeared after enabling
all relevant ATA/IDE options.

Funny though that the previous kernel didn't care about the difference.
That's why I didn't think of it being a problem and, in turn, didn't check
the relevant settings in the first place. I use gentoo mainly for my work
and not so much as a playground and perform system maintenace and
software installation in rather large time intervals, so that I'm not always
aware of all those bits and pieces that have changed in the meantime.

Sigh. Gentoo is still the best linux distro I know of - lean, fast and
reliable. The only thing that annoys me is udev. For the little benefit
of hotplugging (which I don't need at all anyway) it contaminates the
whole system and, after several years, still causes conflicts every
there and when. This is not a gentoo-specific issue, but gentoo, by its
flexibility, might be the only distro able to provide a solution. But
this belongs to another part of the forum ...
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