Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"end Kernel panic" error while rebooting
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
TitiTwister
n00b
n00b


Joined: 08 May 2015
Posts: 18

PostPosted: Fri May 08, 2015 6:30 pm    Post subject: "end Kernel panic" error while rebooting Reply with quote

Hi !
I'm relatively new with this so I need a little help =)

I'm trying to create a x86 version of Gentoo with VMware. And when I tried to reboot it I saw this :

* failed because we are using /mnt/cdrom
* ERROR : mount-ro failed to start

And finally :

end kernel panic - not syncing vfs unable to mount root fs on unknown-block(0 0)

And before all that when I had to type :
livecd ~# umount /mnt/gentoo{/boot,/sys,/proc,}

umount: /mnt/gentoo/sys: target is busy

and

umount: /mnt/gentoo: target is busy

So what to do ?
And again I'm a beginner so don't hold that against me :oops:
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri May 08, 2015 7:11 pm    Post subject: Reply with quote

TitiTwister,

Welcome to Gentoo.

We were all beginners once, we all know what it was like. It won't be held against you.
Any replies along the lines of RTFM will be accompanied by a pointer to the part of the friendly manual that you need to read.

We will teach you to fish, rather than give you a fish but we won't let you go hungry. Once we know your abilities, help will be aimed just out of your reach, to stretch you a little.

So lets get started.

Code:
livecd ~# umount /mnt/gentoo{/boot,/sys,/proc,}

umount: /mnt/gentoo/sys: target is busy

and

umount: /mnt/gentoo: target is busy
is harmless. Its to teach you good habits. Provided you did the restart properly, the system will have automatically synched and unmounted all the filesystems it the right order.

Code:
umount: /mnt/gentoo: target is busy
usually means that you have a shell open in /mnt/gentoo.


Code:
unable to mount root fs on unknown-block(0 0)
means that your kernel is missing the driver for your emulated hardware.. in your VM.
VMware provides a choice of emulated HDD interfaces. We need to know which one you are trying to use and also how you configure your kernel.

Boot your install media in the VM and run lspci. Post the output.
wgetpaste can help you here.

For the kernel build, tell what you did. You will be doing this again but with some changes.
_________________
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
TitiTwister
n00b
n00b


Joined: 08 May 2015
Posts: 18

PostPosted: Fri May 08, 2015 7:56 pm    Post subject: Reply with quote

Ok so a new problem ! :roll:

I wanted to get wgetpaste and instead got this :

emerge situation

And for the lspci :

lspci

And thanks ! :o
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7089
Location: Saint Amant, Acadiana

PostPosted: Fri May 08, 2015 8:07 pm    Post subject: Reply with quote

Switch to another (not chroot) terminal and make sure dev is mounted, then try again https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation#Mounting

Edit to fix an error, but Neddy is right as always below.
_________________
Please learn how to denote units correctly!


Last edited by Jaglover on Fri May 08, 2015 8:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri May 08, 2015 8:12 pm    Post subject: Reply with quote

TitiTwister,

You got into the chroot without first bind mounting /dev at /mnt/gentoo/dev, so after the chroot step, /dev is empty.
wgetpaste is on the liveCD, so there is no need to chroot.

You have two hard drive controllers. (I have to copy type this, please excuse typos)
Code:
00:07:1 IDE Interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI


You didn't say how you built your kernel, so some general hints.
Genkernel will work if the root filesystem is attached to the emulated PIIX4 but not if its on the emulated Fusion-MPT controller.
The Fusion-MPT driver is on its own kernel menu, so its easy to miss if you configured the kernel by hand.

My guess is that you need the Fusion-MPT driver and its not build into your kernel.
_________________
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
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