Forums

Skip to content

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

optimized Apple PPC kernel .config for 4.9.x series?

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
reesm
n00b
n00b
User avatar
Posts: 39
Joined: Sun Mar 02, 2003 6:09 am
Location: AB, Canada

optimized Apple PPC kernel .config for 4.9.x series?

  • Quote

Post by reesm » Thu Nov 02, 2017 11:27 pm

Has anybody made an optimized kernel .config as the subject states? I would prefer something that has only the options enabled for Apple Mac G4 systems.

I primarily run a rack of around a dozen XServes, a Powerbook G4 1.67 GHz and a pair of Quicksilver G4's, all with G4/7450 CPUs. So if you have a similar .config that will work, please help me out!

I am hoping to save time in configuring my kernel for PowerPC systems. There are a gazillion options, and most are unselected when starting a fresh install.

Background:
It's been many years since I've used Gentoo because of the extraordinary time I spent emerging instead of using my computers. However, since may distros are dropping PPC support (or even 32 bits!) I feel like Gentoo is one of the last great options. OpenBSD is another, but it's different enough that I don't feel like learning it yet.
Top
limn
l33t
l33t
Posts: 997
Joined: Fri May 13, 2005 8:08 pm

  • Quote

Post by limn » Sat Nov 04, 2017 12:58 am

Here is a 4.9.11 config from a G3.
Top
reesm
n00b
n00b
User avatar
Posts: 39
Joined: Sun Mar 02, 2003 6:09 am
Location: AB, Canada

  • Quote

Post by reesm » Sun Nov 05, 2017 7:37 pm

Thanks! That helped me a lot. I used that plus the install disc's /proc/config.gz file to come up with something that boots.

Once I finish testing my kernel on my various machines, including getting the serial console on my Xserve's tested, I will try and remember to come back here and share it.
Top
schwarzygesetzlos
Apprentice
Apprentice
Posts: 192
Joined: Sat Dec 11, 2004 2:58 pm
Location: Funeralopolis

  • Quote

Post by schwarzygesetzlos » Mon Jan 22, 2018 3:22 pm

If you got your Powerbook G4 up and running, I would be very interested in your kernel .config! :wink: I plan to put Gentoo on mine in the next 1-2 month or so.

For a very well refined G5 kernel you can have a look at my forum thread: https://forums.gentoo.org/viewtopic-t-1055626.html
Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.19 / Gentoo Linux / Adelie Linux] | A600GS [Amibench / Amiga OS 3.2.3]
Top
watersb
Apprentice
Apprentice
User avatar
Posts: 297
Joined: Wed Sep 04, 2002 5:10 am
Location: take a left turn in Tesuque

Kernel Config - G4 Mac Mini Kernel 4.15.0

  • Quote

Post by watersb » Thu Feb 01, 2018 10:14 am

Mac Mini G4 - Not fully tested, but seems like a start.

We boot ok. Drivers and file systems seem to load.

GCC 7.2.0, current Gentoo userland, Gentoo-Sources 4.15.0 , but still the old 13 profile. Switching to current Gentoo, Profile 17, is next step...

GCC Plugins for kernel data-structure sanitization crash, but all the other security-hardening Config Options seem ok.

Download a current copy of my config at
https://watersb.org/_transfer/config.gz


Many thanks to drobbins and his Funtoo Hosting. My website is not all that, another to-do item...

Did I mention this is unstable, still testing? Be careful out there :-)
Top
watersb
Apprentice
Apprentice
User avatar
Posts: 297
Joined: Wed Sep 04, 2002 5:10 am
Location: take a left turn in Tesuque

Re: Kernel Config - G4 Mac Mini Kernel 4.15.0

  • Quote

Post by watersb » Fri Feb 02, 2018 3:20 am

watersb wrote:
GCC Plugins for kernel data-structure sanitization crash, but all the other security-hardening Config Options seem ok.[/b]
UPDATE:

https://patchwork.kernel.org/patch/10054245/
I applied this patch, and just booted OK with these options:

Code: Select all

CONFIG_HAVE_GCC_PLUGINS=y
CONFIG_GCC_PLUGINS=y
# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set
# CONFIG_GCC_PLUGIN_STRUCTLEAK is not set
CONFIG_GCC_PLUGIN_RANDSTRUCT=y
CONFIG_GCC_PLUGIN_RANDSTRUCT_PERFORMANCE=y
# CONFIG_CC_STACKPROTECTOR is not set
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