[PATCH] ia64: reset console_loglevel so INIT output always goes to console

From: Bjorn Helgaas <bjorn.helgaas_at_hp.com>
Date: 2005-01-08 10:34:31
Reset console_loglevel early in INIT handler.  Otherwise, if
it has been turned down (i.e., with "dmesg -n1"), the user may
see no effect at all from issuing an INIT.  We're never going
to run any more user code, so there won't be any opportunity for
anything to collect the output from the dmesg buffer.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>

===== arch/ia64/kernel/mca.c 1.71 vs edited =====
--- 1.71/arch/ia64/kernel/mca.c	2004-11-11 11:04:30 -07:00
+++ edited/arch/ia64/kernel/mca.c	2005-01-07 16:22:54 -07:00
@@ -1133,6 +1133,7 @@
 	pal_min_state_area_t *ms;
 	oops_in_progress = 1;	/* avoid deadlock in printk, but it makes recovery dodgy */
+	console_loglevel = 15;	/* make sure printks make it to console */
 	printk(KERN_INFO "Entered OS INIT handler. PSP=%lx\n",

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Jan 7 19:09:02 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:34 EST