You are not logged in.

#1 2008-05-11 20:43:37

crom
Member
From: Germany
Registered: 2008-05-11
Posts: 43

Randomly no keyboard at login

Hi there,

at about every one out of ten boots, I am not able to log in, because the keyboard doesn't work. It always works in GRUB and the bios. It is connected via PS/2, the mouse is not connected to the other PS/2-port. The mouse is connected to the serial port, but that shouln't matter.
After some power-off-reboots with this issue, I've connected a USB-keyboard. This works in every case, even when the PS/2-keyboard doesn't work. With this workaround, I can do a clean reboot and use the main keyboard at the next login.

Here's my hardware:
==============
00:00.0 Host bridge: Intel Corporation 82815 815 Chipset Host Bridge and Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82815 815 Chipset AGP Bridge (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02)
00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)
02:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


Part of my rc.conf:
============
LOCALE="de_DE.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="yes"
TIMEZONE="Europe/Beriln"
KEYMAP="de-latin1-nodeadkeys"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
...
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(8139too mii slhc ac97_bus snd-mixer-oss snd-pcm-oss
snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0
soundcore fuse)
...
DAEMONS=(syslog-ng network hal @crond @avahi-damon @ntpd)

Kernel(stock):
==========
Linux myhost 2.6.24-ARCH #1 SMP PREEMPT Sun Mar 30 11:40:06 CEST 2008 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux


And last but not least two kernel.log-snippets:
=============================
(not working)
May 11 21:49:58 myhost loop: module loaded
May 11 21:49:58 myhost input: Macintosh mouse button emulation as /devices/virtu
al/input/input0
May 11 21:49:58 myhost PNP: PS/2 Controller [PNP0303:KEYB] at 0x60,0x64 irq 1
May 11 21:49:58 myhost PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
May 11 21:49:58 myhost serio: i8042 KBD port at 0x60,0x64 irq 1
May 11 21:49:58 myhost mice: PS/2 mouse device common for all mice
May 11 21:49:58 myhost cpuidle: using governor ladder

(working)
May 11 22:00:41 myhost loop: module loaded
May 11 22:00:41 myhost input: Macintosh mouse button emulation as /devices/virtual/input/input0
May 11 22:00:41 myhost PNP: PS/2 Controller [PNP0303:KEYB] at 0x60,0x64 irq 1
May 11 22:00:41 myhost PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
May 11 22:00:41 myhost serio: i8042 KBD port at 0x60,0x64 irq 1
May 11 22:00:41 myhost mice: PS/2 mouse device common for all mice
May 11 22:00:41 myhost input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
May 11 22:00:41 myhost cpuidle: using governor ladder









What is the source of my problem and what can I do to fix it?

Offline

#2 2008-05-15 12:27:55

fatlarry
Member
Registered: 2008-05-14
Posts: 31

Re: Randomly no keyboard at login

A bit of google-ing shows this up:

//lkml.org/lkml/2004/5/10/63

(and your logs look like you use these modules)

Offline

#3 2008-05-18 16:46:02

crom
Member
From: Germany
Registered: 2008-05-11
Posts: 43

Re: Randomly no keyboard at login

Thanks for your advice. Although the post concerns the 2.6.6 kernel I pulled the kernel sources via ABS, aborted the build process and took a look at drivers/input/serio/i8042.c. As suspected, the kernel evolution completley changed the file, the function del_timer_sync isn't even called from there.

So I enabled the "testing" repo and installed 2.6.25. I had some problems with the nvidia-module,  so I switched to nv.
Within 15 reboots, the problem didn't occur a single time.
Thanks anyway, searching lkml seems to be a good idea in most cases.

Offline

Board footer

Powered by FluxBB