Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic not syncing VFS.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
MewRage
n00b
n00b


Joined: 21 Jun 2014
Posts: 7

PostPosted: Sat Jun 21, 2014 1:24 am    Post subject: Kernel panic not syncing VFS. Reply with quote

Hello everyone, I am trying to install Gentoo and it is my first time doing so. I don't have much experience with Linux so this is kind of like the way I'm going to start of learning. After following the install guide on the Gentoo wiki, I rebooted the virtual machine and selected Gentoo. What ended up happening after about ~10-20 seconds was an error saying the cpu was stopped by the host machine and there was a error message that I found which was: Kernel panic not syncing VFS. Hopefully this forum can help me fix this issue and maybe give me some tips and information along the way of successfully installing Gentoo. Thank you!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 21, 2014 10:09 am    Post subject: Reply with quote

MewRage,

Welcome to Gentoo.

Kernel panic not syncing VFS, means the kernel could not mount the root filesystem.
There will hove been something else after that, unknown-block(0,0) ?
The numbers are very useful in finding the problem.

Regardless, tell us the sort of Virtual Machine you are using ... there are lots and post the output of lspci from inside the virtual machine.
You don't say what liveCD you are using. System Rescue CD makes thing easy. as its Gentoo based and provides a GUI with all the tools you need to to post on the forums 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
MewRage
n00b
n00b


Joined: 21 Jun 2014
Posts: 7

PostPosted: Sat Jun 21, 2014 1:36 pm    Post subject: Reply with quote

The error is exactly unknown-block(0,0) and I'm using VMWare Workstation to virtualize it. LiveCD is the one I got from Gentoo which is the minimal iso. If possible I would like to learn using the command line to do this because it's a very useful learning experience.
Back to top
View user's profile Send private message
MewRage
n00b
n00b


Joined: 21 Jun 2014
Posts: 7

PostPosted: Sat Jun 21, 2014 3:11 pm    Post subject: Reply with quote

Today I'll have to leave and I wont be able to reply for about 2 days, so don't forget about this thread in two days. :P
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 21, 2014 4:56 pm    Post subject: Reply with quote

MewRage,

Even with Systeb Rescue CD, you still do a CLI install. Its just you use the shell in terminal window rather than a raw console.

Your unknown-block(0,0) means that the kernel cannot communicate with your hard drive.
Like all virtualisation solutions, VMWare Workstation is a program that pretends to be a whole computer to its guest.
Complete with emulated BIOS and emulated everything else.

A common cause of unknown-block(0,0) is not selecting tho correct hard drive chip set driver in the kernel.
In this case, its the chip set that VMWare Workstation shows to the guest, not the real chip set you have in your PC.

We need the output of lspci from within VMWare Workstation to see what that is.
_________________
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
MewRage
n00b
n00b


Joined: 21 Jun 2014
Posts: 7

PostPosted: Sun Jun 22, 2014 11:32 pm    Post subject: Reply with quote

Right I wasn't too sure on how to configure the kernel properly. Also, how do you find out what you're supposed to to select in the kernel config or add according to your hardware when you use the lspci command?

Here's the lspci output:
http://puu.sh/9FOLD/d47969731a.png
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Jun 23, 2014 12:20 am    Post subject: Reply with quote

lspci -k
Back to top
View user's profile Send private message
MewRage
n00b
n00b


Joined: 21 Jun 2014
Posts: 7

PostPosted: Mon Jun 23, 2014 12:54 am    Post subject: Reply with quote

Umm, the output is too big for the resolution in VMWare sooo, how can I see it all?
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Jun 23, 2014 1:57 am    Post subject: Reply with quote

Code:
lspci -k | less
to view in a pager.
Code:
lspci -k > ~/lspci.out
to save to a file in homedir.
Code:
lspci -k | wgetpaste -r
to get a pastebin url others can look at, usually on IRC.

I prefer sprunge for pasting, though you need curl installed to use it quickly from the command-line, and wget comes in the stage, though you still need to emerge wgetpaste, which doesn't need a compiler to build.


Last edited by steveL on Mon Jun 23, 2014 2:09 am; edited 1 time in total
Back to top
View user's profile Send private message
MewRage
n00b
n00b


Joined: 21 Jun 2014
Posts: 7

PostPosted: Mon Jun 23, 2014 2:09 am    Post subject: Reply with quote

Thank you for that, here's the paste data: http://bpaste.net/raw/398488/
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Jun 23, 2014 2:14 am    Post subject: Reply with quote

Lines like this:
Code:
Kernel driver in use: ata_piix
tell you what drivers are being used; you can do this from the live-disk or indeed any live-disk like knoppix, ubuntu, or sysresccd, to see what they'd use. sysresscd is based on Gentoo, and very useful during installs.

However you're not going to really learn Gentoo til you install it on a real machine, and make that work. Since both getting it up and running, and maintaining it over a period of a year or more, is what really shows you Linux.

By all means practise on VMs; not trying to put you off.
Back to top
View user's profile Send private message
MewRage
n00b
n00b


Joined: 21 Jun 2014
Posts: 7

PostPosted: Mon Jun 23, 2014 2:21 am    Post subject: Reply with quote

What I'm planning is to get it on VM first and mess around and then get it on a real machine or multiple real machines and all that.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Mon Jun 23, 2014 5:16 am    Post subject: Reply with quote

From kernel-seeds.org, the instructions here, you can also:
Take the results of lspci -n and paste them at the following site: http://kmuto.jp/debian/hcl/

You might want to consider a kernel-seed, as they're normally a good base. But dunno about VMs; funtoo has quite a few VM images.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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