Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

kernel 2.6.32 doesn't work for PPC?

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Madjic
n00b
n00b
Posts: 8
Joined: Thu Sep 20, 2007 8:29 pm

kernel 2.6.32 doesn't work for PPC?

  • Quote

Post by Madjic » Thu Dec 10, 2009 5:33 pm

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?
Top
acrux
n00b
n00b
User avatar
Posts: 3
Joined: Mon Feb 02, 2009 3:40 pm
Location: Italy
Contact:
Contact acrux
Website

  • Quote

Post by acrux » Thu Dec 10, 2009 11:32 pm

Code: Select all

make oldconfig
acrux _AT_ linuxmail _DOT_ org
Top
aguettinger
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Fri Sep 26, 2003 4:04 pm

  • Quote

Post by aguettinger » Mon Dec 14, 2009 1:23 pm

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
Top
Madjic
n00b
n00b
Posts: 8
Joined: Thu Sep 20, 2007 8:29 pm

  • Quote

Post by Madjic » Sat Dec 19, 2009 7:44 pm

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?
Top
JoseJX
Retired Dev
Retired Dev
Posts: 2774
Joined: Sun Apr 28, 2002 8:21 pm
Contact:
Contact JoseJX
Website

  • Quote

Post by JoseJX » Wed Jan 06, 2010 1:49 pm

Set your hardware clock in open firmware: http://www.gentoo.org/doc/en/gentoo-ppc ... tupidclock

You should then be able to fsck your disk and continue.
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Top
Madjic
n00b
n00b
Posts: 8
Joined: Thu Sep 20, 2007 8:29 pm

  • Quote

Post by Madjic » Wed Jan 06, 2010 1:56 pm

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

fixing it with openfirmware didn't work by the way
Top
Post Reply

6 posts • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic