keyboard locks randomly

I have installed opensuse 11.1 64 bit on a HP proliant 350G.
KDE 4.1.3 is installed.
The XEN kernel is used and one virtual machine is active.

From time to time the keyboard stops working. num lock is inactive and I cannot switch to a terminal with alt-ctrl-Fx.>:(

The mouse is still responding and I can force a shutdown via menu with the mouse.
This lock occurs randomly: sometime many times/day but sometime the systems works more than one week.

I see a lot of error in /var/log/messages and each time that the lock occurs I see a message related to the DVD/CD-rom.

sr0: CDROM (ioctl) error, command: Get event status notification 4a 01 00 00 10 00 00 00 08 00

The last updates have been installed and except this lock all work correctly. This lock occurs mostly when nobody is working on the system (the screen saver is activated) but it can also occurs when I work on the server

Here an example of errors

Apr 18 08:16:19 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:16:19 hpprol kernel: ata1.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio 16392 in
Apr 18 08:16:19 hpprol kernel: cdb 4a 01 00 00 10 00 00 00 08 00 00 00 00 00 00 00
Apr 18 08:16:19 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:16:19 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:16:19 hpprol kernel: ata1: soft resetting link
Apr 18 08:16:20 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:16:20 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:16:20 hpprol kernel: ata1: EH complete
Apr 18 08:16:27 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:16:27 hpprol kernel: ata1.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio 16392 in
Apr 18 08:16:27 hpprol kernel: cdb 4a 01 00 00 10 00 00 00 08 00 00 00 00 00 00 00
Apr 18 08:16:27 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:16:27 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:16:27 hpprol kernel: ata1: soft resetting link
Apr 18 08:16:28 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:16:28 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:16:28 hpprol kernel: ata1: EH complete
Apr 18 08:16:28 hpprol kernel: sr0: CDROM (ioctl) error, command: Get event status notification 4a 01 00 00 10 00 00 00 08 00
Apr 18 08:16:28 hpprol kernel: sr: Sense Key : Aborted Command [current] [descriptor]
Apr 18 08:16:28 hpprol kernel: sr: Add. Sense: No additional sense information
Apr 18 08:16:38 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:16:38 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:16:38 hpprol kernel: cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:16:38 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:16:38 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:16:38 hpprol kernel: ata1: soft resetting link
Apr 18 08:16:39 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:16:39 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:16:39 hpprol kernel: ata1: EH complete
Apr 18 08:16:49 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:16:49 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:16:49 hpprol kernel: cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:16:49 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:16:49 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:16:49 hpprol kernel: ata1: soft resetting link
Apr 18 08:16:50 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:16:50 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:16:50 hpprol kernel: ata1: EH complete
Apr 18 08:17:00 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:17:00 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:17:00 hpprol kernel: cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:17:00 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:17:00 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:17:00 hpprol kernel: ata1: soft resetting link
Apr 18 08:17:01 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:17:01 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:17:01 hpprol kernel: ata1: EH complete
Apr 18 08:17:11 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:17:11 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:17:11 hpprol kernel: cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:17:11 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:17:11 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:17:11 hpprol kernel: ata1: soft resetting link
Apr 18 08:17:12 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:17:12 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:17:12 hpprol kernel: ata1: EH complete
Apr 18 08:17:22 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:17:22 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:17:22 hpprol kernel: cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:17:22 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:17:22 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:17:22 hpprol kernel: ata1: soft resetting link
Apr 18 08:17:23 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:17:23 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:17:23 hpprol kernel: ata1: EH complete
Apr 18 08:17:33 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:17:33 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:17:33 hpprol kernel: cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:17:33 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:17:33 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:17:33 hpprol kernel: ata1: soft resetting link
Apr 18 08:17:34 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:17:34 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:17:34 hpprol kernel: ata1: EH complete
Apr 18 08:17:34 hpprol kernel: sr 0:0:0:0: ioctl_internal_command return code = 8000002
Apr 18 08:17:34 hpprol kernel: : Sense Key : Aborted Command [current] [descriptor]
Apr 18 08:17:34 hpprol kernel: : Add. Sense: No additional sense information
Apr 18 08:18:04 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:18:04 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:18:04 hpprol kernel: cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:18:04 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:18:04 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:18:04 hpprol kernel: ata1: soft resetting link
Apr 18 08:18:05 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:18:05 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:18:05 hpprol kernel: ata1: EH complete
Apr 18 08:18:35 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:18:35 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:18:35 hpprol kernel: cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:18:35 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:18:35 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:18:35 hpprol kernel: ata1: soft resetting link
Apr 18 08:18:36 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:18:36 hpprol kernel: ata1.00: configured for PIO0
Apr 18 08:18:36 hpprol kernel: ata1: EH complete
Apr 18 08:19:06 hpprol kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Apr 18 08:19:06 hpprol kernel: ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
Apr 18 08:19:06 hpprol kernel: cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 18 08:19:06 hpprol kernel: res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Apr 18 08:19:06 hpprol kernel: ata1.00: status: { DRDY }
Apr 18 08:19:06 hpprol kernel: ata1: soft resetting link
Apr 18 08:19:07 hpprol kernel: ata1.01: NODEV after polling detection
Apr 18 08:19:07 hpprol kernel: ata1.00: configured for PIO0

> From time to time the keyboard stops working. num lock is inactive and
> I cannot switch to a terminal with alt-ctrl-Fx.>:(
>
> The mouse is still responding and I can force a shutdown via menu with
> the mouse.
> This lock occurs randomly: sometime many times/day but sometime the
> systems works more than one week.

this has happened a LOT lately…i don’t remember the solution
(because i’ve not had the problem and do not read the threads) but
search the forum and you will find lots to read…you can start here:

http://forums.opensuse.org/search.php?searchid=973830


Andy Sipowicz