Summary: | x11-drivers/nvidia-drivers-185.18.{29,31} fails with NVIDIA Quadro NVS 140 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Unspecified | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | boltomli, death, emond.papegaaij, gentoo, giovanni.bobbio, gregorcy, icephoenix.nx1729+gentoo, ivan, jer, mschiff, remy.suen, ricmm, strenker, tacvbo, zeev.tarantov |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Nvidia-Bug-Report File as requested by nvidia (see note in ebuild) |
Description
Juergen Rose
2009-07-29 13:58:55 UTC
I have a similar problem here on my ~amd64 system: nvidia-drivers-185.18.14 works great with linux 2.6.30-r2 and -r4 but when upgrading to nvidia-driver-185.18.29 the system boots but I only get a black screen as soon as xdm is started. Login via SSH works, the system is up and running. In dmesg I can see this oops: 2009-08-01T15:51:13.929451+02:00 bart kernel: Modules linked in: vmnet parport_pc parport vmblock vmci vmmon nfsd ipv6 coretemp tun snd_seq_oss snd_seq_midi_event snd_seq snd_seq_devic e snd_pcm_oss snd_mixer_oss microcode sha256_generic cryptd aes_x86_64 aes_generic cbc vboxnetflt vboxdrv acpi_cpufreq snd_hda_codec_analog arc4 ecb iwlagn snd_hda_intel iwlcore snd_hd a_codec snd_hwdep mac80211 nvidia(P) snd_pcm sdhci_pci snd_timer sdhci snd cfg80211 mmc_core thinkpad_acpi e1000e rfkill rtc_cmos video snd_page_alloc pcspkr ricoh_mmc yenta_socket rtc _core led_class i2c_i801 rsrc_nonstatic backlight intel_agp output rtc_lib i2c_core nvram e1000 fuse nfs auth_rpcgss nfs_acl lockd sunrpc raid456 async_memcpy async_xor xor async_tx ra id6_pq raid1 raid0 dm_snapshot dm_crypt dm_mirror dm_region_hash dm_log dm_mod scsi_wait_scan sbp2 ohci1394 ieee1394 usbhid ohci_hcd uhci_hcd usb_storage ehci_hcd usbcore sg ata_piix a hci pata_pcmcia pcmcia firmware_class pcmcia_core pata_mpiix libata 2009-08-01T15:51:13.929458+02:00 bart kernel: Pid: 6786, comm: X Tainted: P 2.6.30-gentoo-r4 #3 64606WG 2009-08-01T15:51:13.929464+02:00 bart kernel: RIP: 0010:[<0000000000000000>] [<(null)>] (null) 2009-08-01T15:51:13.929470+02:00 bart kernel: RSP: 0018:ffff8800bbab5cf0 EFLAGS: 00010296 2009-08-01T15:51:13.929476+02:00 bart kernel: RAX: ffff8800af825000 RBX: ffff8800af1270a0 RCX: 0000000000000001 2009-08-01T15:51:13.929482+02:00 bart kernel: RDX: ffff8800af10cc24 RSI: ffff8800af825000 RDI: ffff8800378f7000 2009-08-01T15:51:13.929487+02:00 bart kernel: RBP: ffff8800af127058 R08: ffff8800378f7000 R09: ffff8800af1270e0 2009-08-01T15:51:13.929493+02:00 bart kernel: R10: 0000000000000292 R11: 0000000000003206 R12: ffff8800af10cc20 2009-08-01T15:51:13.929498+02:00 bart kernel: R13: ffff8800378f7000 R14: 00007fff4f80c2e0 R15: 0000000000000000 2009-08-01T15:51:13.929504+02:00 bart kernel: FS: 00007f04a804c6f0(0000) GS:ffff88000101c000(0000) knlGS:0000000000000000 2009-08-01T15:51:13.929510+02:00 bart kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 2009-08-01T15:51:13.929516+02:00 bart kernel: CR2: 0000000000000000 CR3: 00000000bba69000 CR4: 00000000000006e0 2009-08-01T15:51:13.929522+02:00 bart kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 2009-08-01T15:51:13.929528+02:00 bart kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 2009-08-01T15:51:13.929534+02:00 bart kernel: Process X (pid: 6786, threadinfo ffff8800bbab4000, task ffff8800b4b5c780) 2009-08-01T15:51:13.929538+02:00 bart kernel: Stack: 2009-08-01T15:51:13.929543+02:00 bart kernel: ffffffffa042a577 ffff8800af1270a0 00000000c1d00001 000000000000000c 2009-08-01T15:51:13.929549+02:00 bart kernel: 00007fff4f80c2e0 0000000000000110 ffffffffa042c2da 0000000000000020 2009-08-01T15:51:13.929555+02:00 bart kernel: ffffffffa0824751 0000000000000110 ffffffffa0824359 0000000000000110 2009-08-01T15:51:13.929559+02:00 bart kernel: Call Trace: 2009-08-01T15:51:13.929566+02:00 bart kernel: [<ffffffffa042a577>] ? _nv007271rm+0xaa/0x314 [nvidia] 2009-08-01T15:51:13.929571+02:00 bart kernel: [<ffffffffa042c2da>] ? _nv019648rm+0x16/0x1c [nvidia] 2009-08-01T15:51:13.929575+02:00 bart kernel: [<ffffffffa0824751>] ? _nv003836rm+0x9/0xe [nvidia] 2009-08-01T15:51:13.929584+02:00 bart kernel: [<ffffffffa0824359>] ? _nv003802rm+0x179/0x1c2 [nvidia] 2009-08-01T15:51:13.929588+02:00 bart kernel: [<ffffffffa0824696>] ? _nv003838rm+0x98/0x13e [nvidia] 2009-08-01T15:51:13.929595+02:00 bart kernel: [<ffffffffa075859e>] ? _nv007069rm+0x19/0x25 [nvidia] 2009-08-01T15:51:13.929599+02:00 bart kernel: [<ffffffffa0568036>] ? _nv003698rm+0x576/0x5b4 [nvidia] 2009-08-01T15:51:13.929607+02:00 bart kernel: [<ffffffffa07dd201>] ? rm_ioctl+0x2f/0x67 [nvidia] 2009-08-01T15:51:13.929611+02:00 bart kernel: [<ffffffffa08b21b9>] ? nv_kern_ioctl+0x316/0x37a [nvidia] 2009-08-01T15:51:13.929619+02:00 bart kernel: [<ffffffff8053ee5b>] ? __mutex_lock_slowpath+0x226/0x235 2009-08-01T15:51:13.929623+02:00 bart kernel: [<ffffffffa08b2259>] ? nv_kern_unlocked_ioctl+0x1c/0x20 [nvidia] 2009-08-01T15:51:13.929629+02:00 bart kernel: [<ffffffff802b134c>] ? vfs_ioctl+0x2a/0x78 2009-08-01T15:51:13.929634+02:00 bart kernel: [<ffffffff802b17e7>] ? do_vfs_ioctl+0x44d/0x48d 2009-08-01T15:51:13.929641+02:00 bart kernel: [<ffffffff802ef265>] ? sysfs_read_file+0x11f/0x131 2009-08-01T15:51:13.929647+02:00 bart kernel: [<ffffffff802b1869>] ? sys_ioctl+0x42/0x65 2009-08-01T15:51:13.929652+02:00 bart kernel: [<ffffffff802a5ee0>] ? sys_read+0x47/0x6f 2009-08-01T15:51:13.929658+02:00 bart kernel: [<ffffffff8020baab>] ? system_call_fastpath+0x16/0x1b 2009-08-01T15:51:13.929661+02:00 bart kernel: Code: Bad RIP value. 2009-08-01T15:51:13.929666+02:00 bart kernel: RIP [<(null)>] (null) 2009-08-01T15:51:13.929670+02:00 bart kernel: RSP <ffff8800bbab5cf0> 2009-08-01T15:51:13.929675+02:00 bart kernel: CR2: 0000000000000000 2009-08-01T15:51:13.929681+02:00 bart kernel: ---[ end trace fc7e4377c1bf4fd8 ]--- Created attachment 199898 [details]
Nvidia-Bug-Report File as requested by nvidia (see note in ebuild)
This file is from a ~amd64 system having the same issue.
I think this is a duplicate to bug #279588 - nvidia-drivers-185.18.31 is not working as well I don't even have to crack opened the bug report but I can see from this that you have a Lenovo ThinkPad (probably T61) with a Quadro NVS140. But I did just to confirm. You might want to consider revising your xorg.conf btw. You've got a lot of outdated entries in there and you might find you have a better X experience cleaning it up. Your best bet is to downgrade to nvidia-drivers-180.60 until a fix can be made. *** Bug 280031 has been marked as a duplicate of this bug. *** There is now a warning in the ebuild when this card is used with either kernel version I got an nvidia geforce 7600 gt and the same things happens i get this black screen when xdm is started. I can post all the needed files also but i think we just have to wait from nvidia. I only wanted to mention that it is not specific to the quadro... OK, I also have this issue with new NVIDIA driver, however the problem appears to be not in the Xorg config file. I have rewritten a few of them, and nothing changes, the driver crashes before even showing Nvidia logo. The VESA mode works just fine, so it is not HW problem or xorg bug. So, I suppose that the problem is either in nvidia driver or in the kernel. My hardware is amd64 and GF6150 go. Downgrading alone DID NOT fix the issue, the ebuild appears to be crashing something deeper than just a few files of its own. (In reply to comment #8) Ah, forgot to mention, all versions but 185.31 appeared to work fine, and now neither of them is working. So, IMHO, 185.31's ebuild/installer breaks something. (In reply to comment #9) > (In reply to comment #8) > Ah, forgot to mention, all versions but 185.31 appeared to work fine, and now > neither of them is working. So, IMHO, 185.31's ebuild/installer breaks > something. Did you rmmod the nvidia module? Else the old (and broken) driver will still be loaded. (In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > Ah, forgot to mention, all versions but 185.31 appeared to work fine, and now > > neither of them is working. So, IMHO, 185.31's ebuild/installer breaks > > something. > > Did you rmmod the nvidia module? Else the old (and broken) driver will still be > loaded. > Of course I did, and I also always check /lib/modules/whatever that the file is unique and it's mtime corresponds to build time, so this is not the case. Probably someone could try to install driver from nvidia's offsite? I don't think that portage just runs the installer. In fact, it appears to do some nasty hacking instead. Found out some more info. Actually, it appears that the cause of crash is not just the new driver, but also the changes it does to /etc/modprobe.d/nvidia.conf. In fact with that file removed prior to emerge the 29'th version works on my system. Here: Lenovo T61 with nVidia Corporation Quadro NVS 140M (rev a1) nvidia-drivers-185.18.14 works nvidia-drivers-185.18.29 does not work (black screen, oops) nvidia-drivers-185.18.31 does not work (black screen, oops) (In reply to comment #13) > Here: Lenovo T61 with nVidia Corporation Quadro NVS 140M (rev a1) > > nvidia-drivers-185.18.14 works > nvidia-drivers-185.18.29 does not work (black screen, oops) > nvidia-drivers-185.18.31 does not work (black screen, oops) > On my Lenovo T61p (~amd64) with nVidia Corporation Quadro FX 570M (rev a1) result is the same. (same stack in KP too) The same on nVidia Corporation Quadro NVS 135M (rev a1) Marked 190.18 works well, though...can stay at 180 or jump to 190 i'm experiencing the same symptoms on an Asus laptop with a GeForce Go 6600. upgrading to 190.18 seems to fix the issue, as does downgrading to 185.18.14. with both versions, running X by itself results in a black screen, but startx and xdm behave as expected. # emerge -1 xorg-server nvidia-drivers -vp [ebuild R ] x11-base/xorg-server-1.6.3 USE="hal ipv6 nptl sdl xorg -debug -dmx -kdrive -minimal -tslib" INPUT_DEVICES="evdev joystick keyboard mouse synaptics -acecad -aiptek -citron -elographics -fpit -hyperpen -mutouch -penmount -tslib -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="nv nvidia -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -imstt -intel -mach64 -mga -neomagic (-newport) -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vesa -via -virtualbox -vmware -voodoo -xgi" 0 kB [ebuild R ] x11-drivers/nvidia-drivers-185.18.31 USE="acpi gtk -custom-cflags (-multilib)" 0 kB # emerge --info Portage 2.2_rc38 (default/linux/x86/2008.0, gcc-4.3.4, glibc-2.10.1-r0, 2.6.30-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r4-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 11 Aug 2009 13:15:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1, 3.1 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" 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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /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=pentium4m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/var/portage/distfiles" FEATURES="assume-digests distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en en_US" MAKEOPTS="-j2" PKGDIR="/var/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/kde-testing /usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac aalib acl acpi aim alsa ao apache2 apm audiofile autoipd avahi bash-completion bcmath berkdb big-tables blas bluetooth branding bzip2 cairo caps cdparanoia cdr clamav cleartype cli consolekit cracklib crypt css ctype cups cupsddk curl curlwrappers cvs cxx dbus disk-partition djvu dri dvd dvdr ecc encode enscript exif expat fam fastbuild fat fbcon fbcondecor fbsplash ffmpeg fftw firefox flac flexresp2 fontconfig foomaticdb fortran ftp fuse g15 gallium gcj gcrypt gd gdbm geoip gif gimp ginac git glib glibc-omitfp glitz glut gmp gnuplot gnutls gpm graphviz gre gs gsl gstreamer gtk gzip hal handbook hddtemp html iconv icq idn ieee1394 imagemagick imap imlib innodb inotify int64 ipod ipv6 isdnlog ithreads jabber jack java java-external java5 java6 javascript jbig jingle joystick jpeg jpeg2k kde kerberos kontact lame lapack laptop latex lcms ldap libcaca libffi libnotify libsamplerate libssh2 libwww lm_sensors logrotate loop-aes lzma lzo mad matroska mhash mikmod mime mjpeg mmap mmx mng modplug mono moonlight motif mp3 mp4 mp4live mpeg mplayer mtp mudflap musepack musicbrainz mysql mysqli ncurses network networkmanager nis nls nntp nocd nptl nptlonly nsplugin ntfs offensive ogg openal openexr opengl openmp oscar pam pch pcmcia pcntl pcre pdf perl phonon php pkcs11 plasma plotutils png policykit portaudio posix pppd prelude pulseaudio python qt4 quicktime rar raw rdesktop readline reflection resolvconf rtsp samba sasl scanner sdl semantic-desktop server session shorten slang slp sndfile soap sockets socks5 speex spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification subversion svg svga sysfs syslog sysvipc szip taglib tcpd theora threads tidy tiff timidity truetype unicode usb vcd vcdinfo vcdx vdpau vhosts videos vnc vorbis wavpack webkit wifi win32codecs wma wmf x264 x86 xattr xcb xcomposite xface xfce xft xine xinerama xinetd xml xmp xorg xosd xpm xscreensaver xulrunner xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS http://www.nvnews.net/vbulletin/showthread.php?p=2071410 "Fixed a bug that caused kernel panics when starting X on some mobile GPUs." So a version bump is in order, and someone with an affected GPU please report back. Everything is working OK with nvidia-driver-185.18.36. At last. I am using 185.18.36 and it resolves this issue for me. Fixed in 185.18.36, which is going stable and these were never stable. |