Re: 2.6 kernel won't reboot on AMD system - 8042 problem?

From: Sascha Wilde
Date: Wed Aug 11 2004 - 13:06:45 EST


On Wed, Aug 11, 2004 at 07:14:08AM -0700, Dmitry Torokhov wrote:
> Sorry for breaking the thread....
>
> Sascha Wilde wrote:
> > On Wed, Aug 11, 2004 at 02:27:11PM +0200, Vojtech Pavlik wrote:
> > > On Wed, Aug 11, 2004 at 01:31:13AM -0500, Dmitry Torokhov wrote:
> > > > On Thursday 05 August 2004 07:48 am, David N. Welton wrote:
> > > > > By putting a series of 'crashme/reboot' calls into the kernel, I
> > > > > narrowed a possibl cause of it down to this bit of code in
> > > > > drivers/input/serio.c:753
> > [...]
> > > > Could you please try the patch below? I am interested in tests both
> > > > with and without keyboard/mouse. The main idea is to leave ports that
> > > > have been disabled by BIOS alone... The patch compiles but otherwise
> > > > untested. Against 2.6.7.
> > >
> > > Well, this has a problem - plugging a mouse later will never work, as
> > > the interface will be disabled by the BIOS if a mouse is not present at
> > > boot.
> >
> > Is PS/2 supposed to support hotpluging at all? I guess it's not, but I
> > may be wrong...
>
> Yes it is, at least with newer (or rather not ancient) hardware...

well, so the patch obviously can't be a final solution...

> From what I can see 2.4 does not have this problem because before
> toucing the control register it tries to reset the keyboard and
> stops if there is not response. I think this also menas that 2.4
> does not support keyboard hot-plugging. In 2.6 we do not make any
> assumptions on what kind of hardware attached to a port (KBD, mouse)
> so reset test probably won't work...
>
> I wonder if simply resetting controller (by passing i8042.reset)
> would help in your case?

It helps in a sense, as rebooting works with this option --
unfortunately when passing i8042.reset on boottime the keyboard is
dead, so it doesn't help.

cheers
--
Sascha Wilde
... mein Opa [...] würde an dieser Stelle zu Dir sagen: Junge, such Dir
ne Frau, bau Dir ein Haus, mach ein Kind und laß' die Finger von dem Zeug,
das Du gerade machst. -- Michael Winklhofer in d.a.e.auktionshaeuser
-
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/