Patchwork config for v880

login
register
mail settings
Submitter David Miller
Date Jan. 19, 2009, 3:11 a.m.
Message ID <20090118.191138.219656360.davem@davemloft.net>
Download mbox | patch
Permalink /patch/19245/
State RFC
Delegated to: David Miller
Headers show

Comments

David Miller - Jan. 19, 2009, 3:11 a.m.
From: Nicholas Leippe <nick.leippe@whitecanyon.com>
Date: Sun, 18 Jan 2009 16:21:21 -0700

> So far, I've had it hang at various different points.
> 
> One of which is at:
> 
> ...
> console handover: boot [earlyprom0] -> real [tty0]

When this happens you won't be able to see the crash
message because it is being output in between dropping
the early PROM console and enabling the serial or
framebuffer console.

With the patch below (or something like it, it's very easy
to apply this patch by hand if the one below doesn't work
for you) you are more likely to see the crash message.

> another (which was on a 480r, not sure if same prob on 880) was:
> 
> ...
> rtc0 = alarms up to one no, 114 bytes nvram
> 
> notice the "no" instead of "month" for example.

This doesn't really indicate much.

Anyways, here is the patch for the other case so you can
try to fetch some more logging info:

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c
index c8b03a4..2c50796 100644
--- a/arch/sparc64/kernel/setup.c
+++ b/arch/sparc64/kernel/setup.c
@@ -82,7 +82,7 @@  unsigned long cmdline_memory_size = 0;
 static struct console prom_early_console = {
 	.name =		"earlyprom",
 	.write =	prom_console_write,
-	.flags =	CON_PRINTBUFFER | CON_BOOT | CON_ANYTIME,
+	.flags =	CON_PRINTBUFFER | CON_ANYTIME,
 	.index =	-1,
 };