Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244877 - x11-base/xorg-server-1.3.0.0-r6 - mtrr: 0xd0000000,0x10000000 overlaps existing 0xd0000000,0x1000000 with nvidia and nv drivers
Summary: x11-base/xorg-server-1.3.0.0-r6 - mtrr: 0xd0000000,0x10000000 overlaps existi...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo X packagers
URL: http://www.file-upload.net/download-1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-29 11:50 UTC by Adrian Dannberg
Modified: 2009-05-06 09:34 UTC (History)
1 user (show)

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


Attachments
the page to visit (russland.tar.gz,764.32 KB, text/plain)
2008-10-29 13:14 UTC, Adrian Dannberg
Details
requested xorg.conf (xorg.conf,13.32 KB, text/plain)
2008-10-29 21:03 UTC, Adrian Dannberg
Details
requested xorg.0.log (Xorg.0.log,27.43 KB, text/plain)
2008-10-29 21:06 UTC, Adrian Dannberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Dannberg 2008-10-29 11:50:03 UTC
I have saved the current version of the page. URL = download link.
I dont have debug flags enabled, so I cant provide any backtraces. I hope this is reproduceable for others.

If anything else is needed, just tell.


Reproducible: Always

Steps to Reproduce:
1. Login to X
2. Start firefox
3. visit page from download link

Actual Results:  
xorg will crash

Expected Results:  
xorg should not crash

dionysos adrian # emerge --info
Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Wed, 29 Oct 2008 11:05:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.intergenia.de http://pandemonium.tiscali.de/pub/gentoo/                 http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi alsa asf bash-completion berkdb bluetooth cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread eds emboss encode evo exif fam fbcondecor ffmpeg firefox fortran gdbm gif glibc-omitfp glitz gpm hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility ldap mad midi mikmod mmap mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline real realmedia reflection sasl sdl session spell spl sse sse2 sse3 ssl svg tcpd theora tiff truetype unicode visualization vorbis win32codecs wmp x264 x86 xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 fm801" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Adrian Dannberg 2008-10-29 13:14:50 UTC
Created attachment 170218 [details]
the page to visit
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-29 20:49:26 UTC
Please attach also your Xorg.0.log and xorg.conf, since similar video hardware and configuration might be necessary for reproducing the bug.
Comment 3 Adrian Dannberg 2008-10-29 21:03:38 UTC
Created attachment 170260 [details]
requested xorg.conf
Comment 4 Adrian Dannberg 2008-10-29 21:06:17 UTC
Created attachment 170264 [details]
requested xorg.0.log
Comment 5 Wormo (RETIRED) gentoo-dev 2008-10-30 01:07:16 UTC
Ok, I see you are using the non-free Nvidia driver. There have been bugs Nvidia driver related to firefox 3 and compiz desktop effects; are you using compiz by any chance? If so, try installing the latest ~x86 version of x11-drivers/nvidia-driver -- they may have fixed it by now.
Comment 6 Adrian Dannberg 2008-10-30 10:12:07 UTC
hi, 

it doesnt seem to be a driver issue. I just tried the "nv" driver and X crashes as well. I couldn't get X running with the "vga" properly so i couldn't test that.


to provide more info I decided to recompile x11-base/xorg-server and x11-base/xorg-x11 according to http://www.gentoo.org/proj/en/qa/backtraces.xml.
the problem I have now is: how do I start X with gdb properly?
If I just run "gdb X", I cant run firefox to make X crash. Or can I?
If I run "gdb startx" or "gdb -e startx", it tells mit startx is not in executable format.
So how do I get the backtrace?
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-30 18:36:46 UTC
You could try first to get a backtrace from firefox. dmesg output might also help figure out what is going on.
Comment 8 Adrian Dannberg 2008-11-01 00:04:30 UTC
ok i did a backtrace of firefox now. it looks like this:

