I've just recently switched from gentoo kernel 2.6.14 to 2.6.17-r4 and since then the suspending broke - i.e. the system doesn't recover from a suspend to ram and doesn't want to suspend to disk anymore. Steps of reproduction: - emerge gentoo-sources-2.6.17-r4 (marked as latest stable under amd64) - configure, compile etc. the kernel - boot gentoo-sources-2.6.17-r4 (line in grub: "kernel /2.6.17-gentoo-r4 root=/dev/hda5 udev ec_burst=1") - suspend to ram using kpowersave Actual results: - the system seems to suspend OK, although there are no messages about removing modules (like ndiswrapper) as they were in 2.6.14 - system powers down in what seems like a suspend (light is orange and all) - when woken up the screen stays blank and the keyboard is not responsive Expected results: - messages about removing modules etc. - a total wake up from suspend Suspending to disk shows some output, but claims there's not enough space to suspend to - I might post a photo of the error later on. I don't suspend to disk as nearly much as I do to ram though. emerge --info: --[start quote]-- Portage 2.1-r1 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30 Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=athlon64 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LC_ALL="sl_SI.utf8" LINGUAS="sl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/oomadness" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acpi alsa avi berkdb bitmap-fonts blender-game bzip2 cddb cdparanoia cdr cli crypt css cups cvs dar64 dbus divx4linux dri dv dvd dvdr dvdread effects emul-linux-x86 encode ethereal exif fat flac foomaticdb fortran gif gimpprint glx gpm gps gstreamer gtk2 gzip hal hou ieee1394 imlib input_devices_synaptics ipv6 javascript jpeg kde kipi libcaca lzw lzw-tiff mad matroska mime mp3 mpeg musepack music musicbrainz ncurses nls noamazon nsplugin ode offensive ogg on-the-fly-crypt openal opengl pam pcmcia pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection remix scanner sdl slang sou speex spell ssl subp subtitles svg tcpd theora tidy tiff timidity truetype truetype-fonts type1-fonts ucs2 unicode usb userlocales utf8 vcd videos visualization voice vorbis wifi xine xml xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_sl userland_GNU video_cards_radeon video_cards_fglrx video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS --[end quote]--
Created attachment 93066 [details] config file from gentoo-2.6.17-r4
Created attachment 93068 [details] photo screenshot of the suspend-to-disk error
Oh, I forgot: Reproducable: always I always get the same results of suspending to ram (using kpowersave or hibernate-ram). And I tried to suspend to disk only two times - once I think it said there was not enough space and the output of the other time I attached just now.
I've tried it again with as less clutter on as possible, to figure out if it's a problem with a module or with X. Here's what I did this time: - stop X - rmmod ndiswrapper and fglrx (keeping only acer_acpi module, as I think I need it) - hibernate-ram Actual results: Completely the same happenes as before. Further observations: - I noticed that the HDD led only shines for a very short time when resuming from suspend and then turning off, while the DVD/CD drive is still probing. It seems as if on resume it doesn't wake up the hard disk as it should or doesn't mount it or something in that direction...
From what Specialized said in the forums, the problem could well be connected with the fact that userspace apps (e.g. s2ram) are needed to suspend systems from 2.6.17 on and there are no such packages in the portage tree yet. link to the forum thread: http://forums.gentoo.org/viewtopic-p-3516416.html#3516416
I'm fairly sure that is incorrect, the kernel still provides the old in-kernel suspend code, and provides the new userspace interface as an experimental alternative.
Makes sense. Hmmm ...I've no idea what's wrong then.
The same happens to me as well on gentoo-sources-2.6.17-r8 I'm attaching the config file
Created attachment 97311 [details] config file from gentoo-2.6.17-r8
Is this reproducible on the latest development kernel, currently 2.6.19-rc6?
see comment #10