Dell Inspiron 2650 (bios A13): keyboard and touchpad fail randomly

Bug #739118 reported by jhansonxi
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Ubuntu 11.04 (Natty Narwhal) Alpha 3 i386
Dell Inspiron 2650
Intel 82845 Brookdale chipset, Nvidia GeForce2 Go.
Related to bug #555169
Refiled as requested by Timo Aaltonen

Symptoms:
Keyboard always functional in Grub. Fails randomly during boot in both tty and gdm (X.org).
Touchpad randomly functional when gdm loads.
Keyboard sometimes functional in gdm while touchpad not.

Note: System booted with "pci=noacpi" due to bug #738501.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-7-generic 2.6.38-7.36
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.38-7.36-generic 2.6.38
Uname: Linux 2.6.38-7-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: I82801CAICH3 [Intel 82801CA-ICH3], device 0: Intel ICH [Intel 82801CA-ICH3]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: administrator 1547 F.... pulseaudio
 /dev/snd/pcmC0D0p: administrator 1547 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'I82801CAICH3'/'Intel 82801CA-ICH3 with STAC9700,83,84 at irq 10'
   Mixer name : 'SigmaTel STAC9700,83,84'
   Components : 'AC97a:83847600'
   Controls : 27
   Simple ctrls : 19
Date: Sun Mar 20 22:42:37 2011
HibernationDevice: RESUME=UUID=2bae8254-aebf-416c-9d8f-34c359fa7397
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110302)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 002 Device 002: ID 0e6a:6001 Megawin Technology Co., Ltd
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 002: ID 062a:0000 Creative Labs Optical mouse
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Computer Corporation Inspiron 2650
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-7-generic root=UUID=b91cd4ec-3913-43f8-8174-517bfe004db1 ro pci=noacpi nosplash
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-7-generic N/A
 linux-backports-modules-2.6.38-7-generic N/A
 linux-firmware 1.49
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/23/2004
dmi.bios.vendor: PHOENIX TECHNOLOGIES LTD.
dmi.bios.version: A13
dmi.board.name: Inspiron 2650
dmi.board.vendor: Dell Computer Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: Dell Computer Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPHOENIXTECHNOLOGIESLTD.:bvrA13:bd03/23/2004:svnDellComputerCorporation:pnInspiron2650:pvrRevisionA0:rvnDellComputerCorporation:rnInspiron2650:rvrNone:cvnDellComputerCorporation:ct1:cvrN/A:
dmi.product.name: Inspiron 2650
dmi.product.version: Revision A0
dmi.sys.vendor: Dell Computer Corporation

Revision history for this message
jhansonxi (jhansonxi) wrote :
Revision history for this message
jhansonxi (jhansonxi) wrote :
Revision history for this message
jhansonxi (jhansonxi) wrote :
Revision history for this message
jhansonxi (jhansonxi) wrote :
Revision history for this message
jhansonxi (jhansonxi) wrote :

I'm willing to loan the laptop to the Canonical dev wants to fix this bug.

Revision history for this message
jhansonxi (jhansonxi) wrote :

Behavior is identical with mainline 2.6.38-999-generic #201103200905

summary: - Keyboard and touchpad fail randomly after Grub
+ Dell Inspiron 2650 (bios A13): keyboard and touchpad fail randomly
Revision history for this message
Herton R. Krzesinski (herton) wrote :

Relevant messages from dmesg:
[ 0.307217] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 0.833870] i8042: Can't read CTR while initializing i8042
...
[ 1.684655] i8042: probe of i8042 failed with error -5

Can you try each one of these kernel parameters and report back if one of them fixes/changes the situation?:
i8042.reset
i8042.nomux
i8042.notimeout

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
jhansonxi (jhansonxi) wrote :

I repeated each until it succeeded:
i8042.reset: 1 success/7 failures
i8042.nomux: 1 success/5 failures
i8042.notimeout: 1 success/5 failures

These tests were performed from a power-off condition.

Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Herton R. Krzesinski (herton) wrote :

Ok, the most common quirks don't make any difference. Can you also test with:
i8042.noloop
i8042.nopnp

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Herton R. Krzesinski (herton) wrote :

And also i8042.noaux

Revision history for this message
Herton R. Krzesinski (herton) wrote :

Please ignore my previous comment #10, you can test noaux but it should always keep your touchpad disabled.

Revision history for this message
Herton R. Krzesinski (herton) wrote :

Looking at i8042 code, I noticed that "Can't read CTR while initializing i8042" failure happens very early on initialization, so I expect the noloop/nopnp options to also not making any difference, and the only option which could change things was i8042.reset but it didn't as you tested.

Perhaps the extra debugging in the code could help, can you boot with option i8042.debug instead and attach here the dmesg output only when the keyboard and mouse fails?

