[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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



Reply to: