Linux Kernel v2.6.8 released!
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    Changelog: http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.8

    When It will be available for Pegasos I/II ???
  • »14.08.04 - 20:53
    Profile
  • Moderator
    gunne
    Posts: 441 from 2003/2/25
    From: Sweden
    Hi

    It is already available as I believe... :-)

    Gunne
    Best wishes, Gunne
  • »14.08.04 - 21:13
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    poundsmack
    Posts: 1346 from 2003/6/8
    From: USA California
    without having to dig to far into the change log, are there any PPC or even pregasos specific changes here?
    "Poundsmack, official morphzone thread creator" -LorD
    "Wanna be lord of the avatars." -JKD
  • »14.08.04 - 21:57
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    @Pounsmack
    that seems on official changelog about PPC, I didnt seen the Pegasos 2.6.8
  • »14.08.04 - 22:33
    Profile
  • Moderator
    gunne
    Posts: 441 from 2003/2/25
    From: Sweden
    Hi poundsmack

    Only people who actually have a Pegasos knows... :-)

    Gunne
    Best wishes, Gunne
  • »14.08.04 - 23:02
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    I only can see 2.6.7 => http://people.debian.org/~luther/pegasos/LATEST
  • »14.08.04 - 23:58
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    I only can see 2.6.7 => http://people.debian.org/~luther/pegasos/LATEST
  • »15.08.04 - 00:20
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    ironfist
    Posts: 254 from 2004/4/22
    From: Pegasos.org
    dholm of Pegasos.org ported the kernel to Gentoo yesterday.

    About Debian I have no idea.
  • »15.08.04 - 08:01
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    ChatDEau
    Posts: 248 from 2003/4/4
    From: MONTREAL, Quebec
    @ironfist

    If one really wants to have it installed, he should simply see the README and compile it according to the instructions, it's not that complicated if you read carefully.

    Fred
  • »15.08.04 - 12:35
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    @ChatDEau

    But WHERE DOWNLOAD linux kernel v2.6.8 for Pegasos I/II with latest ASFS patch and others?
  • »15.08.04 - 13:50
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dholm
    Posts: 296 from 2003/9/1
    From: Malmo, Sweden
    @timofonic:
    Just type "emerge pegasos-dev-sources" and make sure you have ACCEPT_KEYWORDS="~ppc" in /etc/make.conf. There is an NFS bug in that kernel though. I'm testing 2.6.8.1 right now, assuming it works I will upload it in 1-2 hours. So I suggest that you wait another 2.5h before emerging :).
  • »15.08.04 - 13:56
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    emerge pegasos-dev-sources

    j/k ;-)

    But then, when a gentoo updatedinstaller with 2.6.8 or something? Do you have a changelog for see? It has ASFS on these kernel? These ASFS is fixed or something?
  • »15.08.04 - 14:04
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dholm
    Posts: 296 from 2003/9/1
    From: Malmo, Sweden
    pegasos-dev-sources-2.6.8.1 supports the following extra features:
    * speakup
    * squashfs
    * asfs
    * marvell gigabit
    * lufs
    * supermount
    * gensplash

    and it comes with the security fix for the recently discovered /proc/<pid>/cmdline race condition.
    It should be possible to compile the kernel using genkernel again, but I haven't tried this myself so no promises. I have also supplied a default config for the pegasos in /usr/share/doc/pegasos-dev-sources-<version>/pegasos-config.gz for those of you who want a working config from the start. (Just unpack it and put it in your kernel source root as .config)

    [ Edited by dholm on 2004/8/15 16:47 ]
  • »15.08.04 - 14:45
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    What is: speakup, squashfs, lufs, gensplash?

    genkernel?

    Do you will supply an updated gentoo cd image with these kernel?
  • »15.08.04 - 14:50
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dholm
    Posts: 296 from 2003/9/1
    From: Malmo, Sweden
    The new kernel is uploaded, but I had to zap gensplash as I had problems getting it to work with the Radeon framebuffer device. Hopefully bootsplash will be updated for 2.6.8 soon. At that point I will roll a new release.
  • »16.08.04 - 00:55
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    ChatDEau
    Posts: 248 from 2003/4/4
    From: MONTREAL, Quebec
    @timofonic & others

    It's quite simple to make a new kernel, apply the ASFS patch, compile and then install it.

    The things you should always have tho, in case something goes wrong, is a floppy boot disk. I also suggest that you read lilo's manual to make a boot menu if not already done, to be able to boot with an older kernel, in case you get, let's say, a kernel panic or any error blocking the boot sequence.


    *** PLEASE note that this post does not include explanations on how to apply the other Pegasos specific patches, such as Gigabit support, Marvell support, etc.


    First, you download the kernel-image package of your choice, here are the kernels: http://www.kernel.org/pub/linux/kernel/v2.6/

    Kernel 2.6.8.1: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.1.tar.gz

    Once downloaded, you go into a folder were you have rights and you have to decompress it this way:
    tar zxvf linux-2.6.8.1.tar.gz

    It'll make it's own folder.

    Then, download the ASFS patch, latest is here:
    http://march.home.staszic.waw.pl/asfs/asfs-1.0b7_patch_2.6.3.diff.gz

    Put it in the same folder where you decompressed the kernel, but don't go into the linux-2.6.8.1 folder yet.

    Then, you have 2 ways to do the same thing:

    Option 1:
    You need to decompress the patch this way:
    gzip -d asfs-1.0b7_patch_2.6.3.diff.gz

    Then make a soft link (to bypass the first level path in the patch) this way:
    ln -s linux-2.6.8.1 linux-2.6.3

    Apply the patch this way:
    patch -p0 <asfs-1.0b7_patch_2.6.3.diff

    Then go into the linux-2.6.8.1 folder

    Option 2 (dholm's way):

    cd linux-2.6.8.1
    gzip -cd ../asfs-1.0b7_patch_2.6.3.diff.gz | patch -p1

    There will be some messages, if none are errors, everything's OK.

    First step to compile the kernel, this way:
    make menuconfig
    (There will be a menu with options, if you don't know what to do, just exit and click on Yes if it asks to save the config)

    If all went well, second step, this way:
    make
    (this step is quite long, go make some coffee, or take a beer)
    (oh, and at the end it'll ask you about running lilo, say Yes and it'll also ask you if you want to make a boot disk, you can say yes, but it is possible that it won't work. If it ends then, that should still be OK)

    If all went well (considering what I said in previous comment), last compile step, this way:
    sudo make modules_install install

    Now, it should be installed. If you said "no" by error for the lilo question or needed to modify something before running it, then do proceed to the modifications (if necessary) and run it now, this way:
    lilo

    If you get an error at this point, double check the lilo config (usually /etc/lilo.conf).

    All Done!

    Now it's time to reboot and see if it worked, this way:
    reboot

    Once booted up, there's only 1 extra step to activate the ASFS module, run this command:
    modconf

    There's a colored text menu that'll come up. You have to go to kernel/fs/asfs, press enter, move cursor to the asfs line, press enter. It'll ask for parameters, don't enter anything and press enter. After few secs, you should see "Install succeeded" or something like that.

    To make the module active, you need to reboot again, this way:
    reboot

    For more precisions in case something unexpected happens, please refer to the manuals, as I won't help much more on the topic. This was mainly to show you the process of compiling a new kernel by yourself when you don't want to wait for others to do it for you (sometimes, it's long!).

    Hope this helps many of you!

    Fred

    Thanks:
    -------
    - to marcik who gave me the link and some hints about how to apply the ASFS patch
    - to dholm who made some precisions about my misexplanation of the "bug" in the ASFS patch.


    ===
    NOTE that I cannot be held responsible for any damages or problems or whatever could happen in case I made an error in this post.

    [ Edited by ChatDEau on 2004/8/16 0:49 ]

    [ Edited by ChatDEau on 2004/8/16 0:51 ]

    [ Edited by ChatDEau on 2004/8/16 11:57 ]

    [ Edited by ChatDEau on 2004/8/16 13:22 ]
  • »16.08.04 - 04:47
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    dholm
    Posts: 296 from 2003/9/1
    From: Malmo, Sweden
    It's not a bug in patch. The author diffed the sources against a 2.6.3 kernel. Simply go into linux-2.6.8.1 and use "gzip -cd ../asfs-1.0b7_patch_2.6.3.diff.gz | patch -p1".
    -p1 means that it should strip out the first level of the path (linux-2.6.3/).

    If you intend to boot the kernel on a Pegasos you will also need the Pegasos patch and the marvell patches (in case you want gigabit support). Applying the proc-pid-cmdline fix is not a bad idea either to avoid lockups.
  • »16.08.04 - 08:50
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    There are a prepared 2.6.8 kernesource code and binary for Pegasos I/II to download?
  • »16.08.04 - 09:58
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dholm
    Posts: 296 from 2003/9/1
    From: Malmo, Sweden
    Yes, if you run Gentoo. 2.6.8 has been available since it was released and I uploaded 2.6.8.1 yesterday night.

    Beware, you cannot use cdrecords ATAPI-mode with this kernel version.
  • »16.08.04 - 11:02
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Posts: 979 from 2003/6/28
    But for people that doesnt use gentoo? And about a kernel for other distributions and source code public available for all?

    Do you will solve the ATAPI problem then?
  • »16.08.04 - 13:38
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    takemehomegrandma
    Posts: 2720 from 2003/2/24
    Quote:


    timofonic wrote:
    But for people that doesnt use gentoo?


    What? Do such people even exist?!? :-P ;-) Well, in that case, they have only themselves to blame, since Gentoo is by far the very best distro in the whole wide world, the king of the crowned, and they have choosen to use something else! :-D

    Quote:

    And about a kernel for other distributions and source code public available for all?


    Isn't "having the source code publically available" the very key concept of Gentoo? ;-)

    Seriously now, relax! :-) As others has pointed out here in this thread already, there is no magic involved in compiling the latest Linux kernels for the Pegasos (unlike for certain other PPC computers ;-)). I am sure that you will find the new kernel at Sven's site too quite shortly. The reason to why it's not there already is probably just because he has had other things to do the recent days, so please be a little patient. The latest kernels usually pops up there in no-time ..

    :-)

    BTW,
    /me is looking forward to the soon-to-be-released firmware upgrade!
    MorphOS is Amiga done right! :-)
    MorphOS NG will be AROS done right! :-)
  • »16.08.04 - 14:48
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    dholm
    Posts: 296 from 2003/9/1
    From: Malmo, Sweden
    Quote:

    Gentoo is by far the very best distro in the whole wide world

    :-D

    As for the ATAPI problem. Apparently it's part of a security fix for the 2.6.8 kernel. You can disable it with a small patch (and suffer the consequences) or run cdrecord as root (setuid root is not enough).
  • »16.08.04 - 17:31
    Profile Visit Website
  • MorphOS Developer
    Posts: 21 from 2004/6/12
    I compile this kernel (Vanila 2.6.8.1 && pegpatches for 2.6.8) and run in to a very weird problem.

    The kernel boot's normaly but when detecting IDE devices it crashes. It crash at my hdc drive and it is DVD-RW LiteOn 832S) saying something about 'Lost Interrupt' or something like that.

    I wonder is this a known problem ? I use my old working 2.6.7 configuration file (After make oldconfig of coz)

    To be more specyfic:

    ========
    ide-cd: cmd 0x5a timeout
    hdc: lost interrupt
    ========

    [ Edited by morgoth on 2004/8/16 23:32 ]
  • »16.08.04 - 20:34
    Profile Visit Website