Zander has already provided a patch for this version: http://www.nvnews.net/vbulletin/showthread.php?s=4068e8627ea5fd5de922aecb67e67758&t=61052 http://www.nvnews.net/vbulletin/attachment.php?attachmentid=14768&d=1133803450 It's only for 2.6.14+ and only when used ACPI S3 or APM, but that's where I find myself. It would be nice to have this conditionally applied in the ebuild. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: ebuild should apply all current, relevant patches. # emerge --info Portage 2.0.53 (default-linux/amd64/2005.1, gcc-4.1.0-beta20051202, glibc-2.3.6-r1, 2.6.14-gentoo-r4 x86_64) ================================================================= System uname: 2.6.14-gentoo-r4 x86_64 Dual Core AMD Opteron(tm) Processor 275 Gentoo Base System version 1.12.0_pre11 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=opteron -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=opteron -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl acpi alsa apm arts async audiofile avi bash-completion berkdb bidi bitmap-fonts bl browserplugin bzip2 cdparanoia cdr crypt cscope css cups curl dbus dga directfb dts dv dvb dvd dvdr dvdread edl eds elf emacs emboss encode esd exif expat fam fame fbcon ffmpeg flac foomaticdb fortran fuse gd gdbm gif gimpprint glut gmp gnutls gphoto2 gpm gstreamer gtk gtk2 guile hal howl idn ieee1394 imagemagick imlib ipv6 jack java javascript jpeg junit kde kdeenablefinal kerberos lcms ldap lesstif libcaca libg++ libwww licaca lm_sensors logitech-mouse lzo lzw lzw-tiff mad mikmod mjpeg mng motif mozilla mp3 mpeg mplayer musepack musicbrainz mysql ncurses nls nptl nsplugin ntlm_unsupported_patch odbc ogg oggvorbis opengl oss pam pcre pda pdflib perl png postgres ppds python qt quicktime rdesktop readline real rtc samba sasl sblive scanner sdl slang slp smp sndfile snmp spell sqlite ssl svg syslog tcltk tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vcd vorbis wifi wmf xanim xine xinerama xml xml2 xmms xpm xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS If no one gets to it before me, I'll try to throw up a modified ebuild.
Created attachment 74165 [details, diff] enables ACPI hibernation to succeed without unloading the nvidia kernel module could we forward this to Nvidia and perhaps they can include it in future releases?
Created attachment 74166 [details] ebuild to use the patch submitted above This ebuild uses the above patch (enabling ACPI hibernation) if portage tells us the kernel is a 2.6 kernel. I can't see how it could possibly hurt on a non software suspend v2 kernel... I mean, it's a one-liner and doesn't modify the code path that's already there.
I'm working on this one. Is there any reason that you only included part of the patch? I would like to include the whole thing.
(In reply to comment #3) > I'm working on this one. Is there any reason that you only included part of the > patch? I would like to include the whole thing. I included this patch because it was enough to get software suspend 2 working on my system and is only designed to be patched in if the kernel is 2.6 or later. It appears that the Zander patch is an attempt to have a common source for the driver in both 2.4 and 2.6 as well as some other things. I only took a very cursory look at that patch. Like I said, adding this one line is enough to make it work for me (Dell Inspiron 8200/Pentium 4/GeForce 4 MX 440/suspend2-sources-2.6.14-r6). --- I just took another look at the Zander patch and it appears to more correctly/thoroughly handle the PM events... I suppose I'll try that patch and see if it still works on my laptop.
Patch now available in nvidia-kernel-1.0.8174-r1.
*** Bug 114362 has been marked as a duplicate of this bug. ***