I use tuxonice-sources and genkernel-3.4.10.905 When I want to use hibernate, I must pass correct resume parameter to kernel, because otherwise it doesn't want to sleep, even when passed correct real_resume=LABEL=... This is dmesg: TuxOnIce 3.0.1, with support for usm, [compression], swap storage, file storage, userui. TuxOnIce: Can't translate "/dev/SWAP" into a device id yet. TuxOnIce: Can't translate "/dev/SWAP" into a device id yet. TuxOnIce: Hibernation is disabled. This may be because you haven't put something along the lines of resume=swap:/dev/hda1 in lilo.conf or equivalent. (Where /dev/hda1 is your swap partition). Cleaning up... TuxOnIce debugging info: - TuxOnIce core : 3.0.1 - Kernel Version : 2.6.30-tuxonice-r4 - Compiler vers. : 4.3 - Attempt number : 0 - Parameters : 4194305 667656 0 1 0 0 - Overall expected compression percentage: 0. - Max outstanding reads 0. Max writes 0. Memory_needed: 1024 x (4096 + 224 + 72) = 4497408 bytes. Free mem throttle point reached 0. - SwapAllocator inactive. - FileAllocator inactive. - No I/O speed stats available. - Extra pages : 0 used/2000. - Result : Hiberation was aborted. : We can't hibernate at the moment (invalid resume= or filewriter target?). Can you add support for translating resume=LABEL=... into string like resume=/dev/sda2? And BTW genkernel doesn't add a support of using labels, until you will pass option --disklabel when running genkernel. It's not mentioned anywhere in man and handbook. Sorry for my English :) Reproducible: Always Steps to Reproduce: 1. Create initramfs with genkernel 2. Don't pass resume to kernel, only real_resume 3. linuxbox ~ # hibernate Actual Results: Computer doesn't hibernate Expected Results: Normal hibernation Portage 2.2_rc36 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-tuxonice-r4 i686) ================================================================= System uname: Linux-2.6.30-tuxonice-r4-i686-Intel-R-_Celeron-R-_CPU_1.80GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 09 Aug 2009 11:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-lang/python: 2.6.2-r1, 3.1 dev-util/ccache: 2.4-r8 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=native -mtune=native -O2 -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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=native -mtune=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1" LINGUAS="ru" MAKEOPTS="-j2" PKGDIR="/usr/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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi alsa amr amrnb amrwb bluetooth branding bzip2 cairo cdaudio cli clisp consolekit cracklib crypt cups dbus djvu dri dvd dvdr dvdread embedded encode exif fbcon fbcondecor fbsplash ffmpeg flac fortran gd gif gimp glitz gphoto2 gpm gtk hal hddtemp iconv imagemagick imlib ipv6 irc isdnlog jack jpeg jpeg2k kde kdeenablefinal kipi latex lcms lm_sensors mad mikmod mmx mng mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plotutils png pppd python qt3support qt4 quicktime readline reflection sbcl sdl semantic-desktop session slang spell spl sse sse2 ssl svg symlink sysfs tcpd tga theora tiff tk truetype unicode usb vorbis wavpack webkit wxwidgets wxwindows x264 x86 xcomposite xinerama xml xorg xscreensaver xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeon fbdev vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I'd myself remove --disklabel and always enable such support.
From a look at the code kernel parameter resume=LABEL=... should be working. genkernel parameter --disklabel made it to the man page with version 3.4.10.908. I assume this bug got fixed in the mean time. Please re-test and report back. If I do not hear anything, I may close this bug in two weeks.
It seems to be fixed. It works, but conditions are a bit different, and I can't reproduce them. So, I think, you may close this bug
Okay, thanks.