Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


  Search this Thread
Old 12-28-2009, 06:12 PM   #1
LQ Newbie
Registered: Jan 2005
Location: Italy
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Question Compiling kernel on gentoo

Hello. I'm having an issue on kernel compilation. I'm using a ppc64 device (SONY PS3). I'm trying kernel 2.6.32 by emerging gentoo-sources. I did make ps3_defconfig and added a few drivers.

I did compile gentoo-sources, everything is cool. I did:
make && make install_modules
then copy my kernel and update /etc/kboot.conf

on reboot, I get:
 >> Loading modules
	:: Scanning for /lib/modules/2.6.32-gentoo-r1/modules.dep: No such file or directory
	:: Scanning for /lib/modules/2.6.32-gentoo-r1/modules.dep: No such file or directory
!! Block devide /dev/ps3da1 is not a valid root device
!! The root block device is unspecified or not detected.

boot() ::
Seems like the kernel isn't able to read the root partition, since /lib/modules/2.6.32-gentoo-r1/modules.dep is present and it's valid.

And that's strange, since I also get:
ps3disk sb_02: ps3da is a TOSHIBA MK8052GSX
 ps3da: ps3da1 ps3da2
brd: module loaded
loop: module loaded
My question is: is the kernel seeing the hard disk or not? How can I fix this problem?

Old 12-29-2009, 08:59 AM   #2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello NoWone,

I think it is not a good idea to compile the driver for the bootdisk as a module.
Otherwise, maybe this is not the real problem....
Which bootloader are you using? I'm using lilo and since I have to execute lilo after recompiling the kernel I get an errormessage from lilo if there is a mistake in the configuration of the boot or root device.
Normally the devices on my machines are /dev/hd... or /dev/sd...

I'd recommend to post the configurationfile for your bootloader.



kernel, ps3

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Distro between Gentoo and Debian? (kind of "gentoo without compiling") konqi Linux - General 11 08-05-2010 06:13 AM
gentoo compiling fakie_flip Linux - Distributions 3 08-20-2006 09:34 AM
A question about Gentoo and compiling the kernel orange400 Linux - Distributions 6 05-03-2006 03:28 PM
Compiling kernel with Gentoo -- wrong command Penguin of Wonder Linux - Distributions 2 01-05-2006 08:25 PM
Problems compiling kernel (gentoo on ppc) dauphinfay Linux - Newbie 2 08-05-2005 07:40 PM > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration