Re: [PATCH] i486 CR4 oops, no_console_suspend

From: Ingo Molnar
Date: Tue Aug 19 2008 - 05:35:28 EST



* David Fries <david@xxxxxxxxx> wrote:

> On Mon, Aug 18, 2008 at 08:41:20AM +0200, Ingo Molnar wrote:
> >
> > applied to tip/x86/urgent, thanks David. I've changed the conditions
> > to read_cr4_safe() instead - that's cleaner. Could you please check
> > whether the patch below works fine too on your box?
>
> Yes the 486 suspends and resumes with this patch.

good - it's now upstream and should show up in 2.6.27-rc4 as well.

> Is there any known problem with no_console_suspend and serial
> consoles? It worked to print the oops for me to track this down, and
> Documentation/kernel-parameters.txt says it is known to work with
> serial consoles, but on resume only kernel messages can output to the
> serial console. The getty on the serial port can't raed or write and
> processes trying to write to the port just hang without getting any
> data across. The serial port works fine across suspends without the
> no_console_suspend argument. Does anyone else see this?

i've had trouble no end with getting even kernel messages out to the
serial console during critical phases of suspend/resume. (especially in
combination with earlyprintk=ttyS0 - not surprisingly)

Especially during resume the UART is initialized back to something
really slow - 300 bauds or 9600 bauds. (depends on the chipset i guess)
So even though it works, it will only worked reliably when i
standardized all my baud settings to that very low setting.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/