Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507592 - x11-drivers/nvidia-drivers-334.21-r3 is crashing
Summary: x11-drivers/nvidia-drivers-334.21-r3 is crashing
Status: RESOLVED DUPLICATE of bug 433102
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-13 20:18 UTC by Michal Špondr
Modified: 2014-04-13 22:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Špondr 2014-04-13 20:18:45 UTC
I have some problems with nvidia-drivers since version 334.21. Some applications like Adobe Flash or even nvidia-settings stuck for minutes. It's not even possible to suspend my computer, so I think it really has something to do with drivers.
If I switch to xorg-x11 drivers (eselect opengl set xorg-11), it stops crashing.

Reproducible: Sometimes

Steps to Reproduce:
1. Run a browser with some flash applications, videos etc. Use it for a while
2. Suddenly the browser stops responding. After this crash anything it stuck almost every time, nvidia-settings cannot be run.
Actual Results:  
Applications which are using graphics card (directly?) are stuck or they're crashing.

This is what I've found in dmesg after I run nvidia-settings, it crashes with SIGSEGV:
[  259.352754] traps: nvidia-settings[4343] general protection ip:7f7683ecf9b0 sp:7fff415e0b38 error:0 in libpixbufloader-xpm.so[7f7683ecb000+6000]



emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:     8208672 total,   6537768 free
KiB Swap:   23437276 total,  23437276 free
Timestamp of tree: Sun, 13 Apr 2014 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-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
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://de-mirror.org/gentoo/ http://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.mneisen.org/ http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ http://mirror.opteamax.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://gentoo.prz.rzeszow.pl/gentoo http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl rsync://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ http://gentoo.wheel.sk/ ftp://gentoo.wheel.sk/pub/linux/gentoo/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.cz.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx berkdb branding bzip2 cairo cdda cli colord cracklib crypt cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fontconfig gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv imagemagick introspection ipv6 jabber jingle jpeg jpeg2k lcms ldap libnotify libsecret mad matroska mmap mms mmx mng modules mp3 mp4 mpeg multilib musicbrainz nautilus ncurses networkmanager nls nptl nvidia ogg openal opencl opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session sharedmem socialweb sound spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis webp wxwidgets x264 xcb xft xinerama xml xmpp xscreensaver xv xvid zlib" ABI_X86="64" 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" 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" DRACUT_MODULES="systemd" 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 ublox ubx" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Michal Špondr 2014-04-13 20:20:13 UTC
Next important message in dmesg after the stuck:

[  362.348328] BUG: unable to handle kernel NULL pointer dereference at 0000000000000088
[  362.348332] IP: [<ffffffff81471301>] iommu_no_mapping+0x11/0x120
[  362.348337] PGD 2069c4067 PUD 212e04067 PMD 0
[  362.348339] Oops: 0000 [#1] SMP
[  362.348340] Modules linked in: nvidia(PO) lpc_ich mfd_core
[  362.348344] CPU: 3 PID: 5224 Comm: plugin-containe Tainted: P        W  O 3.12.13-gentoo #6
[  362.348345] Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./H77-D3H, BIOS F8 05/31/2012
[  362.348346] task: ffff880213cc2c30 ti: ffff88021295e000 task.ti: ffff88021295e000
[  362.348347] RIP: 0010:[<ffffffff81471301>]  [<ffffffff81471301>] iommu_no_mapping+0x11/0x120
[  362.348349] RSP: 0018:ffff88021295fd38  EFLAGS: 00010292
[  362.348350] RAX: 00000000d71c3000 RBX: 0000000000000000 RCX: 0000000000000000
[  362.348350] RDX: 0000000000000001 RSI: ffff8800d72077d8 RDI: 0000000000000000
[  362.348351] RBP: ffffea0000000000 R08: 0000000000000000 R09: 0000000000000001
[  362.348352] R10: ffffffff81471410 R11: 0000000000000293 R12: ffff8800d72077d8
[  362.348353] R13: 0000000000000000 R14: ffff8800d7207f40 R15: ffff8800d72077c0
[  362.348354] FS:  00007fe15e666940(0000) GS:ffff88021ecc0000(0000) knlGS:0000000000000000
[  362.348354] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  362.348355] CR2: 0000000000000088 CR3: 0000000214654000 CR4: 00000000001407e0
[  362.348356] Stack:
[  362.348356]  0000000000000000 0000000000000000 ffffea0000000000 ffffffff8147143d
[  362.348358]  0000000000000246 0000000000000000 ffffea0000000000 000077ff80000000
[  362.348359]  0000000000000000 ffff8800d7207f40 ffff8800d72077c0 ffffffffa057a34e
[  362.348361] Call Trace:
[  362.348363]  [<ffffffff8147143d>] ? intel_unmap_sg+0x2d/0x180
[  362.348402]  [<ffffffffa057a34e>] ? nv_free_system_pages+0xbe/0x380 [nvidia]
[  362.348429]  [<ffffffffa0573d1d>] ? nv_free_pages+0xbd/0xd0 [nvidia]
[  362.348455]  [<ffffffffa0574064>] ? nvidia_close+0x334/0x440 [nvidia]
[  362.348481]  [<ffffffffa057d3fd>] ? nvidia_frontend_close+0x4d/0xa0 [nvidia]
[  362.348484]  [<ffffffff8110e080>] ? __fput+0xb0/0x240
[  362.348486]  [<ffffffff810625ef>] ? task_work_run+0x8f/0xd0
[  362.348488]  [<ffffffff815d8072>] ? int_signal+0x12/0x17
[  362.348489] Code: 66 2e 0f 1f 84 00 00 00 00 00 bd f4 ff ff ff e9 26 ff ff ff 0f 0b 0f 1f 40 00 48 83 ec 18 48 89 5c 24 08 48 89 6c 24 10 48 89 fb <48> 81 bf 88 00 00 00 80 9f 7d 81 0f 85 d6 00 00 00 48 8b 87 40
[  362.348512] RIP  [<ffffffff81471301>] iommu_no_mapping+0x11/0x120
[  362.348515]  RSP <ffff88021295fd38>
[  362.348516] CR2: 0000000000000088
[  362.348518] ---[ end trace 8b828f3159a32013 ]---


Maybe a lspci output will help:

# lspci 
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1c.6 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 (rev c4)
00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 660 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
03:00.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 41)
05:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
06:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01)
Comment 2 Michal Špondr 2014-04-13 20:20:52 UTC
# equery uses nvidia-drivers
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-drivers/nvidia-drivers-334.21-r3:
 U I
 + + X          : Install the X.org driver, OpenGL libraries, XvMC libraries, and VDPAU libraries
 + + acpi       : Add support for Advanced Configuration and Power Interface
 + + multilib   : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
 - - pax_kernel : PaX patches from the PaX project
 - - tools      : Install additional tools such as nvidia-settings
 - - uvm        : Install the Unified Memory kernel module (nvidia-uvm) for sharing memory between CPU and GPU in CUDA programs
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-13 22:54:12 UTC

*** This bug has been marked as a duplicate of bug 433102 ***