Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] VFS 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
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Tue Feb 16, 2016 7:57 pm    Post subject: [Solved] VFS kernel panic Reply with quote

Hi

I've just installed Gentoo and I have following problem when booting:

Quote:
VFS: Unable to mount root fs on unknown-block(0,0)


kernel: 4.1.15-gentoo-r1

I guess it's a problem with my kernel - because this error looks like the kernel can't see my disks?
But... I'm compiling my kernel with new modules for, like, 40 time, really... It doesn't work.

lspci:
Code:

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation Device 8cb1
00:16.0 Communication controller: Intel Corporation Device 8cba
00:1a.0 USB controller: Intel Corporation Device 8cad
00:1b.0 Audio device: Intel Corporation Device 8ca0
00:1c.0 PCI bridge: Intel Corporation Device 8c90 (rev d0)
00:1c.2 PCI bridge: Intel Corporation Device 8c94 (rev d0)
00:1c.3 PCI bridge: Intel Corporation Device 8c96 (rev d0)
00:1d.0 USB controller: Intel Corporation Device 8ca6
00:1f.0 ISA bridge: Intel Corporation Device 8cc4
00:1f.2 SATA controller: Intel Corporation Device 8c82
00:1f.3 SMBus: Intel Corporation Device 8ca2
01:00.0 VGA compatible controller: NVIDIA Corporation Device 13c2 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 0fbb (rev a1)
03:00.0 Ethernet controller: Qualcomm Atheros Killer E2200 Gigabit Ethernet Controller (rev 10)
04:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)


lspci -v:
Code:
https://bpaste.net/show/eced84f9f036


my .config:
Code:
https://bpaste.net/show/d93c66bd55d9


grub.cfg:
Code:
https://bpaste.net/show/c05bc5754023


fstab:
Code:
https://bpaste.net/show/d0c3f9234687


(0,0) is my HDD, it is clean, just formatted - sda
(1,0) is my SSD with linux - sdb
(2,0) is my SSD with windows10 - sdc
I guess... Is it obvious that the numerical order is as alphabetic order (0,1,2 == a,b,c)?

Could you please help me? I can't stand it anymore :)

PS.

Motherboard if needed: Gigabyte z97x-gaming-3


Last edited by calif on Tue Feb 16, 2016 11:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55108
Location: 56N 3W

PostPosted: Tue Feb 16, 2016 9:03 pm    Post subject: Reply with quote

calif,

Lets look at your kernel.
Code:
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y
Thats good. The kernel can read your partition tables.

Code:
CONFIG_IDE=y
Thats the Depreciated IDE drivers menu and is a verybadthing.
If it was the only driver you had, you would not get any IDE /dev/hda and friends nodes.

Code:
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
Good but only the first two are essential to boot.

Code:
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
Thats the driver for your SATA chipset.
You may need
Code:
# CONFIG_SATA_AHCI_PLATFORM is not set
on. I have two different motherboards with the same chipset. One needs it the other does not.

Turn off
Code:
CONFIG_EXT4_DEBUG=y
All debug options increase logspam. Some interfere with normal operation too.
Unless you are debugging the kernel feature in question, debug options need to be off.

Only you know if you need
Code:
CONFIG_EXT4_ENCRYPTION=y
CONFIG_EXT4_FS_ENCRYPTION=y
They are not required for a handbook install.

Turn off
Code:
CONFIG_NTFS_RW=y
It only allows modifying a NTFS file in place providing the filesize does not change.
Code:
emerge ntfs-3g
if you want to write NTFS volumes.

Quote:
I guess... Is it obvious that the numerical order is as alphabetic order (0,1,2 == a,b,c)?

That's not true as the kernel HDD discovery order and BIOS HDD discovery order need not be the same.
Often, the BIOS reports the boot drive as drive 0, regardless of which drive it actually is.

As you get a kernel to boot, grub must be doing its stuff.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
j000
n00b
n00b


Joined: 25 Apr 2015
Posts: 8

PostPosted: Tue Feb 16, 2016 9:38 pm    Post subject: Reply with quote

Because I did this mistake before, I need to ask. Do you mount /boot before compiling kernel? Because with noauto in fstab...

Also, have you tried to temporarily alter command line in grub to root=/dev/sda3 or sdc and see if this maybe helps?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55108
Location: 56N 3W

PostPosted: Tue Feb 16, 2016 10:37 pm    Post subject: Reply with quote

calif,

j000s post reminds me ...
Does the panic continue with
Unable to find root device in <list_of_block_devices>.
The <list_of_block_devices> may be empty too
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
calif
Tux's lil' helper
Tux's lil' helper


Joined: 29 Nov 2009
Posts: 101

PostPosted: Tue Feb 16, 2016 11:17 pm    Post subject: Reply with quote

NeddySeagoon wrote:
calif,

Lets look at your kernel.
Code:
CONFIG_MSDOS_PARTITION=y
CONFIG_EFI_PARTITION=y
Thats good. The kernel can read your partition tables.

Code:
CONFIG_IDE=y
Thats the Depreciated IDE drivers menu and is a verybadthing.
If it was the only driver you had, you would not get any IDE /dev/hda and friends nodes.

Code:
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_CHR_DEV_SG=y
Good but only the first two are essential to boot.

Code:
CONFIG_ATA=y
CONFIG_SATA_AHCI=y
Thats the driver for your SATA chipset.
You may need
Code:
# CONFIG_SATA_AHCI_PLATFORM is not set
on. I have two different motherboards with the same chipset. One needs it the other does not.

Turn off
Code:
CONFIG_EXT4_DEBUG=y
All debug options increase logspam. Some interfere with normal operation too.
Unless you are debugging the kernel feature in question, debug options need to be off.

Only you know if you need
Code:
CONFIG_EXT4_ENCRYPTION=y
CONFIG_EXT4_FS_ENCRYPTION=y
They are not required for a handbook install.

Turn off
Code:
CONFIG_NTFS_RW=y
It only allows modifying a NTFS file in place providing the filesize does not change.
Code:
emerge ntfs-3g
if you want to write NTFS volumes.

Quote:
I guess... Is it obvious that the numerical order is as alphabetic order (0,1,2 == a,b,c)?

That's not true as the kernel HDD discovery order and BIOS HDD discovery order need not be the same.
Often, the BIOS reports the boot drive as drive 0, regardless of which drive it actually is.

As you get a kernel to boot, grub must be doing its stuff.


It helped! Thank you very much! I wish I could solve those problem like this. ;)))

Now I'm going to repair my GRUB - I found different version of how to install it on gentoo, don't know which one to use, and also that makes my UEFI showing 2 diffrent GRUBs installations and one of those doesn't work.

Hmm, but currently my grub2-mkconfig can't find my windows even when os-prober is installed :(

More here: https://forums.gentoo.org/viewtopic-p-7881340.html#7881340
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