mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [BUG] 2.5.42+ reboot kills Dell Latitude keyboard
  2002-10-17 14:14     ` Eric W. Biederman
@ 2002-10-16 14:39       ` dijital1
  0 siblings, 0 replies; 5+ messages in thread
From: dijital1 @ 2002-10-16 14:39 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: Mikael Pettersson, linux-kernel

Is there a controller difference between the Inspiron 4100 and your
latitude?

Ron Henry

"the illiterate of the future are not those who can neither read
or write; but those who cannot learn, unlearn, and relearn..."

On 17 Oct 2002, Eric W. Biederman wrote:

> Mikael Pettersson <mikpe@csd.uu.se> writes:
>
> > Eric W. Biederman writes:
> >  > Mikael Pettersson <mikpe@csd.uu.se> writes:
> >  >
> >  > > Dell Latitude CPi laptop. Boot 2.5.42 or .43, then reboot.
> >  > > Shortly after the screen is blanked and the BIOS starts, it
> >  > > prints a "keyboard error" message and requests an F1 or F2
> >  > > response (continue or go into SETUP). Never happened with any
> >  > > other kernel on that machine.
> >  > >
> >  > > Apparently the 2.5.42+ "let's shut everything down at reboot"
> >  > > change
> >  >
> >  > There was no such change just a discussion of what the kernel
> >  > has been doing since 2.5.8 or so.
> >  >
> >  > > put the keyboard controller in a state which is inconsistent
> >  > > with the BIOS' expections at a warm boot.
> >  >
> >  > There is a bug in device_suspend.  device_shutdown, and device_suspend
> >  > where merged and the POWER_DOWN case now removes the drivers which
> >  > is a bug.  You may be getting hit with that.
> >  >
> >  > Eric Blade has posed a patch fixing that.
> >
> > I tried Eric Blade's patch
> > <http://marc.theaimsgroup.com/?l=linux-kernel&m=103477012517984&w=2>
> > but it didn't make any difference. Same keyboard error as before.
> >
> > So either the patch doesn't change what actions are taken on reboot,
>
> Correctly only what actions are taken before reboot, are changed.
>
> > or the keyboard (std SERIO_I8042 + ATKBD PC stuff) driver was also
> > broken in the 2.5.41->2.5.42 step.
>
> There is something in the ChangeLog about fixing the keyboard reboot
> case.  I don't see where the code changes in the patch but the
> keyboard code was touched quite a bit.
>
> So I suspect the keyboard driver also does the wrong thing for
> you in this case.
>
> Eric
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>


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

* [BUG] 2.5.42+ reboot kills Dell Latitude keyboard
@ 2002-10-17  8:41 Mikael Pettersson
  2002-10-17  9:32 ` Eric W. Biederman
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Pettersson @ 2002-10-17  8:41 UTC (permalink / raw)
  To: linux-kernel

Dell Latitude CPi laptop. Boot 2.5.42 or .43, then reboot.
Shortly after the screen is blanked and the BIOS starts, it
prints a "keyboard error" message and requests an F1 or F2
response (continue or go into SETUP). Never happened with any
other kernel on that machine.

Apparently the 2.5.42+ "let's shut everything down at reboot"
change put the keyboard controller in a state which is inconsistent
with the BIOS' expections at a warm boot.

First the disks-spun-down-at-reboot bug and now this. Sigh.

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

* Re: [BUG] 2.5.42+ reboot kills Dell Latitude keyboard
  2002-10-17  8:41 [BUG] 2.5.42+ reboot kills Dell Latitude keyboard Mikael Pettersson
@ 2002-10-17  9:32 ` Eric W. Biederman
  2002-10-17 11:18   ` Mikael Pettersson
  0 siblings, 1 reply; 5+ messages in thread
From: Eric W. Biederman @ 2002-10-17  9:32 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: linux-kernel

Mikael Pettersson <mikpe@csd.uu.se> writes:

> Dell Latitude CPi laptop. Boot 2.5.42 or .43, then reboot.
> Shortly after the screen is blanked and the BIOS starts, it
> prints a "keyboard error" message and requests an F1 or F2
> response (continue or go into SETUP). Never happened with any
> other kernel on that machine.
> 
> Apparently the 2.5.42+ "let's shut everything down at reboot"
> change

There was no such change just a discussion of what the kernel
has been doing since 2.5.8 or so.

> put the keyboard controller in a state which is inconsistent
> with the BIOS' expections at a warm boot.

There is a bug in device_suspend.  device_shutdown, and device_suspend
where merged and the POWER_DOWN case now removes the drivers which
is a bug.  You may be getting hit with that.

Eric Blade has posed a patch fixing that.

Or else there is a change in the ->remove() method of one your drivers.

> 
> First the disks-spun-down-at-reboot bug and now this. Sigh.

Someone implemented that in the IDE driver deliberately.  I haven't
a clue why but it happened.

Eric

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

* Re: [BUG] 2.5.42+ reboot kills Dell Latitude keyboard
  2002-10-17  9:32 ` Eric W. Biederman
