public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ia64: reset console_loglevel so INIT output always goes to
@ 2005-01-07 23:34 Bjorn Helgaas
  2005-01-08  1:32 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to console Keith Owens
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2005-01-07 23:34 UTC (permalink / raw)
  To: linux-ia64

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",
 		ia64_sal_to_os_handoff_state.proc_state_param);



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-10  7:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07 23:34 [PATCH] ia64: reset console_loglevel so INIT output always goes to Bjorn Helgaas
2005-01-08  1:32 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to console Keith Owens
2005-01-09 16:24 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to Russ Anderson
2005-01-09 17:06 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to console Russ Anderson
2005-01-09 23:26 ` Keith Owens
2005-01-10  4:27 ` [PATCH] ia64: reset console_loglevel so INIT output always Bjorn Helgaas
2005-01-10  7:54 ` [PATCH] ia64: reset console_loglevel so INIT output always goes to console Matthias Fouquet-Lapar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox