Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327647 - sys-kernel/gentoo-sources-2.6.33-r2 fails to initialize PS/2 keyboard
Summary: sys-kernel/gentoo-sources-2.6.33-r2 fails to initialize PS/2 keyboard
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-2.6.33-regression
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 22:13 UTC by Joerg Schaible
Modified: 2010-08-07 11:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dmesg output after boot of gentoo-sources-2.6.33-r2 (dmesg-2.6.33-gentoo-r2,37.27 KB, text/plain)
2010-07-09 22:14 UTC, Joerg Schaible
Details
dmesg output after boot of gentoo-sources-2.6.32-r7 (dmesg-2.6.32-gentoo-r7,40.36 KB, text/plain)
2010-07-09 22:15 UTC, Joerg Schaible
Details
config of gentoo-sources-2.6.33-r2 (config-2.6.33-gentoo-r2,59.52 KB, text/plain)
2010-07-09 22:18 UTC, Joerg Schaible
Details
config of gentoo-sources-2.6.32-r7 (config-2.6.32-gentoo-r7,57.51 KB, text/plain)
2010-07-09 22:19 UTC, Joerg Schaible
Details
config-2.6.33-gentoo-r2-working (config-2.6.33-gentoo-r2,57.79 KB, text/plain)
2010-07-20 21:58 UTC, Joerg Schaible
Details
config of gentoo-sources-2.6.34-gentoo-r1 (config-2.6.34-gentoo-r1,57.92 KB, text/plain)
2010-07-20 22:00 UTC, Joerg Schaible
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2010-07-09 22:13:38 UTC
When bootinmg with kernel from gentoo-sources-2.6.33-r2, I can use my PS/2 keyboard to select in the grub menue, but when the boot sequence has finished and I get the login at the text console (no X), the keyboard is simply dead. I have to unplug it and add it again, then it works as normal. Booting with the old kernel gentoo-sources-2.6.32-r7 the keyboard works as expected.

Reproducible: Always

Steps to Reproduce:
1. Boot with kernel from gentoo-sources-2.6.33-r2
2. Wait for the login prompt


Actual Results:  
PS/2 keyboard is completely dead.

Expected Results:  
PS/2 keyboard should simply work as it did with gentoo-sources-2.6.32-r7.

Compare the grep output searching for the keyboard chipset i8042 in the dmesg output:
=================== %< =======================
$ grep -n i8042 dmesg-*
dmesg-2.6.32-gentoo-r7:678:serio: i8042 KBD port at 0x60,0x64 irq 1
dmesg-2.6.32-gentoo-r7:679:serio: i8042 AUX port at 0x60,0x64 irq 12
dmesg-2.6.32-gentoo-r7:682:input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
dmesg-2.6.33-gentoo-r2:605:serio: i8042 KBD port at 0x60,0x64 irq 1
dmesg-2.6.33-gentoo-r2:606:serio: i8042 AUX port at 0x60,0x64 irq 12
dmesg-2.6.33-gentoo-r2:756:input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
=================== %< =======================

With the new kernel the line 756 is the last one of dmesg output i.e. it occured only, because I plugged off and on the PS/2 keyboard to make it work. Obviously this kernel does no longer initialize it at startup.

I'll attach the complete dmesg output from both kernels for comparison (and futher info on my setup/environment).
Comment 1 Joerg Schaible 2010-07-09 22:14:38 UTC
Created attachment 238169 [details]
dmesg output after boot of gentoo-sources-2.6.33-r2
Comment 2 Joerg Schaible 2010-07-09 22:15:01 UTC
Created attachment 238171 [details]
dmesg output after boot of gentoo-sources-2.6.32-r7
Comment 3 Joerg Schaible 2010-07-09 22:18:43 UTC
Created attachment 238173 [details]
config of gentoo-sources-2.6.33-r2
Comment 4 Joerg Schaible 2010-07-09 22:19:18 UTC
Created attachment 238175 [details]
config of gentoo-sources-2.6.32-r7
Comment 5 Joerg Schaible 2010-07-09 22:20:16 UTC
emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 01 Jul 2010 04:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -Os -pipe -fno-default-inline"
DISTDIR="/mnt/portage/distfiles/floh"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de en_GB en_US"
MAKEOPTS="-j4"
PKGDIR="/mnt/portage/packages/core-i7"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/mnt/portage/tree/central"
PORTDIR_OVERLAY="/mnt/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bmp branding bzip2 cairo caps cdr cli consolekit cracklib crypt cups curl cxx dbus dga dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk hal handbook iconv idn jpeg jpeg2k kde lcms libnotify mad maildir mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly odbc ogg opengl openmp openssh pam pango pch pcre pdf perl png policykit ppds pppd python qt qt3support qt4 readline reflection samba sdl semantic-desktop session spell spl sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg sysfs syslog tcpd threads tiff truetype unicode usb vim-syntax vorbis x264 xattr xcb xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_GB en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx radeon v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2010-07-10 23:32:20 UTC
can you test the latest gentoo-sources-2.6.34-r1?
Comment 7 Joerg Schaible 2010-07-15 20:01:02 UTC
Yes, it fails for me also on gentoo-sources-2.6.34-r1.
Comment 8 Joerg Schaible 2010-07-20 21:58:43 UTC
Created attachment 239605 [details]
config-2.6.33-gentoo-r2-working

Funny enough, I have now a working configuraiton for gentoo-2.6.33-r2, but not for gentoo-2.6.34-gentoo-r1 altough the working config was used for the upgrade to the newer kernel.
Comment 9 Joerg Schaible 2010-07-20 22:00:54 UTC
Created attachment 239607 [details]
config of gentoo-sources-2.6.34-gentoo-r1

The non-working configuration for the 2.6.34 kernel, where the PS/2 keyboard is again dead at login time (console).
Comment 10 Joerg Schaible 2010-08-07 11:21:12 UTC
I reported the problem at LKML linux-input and Dmitry requested a dmesg extract with activated debug messages for i8042. Actually he was able to fix it, since it works now with 2.6.35 (vanilla and gentoo-sources).