Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel configuration and/or yaboot question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
dissociated
n00b
n00b


Joined: 20 Feb 2004
Posts: 2

PostPosted: Fri Feb 20, 2004 12:41 pm    Post subject: kernel configuration and/or yaboot question Reply with quote

but i believe it's a kernel problem.

my question first: is there anywhere i can see (in human-readable terms) what options i should/shouldn't compile into my kernel?

my situation:

i've got a new 12" powerbook which i'm setting up to dual-boot between osx and gentoo.

after a few fumbled attempts, i've installed gentoo following the instructions provided here, doing a stage 1 install. The only differences are that i've got swap on /dev/hda7 and / on /dev/hda8 (using ext3 as filesystem), and encountered no problems.

i configure the kernel according to the instructions in the link above, adding a few extras (e.g. airport support). i suspect this is where i went wrong, more about that below. the kernel did compile without any error-messages.

i next encountered problems with yabootconfig, but was able to edit /etc/yaboot.conf manualy and apply mkofboot -v.

when i boot now, i get the boot-loader, where i can choose osx, gentoo, openfirmware or boot from cd. booting into anything except gentoo works fine. booting into gentoo, i get (after about 2 or 3 pages of boot-messages) the following message:
Code:

VFS: Cannot open root device "hda8" or 03:08
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:08

after which it reboots in 180 seconds

is my guess that the problem lies in the kernel configuration correct?
if yes, could somebody point me towards info about how to configure my kernel correctly?
if not, does somebody have an idea what else might be wrong?

thanks already
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Feb 20, 2004 8:46 pm    Post subject: Reply with quote

First, 12 PBG4s have "Airport Extreme" and this is not supported under linux.

Second, your problem lies in yaboot. You did not read the comments in the supplied sample yaboot.conf. Open firmware doesn't understand 'hda7' to mean anything. Go back and read your yaboot.conf closely.


(sorry I can't be more specific, I do not have linux installed, ATM).
Back to top
View user's profile Send private message
dissociated
n00b
n00b


Joined: 20 Feb 2004
Posts: 2

PostPosted: Fri Feb 20, 2004 11:41 pm    Post subject: Reply with quote

thanks, but it wasn't yaboot. yaboot was and is working fine.

copying over the default kernel from the live-cd (and modifying yaboot.conf accordingly) allowed me to boot just fine. the actual problem was a kernel option relating to IDE compiled as a module instead of compiled in.

btw, and for anybody else who might have the same problem, yaboot.conf most emphaticaly does require lines using the /dev/hda* syntax.
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Sat Feb 21, 2004 1:01 am    Post subject: Reply with quote

Whups, sorry!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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