Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Kernel panic -not syncing: VFS
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
alessio_demarchi
n00b
n00b


Joined: 03 Nov 2012
Posts: 14

PostPosted: Tue Feb 10, 2015 9:26 pm    Post subject: [SOLVED] Kernel panic -not syncing: VFS Reply with quote

I tried to install gentoo on my new laptop (I'm gentoo user since 2005) but when I reboot the system the system will be blocked with the message:

kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I googled a lot, but I was not able to find anythings usefull.

My laptop is a dell M4800, I7-4910MQ, nvidia Quadro K2100.
I started my laptob using the actual gentoo hybrid ISO installed on external usb hd, and start to install gentoo, as usual, by chroot on the new partition on internal hd.
After recompiling the kernel and installing and configuring grub2 I have rebotted the system, and the system freeze with the above message.
I try a lot of changes on kernel configuration, but nothing work well (to compile kernel I use the command genkernel --menuconfig all).
it seems that the bootloader was not able to mount root fs present on my logical partition /dev/sda7
In the grub.cfg it's all apparently ok, also the kernel parameter "root=/dev/sda7".
I think that there is no log for this part of booting, so how can I analyze the problem and solve it?


Last edited by alessio_demarchi on Thu Feb 12, 2015 5:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Feb 10, 2015 9:46 pm    Post subject: Reply with quote

alessio_demarchi,

Code:
unknown-block(0,0)
tells that you have a piece of the SCSI stack wissing from your kernel, so it cannot see your hard drive at all.

Code:
genkernel --menuconfig all
closes its eyes, uses a preset kernel configuration that suits most people.

We need your lspci output to help you configure the kernel for your system.
_________________
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
alessio_demarchi
n00b
n00b


Joined: 03 Nov 2012
Posts: 14

PostPosted: Wed Feb 11, 2015 8:46 am    Post subject: Reply with quote

Thanks NeddySeagoon

I have alredy tried to compile kernel with closed eyes (rm all .config* from sources directory and genkernell all) but nothing changed.

lspci output:

    00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/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:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
    00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
    00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 04)
    00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
    00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
    00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
    00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d4)
    00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d4)
    00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
    00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d4)
    00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d4)
    00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
    00:1f.0 ISA bridge: Intel Corporation QM87 Express LPC Controller (rev 04)
    00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
    00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
    01:00.0 VGA compatible controller: NVIDIA Corporation GK106GLM [Quadro K2100M] (rev a1)
    01:00.1 Audio device: NVIDIA Corporation GK106 HDMI Audio Controller (rev a1)
    03:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
    11:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Feb 11, 2015 8:58 pm    Post subject: Reply with quote

alessio_demarchi,

Oh dear, fakeraid is in use.
00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)

The only excuse for using fakeraid is that Windows and Linux must share the same raid set.
Did you intend to use RAID like that or is that an accident?

RAID adds another layer of complexity to the startup as the RAID set must be assembled before the root filesystem exists.

Your root will not be
Code:
root=/dev/sda7
it will be /dev/mapper/... or /dev/md...

How many drives do yod have in your laptop?
You need at least two for raid to be useful.
_________________
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
alessio_demarchi
n00b
n00b


Joined: 03 Nov 2012
Posts: 14

PostPosted: Thu Feb 12, 2015 5:22 pm    Post subject: Reply with quote

Ok.

I have modified my bios configuration (from RAID SATA, the factory default, to AHCI SATA).
I had to recompile the kernel because the previous compiled kernel, with the "genkernel all" configuration, doesn't work, and the new one booting well.

Thanks a lot
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