2.6.0-test1, -test4 control key "stuck"

From: xsdg
Date: Sun Sep 14 2003 - 19:05:10 EST


Hi. I recently got a new Toshiba M15-S405 laptop, on which I installed Debian SID (using the Sarge netinst bootcd). I installed the debian 2.6.0-test1 kernel and booted into it. I noticed that often, pressing keys under this kernel would result in messages such as [1] printed to the console.

The Problem Now:
My current problem is that once in a while, a control key will become "stuck", as interpreted by all applications. By "stuck," I mean that pressing and releasing the control key will not cause it to become "unstuck." All keypresses, whether in X or on a VT, are interpreted as if the control key were being pressed. The only way I have found to unstick the key is by pressing random keys in rapid succession (sometimes holding the control key, and sometimes just making sure I press it a few times during the key-pressing frenzy). I believe that this problem is related to the messages ([1]) printed to kern.log and the console. This problem has occurred under 2.6.0-test4*, and may have occurred under 2.6.0-test5-mm1 (I don't remember).

As I spend most of my time in x-windows, this problem has only occurred while I was using x-windows; I am not sure whether it would or would not occur while in the console or while x-windows is not running at all. This problem has occurred both while using NVidia's proprietary driver and while using the open-source driver provided with xfree86 4.2.1

Most recently, this problem manifested itself by (as far as I can tell) switching the keyboard keymap (this, occurred while I was in X, with Mozilla on the current workspace). After switching to vt2, I am now unable to return to X (vt 7). Pressing the numeral keys acts as if shift were held down while using an odd alternate keymap (2 -> "^U", 4->"$", [7-0] -> ["{", "[", "]", "}", "\"], e -> Euro symbol). You can find the physical layout of my keyboard at [2]. While pressing the shift key, no characters are displayed on the console. Pressing <alt>+Fn or <ctrl>+<alt>+Fn to switch to another VT does not do anything; the same occurs when trying <alt>+left/right


Kernel Version History:
After installing most of the necessary tools, I compiled a vanilla 2.5.73 which eliminated the problem shown in [1]. A little later, I compiled and booted into 2.6.0-test3, and then dropped back to test1-ac3 (because cardbus/pcmcia hard-locked during boot). -test1-ac3 did not exhibit the problem. I moved to -test4 when it was released, which exhibited the problem. Because swsusp was broken in -test4 (on my system, at least), I dropped back to 2.6.0-test1-ac3 after a few days. Later, I upgraded to -test4-mm4, -mm6, and -test5-mm1, all of which exhibited the problem. After running -test5-mm1 for about a day, I dropped back to -test4-mm6 (I don't quite remember why).


Exhibit 1:
Sep 14 20:42:27 cpp kernel: atkbd.c: Unknown key (set 2, scancode 0xb6, on isa0060/serio0) pressed.
Sep 14 20:42:27 cpp kernel: i8042 history: 19 a2 99 0f 8f 0f 8f 1c 9c 04 84 36 09 b6 89 b6
Sep 14 22:13:00 cpp kernel: atkbd.c: Unknown key (set 2, scancode 0xa5, on isa0060/serio0) pressed.
Sep 14 22:13:00 cpp kernel: i8042 history: a7 20 9e 21 9f 24 25 26 27 a0 a4 a5 a6 a7 a1 a5
Sep 14 22:13:00 cpp kernel: atkbd.c: Unknown key (set 2, scancode 0xa6, on isa0060/serio0) pressed.
Sep 14 22:13:00 cpp kernel: i8042 history: 20 9e 21 9f 24 25 26 27 a0 a4 a5 a6 a7 a1 a5 a6
Sep 14 22:13:00 cpp kernel: atkbd.c: Unknown key (set 2, scancode 0xa7, on isa0060/serio0) pressed.
Sep 14 22:13:00 cpp kernel: i8042 history: 9e 21 9f 24 25 26 27 a0 a4 a5 a6 a7 a1 a5 a6 a7


System Info (please ask if you need more info):

Hardware specs:
http://cdgenp01.csd.toshiba.com/content/product/pdf_files/detailed_specs/satellitepro_M15_S405.pdf

$uname -a
Linux cpp 2.6.0-test4-mm6 #4 Tue Sep 9 03:19:18 UTC 2003 i686 GNU/Linux

$lspci
00:00.0 Host bridge: Intel Corp.: Unknown device 3340 (rev 03)
00:01.0 PCI bridge: Intel Corp.: Unknown device 3341 (rev 03)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 03)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 03)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 03)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 24cc (rev 03)
00:1f.1 IDE interface: Intel Corp.: Unknown device 24ca (rev 03)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 03)
00:1f.6 Modem: Intel Corp. 82801DB AC'97 Modem (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3)
02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
02:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (MOB) Ethernet Controller (rev 83)
02:0a.0 Network controller: Intel Corp.: Unknown device 1043 (rev 04)
02:0b.0 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0b.1 CardBus bridge: Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support (rev 32)
02:0d.0 System peripheral: Toshiba America Info Systems SD TypA Controller (rev 03)

$cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 9
model name : Intel(R) Pentium(R) M processor 1400MHz
stepping : 5
cpu MHz : 598.576
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est
bogomips : 1119.96

$cat /proc/config_build_info
Kernel: Linux 2.6.0-test4 #2 Sat Sep 6 17:06:14 UTC 2003 i686
Compiler: gcc version 3.3.2 20030812 (Debian prerelease)
Version_in_Makefile: 2.6.0-test4-mm6

