After upgrade to xorg-server-1.12.2 I get "Segmentation fault" [ 1298.755] 15: /usr/bin/X (0x400000+0x24a69) [0x424a69] [ 1298.755] [ 1298.755] Segmentation fault at address 0x9c [ 1298.755] Fatal server error: [ 1298.755] Caught signal 11 (Segmentation fault). Server aborting [ 1298.755] [ 1298.755] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 1298.755] Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 1298.755] [ 1298.758] Output CRT1 disable success [ 1298.762] Blank CRTC 0 success [ 1298.762] Disable CRTC memreq 0 success [ 1298.762] Disable CRTC 0 success [ 1298.762] Blank CRTC 1 success [ 1298.762] Disable CRTC memreq 1 success [ 1298.762] Disable CRTC 1 success [ 1298.762] (II) RADEON(0): RADEONRestoreMemMapRegisters() : [ 1298.762] (II) RADEON(0): MC_FB_LOCATION : 0x00e700c0 0x00e700c0 [ 1298.762] (II) RADEON(0): MC_AGP_LOCATION : 0x00000000 [ 1298.773] (II) RADEON(0): avivo_restore ! [ 1298.873] Enable CRTC 0 success [ 1298.873] Enable CRTC memreq 0 success [ 1298.873] Unblank CRTC 0 success [ 1298.876] Server terminated with error (1). Closing log file. I recompiled x11-drivers: emerge $(qlist -IC x11-drivers) but it doesn't help mesa list showing i915 (Intel 915, 945) i965 (Intel 965, G/Q3x, G/Q4x) r300 (Radeon R300-R500) [1] gallium * r600 (Radeon R600-R700, Evergreen, Northern Islands) [1] gallium * sw (Software renderer) [1] classic [2] gallium * In my make.conf I have: VIDEO_CARDS="radeon vesa" If radeon fails vesa should be able to startx but it doesn't qlist -IC x11-drivers x11-drivers/xf86-input-evdev x11-drivers/xf86-video-ati x11-drivers/xf86-video-vesa Reproducible: Always Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.1.10-gentoo-r1 x86_64) ================================================================= System uname: Linux-3.1.10-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.1 Timestamp of tree: Thu, 28 Jun 2012 22:00:01 +0000 ccache version 3.1.7 [disabled] app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r2, 3.1.5, 3.2.3 dev-util/ccache: 3.1.7 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1-r1 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.4 (virtual/os-headers) sys-libs/glibc: 2.14.1-r3 Repositories: gentoo voip ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/openvpn/easy-rsa /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=amdfam10 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/voip" SYNC="rsync://192.168.139.7/gentoo-portage" USE="X a52 aac acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam fbdev firefox flac foomaticdb fortran gdbm gif gimp gpm gtk iconv ipv6 java jpeg lcms ldap libnotify lm_sensors lock mad mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nplt nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support readline scanner sdl session spell sse sse2 ssl startup-notification svg tcpd tetex thunar tiff truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xorg xulrunner xv xvid 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="fujitsu" USERLAND="GNU" VIDEO_CARDS="radeon 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I've tried to downgrade to xorg-server-1.11.4-r1 but I'm still getting the same error: Segmentation fault
Please attach Xorg.0.log with the entire call stack. If possible, please also build xorg-server and xf86-video-ati with debug compiler flags (-g) and get a stack trace through gdb.
Created attachment 317636 [details] Xorg.0.log Here the attachment: Xorg-log
> [ 2774.011] (II) [KMS] drm report modesetting isn't supported. It appears that you don't have KMS enabled. Please configure your kernel according to http://www.gentoo.org/doc/en/xorg-config.xml and see if the problem persists.
(In reply to comment #2) > Please attach Xorg.0.log with the entire call stack. > > If possible, please also build xorg-server and xf86-video-ati with debug > compiler flags (-g) and get a stack trace through gdb. I've recompile xorg-server-1.12.2 and run: emerge $(qlist -IC x11-drivers) with make.conf changes: CFLAGS="-march=amdfam10 -O2 -pipe -ggdb" FEATURES="collision-protect parallel-fetch strict nostrip splitdebug" but I'm not sure how to run it though gdb: gdb /etc/init.d/xdm restart is not producing any result. Hot to run them thorugh "gdb"?
The UMS code path is not maintained any more and will be removed from the driver in the next release. I suggest to try KMS first before debugging further. If X does not immediately crash on start, you can run gdb and then attach to the PID of the running X server (best do that via ssh). If it immediately crashes on start, then you can either enable core dumps and load the /etc/X11/core into gdb, or launch X from gdb (without gdm).
(In reply to comment #4) > > [ 2774.011] (II) [KMS] drm report modesetting isn't supported. > It appears that you don't have KMS enabled. Please configure your kernel > according to http://www.gentoo.org/doc/en/xorg-config.xml and see if the > problem persists. Thank you, it appears that was it? cat .config |grep KMS CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_RADEON_KMS=y Why did it worked prevously without KMS? The only down side after I enabled KMS is that during booting kernel poses for 1min or longer after: - Switching to clocksource tsc Is the a way to run it without KMS?
Got it: the 1.5min delay is caused by Radeon looking for firmware: [ 1.740141] Switching to clocksource tsc [ 61.920149] r600_cp: Failed to load firmware "radeon/R600_rlc.bin" [ 61.920229] [drm:r600_startup] *ERROR* Failed to load firmware! Which binary should I emerge to get rid of this message?
Solution: emerge: x11-drivers/radeon-ucode in kernel .config: Device Drivers: - Generic Driver Options [*] Include in-kernel firmware blobs in kernel binary (radeon/R600_rlc.bin) External firmware blobs to build into the kernel binary (/lib/firmware) Firmware blobs root directory
Good to hear it worked. Not that all the firmware configuration is described in http://www.gentoo.org/doc/en/xorg-config.xml too.
er, I mean "Note that..."