View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Sun May 05, 2013 8:21 pm Post subject: X segfaults at address 0x0 [solved] |
|
|
Hello,
every few boots, xdm doesn't boots, X segfaults.
here is are Xorg.log and kdm.log: http://bpaste.net/show/96588/
here is emerge --info output:
Code: | Portage 2.1.11.63 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.2, glibc-2.17, 3.9.0-gentoo x86_64)
=================================================================
System uname: Linux-3.9.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 16039428 total, 13691616 free
KiB Swap: 16777212 total, 16777212 free
Timestamp of tree: Sun, 05 May 2013 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.4, 3.2.4
dev-util/cmake: 2.8.11_rc3::kde
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.6.4, 4.7.2-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo x11 vmware gamerlay kde Utopia_Platinia
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-4.0.0.7-copyright Broadcom PUEL googleearth LOKI-EULA AdobeFlash-11.x RTCW-ETEULA ut2003 MakeMKV-EULA Q3AEULA TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=native -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.isoc.org.il/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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/x11 /var/lib/layman/vmware /var/lib/layman/gamerlay /var/lib/layman/kde /usr/local/portage"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="X a52 aac acl acpi aio alsa amd64 amr audiofile avx bash-completion berkdb bidi branding bzip2 c++0x cairo cdda cdparanoia cdr cjk cleartype cli consolekit cracklib crypt css cups curl cxx dbus declarative device-mapper dga dri drm dts dv dvb dvd dvdr dvdread edb emboss encode exif faad fam ffmpeg firefox flac fortran ftp gallium gdbm gif gphoto2 gpm gtk iconv icq id3tag imagemagick java javascript jpeg jpeg2k kde kipi lame lcms ldap libnotify lua lzma mad matroska mmx mng modules mp3 mp4 mpeg mtp mudflap multilib nas ncurses nls nptl nsplugin ogg openal openexr opengl openmp openvg oss pam pango pcre pdf perl phonon php plasma png policykit ppds private-headers python qt3support qt4 quicktime readline samba scanner sdl session smp sndfile spell srt sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks udisks2 unicode upower usb v4l v4l2 vaapi vcd vdpau vorbis vpx wavpack wifi wma wxwidgets x264 xcb xcomposite xinerama xml xosd xrandr xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="multi asym rate dmix dshare dsnoop softvol plug extplug ioplug hooks empty route file" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" 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" GRUB_PLATFORMS="pc efi-64" 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 he es" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa v4l radeon r600 i915 intel i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
|
here are the relevant pkgs to X that I've installed: http://bpaste.net/show/96591/
any hints? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Last edited by DaggyStyle on Tue May 14, 2013 6:31 am; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun May 05, 2013 11:10 pm Post subject: |
|
|
It's failing in trying to copy a pixmap via EXA, that could be any number of hardware or software causes. Does it happen in pre-3.9 kernels?
You could try AccelMethod "glamor" as a workaround (but it might just make things worse). |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Tue May 07, 2013 5:50 am Post subject: |
|
|
Ant P. wrote: | It's failing in trying to copy a pixmap via EXA, that could be any number of hardware or software causes. Does it happen in pre-3.9 kernels?
You could try AccelMethod "glamor" as a workaround (but it might just make things worse). |
older kernel fails. somehow I doubt that glamor will do the trick.
next order of business it hw checking. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Wed May 08, 2013 5:48 am Post subject: |
|
|
Jaglover wrote: | I'd check PS voltages, reseat RAM, run memtest, etc. |
didn't reseat ram as I've figured that if something is bad, memtest will pick it up but memtest run didn't found anything.
but on the other hand, I've took a look on the trace again, this time in developer mode and I've noticed that this might an issue of xf86-video-ati as I'm using the git version.
so I'll first try to downgrade it, if it works, I'll open a bug at freedesktop, if not, I'll fire up my multiseat config and see if it is a gpu issue. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Wed May 08, 2013 4:41 pm Post subject: |
|
|
ok, xf86-video-ati-7.0.0 seems to no crash, 7.1.0 crashes.
also I see frequent kernel panic, I got a huge one with radeon and one with reiserfs.
any hints what might be wrong? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Thu May 09, 2013 12:38 am Post subject: |
|
|
Frequent kernel panic can be a sign of failing or overheating hardware. See what happens if you limit CPU frequency via /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Thu May 09, 2013 2:04 am Post subject: |
|
|
You better sanitize the situation first, i'm not sure how is your configuration (using intel + radeon) ?
But your system is a little mess :
Code: | [ 3040.296] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[ 3040.296] compiled for 1.14.1, module version = 7.1.99
[ 3040.296] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[ 3040.297] compiled for 1.14.1, module version = 7.1.99
[ 3040.297] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 3040.297] compiled for 1.14.1, module version = 2.21.6
[ 3040.297] (II) LoadModule: "vesa"
[ 3040.297] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so |
4 drivers to handle 2 cards ?
I also find strange ati_drv and radeon_drv have the same version 7.1.99 (maybe cause i don't own an ATI).
vesa seems to unload itself later, intel is kept as working with the intel card, but i'm not sure of the ati_drv and radon_drv state, if both are loaded, i suppose they could mess trying to use the same card.
In log one is then RADEON(0) and other is RADEON(G0)
Funny to see name to help debug the thing in this case are not helping at all, as it get confusing of who is who, lol ok maybe not for the INTEL(G1) name.
Until someone confirm it's normal to have ati_drv and radeon_drv, i would consider that an error. And i would try kick radeon_drv first, as it is the one that crash in your log.
I would also look those ones
Code: | [ 3040.936] (WW) RADEON(0): [DRI2] Direct rendering is not supported when VGA arb is necessary for the device
[ 3040.936] (WW) RADEON(0): Direct rendering disabled |
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Thu May 09, 2013 6:01 am Post subject: |
|
|
chithanh wrote: | Frequent kernel panic can be a sign of failing or overheating hardware. See what happens if you limit CPU frequency via /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq |
I have a coolermaster 212+ hsf, I doubt it is a heating issue but I'll check non the less.
krinn wrote: | You better sanitize the situation first, i'm not sure how is your configuration (using intel + radeon) ?
But your system is a little mess :
Code: | [ 3040.296] (II) Loading /usr/lib64/xorg/modules/drivers/ati_drv.so
[ 3040.296] compiled for 1.14.1, module version = 7.1.99
[ 3040.296] (II) Loading /usr/lib64/xorg/modules/drivers/radeon_drv.so
[ 3040.297] compiled for 1.14.1, module version = 7.1.99
[ 3040.297] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 3040.297] compiled for 1.14.1, module version = 2.21.6
[ 3040.297] (II) LoadModule: "vesa"
[ 3040.297] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so |
4 drivers to handle 2 cards ?
|
I have 3 cards, radeon 5450HD, radeon 3650 and intel igp, I'm using a multiseat config in general, I didn't fired it up because the system isn't stable yet.
my current main card is the 5450HD. the vesa I load as failsafe, is it possible that this can be the issue?
krinn wrote: |
I also find strange ati_drv and radeon_drv have the same version 7.1.99 (maybe cause i don't own an ATI).
|
/usr/lib64/xorg/modules/drivers/ati_drv.so = /usr/lib64/xorg/modules/drivers/radeon_drv.so , e.g. the same driver.
krinn wrote: |
vesa seems to unload itself later, intel is kept as working with the intel card, but i'm not sure of the ati_drv and radon_drv state, if both are loaded, i suppose they could mess trying to use the same card.
In log one is then RADEON(0) and other is RADEON(G0)
Funny to see name to help debug the thing in this case are not helping at all, as it get confusing of who is who, lol ok maybe not for the INTEL(G1) name.
Until someone confirm it's normal to have ati_drv and radeon_drv, i would consider that an error. And i would try kick radeon_drv first, as it is the one that crash in your log.
I would also look those ones
Code: | [ 3040.936] (WW) RADEON(0): [DRI2] Direct rendering is not supported when VGA arb is necessary for the device
[ 3040.936] (WW) RADEON(0): Direct rendering disabled |
|
I've noticed it too but as I didn't stabled the system yet, I don't mark it as high priority.
just to sum it all up, I had a working system, scraped it when I've added an sata to esata converter for a new backup drive and because when tried to install grub in my drive's mbr (root is a raid1 on 4 drives) failed on sd[b-d] (worked on sda) with inconsistent filesystem (still happens after reinstall so I assume the tutorial is wrong).
during the reinstall I've started to see the problem, infact I've installed gentoo quite alot but I've never has such install that took so long to get it to work.
I'll open the case and see if there is an issue with the cables there. maybe the sata to esata's cable got into a bad place within the case. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Sat May 11, 2013 2:31 pm Post subject: |
|
|
case opened, reseated all pci cards and brackets, even did some cleanup, still fails, even with stable version.
next up, booting the multiseat setup and see if it reoccurs, if yes, on what cards, if all, I think it is a mb issue, if only one card, than a gpu issue.
any others ideas I should try? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Mon May 13, 2013 5:41 am Post subject: |
|
|
Jaglover wrote: | Did you check PS voltages under full load with a real voltmeter? |
nope, sorry, it was on my list when I decided to do one last try, I've decided to load the multiseat config (to see if it is the gpu or the driver), I've also went to the radeon wiki entry and made sure that all the config keys were ok including the fw files. on the way I've upgraded my kernel and after reboot, no more crash.
I've even updated the drive back to the 9999 version and no crash.
until now the system didn't crashed yet, I'll see in the next few days and if it doesn't reoccur, I'll mark this as solved, I think the issue was the fw files. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Tue May 14, 2013 6:30 am Post subject: |
|
|
system seems to be stable, the issue was probably fw, marking as solved, thanks to anyone who helped. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|