@ 2002-10-17 11:18   ` Mikael Pettersson
  2002-10-17 14:14     ` Eric W. Biederman
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Pettersson @ 2002-10-17 11:18 UTC (permalink / raw)
  To: Eric W. Biederman; +Cc: linux-kernel

Eric W. Biederman writes:
 > Mikael Pettersson <mikpe@csd.uu.se> writes:
 > 
 > > Dell Latitude CPi laptop. Boot 2.5.42 or .43, then reboot.
 > > Shortly after the screen is blanked and the BIOS starts, it
 > > prints a "keyboard error" message and requests an F1 or F2
 > > response (continue or go into SETUP). Never happened with any
 > > other kernel on that machine.
 > > 
 > > Apparently the 2.5.42+ "let's shut everything down at reboot"
 > > change
 > 
 > There was no such change just a discussion of what the kernel
 > has been doing since 2.5.8 or so.
 > 
 > > put the keyboard controller in a state which is inconsistent
 > > with the BIOS' expections at a warm boot.
 > 
 > There is a bug in device_suspend.  device_shutdown, and device_suspend
 > where merged and the POWER_DOWN case now removes the drivers which
 > is a bug.  You may be getting hit with that.
 > 
 > Eric Blade has posed a patch fixing that.

I tried Eric Blade's patch
<http://marc.theaimsgroup.com/?l=linux-kernel&m=103477012517984&w=2>
but it didn't make any difference. Same keyboard error as before.

So either the patch doesn't change what actions are taken on reboot,
or the keyboard (std SERIO_I8042 + ATKBD PC stuff) driver was also
broken in the 2.5.41->2.5.42 step.

/Mikael

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

* Re: [BUG] 2.5.42+ reboot kills Dell Latitude keyboard
  2002-10-17 11:18   ` Mikael Pettersson
@ 2002-10-17 14:14     ` Eric W. Biederman
  2002-10-16 14:39       ` dijital1
  0 siblings, 1 reply; 5+ messages in thread
From: Eric W. Biederman @ 2002-10-17 14:14 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: Eric W. Biederman, linux-kernel

Mikael Pettersson <mikpe@csd.uu.se> writes:

> Eric W. Biederman writes:
>  > Mikael Pettersson <mikpe@csd.uu.se> writes:
>  > 
>  > > Dell Latitude CPi laptop. Boot 2.5.42 or .43, then reboot.
>  > > Shortly after the screen is blanked and the BIOS starts, it
>  > > prints a "keyboard error" message and requests an F1 or F2
>  > > response (continue or go into SETUP). Never happened with any
>  > > other kernel on that machine.
>  > > 
>  > > Apparently the 2.5.42+ "let's shut everything down at reboot"
>  > > change
>  > 
>  > There was no such change just a discussion of what the kernel
>  > has been doing since 2.5.8 or so.
>  > 
>  > > put the keyboard controller in a state which is inconsistent
>  > > with the BIOS' expections at a warm boot.
>  > 
>  > There is a bug in device_suspend.  device_shutdown, and device_suspend
>  > where merged and the POWER_DOWN case now removes the drivers which
>  > is a bug.  You may be getting hit with that.
>  > 
>  > Eric Blade has posed a patch fixing that.
> 
> I tried Eric Blade's patch
> <http://marc.theaimsgroup.com/?l=linux-kernel&m=103477012517984&w=2>
> but it didn't make any difference. Same keyboard error as before.
> 
> So either the patch doesn't change what actions are taken on reboot,

Correctly only what actions are taken before reboot, are changed.

> or the keyboard (std SERIO_I8042 + ATKBD PC stuff) driver was also
> broken in the 2.5.41->2.5.42 step.

There is something in the ChangeLog about fixing the keyboard reboot
case.  I don't see where the code changes in the patch but the
keyboard code was touched quite a bit.

So I suspect the keyboard driver also does the wrong thing for
you in this case.

Eric

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

end of thread, other threads:[~2002-10-17 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-17  8:41 [BUG] 2.5.42+ reboot kills Dell Latitude keyboard Mikael Pettersson
2002-10-17  9:32 ` Eric W. Biederman
2002-10-17 11:18   ` Mikael Pettersson
2002-10-17 14:14     ` Eric W. Biederman
2002-10-16 14:39       ` dijital1

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

all inboxes | Powered by JetHome®