Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140257 - X11 crashes after kernel update
Summary: X11 crashes after kernel update
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-13 10:12 UTC by Rickard Närström
Modified: 2006-07-21 23:02 UTC (History)
0 users

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


Attachments
Xorg.0.log - X11 logfile (Xorg.0.log.old,49.70 KB, text/plain)
2006-07-13 10:14 UTC, Rickard Närström
Details
xorg.conf - X11 configuration file (xorg.conf,3.35 KB, text/plain)
2006-07-13 10:16 UTC, Rickard Närström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rickard Närström 2006-07-13 10:12:54 UTC
After I changed my kernel from 2.6.16-ck11 to 2.6.17-gentoo2 I couden't start the XServer.

I have tested x11-base/xorg-server-1.1.1 and x11-base/xorg-server-1.1.0-r1 both craches with 2.6.17-gentoo2 kernel, at least 1.1.0-r1 works with 2.6.16-ck11 kernel.

emerge --info
----
Portage 2.1.1_pre2-r7 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.16-ck11 x86_64)
=================================================================
                       System Settings
=================================================================
System uname: 2.6.16-ck11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -fomit-frame-pointer -mfpmath=sse -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.kems.net ftp://gentoo.kems.net/mirrors/gentoo"
LANG="sv_SE.UTF-8"
LC_ALL="sv_SE.UTF-8"
LINGUAS="sv"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa anthy arts audiofile avi bitmap-fonts boundschecking browserplugin cdparanoia cdr cjk crypt css cups curl dbus dmi dri dvd dvdr dvdread eds emboss encode fam ffmpeg flac font-server foomaticdb ftp gd gif gpm hal iconv icq imagemagick imlib immqt insecure-drivers jabber java javascript jingle jpeg kde latex lm_sensors mad matroska memlimit mikmod mod mono mp3 mp4 mpeg mpeg2 mpeg4 mplayer msdfs msn ncurses network nls no-old-linux no_wxgtk1 nptl nptlonly nsplugin offensive ogg oggvorbis opengl oscar pam pcre pdflib perl png posix python qt qt4 quicktime rar readline reiserfs samba sdl sockets speex spell ssl subtitles subversion svg sysfs syslog tcpd tetex theora threads tiff transcode truetype truetype-fonts type1 type1-fonts udev uim unicode usb userlocales utf8 vcd vim vnc vorbis x11vnc x264 xcomposite xfs xim xine xml xml2 xorg xpm xrandr xscreensaver xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_sv userland_GNU video_cards_ati video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
----

[I--] [ ~] x11-base/xorg-x11-7.1 (0)
[I--] [ ~] x11-base/xorg-server-1.1.0-r1 (0)
[I--] [ ~] x11-drivers/xf86-video-ati-6.6.1 (0)
Comment 1 Rickard Närström 2006-07-13 10:14:33 UTC
Created attachment 91647 [details]
Xorg.0.log - X11 logfile
Comment 2 Rickard Närström 2006-07-13 10:16:32 UTC
Created attachment 91648 [details]
xorg.conf - X11 configuration file

NOTE: Not all sections in the config file are used, pleace check the ServerLayout section to see what other sections are used.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-07-13 11:14:38 UTC
Please go to bugs.freedesktop.org and search for your bug, or file a new one if you cannot find it. Post the URL of the bug here once you do.
Comment 4 Rickard Närström 2006-07-13 12:29:29 UTC
I tested with vanilla kernels as well, both 2.6.16.24 and 2.6.17.4 works. -- it seems like a error in the gentoo kernel patch-set.

Hmmm... If noone objekts I'll send this upstream to freedesktop the first thing in the morning (GMT+1).
Comment 5 Rickard Närström 2006-07-13 22:47:04 UTC
Sent upstream
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2006-07-14 18:33:08 UTC
Upstream marked NOTOURBUG.  Looks like this is in the kernel team's hands for now...
Comment 7 Rickard Närström 2006-07-14 21:04:00 UTC
The problem is that the device nodes get switch.

Before update (all other):
/dev/event0 -> keybord
/dev/event1 -> mouse

After update (2.6.17-gentoo2):
/dev/event0 -> mouse
/dev/event1 -> keyboard

After chanching the xorg.conf to the new values XServer starts without problems.
Comment 8 Joshua Baergen (RETIRED) gentoo-dev 2006-07-16 08:56:52 UTC
Alright.  Kernel guys, any idea why this happens?
Comment 9 Christian Heim (RETIRED) gentoo-dev 2006-07-16 09:04:12 UTC
Rickard, do the device nodes get switched when you're rebooting the machine ?

I'm only guessing here, but you're using udev right ? (since its in system ..)
Comment 10 Rickard Närström 2006-07-16 09:28:55 UTC
(In reply to comment #9)
> Rickard, do the device nodes get switched when you're rebooting the machine ?

Yes, when I boot into the 2.6.17-gentoo2 kernel the nodes are switched, any other kernel (of those I have tested) thay are created as normal.

> I'm only guessing here, but you're using udev right ? (since its in system ..)

Yes, I'm using udev.
Comment 11 Daniel Drake (RETIRED) gentoo-dev 2006-07-16 09:33:39 UTC
It is quite common for them to get changed over kernel upgrades I think. The X config file allows you to specify the descriptive names or other attributes, rather than relying on the device node being in a specific place.
Comment 12 Daniel Drake (RETIRED) gentoo-dev 2006-07-21 16:36:48 UTC
Fixed in gentoo-sources-2.6.17-r4. Reassigning back to X11 as I consider it a bug that X crashed and produced a backtrace in this scenario. If you disagree, just close this bug as fixed.
Comment 13 Rickard Närström 2006-07-21 22:54:26 UTC
(In reply to comment #12)
> Fixed in gentoo-sources-2.6.17-r4. Reassigning back to X11 as I consider it a
> bug that X crashed and produced a backtrace in this scenario. If you disagree,
> just close this bug as fixed.
> 

I agree with you, a crach is always a bug, whatever caused it.
Comment 14 Rickard Närström 2006-07-21 23:02:55 UTC
I sent this upstream again.