quit
Starting program: /usr/lib/mozilla-firefox/firefox 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb7c526d0 (LWP 6075)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb5f63b90 (LWP 6078)]
[New Thread 0xb54beb90 (LWP 6079)]
[New Thread 0xb4483b90 (LWP 6080)]
[New Thread 0xb3affb90 (LWP 6081)]
[Thread 0xb3affb90 (LWP 6081) exited]
[New Thread 0xb32feb90 (LWP 6082)]
[Thread 0xb32feb90 (LWP 6082) exited]
[New Thread 0xb32feb90 (LWP 6083)]
[New Thread 0xb3affb90 (LWP 6084)]
[New Thread 0xb275bb90 (LWP 6085)]
[New Thread 0xb1d9cb90 (LWP 6088)]
[New Thread 0xb159bb90 (LWP 6089)]
[New Thread 0xb0d9ab90 (LWP 6090)]
[New Thread 0xb0599b90 (LWP 6091)]
[New Thread 0xafd98b90 (LWP 6092)]
[Thread 0xb4483b90 (LWP 6080) exited]
[Thread 0xb0599b90 (LWP 6091) exited]
[Thread 0xb0d9ab90 (LWP 6090) exited]
[Thread 0xb159bb90 (LWP 6089) exited]
[New Thread 0xb4483b90 (LWP 6093)]
[Thread 0xb4483b90 (LWP 6093) exited]
[New Thread 0xb4483b90 (LWP 6094)]
[New Thread 0xb0599b90 (LWP 6095)]
[New Thread 0xb0d9ab90 (LWP 6096)]
[New Thread 0xb159bb90 (LWP 6097)]
[New Thread 0xaf3ffb90 (LWP 6098)]
[New Thread 0xaebfeb90 (LWP 6099)]
[Thread 0xafd98b90 (LWP 6092) exited]
[Thread 0xb4483b90 (LWP 6094) exited]
[Thread 0xb0599b90 (LWP 6095) exited]
[Thread 0xb0d9ab90 (LWP 6096) exited]
[Thread 0xb159bb90 (LWP 6097) exited]
[Thread 0xaf3ffb90 (LWP 6098) exited]

Program received signal SIGHUP, Hangup.
[Switching to Thread 0xb5f63b90 (LWP 6078)]
0xb7efc424 in __kernel_vsyscall ()


Dmesg output when X with nvidia driver crashes:

X[5655]: segfault at ffffff08 ip b6b864a3 sp bf9711f0 error 4 in nvidia_drv.so[b69ec000+326000]
mtrr: 0xd0000000,0x10000000 overlaps existing 0xd0000000,0x1000000


Dmesg output when X with nv driver crashes:

uvesafb: VBE get state call failed (eax=0x13, err=0)
mtrr: 0xd0000000,0x10000000 overlaps existing 0xd0000000,0x1000000
Comment 9 Adrian Dannberg 2008-11-16 00:58:01 UTC
I wonder why severity was changed to normal.
The bug occurred again today for me, while surfing the web randomly. luckily i didnt lose any important data, but this bug has definitely to power to do so.
i am talking about stable x86 here, so a lot of users could be harmed by this. shouldn't this be _at least_ major?
Comment 10 Adrian Dannberg 2008-11-16 01:04:15 UTC
I am sorry firefox-3 is not stable x86.

Yet I think a lot of people out there are using ~x86 firefox.
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2008-11-16 22:37:05 UTC
Could you try using the "vesa" driver instead? The "vga" one is busted and generally useless anyway.

Thanks
Comment 12 Adrian Dannberg 2008-11-19 17:46:55 UTC
hi

exactly same behavior and dmesg output with vesa driver.

I tested x11-base/xorg-x11-7.4 now as well. It does not crash, but unfortunally I cant use it, because of broken xf86-input-keyboard drivers?
When a keyboard was connected to my box (tried usb and ps/2) the system froze after starting X. (box became unpingable).
Without a keyboard, X seemed to run fine.

Tried xf86-input-driver-keyboard-1.3.0 and 1.3.1

Will probably give x11-7.3 a shot on the weekend.

Again: if s.o. tells me how to start X through gdb, I can give you a backtrace.
Comment 13 Rémi Cardona (RETIRED) gentoo-dev 2008-11-19 21:09:37 UTC
A few things:

1) we're planning to get xorg-server 1.5.x into stable Real Soon Now (tm) so it might be definitely worth to solve your upgrade path problems rather than fix 1.3 which has been dead for years. We've been keeping it alive for much too long and we need to pull the plug.

2) If you really want to debug Xorg, you'll need to re-build xorg-server and all your drivers with debug symbols. http://www.gentoo.org/proj/en/qa/backtraces.xml will show you how.

As a package maintainer, I would definitely rather spend some time on #1 rather than #2.

Thanks for testing
Comment 14 Martin Mokrejš 2009-01-22 18:52:28 UTC
> mtrr: 0xd0000000,0x10000000 overlaps existing 0xd0000000,0x1000000

This could be cause by having PAT enabled in the kernel. Many people have
problems with PAT being enabled. It is just too new.
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2009-05-06 09:34:31 UTC
Xorg-server 1.5.3-r5 is now stable.

Please don't hesitate to reopen this bug if you can reproduce with an up-to-date system.

Thanks