View previous topic :: View next topic |
Author |
Message |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Fri Jul 16, 2010 10:46 pm Post subject: |
|
|
sl70,
Save your .config file outside of the kernel tree, do in the kernel tree, so you have a nice clean kernel, then follow the instructions on kernel-seeds.org.
That will get us a second opinion. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Jul 17, 2010 12:33 am Post subject: |
|
|
and try re-emerge udev and check also its version while your at it.
Maybe it's not the kernel that doesn't find your disk. But udev that doesn't create the nodes for your disk partitions. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Sat Jul 17, 2010 10:06 am Post subject: |
|
|
krinn,
When root is being mounted, udev cannot be running and /dev is not mounted ... nothing is mounted.
The kernel uses the root=/dev/... kernel parameter to work out where its root filesystem is without any outside help.
Even when an initrd is used, the kernel still has to find its root from root=/dev/... but there is normally some help provided in the initrd to be able to mount real_root=/dev/...
Edit ... late thought ...
What disk label (partition types) are you using and what does your kernel support ?
The default is MSDOS Partition tables. Which you also need in the kernel. GPT is becoming more popular and is a must have for drives over 2TB as MSDOS Partition Tables have a hard limit there.
It is possible to turn off all partition table support, with the result that the kernel cannot read your partition tables. This is a very bad thing.
Edit 2 ...
You have CONFIG_MSDOS_PARTITION=y so the defualt setting is still there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sl70 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/simpsons_snowball.gif)
Joined: 18 Jun 2002 Posts: 455 Location: Saitama, JP
|
Posted: Mon Jul 19, 2010 8:51 pm Post subject: |
|
|
Oh, yeah. make mrproper. That sounded like a good idea to me, too. Unfortunately, it didn't help. I also tried pci=use_crs, but that was no more successful.
However, the kernel bug listing was very interesting. The report was on a Dell Precision T3400. My machine is a Dell Precision T3500. Are we sure that the patch reported in that bug listing was applied to the gentoo sources? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sadhu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Oct 2004 Posts: 15
|
Posted: Tue Jul 20, 2010 9:12 pm Post subject: |
|
|
I've got same exact problem. Although, I used 'make oldconfig' and didn't try configuring from scratch yet. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Wed Jul 21, 2010 6:48 pm Post subject: |
|
|
sadhu,
Did your old config work ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thegeezer n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Jul 2010 Posts: 38
|
Posted: Thu Jul 22, 2010 10:35 pm Post subject: just a wild shot in the dark |
|
|
have you tried rebuilding the kernel without changing *anything* in the config? i mean by zcat /proc/config.gz
it may just be me but i always have a few config files named really helpful stuff like new newest and newer... and always the one that works is the last one i try, hence the genius of just using config.gz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sadhu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Oct 2004 Posts: 15
|
Posted: Mon Jul 26, 2010 6:20 pm Post subject: |
|
|
No it didn't work. What I did was: zcat /proc/config.gz > .config && make oldconfig
I also tried today 2.6.34-gentoo-r2 but result are the same.
Code: | Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,51) |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54831 Location: 56N 3W
|
Posted: Mon Jul 26, 2010 6:25 pm Post subject: |
|
|
sadhu,
unknown-block(8,51) is /dev/sdd3
The error tells that the kernel can talk to your hard drive controller but cannot read what it finds on /dev/sdd3.
Is the root filesystem in the kernel?
is /dev/sdd3 your root partition? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
m.rizz n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jan 2008 Posts: 6
|
Posted: Mon Jul 26, 2010 7:09 pm Post subject: |
|
|
Yeah! Resolved! It was under my big nose.
The idea from NeddySeagoon:
I search CONFIG_MSDOS_PARTITION in the kernel config:
in File systems -> Partition Types -> Advanced partition selection was unselected
Selecting it menuconfig showed the "PC BIOS (MSDOS partition tables) support" already selected.
I recompiled and rebooted and all went good.
Now in the config file there are this two rows
CONFIG_PARTITION_ADVANCED=y
CONFIG_MSDOS_PARTITION=y
in the old config there was only the second.
Last edited by m.rizz on Mon Jul 26, 2010 8:58 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sadhu n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Oct 2004 Posts: 15
|
Posted: Mon Jul 26, 2010 7:45 pm Post subject: |
|
|
NeddySeagoon wrote: | sadhu,
unknown-block(8,51) is /dev/sdd3
The error tells that the kernel can talk to your hard drive controller but cannot read what it finds on /dev/sdd3.
Is the root filesystem in the kernel? |
yes, it's ext4:
Code: | grep -i ext4 .config
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_DEBUG is not set |
NeddySeagoon wrote: | is /dev/sdd3 your root partition? |
yes it is
Code: | grep -i sdd3 /etc/fstab
/dev/sdd3 / ext4 defaults,noatime 0 1 |
Code: | title GNU/Linux 2.6.34-gentoo-r2
root (hd0,1)
kernel /linux-2.6.34-gentoo-r2 root=/dev/sdd3
title GNU/Linux 2.6.33-gentoo-r2
root (hd0,1)
kernel /linux-2.6.33-gentoo-r2 root=/dev/sdd3 |
2.6.33 kernel works fine. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
afmos n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Jun 2007 Posts: 17
|
Posted: Mon Aug 16, 2010 1:12 am Post subject: |
|
|
I just solved the same issue when upgrading from 2.6.32 to 2.6.34. It turned out the drives were remapped what was /dev/sdc3 in 2.6.32 is /dev/sdk3 in 2.6.34 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fantasma13 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Jul 2004 Posts: 28 Location: Europe
|
Posted: Tue Aug 31, 2010 12:34 pm Post subject: |
|
|
can you elaborate how you solved it? I have a dell workstation as well, everything above 2.6.33-r2 is broken.
I got several AHCI reset failed -5 messages (2.6.35-r5). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sl70 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/simpsons_snowball.gif)
Joined: 18 Jun 2002 Posts: 455 Location: Saitama, JP
|
Posted: Fri Oct 08, 2010 8:18 pm Post subject: |
|
|
Tried what m.rizz posted (CONFIG_PARTITION_ADVANCED=y) but that didn't help. Since that privilege escalation bug was announced a few weeks ago, it's gotten more urgent that I upgrade to a non-vulnerable kernel. I've tried 2.6.34-r1, r6 and, today, r11. None of them will boot. Same Kernel Panic for all.
[Sigh] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sl70 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/simpsons_snowball.gif)
Joined: 18 Jun 2002 Posts: 455 Location: Saitama, JP
|
Posted: Fri Oct 08, 2010 8:50 pm Post subject: |
|
|
I found this post in which the poster suggests using pci=nocrs. This seems to be the opposite of what krinn suggested a couple of months ago (pci=use_crs). So, I tried nocrs, and the kernel panic is gone.
However, what am I doing? Is there any danger in using nocrs? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|