Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PowerMac G5 PPC64 Kernel Help
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
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Thu Nov 18, 2004 4:25 pm    Post subject: PowerMac G5 PPC64 Kernel Help Reply with quote

I am installing on a power mac G5 7,3 when i did emerge-dev-sources iit is downloading 2.6.8 i thought i needed the 2.6.9-r7 for thermal support how do i fix this?
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
Back to top
View user's profile Send private message
sivad
n00b
n00b


Joined: 09 Sep 2004
Posts: 19
Location: State College, PA

PostPosted: Thu Nov 18, 2004 4:55 pm    Post subject: Reply with quote

You should be able to open the ebuild in a text editor and add:
ppc64 to the KEYWORDS section.

KEYWORDS="x86 amd64 ppc ppc64"

Then when you run emerge it will install it as it will show up as the latest stable ebuild for ppc64. I did this to install 2.6.10 from mm-sources and compiled kernel that has thermal control for powermac DP 1.8 7,3.
Back to top
View user's profile Send private message
sivad
n00b
n00b


Joined: 09 Sep 2004
Posts: 19
Location: State College, PA

PostPosted: Thu Nov 18, 2004 5:21 pm    Post subject: Reply with quote

Sorry Rawn027,

I realize now that portage does not contain 2.6.9-r7 yet, so the above isn't much help. However if you want to use 2.6.10-rc1 mm-sources until it shows up. It seems to function fine for me and has thermal support fix just like liveCD.
Back to top
View user's profile Send private message
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Thu Nov 18, 2004 5:45 pm    Post subject: Reply with quote

thanks man, i will try that, I am back in mac os x now. I can not get yaboot to work for me

I have this setup...

74GB raptor split in two. Gentoo is on the first half.

/dev/sda2 - bootstrap
/dev/sda3 - swap
/dev/sda4 - root
/dev/sda5 - something for apple
/dev/sda6 - i think is mac os x
/dev/sda7 - free space (nil)

where is the ebuild file to chance keywords?
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
Back to top
View user's profile Send private message
Rawn027
Apprentice
Apprentice


Joined: 01 Mar 2004
Posts: 286

PostPosted: Thu Nov 18, 2004 5:54 pm    Post subject: Reply with quote

will the new kernel just isntall over the old?
_________________
AMD Athlon 64 1.8
1GB DDR 400 RAM
Nvidia 6600 GT

MacBook Pro Duo 1.67
1GB DDR2 667 RAM
ATI x1600 Mobility
Back to top
View user's profile Send private message
sivad
n00b
n00b


Joined: 09 Sep 2004
Posts: 19
Location: State College, PA

PostPosted: Thu Nov 18, 2004 6:24 pm    Post subject: Reply with quote

The ebuild resides in /usr/portage/sys-kernel/mm-sources. Make the change to the ebuild, and emerge mm-sources. Each time you run make all && make modules_install it makes a vmlinux image within that particular source directory. You then have to cp vmlinux into the /boot
directory so that you can access it during startup. If you have a working kernel image (say from 2.6.8) copied intoo /boot under some name (lets say G5) you can copy the new image (from 2.6.10 directory) like:

cp vmlinux /boot/new_kernel.

Then all you have to do is make sure that you have an image entry in your yaboot.conf file for each kernel image (G5 and new_kernel) that you would like to be able to boot. Once you have yaboot.conf installed correctly in the bootstrap partition you can then choose:

l for linux

and then at the
boot:
prompt type in the name of the kernel image that you want to try.

I am no expert at yaboot, but if you post your yaboot.conf file and your partition map maybe someone will be able to spot your error.
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