Karl Voit
2005-01-07 17:50:47 UTC
Hi!
The subject is intended not to be "Tell me, whick kernel should I
take" followed by "Use the latest benh-kernel"! I am using linux a few
years and I feed qualified to decide, why this or that kernel should
be used.
In advance: Sorry for this long posting but I think that these
questions are not answered in "one piece" yet and I think that the
followups to this posting will clearify the situation for a lot of
people with the same questions like me. Please correct me, if I was
too dumb for google :-)
I have an 600MHz iBook2 and concerning the kernel modules I need, I am
using mostly FireWire (sbp2) and usb-modules for USB-sticks. These are
my absolute minimum requirements, that should work. External VGA would
be fine but I guess that ther will be no better result (blurred
picture, almost unusable) than the m3mirror of [1].
,----
| What did I use until now?
`----
I set up my iBook (with dualboot with OS 10.2) a few years ago by
myself using the benh-kernel (now: 2.4.23-pre5-ben0). I compiled it by
myself and added some modules here and there. No special kernel
patches except for a tryout of cryptoloop and connecting a Zaurus PDA
using usbnet and usbserial.
,----
| Why do I want to change my kernel?
`----
Several things are not working satisfying, lead by the firewire
subsystem. Unfortunately, I got kernel oops and sometimes, the modules
just hang (rmmod hangs and no firewire-device can be accessed any
more).
,----
| What are the options concerning kernel version?
`----
For the moment, kernel 2.4 and 2.6 are the options - in various
subversion numbers. I was using kernel 2.4 since now because 2.6 seems
to be quite "unstable" in certain things like firewire, usb and
stuff. And I was not sure, if there is a smooth (easy) way to change
from 2.4 to 2.6 without ending up with too much old crap on my system.
So: what kernel (2.4 or 2.6) do you recommend upon which arguments?
Is it easy to switch from 2.4 to 2.6?[3]
,----
| What are the options concerning kernel(-image) download-source?
`----
As far as I know, there are two options for getting the kernel: debian
repository and benh (using cvs or something).
The Debian way
==============
Since I am using Debian unstable PPC, the first attempt was an
"apt-cache search kernel|grep kernel-image". This results in several
kernels (for G3 and not-SMP):
kernel-image-2.4.27-power3-chrp
kernel-image-2.4.27-power3-pmac
kernel-image-2.4.27-power3-prep
kernel-image-2.4.27-powerpc-chrp
kernel-image-2.4.27-powerpc-pmac
kernel-image-2.4.27-powerpc-prep
kernel-image-2.4.27-powerpc-small-chrp
kernel-image-2.4.27-powerpc-small-pmac
kernel-image-2.4.27-powerpc-small-prep
kernel-image-2.6-power3
kernel-image-2.6-powerpc
kernel-image-2.6.8-power3
kernel-image-2.6.8-powerpc
kernel-image-2.6.9-power3
kernel-image-2.6.9-powerpc
kernel-image-power3
kernel-image-powerpc
Quite a long list. Quite some vocabulary, that should be clearified.
chrp: What are CHRP Power3 boxes?
prep: What are PReP based Power3 computers?
pmac: "This version contains the kernel image for yaboot using Power3
based boxes." This seems to be my machine.
small: What is missing in the small-version?
"apt-cache show" explains at least, that kernel-image-2.6-powerpc is
not ment for my G3 CPU. So the *-powerpc variants can be ignored by me
(IMHO). kernel-image-2.6-power3 seems to be only a "link" to the
current 2.6-kernel-package. Also kernel-image-power3.
pmac or power3 seems to be OK for my system, not only benh wrote on
his page[1], that "Kernels here are tuned for PowerMac machines but
should work on other PPC machines as well."
Based on these things, the list remaining would be:
kernel-image-2.4.27-power3-pmac
kernel-image-2.4.27-powerpc-pmac
kernel-image-2.4.27-powerpc-small-pmac
kernel-image-2.6.8-power3
kernel-image-2.6.9-power3
Assumed, that I want to use a debian kernel, what would be my choice
on which arguments? (stability, features, ...)
Are there all possible kernel modules built in?
Are there all major kernel patches built in?
The benh way
============
Benjamin Herrenschmidt seems to be _the_ Linux PPC geek here :-)
Good to have him and his work but I was always a little bit confused,
why his "perfectly"(?) kernel was not used in Debian (or is it?).
His PPC-page[1] is quite outdated ("Last revision of this page: Sept
20, 2001") and the second source I found was PPCKernel[2].
There, the "Choosing a Kernel" section did answer me some few
questions but not all. The resume there was "Official 2.6 PowerMac is
a great place to start!" but I do not know, if this one is as stable
as it seems to be. I heard of a lot of problems they still have with
2.6.
Assumed, that I want to use a benh/PPCKernel.org kernel, what would be
my choice on which arguments? (stability, features, ...)
Are there all possible kernel modules built in?
Are there all major kernel patches built in?
Choosing which way
==================
I'm very much in favour of the debian way, because of the simplicity
of an "apt-get install kernel-image..." and the correspondent updates
of it.
But if it should be the case, that the benh/PPCKernel.org kernel
offers much more advantages over the Debian kernels, I am willing to
try out BitKeeper for the first time :-)
,----
| Thank you!
`----
I hope you see my intentions and help me to clearify these open
questions. Depending on the answers here, I will probably publish the
results on my howto-section of my homepage[4] not at least because my
iBook PPC HowTo is rather outdated :-)
Thank you _very_ much for digging through this posting so far :-)
[1] http://penguinppc.org/~benh/
[2] http://www.ppckernel.org/
[3] I am thinking of my work spent in various hotplug-scripts,
PDA-sync-scripts, CD/DVD/burning, FireWire, USB-Sticks and so on.
[4] http://www.karl-voit.at/howtos/
The subject is intended not to be "Tell me, whick kernel should I
take" followed by "Use the latest benh-kernel"! I am using linux a few
years and I feed qualified to decide, why this or that kernel should
be used.
In advance: Sorry for this long posting but I think that these
questions are not answered in "one piece" yet and I think that the
followups to this posting will clearify the situation for a lot of
people with the same questions like me. Please correct me, if I was
too dumb for google :-)
I have an 600MHz iBook2 and concerning the kernel modules I need, I am
using mostly FireWire (sbp2) and usb-modules for USB-sticks. These are
my absolute minimum requirements, that should work. External VGA would
be fine but I guess that ther will be no better result (blurred
picture, almost unusable) than the m3mirror of [1].
,----
| What did I use until now?
`----
I set up my iBook (with dualboot with OS 10.2) a few years ago by
myself using the benh-kernel (now: 2.4.23-pre5-ben0). I compiled it by
myself and added some modules here and there. No special kernel
patches except for a tryout of cryptoloop and connecting a Zaurus PDA
using usbnet and usbserial.
,----
| Why do I want to change my kernel?
`----
Several things are not working satisfying, lead by the firewire
subsystem. Unfortunately, I got kernel oops and sometimes, the modules
just hang (rmmod hangs and no firewire-device can be accessed any
more).
,----
| What are the options concerning kernel version?
`----
For the moment, kernel 2.4 and 2.6 are the options - in various
subversion numbers. I was using kernel 2.4 since now because 2.6 seems
to be quite "unstable" in certain things like firewire, usb and
stuff. And I was not sure, if there is a smooth (easy) way to change
from 2.4 to 2.6 without ending up with too much old crap on my system.
So: what kernel (2.4 or 2.6) do you recommend upon which arguments?
Is it easy to switch from 2.4 to 2.6?[3]
,----
| What are the options concerning kernel(-image) download-source?
`----
As far as I know, there are two options for getting the kernel: debian
repository and benh (using cvs or something).
The Debian way
==============
Since I am using Debian unstable PPC, the first attempt was an
"apt-cache search kernel|grep kernel-image". This results in several
kernels (for G3 and not-SMP):
kernel-image-2.4.27-power3-chrp
kernel-image-2.4.27-power3-pmac
kernel-image-2.4.27-power3-prep
kernel-image-2.4.27-powerpc-chrp
kernel-image-2.4.27-powerpc-pmac
kernel-image-2.4.27-powerpc-prep
kernel-image-2.4.27-powerpc-small-chrp
kernel-image-2.4.27-powerpc-small-pmac
kernel-image-2.4.27-powerpc-small-prep
kernel-image-2.6-power3
kernel-image-2.6-powerpc
kernel-image-2.6.8-power3
kernel-image-2.6.8-powerpc
kernel-image-2.6.9-power3
kernel-image-2.6.9-powerpc
kernel-image-power3
kernel-image-powerpc
Quite a long list. Quite some vocabulary, that should be clearified.
chrp: What are CHRP Power3 boxes?
prep: What are PReP based Power3 computers?
pmac: "This version contains the kernel image for yaboot using Power3
based boxes." This seems to be my machine.
small: What is missing in the small-version?
"apt-cache show" explains at least, that kernel-image-2.6-powerpc is
not ment for my G3 CPU. So the *-powerpc variants can be ignored by me
(IMHO). kernel-image-2.6-power3 seems to be only a "link" to the
current 2.6-kernel-package. Also kernel-image-power3.
pmac or power3 seems to be OK for my system, not only benh wrote on
his page[1], that "Kernels here are tuned for PowerMac machines but
should work on other PPC machines as well."
Based on these things, the list remaining would be:
kernel-image-2.4.27-power3-pmac
kernel-image-2.4.27-powerpc-pmac
kernel-image-2.4.27-powerpc-small-pmac
kernel-image-2.6.8-power3
kernel-image-2.6.9-power3
Assumed, that I want to use a debian kernel, what would be my choice
on which arguments? (stability, features, ...)
Are there all possible kernel modules built in?
Are there all major kernel patches built in?
The benh way
============
Benjamin Herrenschmidt seems to be _the_ Linux PPC geek here :-)
Good to have him and his work but I was always a little bit confused,
why his "perfectly"(?) kernel was not used in Debian (or is it?).
His PPC-page[1] is quite outdated ("Last revision of this page: Sept
20, 2001") and the second source I found was PPCKernel[2].
There, the "Choosing a Kernel" section did answer me some few
questions but not all. The resume there was "Official 2.6 PowerMac is
a great place to start!" but I do not know, if this one is as stable
as it seems to be. I heard of a lot of problems they still have with
2.6.
Assumed, that I want to use a benh/PPCKernel.org kernel, what would be
my choice on which arguments? (stability, features, ...)
Are there all possible kernel modules built in?
Are there all major kernel patches built in?
Choosing which way
==================
I'm very much in favour of the debian way, because of the simplicity
of an "apt-get install kernel-image..." and the correspondent updates
of it.
But if it should be the case, that the benh/PPCKernel.org kernel
offers much more advantages over the Debian kernels, I am willing to
try out BitKeeper for the first time :-)
,----
| Thank you!
`----
I hope you see my intentions and help me to clearify these open
questions. Depending on the answers here, I will probably publish the
results on my howto-section of my homepage[4] not at least because my
iBook PPC HowTo is rather outdated :-)
Thank you _very_ much for digging through this posting so far :-)
[1] http://penguinppc.org/~benh/
[2] http://www.ppckernel.org/
[3] I am thinking of my work spent in various hotplug-scripts,
PDA-sync-scripts, CD/DVD/burning, FireWire, USB-Sticks and so on.
[4] http://www.karl-voit.at/howtos/
--
Karl Voit
Karl Voit