Re: [PATCH] panic: Call console_verbose in panic

From: Greg KH
Date: Mon May 10 2010 - 19:11:21 EST


On Tue, May 11, 2010 at 08:59:59AM +1000, Anton Blanchard wrote:
>
> Most distros turn the console verbosity down and that means a backtrace after
> a panic never makes it to the console. I assume we haven't seen this because
> a panic is often preceeded by an oops which will have called console_verbose.
> There are however a lot of places we call panic directly, and they are
> broken.
>
> Use console_verbose like we do in the oops path to ensure a directly called
> panic will print a backtrace.
>
> Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>

Looks good to me:
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

thanks,

greg k-h
--
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/