Skip to contentSkip to conversation

Odd keyboard related crashes.

DISCUSSION Nicholas Berry 4 participants 4 messages Oct 5, 2001 – Oct 8, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines

Ian Stirling <[email protected]> 10/05/01 05:01AM >>>

I'm running 2.4.10, and the ps/2 keyboard came out of it's socket.

Quoted 7 lines

On plugging back in, all worked fine, until 10 seconds later there was a crash. (the keyboard worked after being plugged in)
No oops, just a reboot.
Thinking this must just have been a wierd coincidence, after the system came back up, I tried it again, and again it crashed a few seconds afterwards.

It doesn't seem to want to do this again though.

When the keyboard is powered up (or plugged in), it goes through a self test, and reports the status back to the PC. Normally, a start up dialogue takes place between the PC and the keyboard at this point. That's fine when you boot your PC, but if you unplug then re-plug the keyboard, the PC will be sent data it's really not expecting, and the BIOS will be very confused.
If you ever want to switch a keyboard between PCs, make sure you leave power supplied to it at all times.

#1 lore raw

Hi!

Quoted 9 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line

Ian Stirling <[email protected]> 10/05/01 05:01AM >>>

I'm running 2.4.10, and the ps/2 keyboard came out of it's socket.

On plugging back in, all worked fine, until 10 seconds later there was a crash. (the keyboard worked after being plugged in)
No oops, just a reboot.
Thinking this must just have been a wierd coincidence, after the system came back up, I tried it again, and again it crashed a few seconds afterwards.

Quoted 5 lines
Quoted 1 line

It doesn't seem to want to do this again though.

When the keyboard is powered up (or plugged in), it goes through a self test, and reports the status back to the PC. Normally, a start up dialogue takes place between the PC and the keyboard at this point. That's fine when you boot your PC, but if you unplug then re-plug the keyboard, the PC will be sent data it's really not expecting, and the BIOS will be very confused.
If you ever want to switch a keyboard between PCs, make sure you leave power supplied to it at all times.

BIOS is not alive enough at the time linux boots. This can't be BIOS issue.
Pavel

Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]
#2 lore raw
In reply to Nicholas Berry
Quoted 23 lines · Pavel Machek

Hi!

Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Quoted 1 line

Ian Stirling <[email protected]> 10/05/01 05:01AM >>>

I'm running 2.4.10, and the ps/2 keyboard came out of it's socket.

On plugging back in, all worked fine, until 10 seconds later there was a crash. (the keyboard worked after being plugged in)
No oops, just a reboot.
Thinking this must just have been a wierd coincidence, after the system came back up, I tried it again, and again it crashed a few seconds

afterwards.

Quoted 4 lines
Quoted 2 lines

It doesn't seem to want to do this again though.

When the keyboard is powered up (or plugged in), it goes through a self test,

and reports the status back to the PC. Normally, a start up dialogue takes place between the PC and the keyboard at this point.

Quoted 1 line

That's fine when you boot your PC, but if you unplug then re-plug the

keyboard, the PC will be sent data it's really not expecting, and the BIOS will be very confused.

Quoted 6 lines
Quoted 1 line

If you ever want to switch a keyboard between PCs, make sure you leave power

supplied to it at all times.

BIOS is not alive enough at the time linux boots. This can't be BIOS issue.

Unless the BIOS has some weird power management issues, then it may be almost impossible to kill. I had one machine once where the BIOS misreported it's memory usage, and there wasn't an option to disable power management. Then the BIOS and the kernel were both using the top of memory and weird things happened.

That being said I have seen at least one machine where there was a crash with hot plugging the keyboard and at the time I figured it was simply bad hardware that couldn't handle it for some reason.

And unless a BIOS is doing something really strange it shouldn't touch the keyboard after linux is going.

Eric

#3 lore raw
Quoted 7 lines
Quoted 4 lines · Pavel Machek

Hi!

Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line

Ian Stirling <[email protected]> 10/05/01 05:01AM >>>

I'm running 2.4.10, and the ps/2 keyboard came out of it's socket.

I should possibly have mentioned that APM is enabled on this machine, but no suspend/standby had been done, it's only for use in power-cuts when I want to minimise draw from the UPS batteries.
The machine is an athlon desktop.

I'll see if I can reproduce this with 2.4.11, 2.4.10 is utterly unusable for me. (totally insane swapping out causing things to get killed on significant reading.