$cat /proc/interrupts
CPU0
0: 99529523 XT-PIC timer
1: 68790 XT-PIC i8042
2: 0 XT-PIC cascade
3: 504747 XT-PIC orinoco_cs
5: 2490597 XT-PIC 0000:02:0b.0, 0000:02:0b.1, ehci_hcd, uhci-hcd, uhci-hcd, uhci-hcd, Intel 82801DB-ICH4
8: 4 XT-PIC rtc
9: 5060 XT-PIC acpi
10: 11275668 XT-PIC nvidia
12: 160930 XT-PIC i8042
14: 194882 XT-PIC ide0
15: 373 XT-PIC ide1
NMI: 0
LOC: 95197068
ERR: 7
MIS: 0

$cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-005f : timer
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0100-013f : orinoco_cs
0170-0177 : ide1
01f0-01f7 : ide0
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
0cf8-0cff : PCI conf1
1000-101f : 0000:00:1d.2
1000-101f : uhci-hcd
1040-107f : 0000:00:1f.5
1080-10ff : 0000:00:1f.6
1400-14ff : 0000:00:1f.5
1800-18ff : 0000:00:1f.6
1c00-1cff : PCI CardBus #03
2000-20ff : PCI CardBus #03
2400-24ff : PCI CardBus #07
2800-28ff : PCI CardBus #07
bfa0-bfaf : 0000:00:1f.1
bfa0-bfa7 : ide0
bfa8-bfaf : ide1
cf40-cf7f : 0000:02:08.0
cf40-cf7f : e100
ef80-ef9f : 0000:00:1d.1
ef80-ef9f : uhci-hcd
efe0-efff : 0000:00:1d.0
efe0-efff : uhci-hcd

$cat /proc/iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000e0000-000effff : Extension ROM
000f0000-000fffff : System ROM
00100000-1ffcffff : System RAM
00100000-00358707 : Kernel code
00358708-0043c47f : Kernel data
1ffd0000-1ffdffff : ACPI Tables
1ffe0000-1fffffff : reserved
20000000-200003ff : 0000:00:1d.7
20000000-200003ff : ehci_hcd
20000400-200007ff : 0000:00:1f.1
20000800-200009ff : 0000:00:1f.5
20000800-200009ff : Intel 82801DB-ICH4 - AC'97
20000a00-20000aff : 0000:00:1f.5
20000a00-20000aff : Intel 82801DB-ICH4 - Controller
20000c00-20000dff : 0000:02:0d.0
20001000-200017ff : 0000:02:07.0
20002000-20002fff : 0000:02:0b.0
20002000-20002fff : yenta_socket
20003000-20003fff : 0000:02:0b.1
20003000-20003fff : yenta_socket
20004000-20007fff : 0000:02:07.0
20400000-207fffff : PCI CardBus #03
20800000-20bfffff : PCI CardBus #03
20c00000-20ffffff : PCI CardBus #07
21000000-213fffff : PCI CardBus #07
a0000000-a0000fff : card services
dbf00000-dfffffff : PCI Bus #01
dbf80000-dbffffff : 0000:01:00.0
dc000000-dfffffff : 0000:01:00.0
e0000000-efffffff : 0000:00:00.0
fcefe000-fcefefff : 0000:02:0a.0
fceff000-fcefffff : 0000:02:08.0
fceff000-fcefffff : e100
fd000000-fdffffff : PCI Bus #01
fd000000-fdffffff : 0000:01:00.0
feda0000-fedbffff : reserved
ffb80000-ffbfffff : reserved
fff00000-ffffffff : reserved

$COLUMNS=80 dpkg -l xserver-xfree86 console-data console-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii xserver-xfree8 4.2.1-9 the XFree86 X server
ii console-data 2002.12.04dbs- Keymaps, fonts, charset maps, fallback table
ii console-tools 0.2.3dbs-41 Linux console and font utilities

env output (run via ssh)
$env
TERM=rxvt
SHELL=/bin/bash
SSH_CLIENT=::ffff:192.168.0.76 49126 22
SSH_TTY=/dev/pts/2
USER=xsdg
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:
MAIL=/var/mail/xsdg
PATH=/home/xsdg/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/sbin:/usr/sbin
LD_RUN_PATH=/home/xsdg/usr/lib
PWD=/home/xsdg
EDITOR=aee
PS1=\n\t> [\u{\h}@\w]\n\$
SHLVL=1
HOME=/home/xsdg
LOGNAME=xsdg
SSH_CONNECTION=::ffff:192.168.0.76 49126 ::ffff:192.168.0.38 22
_=/usr/bin/env

$lsmod
Module Size Used by
nls_cp437 5888 0
vfat 16384 0
fat 46912 1 vfat
nls_utf8 2176 0
ntfs 91596 0
hid 34560 0
agpgart 32808 0
nvidia 1706348 10
orinoco_cs 8328 1
orinoco 44556 1 orinoco_cs
hermes 8832 2 orinoco_cs,orinoco

I have attached /proc/config.gz

Please CC me in any replies. Thanks in advance for your help.

--
| "I'm not sure which upsets me more: that people |
| are so unwilling to accept responsibility for |
| their own actions, or that they are so eager to |
| regulate everyone else's." |
| -- Kee Hinckley |
) http://www.cuodan.net/~xsdg/ xsdg@xxxxxxxxxxxx (


Attachment: config.gz
Description: Binary data

Attachment: pgp00001.pgp
Description: PGP signature