All times are UTC-06:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Tue Jul 18, 2006 12:23 pm 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
hello there

I wanted to reinstall Gentoo 2006.0 on my pegasos but i'm facing an issue here. I wanted to use Genkernel to generate a kernel quite identical to the one from the install CD but genkernel keeps failing.
I first emerged the gentoo-sources (tried with vanilla-sources too) which emerged a 2.6.16-x kernel then tried genkernel following the gentoo handbook :
genkernel --genzimage --kernel-config=/usr/share/genkernel/ppc/Pegasos all

but it keeps failing, telling that it cannot generate the vmlinux image.

I installed gentoo 2005.0 many times on peg using genkernel and had no issue like this before

can someone give me a hand with it ?


Top
   
 Post subject:
PostPosted: Tue Jul 18, 2006 3:44 pm 
Offline

Joined: Wed Feb 01, 2006 12:21 pm
Posts: 32
To use the config that came with the CD, you need to use the same kernel (in this case 2.6.15). The kernel ARCH changed between 2.6.15 and 2.6.16 (from ppc to powerpc), so the config from 2.6.15 won't work.


Top
   
 Post subject:
PostPosted: Wed Jul 19, 2006 4:26 am 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
Quote:
To use the config that came with the CD, you need to use the same kernel (in this case 2.6.15). The kernel ARCH changed between 2.6.15 and 2.6.16 (from ppc to powerpc), so the config from 2.6.15 won't work.
so you mean i should try the "offline" installation process http://www.gentoo.org/doc/en/handbook/2006.0/index.xml

instead of following the usual gentoo handbook ?


Top
   
 Post subject:
PostPosted: Thu Jul 20, 2006 7:43 am 
Offline

Joined: Wed Feb 01, 2006 12:21 pm
Posts: 32
You just need to install the source for a 2.6.15 kernel instead (you can use =sys-kernel/gentoo-sources-2.6.15_rX to pick a version). Or perform a manual kernel configuration with genkernel (pass --menuconfig).

Like I said before, this is sort of unusual, normally, the old configs do work, but there was an ARCH change between 2.6.15 and 2.6.16, so the old configs and klibc need some tweaking to work properly.


Top
   
 Post subject:
PostPosted: Thu Jul 20, 2006 8:03 am 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
thanks for your help, i tried again (from scratch) using a 2.6.15 kernel but i got exactly the same error. It seems like Genkernel doesn't work at all with the pegasos. I did the same on my PC laptop last weekend and it worked fine. I'll try to set the kernel manually then.


Top
   
 Post subject:
PostPosted: Thu Jul 20, 2006 12:01 pm 
I recommend using 2.6.15 kernel with "make menuconfig" if genkernel fails.
The "make" way works fine here ;-)

Quick and dirty tutorial :
add a link on your linux 2.6.15 kernel (if it does not exists)
then go in /usr/src/linux
copy a default .config file from install CD like this :
zcat /proc/config.gz > ./.config

Then do "make menuconfig" and enable/disable any module/thing you want for your kernel.
Then "make all modules_install"
Copy you kernel from /usr/src/linux/arch/ppc/boot/images/zImage.chrp to /boot/ssq-favorite-2.6.16-kernel

That'all.


Top
   
 Post subject:
PostPosted: Thu Jul 20, 2006 1:53 pm 
Offline

Joined: Sun May 08, 2005 8:46 pm
Posts: 559
Location: Paris
thanks a lot Geoffrey ! i'll try that tomorrow !


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 26 guests


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

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group