Revision history for this message
jhansonxi (jhansonxi) wrote :

i8042.noloop: succeeds 1/10 attempts
i8042.nopnp: succeeds 1/6 attempts
i8042.noaux: not tested

Revision history for this message
jhansonxi (jhansonxi) wrote :
Revision history for this message
jhansonxi (jhansonxi) wrote :
Changed in linux (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Herton R. Krzesinski (herton) wrote :

There is something odd about the point of failures here. This is snippet of debugging on keyboard+mouse failure case:

[ 1.361515] i8042: [2] d3 -> i8042 (command)
[ 1.362154] i8042: [2] a5 -> i8042 (parameter)
[ 1.362545] i8042: [2] a5 <- i8042 (aux_test_irq, aux)
[ 1.362560] i8042: [2] 60 -> i8042 (command)
[ 2.413082] i8042: Failed to enable KBD port
[ 2.414629] i8042: [265] 60 -> i8042 (command)
[ 2.415058] i8042: [265] 74 -> i8042 (parameter)
[ 2.415263] i8042: [265] 60 -> i8042 (command)
[ 2.416007] i8042: [265] 47 -> i8042 (parameter)
[ 2.416061] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20110112/evregion-474)
[ 2.416093] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.BAT1._BIF] (Node de027ac8), AE_TIME (20110112/psparse-536)
[ 2.416154] ACPI Exception: AE_TIME, Evaluating _BIF (20110112/battery-417)
[ 2.416173] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[ 2.416199] ACPI: Battery Slot [BAT1] (battery present)
[ 2.417074] ata2.00: ATAPI: MATSHITA CD-RW UJDA330, 1.50, max MWDMA2
[ 2.417227] ata1.00: ATA-6: ST94813A, 3.04, max UDMA/100
[ 2.417240] ata1.00: 78140160 sectors, multi 16: LBA48
[ 2.417624] i8042: probe of i8042 failed with error -5

And output with only keyboard working:

[ 1.381035] i8042: [2] d3 -> i8042 (command)
[ 1.381726] i8042: [2] a5 -> i8042 (parameter)
[ 1.382119] i8042: [2] a5 <- i8042 (aux_test_irq, aux)
[ 1.382133] i8042: [2] 60 -> i8042 (command)
[ 1.907149] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20110112/evregion-474)
[ 1.907419] ACPI Error: Method parse/execution failed [\_SB_.PCI0.LPCB.BAT1._BIF] (Node de027ac8), AE_TIME (20110112/psparse-536)
[ 1.907792] ACPI Exception: AE_TIME, Evaluating _BIF (20110112/battery-417)
[ 1.907997] ACPI: Deprecated procfs I/F for battery is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared
[ 1.908149] ACPI: Battery Slot [BAT1] (battery present)
[ 1.909470] i8042: [134] 60 -> i8042 (command)
[ 1.909638] i8042: [134] 65 -> i8042 (parameter)
[ 1.909647] serio: i8042 KBD port at 0x60,0x64 irq 1

On both cases, the i8042 debugging output is truncated, right near those acpi AE_TIME messages. Notice the noticeable time delta between messages, in first case:

[ 1.362560] i8042: [2] 60 -> i8042 (command)
[ 2.413082] i8042: Failed to enable KBD port
[ 2.414629] i8042: [265] 60 -> i8042 (command)

In the second case:

[ 1.382133] i8042: [2] 60 -> i8042 (command)
[ 1.907149] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20110112/evregion-474)
...
[ 1.909470] i8042: [134] 60 -> i8042 (command)

Both printk time and i8042 jiffies delta are large, and following the sequence in the i8042 code there is missing debug output as the sequence is broken right when this delta happens.

I guess we have here some bug related to EC/acpi (probably bug in firmware/bios) which is making this happen, and causing also the random failures of i8042 commands.

Revision history for this message
jhansonxi (jhansonxi) wrote :

As per my comment on bug #555169
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-keyboard/+bug/555169/comments/50

"acpi=off" does solve the problem but obviously breaks soft power-off, sensors, and other things.

Revision history for this message
penalvch (penalvch) wrote :

jhansonxi, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-a13 regression-potential
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Triaged → Incomplete
Revision history for this message
S. Christian Collins (s-chriscollins) wrote :

I wasn't able to boot the Ubuntu daily live image due to bug #1251816, but I did try installing the Raring kernel (3.8.0-34) on my work's Dell Inspiron 2650 running Lubuntu 12.04. Booting the 3.8 kernel, the keyboard & trackpad worked every time! I probably rebooted it about 15 times. As far as I can tell, this issue is resolved, but I can only assume the issue is still fixed in 3.11, as I cannot successfully boot that kernel yet to test.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.