View previous topic :: View next topic |
Author |
Message |
reesm n00b
Joined: 02 Mar 2003 Posts: 39 Location: AB, Canada
|
Posted: Thu Nov 02, 2017 11:27 pm Post subject: optimized Apple PPC kernel .config for 4.9.x series? |
|
|
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. |
|
Back to top |
|
|
limn l33t
Joined: 13 May 2005 Posts: 997
|
|
Back to top |
|
|
reesm n00b
Joined: 02 Mar 2003 Posts: 39 Location: AB, Canada
|
Posted: Sun Nov 05, 2017 7:37 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
schwarzygesetzlos Apprentice
Joined: 11 Dec 2004 Posts: 187 Location: Funeralopolis
|
Posted: Mon Jan 22, 2018 3:22 pm Post subject: |
|
|
If you got your Powerbook G4 up and running, I would be very interested in your kernel .config! 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.18 / Gentoo Linux] | Vampire V4 SA [ApolloOS / Amiga OS 3.2.2] |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Thu Feb 01, 2018 10:14 am Post subject: Kernel Config - G4 Mac Mini Kernel 4.15.0 |
|
|
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 |
|
Back to top |
|
|
watersb Apprentice
Joined: 04 Sep 2002 Posts: 297 Location: take a left turn in Tesuque
|
Posted: Fri Feb 02, 2018 3:20 am Post subject: Re: Kernel Config - G4 Mac Mini Kernel 4.15.0 |
|
|
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: | 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
|
|
|
Back to top |
|
|
|