[phenixbb] Linux kernel version 3.0 detection

Nathaniel Echols nechols at lbl.gov
Wed Sep 14 12:11:22 PDT 2011


On Wed, Sep 14, 2011 at 11:56 AM, Ben Eisenbraun
<bene at hkl.hms.harvard.edu> wrote:
> Robert Campbell at Queens pointed out to me that the "machine_type" script
> bundled with PHENIX doesn't understand the new version 3.0 linux kernel
> strings.
>
> He tweaked his local copy for testing purposes on a Debian testing
> machine, and just forcing the 3.0 version to use the 2.6 binaries worked:
>
>  case "$KERNEL" in
>  2.4.*)
>    kernel_version=2.4 ;;
>  2.6.*)
>    kernel_version=2.6 ;;
>  3.0.*)
>    kernel_version=2.6 ;;
>  *)
>    kernel_version="$KERNEL" ;;
>  esac
>
> I haven't tested it myself. It looks like Fedora 16 and Ubuntu 11.10, both
> targeted for November releases, will be using the new 3.0 kernel.

I didn't realize there was a kernel 3.0 yet; since it appears to be a
direct continuation of the 2.6 series, I suspect it won't be difficult
to support.  Thanks for the patch - I will add it to the installers,
with the caveat that we won't actually be testing Phenix on kernel 3
until whenever Fedora 16 comes out.

-Nat


More information about the phenixbb mailing list