after upgrade kernel to 2.6.30-gentoo-r6 and xorg-server to 1.6.3.901-r1 X won't work by startx or by start xdm. seems 2.6.30-gentoo-r6 dropped few THINKPAD_ACPI option, especially for THINKPAD_ACPI_DOCK and THINKPAD_ACPI_BAY Reproducible: Always Steps to Reproduce: 1. plug on T61 dock station 2. power up T61 and start gentoo 3. run startx as normal user Actual Results: Black Screen on laptop, no keyboard response ssh to the host and get the following syslog: Sep 7 09:20:26 thinkpanda acpid: client connected from 3830[0:1000] Sep 7 09:20:26 thinkpanda acpid: 1 client rule loaded Sep 7 09:20:30 thinkpanda acpid: client connected from 3830[0:1000] Sep 7 09:20:30 thinkpanda acpid: 1 client rule loaded Sep 7 09:20:30 thinkpanda [ 137.239031] BUG: unable to handle kernel NULL pointer dereference at (null) Sep 7 09:20:30 thinkpanda [ 137.239056] IP: [<(null)>] (null) Sep 7 09:20:30 thinkpanda [ 137.239076] PGD 7b857067 PUD 79185067 PMD 0 Sep 7 09:20:30 thinkpanda [ 137.239097] Oops: 0010 [#1] PREEMPT SMP Sep 7 09:20:30 thinkpanda [ 137.239118] last sysfs file: /sys/devices/platform/dock.0/docked Sep 7 09:20:30 thinkpanda [ 137.239137] CPU 0 Sep 7 09:20:30 thinkpanda [ 137.239155] Modules linked in: nvidia(P) iwl3945 iwlcore Sep 7 09:20:30 thinkpanda [ 137.239179] Pid: 3830, comm: X Tainted: P 2.6.30-gentoo-r6 #3 8889B17 Sep 7 09:20:30 thinkpanda [ 137.239200] RIP: 0010:[<0000000000000000>] [<(null)>] (null) Sep 7 09:20:30 thinkpanda [ 137.239221] RSP: 0018:ffff880078c71d20 EFLAGS: 00010292 Sep 7 09:20:30 thinkpanda [ 137.239240] RAX: ffff88007bac6000 RBX: ffff8800788a2fa8 RCX: 0000000000000001 Sep 7 09:20:30 thinkpanda [ 137.239261] RDX: ffff88007c18f354 RSI: ffff88007bac6000 RDI: ffff88007d8eb000 Sep 7 09:20:30 thinkpanda [ 137.239281] RBP: ffff8800788a2f60 R08: ffff88007d8eb000 R09: ffff8800788a2fe8 Sep 7 09:20:30 thinkpanda [ 137.239302] R10: ffff8800788a2f78 R11: 00007fffba904920 R12: ffff88007c18f350 Sep 7 09:20:30 thinkpanda [ 137.239322] R13: ffff88007d8eb000 R14: 00007fffba904920 R15: 0000000000000000 Sep 7 09:20:30 thinkpanda [ 137.239343] FS: 00007fba82c886f0(0000) GS:ffff880001010000(0000) knlGS:0000000000000000 Sep 7 09:20:30 thinkpanda [ 137.239364] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Sep 7 09:20:30 thinkpanda [ 137.239383] CR2: 0000000000000000 CR3: 0000000078869000 CR4: 00000000000006a0 Sep 7 09:20:30 thinkpanda [ 137.239404] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Sep 7 09:20:30 thinkpanda [ 137.239424] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Sep 7 09:20:30 thinkpanda [ 137.239445] Process X (pid: 3830, threadinfo ffff880078c70000, task ffff88007beeeb00) Sep 7 09:20:30 thinkpanda [ 137.239465] Stack: Sep 7 09:20:30 thinkpanda [ 137.239482] ffffffffa008c577 ffff8800788a2fa8 00000000c1d00001 000000000000000c Sep 7 09:20:30 thinkpanda [ 137.239489] 00007fffba904920 0000000000000110 ffffffffa008e2da 0000000000000020 Sep 7 09:20:30 thinkpanda [ 137.239512] ffffffffa04886d1 0000000000000110 ffffffffa04882d9 0000000000000110 Sep 7 09:20:30 thinkpanda [ 137.239550] Call Trace: Sep 7 09:20:30 thinkpanda [ 137.239568] [<ffffffffa008c577>] ? _nv007272rm+0xaa/0x314 [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239740] [<ffffffffa008e2da>] ? _nv019651rm+0x16/0x1c [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239883] [<ffffffffa04886d1>] ? _nv003836rm+0x9/0xe [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa04882d9>] ? _nv003802rm+0x179/0x1c2 [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0488616>] ? _nv003838rm+0x98/0x13e [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa03bc23e>] ? _nv007070rm+0x19/0x25 [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa01ca0a6>] ? _nv003698rm+0x576/0x5b4 [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0441181>] ? rm_ioctl+0x2f/0x67 [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0516dae>] ? nv_kern_ioctl+0x312/0x375 [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0516e4e>] ? nv_kern_unlocked_ioctl+0x1c/0x21 [nvidia] Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff802947e4>] ? vfs_ioctl+0x19/0x83 Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff802cbeea>] ? sysfs_read_file+0x11d/0x131 Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff80294c5f>] ? do_vfs_ioctl+0x411/0x451 Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff80289ac2>] ? vfs_read+0xa5/0x12f Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff80294cdb>] ? sys_ioctl+0x3c/0x5c Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff8020ae2b>] ? system_call_fastpath+0x16/0x1b Sep 7 09:20:30 thinkpanda [ 137.239997] Code: Bad RIP value. Sep 7 09:20:30 thinkpanda [ 137.239997] RIP [<(null)>] (null) Sep 7 09:20:30 thinkpanda [ 137.239997] RSP <ffff880078c71d20> Sep 7 09:20:30 thinkpanda [ 137.239997] CR2: 0000000000000000 Sep 7 09:20:30 thinkpanda [ 137.244315] ---[ end trace ee79be7439ae2552 ]--- Expected Results: X should work fine with dock station Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 06 Sep 2009 13:00:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.9 dev-lang/python: 2.4.4-r6, 2.5.4-r2, 2.6.2-r1, 3.1.1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -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/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="zh_CN zh" MAKEOPTS="-j4 -s" PKGDIR="/usr/portage/packages" 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" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acl acpi alsa amd64 bash-completion berkdb bluetooth bzip2 cjk cli cpudetection cracklib crypt cscope cups curl dbus dri dv dvd dvdread encode fbcon ffmpeg firefox flac fortran ftdi gdbm gif gnome gnutls gpg gpm gtk hal iconv ipod isdnlog jpeg kdrive laptop libcaca libwww midi mikmod mmx mp3 mp4 mpeg mudflap multilib multiuser ncurses nls nptl nptlonly nv nvidia offensive ogg opengl openmp pam pcre perl png pni pppd python quicktime rar readline reflection rtc sdl seamonkey session spell spl srt sse sse2 sse3 ssl ssse3 svg sysfs tcpd tiff tk truetype unicode v4l v4l2 vdpau vim vorbis xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN zh" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #0) > after upgrade kernel to 2.6.30-gentoo-r6 and xorg-server to 1.6.3.901-r1 > X won't work by startx or by start xdm. > > seems 2.6.30-gentoo-r6 dropped few THINKPAD_ACPI option, > especially for THINKPAD_ACPI_DOCK and THINKPAD_ACPI_BAY > > Reproducible: Always > > Steps to Reproduce: > 1. plug on T61 dock station > 2. power up T61 and start gentoo > 3. run startx as normal user > Actual Results: > Black Screen on laptop, no keyboard response seems even without dock station, still encounter this black screen. commit 1f6fc2de9525e34ee93bd392fa046369a8cfbf1e Author: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Date: Sat Aug 1 12:04:18 2009 -0300 thinkpad-acpi: remove dock and bay subdrivers and for latest kernel, no need to enable THINKPAD specific acpi option. > > ssh to the host and get the following syslog: > > Sep 7 09:20:26 thinkpanda acpid: client connected from 3830[0:1000] > Sep 7 09:20:26 thinkpanda acpid: 1 client rule loaded > Sep 7 09:20:30 thinkpanda acpid: client connected from 3830[0:1000] > Sep 7 09:20:30 thinkpanda acpid: 1 client rule loaded > Sep 7 09:20:30 thinkpanda [ 137.239031] BUG: unable to handle kernel NULL > pointer dereference at (null) > Sep 7 09:20:30 thinkpanda [ 137.239056] IP: [<(null)>] (null) > Sep 7 09:20:30 thinkpanda [ 137.239076] PGD 7b857067 PUD 79185067 PMD 0 > Sep 7 09:20:30 thinkpanda [ 137.239097] Oops: 0010 [#1] PREEMPT SMP > Sep 7 09:20:30 thinkpanda [ 137.239118] last sysfs file: > /sys/devices/platform/dock.0/docked > Sep 7 09:20:30 thinkpanda [ 137.239137] CPU 0 > Sep 7 09:20:30 thinkpanda [ 137.239155] Modules linked in: nvidia(P) iwl3945 > iwlcore > Sep 7 09:20:30 thinkpanda [ 137.239179] Pid: 3830, comm: X Tainted: P > 2.6.30-gentoo-r6 #3 8889B17 > Sep 7 09:20:30 thinkpanda [ 137.239200] RIP: 0010:[<0000000000000000>] > [<(null)>] (null) > Sep 7 09:20:30 thinkpanda [ 137.239221] RSP: 0018:ffff880078c71d20 EFLAGS: > 00010292 > Sep 7 09:20:30 thinkpanda [ 137.239240] RAX: ffff88007bac6000 RBX: > ffff8800788a2fa8 RCX: 0000000000000001 > Sep 7 09:20:30 thinkpanda [ 137.239261] RDX: ffff88007c18f354 RSI: > ffff88007bac6000 RDI: ffff88007d8eb000 > Sep 7 09:20:30 thinkpanda [ 137.239281] RBP: ffff8800788a2f60 R08: > ffff88007d8eb000 R09: ffff8800788a2fe8 > Sep 7 09:20:30 thinkpanda [ 137.239302] R10: ffff8800788a2f78 R11: > 00007fffba904920 R12: ffff88007c18f350 > Sep 7 09:20:30 thinkpanda [ 137.239322] R13: ffff88007d8eb000 R14: > 00007fffba904920 R15: 0000000000000000 > Sep 7 09:20:30 thinkpanda [ 137.239343] FS: 00007fba82c886f0(0000) > GS:ffff880001010000(0000) knlGS:0000000000000000 > Sep 7 09:20:30 thinkpanda [ 137.239364] CS: 0010 DS: 0000 ES: 0000 CR0: > 0000000080050033 > Sep 7 09:20:30 thinkpanda [ 137.239383] CR2: 0000000000000000 CR3: > 0000000078869000 CR4: 00000000000006a0 > Sep 7 09:20:30 thinkpanda [ 137.239404] DR0: 0000000000000000 DR1: > 0000000000000000 DR2: 0000000000000000 > Sep 7 09:20:30 thinkpanda [ 137.239424] DR3: 0000000000000000 DR6: > 00000000ffff0ff0 DR7: 0000000000000400 > Sep 7 09:20:30 thinkpanda [ 137.239445] Process X (pid: 3830, threadinfo > ffff880078c70000, task ffff88007beeeb00) > Sep 7 09:20:30 thinkpanda [ 137.239465] Stack: > Sep 7 09:20:30 thinkpanda [ 137.239482] ffffffffa008c577 ffff8800788a2fa8 > 00000000c1d00001 000000000000000c > Sep 7 09:20:30 thinkpanda [ 137.239489] 00007fffba904920 0000000000000110 > ffffffffa008e2da 0000000000000020 > Sep 7 09:20:30 thinkpanda [ 137.239512] ffffffffa04886d1 0000000000000110 > ffffffffa04882d9 0000000000000110 > Sep 7 09:20:30 thinkpanda [ 137.239550] Call Trace: > Sep 7 09:20:30 thinkpanda [ 137.239568] [<ffffffffa008c577>] ? > _nv007272rm+0xaa/0x314 [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239740] [<ffffffffa008e2da>] ? > _nv019651rm+0x16/0x1c [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239883] [<ffffffffa04886d1>] ? > _nv003836rm+0x9/0xe [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa04882d9>] ? > _nv003802rm+0x179/0x1c2 [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0488616>] ? > _nv003838rm+0x98/0x13e [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa03bc23e>] ? > _nv007070rm+0x19/0x25 [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa01ca0a6>] ? > _nv003698rm+0x576/0x5b4 [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0441181>] ? > rm_ioctl+0x2f/0x67 [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0516dae>] ? > nv_kern_ioctl+0x312/0x375 [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffffa0516e4e>] ? > nv_kern_unlocked_ioctl+0x1c/0x21 [nvidia] > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff802947e4>] ? > vfs_ioctl+0x19/0x83 > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff802cbeea>] ? > sysfs_read_file+0x11d/0x131 > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff80294c5f>] ? > do_vfs_ioctl+0x411/0x451 > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff80289ac2>] ? > vfs_read+0xa5/0x12f > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff80294cdb>] ? > sys_ioctl+0x3c/0x5c > Sep 7 09:20:30 thinkpanda [ 137.239997] [<ffffffff8020ae2b>] ? > system_call_fastpath+0x16/0x1b > Sep 7 09:20:30 thinkpanda [ 137.239997] Code: Bad RIP value. > Sep 7 09:20:30 thinkpanda [ 137.239997] RIP [<(null)>] (null) > Sep 7 09:20:30 thinkpanda [ 137.239997] RSP <ffff880078c71d20> > Sep 7 09:20:30 thinkpanda [ 137.239997] CR2: 0000000000000000 > Sep 7 09:20:30 thinkpanda [ 137.244315] ---[ end trace ee79be7439ae2552 ]--- looks like something wrong with nvidia propitiatory driver package. x11-drivers/nvidia-drivers 185.18.31 after upgrade to beta driver x11-drivers/nvidia-drivers 190.25, no such issue anymore, so will close this bug.