From: Andi Kleen <ak@muc.de>
To: John Stoffel <stoffel@lucent.com>
Cc: Adrian Bunk <bunk@fs.tum.de>, Andi Kleen <ak@muc.de>,
Valdis.Kletnieks@vt.edu, Fabio Coatti <cova@ferrara.linux.it>,
Andrew Morton <akpm@osdl.org>, Eric <eric@cisu.net>,
linux-kernel@vger.kernel.org
Subject: Re: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED
Date: 26 Jan 2004 00:47:56 +0100
Date: Mon, 26 Jan 2004 00:47:56 +0100 [thread overview]
Message-ID: <20040125234756.GF28576@colin2.muc.de> (raw)
In-Reply-To: <16404.20183.783477.596431@gargle.gargle.HOWL>
On Sun, Jan 25, 2004 at 06:18:47PM -0500, John Stoffel wrote:
>
> Adrian> On Sun, Jan 25, 2004 at 03:37:20PM -0500, John Stoffel wrote:
>
> >> More confirmation as I get it.
>
> Adrian> I'd say that's a different issue: The gcc 3.3 in debian
> Adrian> unstable doesn't know about -funit-at-a-time, and it should
> Adrian> therefore not be affected by this problem.
>
> It certainly didn't seem to make a difference, after doing a make
> mrproper and then putting my .config back in place, it still doesn't
> boot. I'm not doing anything funky in grub, here's my boot options:
Can you apply the appended patch and boot with earlyprintk=serial
(+ serial console with 38400 baud on ttyS0 and a terminal program
that does logging on the other side). If you don't have a serial
console you can also use earlyprintk=vga , but that would require
writing down what's on the screen.
What does it say?
-Andi
diff -u linux-2.6.2rc1mm3/arch/i386/Kconfig-o linux-2.6.2rc1mm3/arch/i386/Kconfig
--- linux-2.6.2rc1mm3/arch/i386/Kconfig-o 2004-01-25 22:40:18.000000000 +0100
+++ linux-2.6.2rc1mm3/arch/i386/Kconfig 2004-01-25 23:23:17.282866816 +0100
@@ -1247,6 +1247,10 @@
Say Y here if you are developing drivers or trying to debug and
identify kernel problems.
+config EARLY_PRINTK
+ bool
+ default y
+
config DEBUG_STACKOVERFLOW
bool "Check for stack overflows"
depends on DEBUG_KERNEL
diff -u linux-2.6.2rc1mm3/arch/i386/kernel/setup.c-o linux-2.6.2rc1mm3/arch/i386/kernel/setup.c
--- linux-2.6.2rc1mm3/arch/i386/kernel/setup.c-o 2004-01-25 22:40:18.000000000 +0100
+++ linux-2.6.2rc1mm3/arch/i386/kernel/setup.c 2004-01-25 23:59:43.123568520 +0100
@@ -1118,6 +1118,18 @@
#endif
paging_init();
+#ifdef CONFIG_EARLY_PRINTK
+ {
+ char *s = strstr(*cmdline_p, "earlyprintk=");
+ if (s) {
+ extern void setup_early_printk(char *);
+ setup_early_printk(s+12);
+ printk("early console should work ....\n");
+ }
+ }
+#endif
+
+
dmi_scan_machine();
#ifdef CONFIG_X86_GENERICARCH
diff -u linux-2.6.2rc1mm3/arch/i386/kernel/Makefile-o linux-2.6.2rc1mm3/arch/i386/kernel/Makefile
--- linux-2.6.2rc1mm3/arch/i386/kernel/Makefile-o 2004-01-25 22:40:18.000000000 +0100
+++ linux-2.6.2rc1mm3/arch/i386/kernel/Makefile 2004-01-25 23:23:19.082593216 +0100
@@ -32,6 +32,9 @@
obj-$(CONFIG_ACPI_SRAT) += srat.o
obj-$(CONFIG_HPET_TIMER) += time_hpet.o
obj-$(CONFIG_EFI) += efi.o efi_stub.o
+obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
+
+early_printk-y := ../../x86_64/kernel/early_printk.o
EXTRA_AFLAGS := -traditional
diff -u linux-2.6.2rc1mm3/arch/x86_64/kernel/early_printk.c-o linux-2.6.2rc1mm3/arch/x86_64/kernel/early_printk.c
--- linux-2.6.2rc1mm3/arch/x86_64/kernel/early_printk.c-o 2003-05-27 03:00:44.000000000 +0200
+++ linux-2.6.2rc1mm3/arch/x86_64/kernel/early_printk.c 2004-01-25 23:25:25.978302136 +0100
@@ -7,7 +7,11 @@
/* Simple VGA output */
+#ifdef __i386__
+#define VGABASE (__PAGE_OFFSET + 0xb8000UL)
+#else
#define VGABASE 0xffffffff800b8000UL
+#endif
#define MAX_YPOS 25
#define MAX_XPOS 80
next prev parent reply other threads:[~2004-01-25 23:49 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-24 4:53 Kernels > 2.6.1-mm3 do not boot Eric
2004-01-24 6:11 ` Eric
2004-01-24 22:39 ` Eric
2004-01-25 1:02 ` Adrian Bunk
2004-01-25 4:03 ` Eric
2004-01-25 13:15 ` Adrian Bunk
2004-01-25 13:52 ` Fabio Coatti
2004-01-25 14:34 ` Adrian Bunk
2004-01-25 15:39 ` Fabio Coatti
2004-01-25 16:21 ` Adrian Bunk
2004-01-25 17:11 ` Kernels > 2.6.1-mm3 do not boot. - SOLVED Fabio Coatti
2004-01-25 17:30 ` [patch] " Adrian Bunk
2004-01-25 17:48 ` Andi Kleen
2004-01-25 18:00 ` Valdis.Kletnieks
2004-01-25 19:12 ` Andi Kleen
2004-01-25 20:21 ` John Stoffel
2004-01-25 20:25 ` Andi Kleen
2004-01-25 20:37 ` John Stoffel
2004-01-25 21:45 ` Andi Kleen
2004-01-25 21:49 ` Adrian Bunk
2004-01-25 23:18 ` John Stoffel
2004-01-25 23:47 ` Andi Kleen [this message]
2004-01-26 2:40 ` John Stoffel
2004-01-26 3:23 ` John Stoffel
2004-01-26 4:26 ` John Stoffel
2004-01-26 5:04 ` Andi Kleen
2004-01-26 14:14 ` John Stoffel
2004-01-26 14:36 ` Andi Kleen
2004-01-26 6:00 ` Andrew Morton
2004-01-26 6:09 ` Andi Kleen
2004-01-26 14:12 ` John Stoffel
2004-01-26 14:51 ` Fabio Coatti
2004-01-26 19:26 ` Eric
2004-01-26 19:56 ` Andrew Morton
2004-01-27 5:43 ` Eric
2004-01-27 5:50 ` Andrew Morton
2004-01-27 5:57 ` Eric
2004-01-27 6:37 ` Eric
2004-01-27 16:26 ` Andi Kleen
2004-01-27 18:15 ` [patch] Re: Kernels > 2.6.1-mm3 do not boot. - REALLY SOLVED Andi Kleen
2004-01-27 19:31 ` Eric
2004-01-27 21:09 ` Fabio Coatti
2004-01-27 16:20 ` [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED Andi Kleen
2004-01-27 20:54 ` Andrew Morton
2004-01-27 22:30 ` Andi Kleen
2004-01-27 23:16 ` Andrew Morton
2004-01-27 23:29 ` Andi Kleen
2004-01-27 23:45 ` Andrew Morton
2004-01-27 0:18 ` 2.6.2-rc2 Hangs on boot (was: [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED) John Stoffel
2004-01-27 0:38 ` Andrew Morton
2004-01-27 9:40 ` [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED Erik Hensema
2004-01-25 21:11 ` Andrew Morton
2004-01-25 21:21 ` Fabio Coatti
2004-01-25 21:46 ` Andi Kleen
2004-01-25 22:03 ` Bartlomiej Zolnierkiewicz
2004-01-25 22:08 ` Fabio Coatti
2004-01-25 22:13 ` Andi Kleen
2004-01-25 22:25 ` Andrew Morton
2004-01-25 22:31 ` Andi Kleen
2004-01-25 22:59 ` Andrew Morton
2004-01-26 3:48 ` Adrian Bunk
2004-01-25 23:24 ` John Stoffel
2004-01-26 3:27 ` Adrian Bunk
2004-01-25 21:54 ` [patch] Re: Kernels > 2.6.1-mm3 do not boot. - II Andi Kleen
2004-01-25 21:48 ` [patch] Re: Kernels > 2.6.1-mm3 do not boot. - SOLVED Adrian Bunk
2004-01-25 17:49 ` Valdis.Kletnieks
2004-01-25 16:28 ` Kernels > 2.6.1-mm3 do not boot Valdis.Kletnieks
2004-01-25 17:12 ` Fabio Coatti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040125234756.GF28576@colin2.muc.de \
--to=ak@muc.de \
--cc=Valdis.Kletnieks@vt.edu \
--cc=akpm@osdl.org \
--cc=bunk@fs.tum.de \
--cc=cova@ferrara.linux.it \
--cc=eric@cisu.net \
--cc=linux-kernel@vger.kernel.org \
--cc=stoffel@lucent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox