Re: [PATCH] [RFC] be more verbose when probing EDD

From: Jan Engelhardt
Date: Mon Dec 17 2007 - 18:25:30 EST



On Dec 16 2007 20:18, Alan Cox wrote:
>
>> Why tax other people with a warning/hang etc. in printk when the
>> problem is very unlikely on their systems?
>
>I think there is sense in it if you do it subtly differently.
>
> printk(".. if this hangs do ... \r");
> edd_stuff();
> printk(" \r");
>
>
>So that we display it, do the EDD call, then write over it with whatever
>is next that matters.

Does printk support escape sequences? The last time I tried
printk("\e[1;35m omg ponies \e[0m"); that did not went too successful.

>That way you'd only see it when it hung - and that might be worth a patch
>and test from someone.
--
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/