Starting X the xorg-server crashes with Segmentation fault. Reproducible: Always Portage 2.1.7.1 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 28 Oct 2009 10:30:17 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.3, 3.1.1-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 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 -fomit-frame-pointer" 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/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /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 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" FFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="de fr" MAKEOPTS="-j1" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/n4g /usr/local/portage/layman/dotnet /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/suka /usr/local/portage/layman/zugaina /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf aspell atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dts dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fuse galago garmin gd gdal gdbm geolocation geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda irmc isdnlog ithreads jabber java java5 java6 jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring kvm ladspa lame lapack laptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lua lzo lzw mad maildir mailwrapper math matroska mikmod mmx mmxext mng mod modules mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pae pam pcre pda pdf perl pipechan plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python qhull qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs szip t1lib tcl tcpd tex theora thinkpad threads thunar thunderbird tidy tiff tk tntc truetype unicode usb userlocales utempter v4l2 vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 208510 [details] /var/log/Xorg.0.log
*** Bug 290896 has been marked as a duplicate of this bug. ***
Try disabling XAA. Thanks
I took xorg.conf.new generated by 'X -configure' uncommented the #Option "NoAccel" line and tried to start again X: root@lynx:/root(33)# X -config xorg.conf.new X.Org X Server 1.7.1 Release Date: 2009-10-23 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.31-gentoo-r3 x86_64 Current Operating System: Linux lynx 2.6.32-rc5 #1 SMP Fri Oct 23 19:34:23 CEST 2009 x86_64 Kernel command line: root=/dev/sda6 video=vesa:ywrap,mtrr:3 vga=872 Build Date: 27 October 2009 11:31:40AM Current version of pixman: 0.16.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Oct 28 17:07:48 2009 (++) Using config file: "xorg.conf.new" Backtrace: 0: X (xorg_backtrace+0x28) [0x467668] 1: X (0x400000+0x5dc96) [0x45dc96] 2: /lib/libpthread.so.0 (0x7ff8dbc95000+0xea00) [0x7ff8dbca3a00] Segmentation fault at address (nil) Fatal server error: Caught signal 11 (Segmentation fault). Server aborting
Created attachment 208542 [details] xorg.conf.new
Created attachment 208544 [details] Xorg.0.log with xorg.conf.new
Unfortunately, the backtrace in the log is still useless. Please read this guide http://www.gentoo.org/proj/en/qa/backtraces.xml and rebuild libpciaccess, xorg-server, xf86-video-nv as to get a better backtrace. Please do follow the guide carefully. Thanks
I am just running 'emerge -vDe system', which probably still needs some hours. I would like to finish this with the standard compiler flags. So I can send you the backtrace tomorrow.
I set CFLAGS="-march=nocona -O2 -ggdb" FEATURES="fixpackages splitdebug" in /etc/make.conf did emerge -v1 libpciaccess xorg-server xf86-video-nv If I try to start X from the command prompt, I get: root@lynx:/root(4)# X X.Org X Server 1.7.1 Release Date: 2009-10-23 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.31-gentoo-r4 x86_64 Current Operating System: Linux lynx 2.6.31-gentoo-r4 #2 SMP Thu Oct 29 10:42:02 CET 2009 x86_64 Kernel command line: root=/dev/sda6 video=vesa:ywrap,mtrr:3 vga=872 Build Date: 29 October 2009 12:30:21PM Current version of pixman: 0.16.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 29 12:35:18 2009 (==) Using default built-in configuration (30 lines) (EE) Failed to load module "fbdev" (module does not exist, 0) Backtrace: 0: X (xorg_backtrace+0x28) [0x467668] 1: X (0x400000+0x5dc96) [0x45dc96] 2: /lib/libpthread.so.0 (0x7f5aba757000+0xea30) [0x7f5aba765a30] 3: /usr/lib64/xorg/modules/drivers/nv_drv.so (0x7f5ab7382000+0x1e9ba) [0x7f5ab73a09ba] 4: /usr/lib64/xorg/modules/drivers/nv_drv.so (0x7f5ab7382000+0x1d3ce) [0x7f5ab739f3ce] 5: X (InitOutput+0x53e) [0x47278d] 6: X (0x400000+0x24eef) [0x424eef] 7: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f5ab93a6a3d] 8: X (0x400000+0x24c59) [0x424c59] Segmentation fault at address 0x78 Fatal server error: Caught signal 11 (Segmentation fault). Server aborting I get the same result with xorg.conf.new, which contains Option "NoAccel" # [<bool>] If I try to start X under gdb, I get: root@lynx:/root(17)# gdb X GNU gdb (Gentoo 7.0 p1) 7.0 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/X...Reading symbols from /usr/lib64/debug/usr/bin/Xorg.debug...done. (no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/X [Thread debugging using libthread_db enabled] X.Org X Server 1.7.1 Release Date: 2009-10-23 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.31-gentoo-r4 x86_64 Current Operating System: Linux lynx 2.6.31-gentoo-r4 #2 SMP Thu Oct 29 10:42:02 CET 2009 x86_64 Kernel command line: root=/dev/sda6 video=vesa:ywrap,mtrr:3 vga=872 Build Date: 29 October 2009 12:30:21PM Current version of pixman: 0.16.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Oct 29 12:35:44 2009 (==) Using default built-in configuration (30 lines) [tcsetpgrp failed in terminal_inferior: Operation not permitted] (EE) Failed to load module "fbdev" (module does not exist, 0) Program received signal SIGSEGV, Segmentation fault. G80CreateOutputs (pScrn=0x1611a20) at g80_output.c:471 471 g80_output.c: No such file or directory. in g80_output.c What can I else do? Regards
Please file a bug in FreeDesktop's bugzilla [1] and paste the URL here so I can track the issue to backport patches if needs be. Thanks [1] https://bugs.freedesktop.org/ => "xorg" product => "Driver/nVidia (open)" component
I filed this in FreeDesktop's bugzilla as https://bugs.freedesktop.org/show_bug.cgi?id=24787
If I mask >=x11-base/xorg-server-1.7.1 portage complains about a lot of blocking packages: root@lynx:/root(54)# emerge -v1 libpciaccess xorg-server xf86-video-nv These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R ] x11-libs/libpciaccess-0.10.9 USE="-debug -minimal" 0 kB [ebuild UD] x11-base/xorg-server-1.6.5 [1.7.1] USE="hal ipv6 nptl sdl xorg -debug -dmx -kdrive -minimal -tslib" 0 kB [uninstall ] x11-proto/xf86bigfontproto-1.2.0 [blocks b ] >=x11-proto/xf86bigfontproto-1.2.0 (">=x11-proto/xf86bigfontproto-1.2.0" is blocking x11-base/xorg-server-1.6.5) [uninstall ] x11-apps/xinput-1.5.0 USE="-debug" [blocks b ] >=x11-apps/xinput-1.5.0 (">=x11-apps/xinput-1.5.0" is blocking x11-base/xorg-server-1.6.5) [uninstall ] x11-libs/libXxf86vm-1.1.0 USE="-debug" [blocks b ] >=x11-libs/libXxf86vm-1.1.0 (">=x11-libs/libXxf86vm-1.1.0" is blocking x11-base/xorg-server-1.6.5) [uninstall ] x11-libs/libXinerama-1.1 USE="-debug" [blocks b ] >=x11-libs/libXinerama-1.1 (">=x11-libs/libXinerama-1.1" is blocking x11-base/xorg-server-1.6.5) [uninstall ] x11-libs/libXxf86dga-1.1.1 USE="-debug" [blocks b ] >=x11-libs/libXxf86dga-1.1.1 (">=x11-libs/libXxf86dga-1.1.1" is blocking x11-base/xorg-server-1.6.5) [uninstall ] x11-libs/libXScrnSaver-1.2.0 USE="-debug" [blocks b ] >=x11-libs/libXScrnSaver-1.2.0 (">=x11-libs/libXScrnSaver-1.2.0" is blocking x11-base/xorg-server-1.6.5) [ebuild R ] x11-drivers/xf86-video-nv-2.1.15 USE="-debug" 0 kB [blocks B ] >=x11-proto/xcmiscproto-1.2.0 (">=x11-proto/xcmiscproto-1.2.0" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-libs/libXtst-1.1.0 (">=x11-libs/libXtst-1.1.0" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/xextproto-7.1.1 (">=x11-proto/xextproto-7.1.1" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/xf86driproto-2.1.0 (">=x11-proto/xf86driproto-2.1.0" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-base/xorg-drivers-1.7 (">=x11-base/xorg-drivers-1.7" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/scrnsaverproto-1.2.0 (">=x11-proto/scrnsaverproto-1.2.0" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/xf86vidmodeproto-2.3 (">=x11-proto/xf86vidmodeproto-2.3" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-libs/libX11-1.3.2 (">=x11-libs/libX11-1.3.2" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-libs/libXi-1.3 (">=x11-libs/libXi-1.3" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/xf86dgaproto-2.1 (">=x11-proto/xf86dgaproto-2.1" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/recordproto-1.14 (">=x11-proto/recordproto-1.14" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-libs/libXext-1.1.1 (">=x11-libs/libXext-1.1.1" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/fixesproto-4.1.1 (">=x11-proto/fixesproto-4.1.1" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/bigreqsproto-1.1.0 (">=x11-proto/bigreqsproto-1.1.0" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/inputproto-2.0 (">=x11-proto/inputproto-2.0" is blocking x11-base/xorg-server-1.6.5) [blocks B ] >=x11-proto/xineramaproto-1.2 (">=x11-proto/xineramaproto-1.2" is blocking x11-base/xorg-server-1.6.5) Total: 3 packages (1 downgrade, 2 reinstalls, 6 uninstalls), Size of downloads: 0 kB Conflict: 22 blocks (16 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. ('installed', '/', 'x11-proto/xextproto-7.1.1', 'nomerge') pulled in by >=x11-proto/xextproto-7.0.4 required by ('ebuild', '/', 'x11-base/xorg-server-1.6.5', 'merge') x11-proto/xextproto required by ('ebuild', '/', 'x11-drivers/xf86-video-nv-2.1.15', 'merge') ('ebuild', '/', 'x11-base/xorg-server-1.6.5', 'merge') pulled in by x11-base/xorg-server required by ('ebuild', '/', 'x11-drivers/xf86-video-nv-2.1.15', 'merge') xorg-server What is recommended?
Reopening
Let's track the bug upstream directly. In the mean time, you'll need to downgrade all the blocked packages if you want to go back to 1.6, or now might be a good time to give xf86-video-nouveau (from the x11 overlay) a try. Closing with the proper resolution. Thanks
xf86-video-nouveau is probably not the optimal choice for mobile chipsets, as it does not support power management yet.