• Bug#266731: Kernel needs a patch to boot on certain machines

    From Martin Loschwitz@1:229/2 to All on Wed Aug 18 23:40:13 2004
    XPost: linux.debian.kernel
    From: [email protected]

    Package: kernel
    Severity: normal
    Tags: patch

    Hello,

    I am writing this mail after having talked with Benjamin Herrenschmidt.
    In Linux 2.6 kernels, there is a problem with some certain PowerPC boxen
    which will panic immediately after boot. I observers this beahviour with
    a PowerPC OldWorld from Apple (601 CPU, I think it's a "Power Macintosh
    8200" or something). The root of all evil is a patch sent in by SUSE and Benjamin provided me with a patch. It would make sense to apply it since
    any 2.6 kernel will refuse to boot on machines like that without it. The
    patch is attached. Thanks.

    ========================================================================

    --- 1.59/arch/ppc/kernel/setup.c 2004-07-27 08:27:53 +10:00
    +++ edited/arch/ppc/kernel/setup.c 2004-08-18 21:38:17 +10:00
    @@ -484,6 +484,9 @@
    char *name;
    int offset;
    + if (of_stdout_device == NULL)
    + return -ENODEV;
    +
    /* The user has requested a console so this is already set up. */
    if (strstr(saved_command_line, "console="))
    return -EBUSY;


    =========================================================================

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.8-rc2
    Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)