Skip to contentSkip to conversation

2.5.42+ reboot kills Dell Latitude keyboard

BUG Mikael Pettersson 3 participants 5 messages Oct 17, 2002

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 8 lines · Mikael Pettersson

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.

Quoted 2 lines

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.

Quoted 2 lines

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

#2 lore raw
Quoted 14 lines · Eric W. Biederman
Quoted 8 lines · Mikael Pettersson

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.

Quoted 8 lines
Quoted 2 lines

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

#3 lore raw
Quoted 22 lines · Mikael Pettersson
Quoted 21 lines · Eric W. Biederman
Quoted 8 lines · Mikael Pettersson

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.

Quoted 2 lines

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.

Quoted 7 lines
Quoted 1 line

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.

Quoted 2 lines

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

#4 lore raw

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

Quoted 51 lines · Eric W. Biederman
Quoted 22 lines · Mikael Pettersson
Quoted 21 lines · Eric W. Biederman
Quoted 8 lines · Mikael Pettersson

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.

Quoted 2 lines

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.

Quoted 7 lines
Quoted 1 line

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.

Quoted 2 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/