public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6 kernel won't reboot on AMD system - 8042 problem?
@ 2004-08-11 14:14 Dmitry Torokhov
  2004-08-11 17:56 ` Sascha Wilde
  0 siblings, 1 reply; 27+ messages in thread
From: Dmitry Torokhov @ 2004-08-11 14:14 UTC (permalink / raw)
  To: Sascha Wilde; +Cc: David N. Welton, LKML, Vojtech Pavlik

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

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

--
Dmitry

^ permalink raw reply	[flat|nested] 27+ messages in thread
[parent not found: <auto-000000462036@appliedminds.com>]
[parent not found: <4112A626.1000706@appliedminds.com>]
* 2.6 kernel won't reboot on AMD system (no, not the BIOS...)
@ 2004-07-28 17:51 David N. Welton
  2004-08-05 12:48 ` 2.6 kernel won't reboot on AMD system - 8042 problem? David N. Welton
  0 siblings, 1 reply; 27+ messages in thread
From: David N. Welton @ 2004-07-28 17:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Sascha Wilde

[ Please CC replies to me. ]

[ Sorry for the rerun, but I guess everyone was away at the OLS, so I'll 
try again, operating on the squeaky wheel principle. ]

Before you hit reply or erase, no, I'm not talking about the machine not
getting past the BIOS check complaining that there is no keyboard present.

Kernel 2.6.7

model name      : AMD Athlon(tm) XP 2400+

motherboard: http://www.ecsusa.com/products/km400-m2.html

... not sure what else might be useful... apci=off added to boot
options.  Preemptive kernel.

In any case, the machine in question does not reboot.  I traced the
problem down to the mach_reboot but it doesn't get past those assembly
instructions.  Things do seem to work alright if a keyboard is
installed.  Otherwise, the machine just sits there, no longer responsive
to pings or anything else.

This appears to be a somewhat common problem, as I found several other
posters discussing it:

http://lkml.org/lkml/2004/3/12/248

http://marc.theaimsgroup.com/?l=linux-kernel&m=108868695814658&w=2

any ideas on what parts of the kernel to look at in order to determine
what is causing this?  I need to fix it, and I don't know where to start 
looking.

Thankyou,
-- 
David N. Welton
davidw@eidetix.com


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2004-08-13 21:29 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-11 14:14 2.6 kernel won't reboot on AMD system - 8042 problem? Dmitry Torokhov
2004-08-11 17:56 ` Sascha Wilde
2004-08-12 17:00   ` David N. Welton
2004-08-12 17:23     ` David N. Welton
2004-08-13 21:29       ` Sascha Wilde
2004-08-12 20:13     ` Vojtech Pavlik
2004-08-13 10:13       ` David N. Welton
2004-08-13 12:03         ` Vojtech Pavlik
2004-08-13 12:58           ` David N. Welton
     [not found] <auto-000000462036@appliedminds.com>
2004-08-09  8:28 ` David N. Welton
2004-08-10  9:37   ` Sascha Wilde
2004-08-10 15:38     ` James Lamanna
     [not found] <4112A626.1000706@appliedminds.com>
2004-08-06  8:22 ` David N. Welton
2004-08-06 16:55   ` James Lamanna
2004-08-08 12:18   ` Sascha Wilde
2004-08-08 15:05     ` Dmitry Torokhov
2004-08-11 20:06       ` Sascha Wilde
  -- strict thread matches above, loose matches on Subject: below --
2004-07-28 17:51 2.6 kernel won't reboot on AMD system (no, not the BIOS...) David N. Welton
2004-08-05 12:48 ` 2.6 kernel won't reboot on AMD system - 8042 problem? David N. Welton
2004-08-05 19:25   ` Sascha Wilde
2004-08-11  6:31   ` Dmitry Torokhov
2004-08-11  8:36     ` David N. Welton
2004-08-11 12:27     ` Vojtech Pavlik
2004-08-11 12:45       ` David N. Welton
2004-08-11 13:43       ` Sascha Wilde
2004-08-11 14:17         ` Vojtech Pavlik
2004-08-11 13:55       ` David Ford
2004-08-11 20:14     ` Sascha Wilde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox