Re: 2.6.18-rc4-mm1

From: Dmitry Torokhov
Date: Mon Aug 14 2006 - 22:33:18 EST


On Monday 14 August 2006 17:44, Ben B wrote:
> Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> uttered the following thing:
> > On 8/14/06, Ben B <kernel@xxxxxxxxxxxxx> wrote:
> > >I can try to get a full boot log later when I get home.
> > >
> >
> > Please.
>
> It was impossible to get. I set the 'init' kernel option to a dedicated
> script to dump dmesg, but even that went way past the messages.
>

Could you please try increasing the buffer size (using log_buf_len=xxx
option). 131072 shoudl work I think.

Also please try the patch below. Thanks!

--
Dmitry

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
---

drivers/input/serio/i8042.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)

Index: work/drivers/input/serio/i8042.c
===================================================================
--- work.orig/drivers/input/serio/i8042.c
+++ work/drivers/input/serio/i8042.c
@@ -631,8 +631,14 @@ static int __devinit i8042_check_aux(voi
goto out;

if (wait_for_completion_timeout(&i8042_aux_irq_delivered,
- msecs_to_jiffies(250)) == 0)
+ msecs_to_jiffies(250)) == 0) {
+/*
+ * AUX IRQ was never delivered so we need to flush the controller to
+ * get rid of the byte we put there; otherwise keyboard may not work.
+ */
+ i8042_flush();
retval = -1;
+ }

out:

-
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/