Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173033 - x11-base/xorg-server-1.2.0-r2 continually restarts w/ 2.6.20 kernels
Summary: x11-base/xorg-server-1.2.0-r2 continually restarts w/ 2.6.20 kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-01 16:23 UTC by Emmanuel Rosa
Modified: 2007-04-07 18:41 UTC (History)
0 users

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


Attachments
xorg.conf (xorg.conf,3.86 KB, text/plain)
2007-04-01 16:24 UTC, Emmanuel Rosa
Details
/var/log/Xorg.0.log.old (Xorg.0.log.old,63.90 KB, text/plain)
2007-04-01 16:25 UTC, Emmanuel Rosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Rosa 2007-04-01 16:23:24 UTC
When using kernel sys-kernel/ck-sources-2.6.20_p1 and gdm attempts to start, it simply continuously restarts X until it gives up with the following message:
The display server has been shut down about 6 times in the last 90 seconds. It is likely that something bad is going on. Waiting for 2 minutes before trying again on display :0
This problem does not occur with sys-kernel/ck-sources-2.6.18_p1-r2.

Reproducible: Always

Steps to Reproduce:
1.Install sys-kernel/ck-sources-2.6.20_p1
2.Restart computer.

Actual Results:  
X refused to start properly.

Expected Results:  
gdm should have started and prompted for login info.

Note: emerge --info displays my working kernel
$ emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r1, 2.6.18-ck1-r2 i686)
=================================================================
System uname: 2.6.18-ck1-r2 i686 Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 01 Apr 2007 16:00:08 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /usr/X11R6/lib/X11/xkb"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer prelink sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm asf berkdb bitmap-fonts bzip2 cli cracklib crypt cups dbus divx dri dts dvd emboss encode ffmpeg foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv imagemagick imlib ipv6 isdnlog java jpeg libg++ libwww mad mailwrapper midi mikmod mmx moznoirc moznomail mp3 mpeg ncurses network nls nptl nptlonly nsplugin objc ogg opengl oss pam pcre perl pic png ppds pppd python quicktime readline real realmedia reflection samba sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis wma wmp x86 xml xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Emmanuel Rosa 2007-04-01 16:24:08 UTC
Created attachment 115171 [details]
xorg.conf
Comment 2 Emmanuel Rosa 2007-04-01 16:25:40 UTC
Created attachment 115173 [details]
/var/log/Xorg.0.log.old
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 16:28:17 UTC
ck-sources is not a supported kernel on Gentoo. If you can reproduce this with a supported one, then reopen.

http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3
Comment 4 Emmanuel Rosa 2007-04-01 23:47:24 UTC
(In reply to comment #3)
> ck-sources is not a supported kernel on Gentoo. If you can reproduce this with
> a supported one, then reopen.
> 
> http://www.gentoo.org/doc/en/gentoo-kernel.xml#doc_chap3
> 
I tried sys-kernel/gentoo-sources-2.6.20-r4 and the problem still persists. I also re-emerged all packages which contain the libraries linked to /usr/bin/Xorg, still fails to work.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2007-04-06 19:03:34 UTC
Hmm, this may be an evdev-related problem.  Which version of evdev are you using?  And are you able to reproduce without evdev enabled?
Comment 6 Emmanuel Rosa 2007-04-06 23:44:39 UTC
(In reply to comment #5)
> Hmm, this may be an evdev-related problem.  Which version of evdev are you
> using?  And are you able to reproduce without evdev enabled?
> 
I'm running x11-drivers/xf86-input-evdev-1.1.5-r1. How do you disable evdev? I had one hell of a time setting it up a while back (many X crashes), just to allow additional buttons on my mouse to work.

I've tried to debug this, and I've found that I could run fluxbox by using xinit. GDM won't work, and xfce4, my default desktop, won't work either. I'm running firefox, so I don't think it's gtk. My additional mouse buttons don't work. After re-emerging with USE="debug" I've purposely crashed X while running it in gdb, but I did not get any extra debug messages. I've also changed my mouse device in Xorg from "/dev/input/event2" to "/dev/input/event0" It's a no-go so far.
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2007-04-07 15:04:30 UTC
(In reply to comment #6)
> I'm running x11-drivers/xf86-input-evdev-1.1.5-r1. How do you disable evdev?

By using a different driver in xorg.conf.  Uncomment the line that uses the mouse driver and comment out the line that enables the evdev driver.  You might have to change what device the mouse driver is pointed to.
Comment 8 Emmanuel Rosa 2007-04-07 18:41:28 UTC
I checked /proc/bus/input/devices and it turns out my mouse is detected as event4 instead of the previous event2. Adjusting xorg.conf fixed the problem! FINALLY!