Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel 2.6.32 doesn't work for PPC?
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
Madjic
n00b
n00b


Joined: 20 Sep 2007
Posts: 8

PostPosted: Thu Dec 10, 2009 5:33 pm    Post subject: kernel 2.6.32 doesn't work for PPC? Reply with quote

Has anyone else encounterd problems with the new kernel. I have 2 machines running kernel-2.6.31-gentoo-r6, a iMac G3 and a G4 Powermac. Both failed booting the new kernel (using the old config files with minor/no changes).
They just hang in the white OF screen and do nothing.
As they are relatively slow, trial and error is not really an option (takes about 1.5h to compile 1 kernel on both machines), and as there are different kernel settings (workstation with sound, X, etc…/server) i'll have to try twice.

so does anyone know what has to be changed?
Back to top
View user's profile Send private message
acrux
n00b
n00b


Joined: 02 Feb 2009
Posts: 3
Location: Italy

PostPosted: Thu Dec 10, 2009 11:32 pm    Post subject: Reply with quote

Code:
make oldconfig

_________________
acrux _AT_ linuxmail _DOT_ org
Back to top
View user's profile Send private message
aguettinger
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2003
Posts: 84

PostPosted: Mon Dec 14, 2009 1:23 pm    Post subject: Reply with quote

I had some similar problems recently when I compiled XFS into the kernel instead of as modul, yaboot refused to load my kernel, the kernel was to big. Apparently yaboot only supports kernel that don't exceed at certain size (<14.X MB). Thus my first guess would be your kernel has become to big. Did the size of your kernels increase compared to 2.6.31? Did you activate 'Optimize for size'?
_________________
regards
- andy
Back to top
View user's profile Send private message
Madjic
n00b
n00b


Joined: 20 Sep 2007
Posts: 8

PostPosted: Sat Dec 19, 2009 7:44 pm    Post subject: Reply with quote

aguettinger wrote:
I had some similar problems recently when I compiled XFS into the kernel instead of as modul, yaboot refused to load my kernel, the kernel was to big. Apparently yaboot only supports kernel that don't exceed at certain size (<14.X MB). Thus my first guess would be your kernel has become to big. Did the size of your kernels increase compared to 2.6.31? Did you activate 'Optimize for size'?


Ah, that was indeed the problem - although I experienced the maximum size for the kernel image to <13MB, but it's somewhere around 11.XMB and 12.XMB.
On my other machine the kernel is bigger (somewhat around 15 MB, but that's an G4, so it might depend on Processor type, memory or even something else)

now I have a very unpleasent problem.
hwclock doesn't work. I can neither read the hwclock's status, nor can I reset it with the .32 kernel
result is, the machine stopps booting when trying fsck, because "superblock last mount time is in the future"
my knowledge about C and the kernel is poor, so I have absolutely no idea, how to patch it - or if i made some mistake when disableing options in the Device drivers section of the kernel, or if this has even to do something with Optimize for size.

Ideas anyone?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Wed Jan 06, 2010 1:49 pm    Post subject: Reply with quote

Set your hardware clock in open firmware: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#stupidclock

You should then be able to fsck your disk and continue.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Madjic
n00b
n00b


Joined: 20 Sep 2007
Posts: 8

PostPosted: Wed Jan 06, 2010 1:56 pm    Post subject: Reply with quote

oh, i fixed it with
hwclock --systohc --utc --noadjfile --directisa

fixing it with openfirmware didn't work by the way
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