Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153643 - sys-power/hibernate-script-1.93-r6 hangs system when suspending
Summary: sys-power/hibernate-script-1.93-r6 hangs system when suspending
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 23:03 UTC by Victor Yegorov
Modified: 2006-12-04 03:55 UTC (History)
1 user (show)

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


Attachments
hibernate.log (hibernate.log,23.14 KB, text/plain)
2006-11-01 09:32 UTC, Victor Yegorov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Yegorov 2006-10-31 23:03:27 UTC
sys-power/hibernate-script-1.93-r6  USE="logrotate vim"

emerge --info:
Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 01 Nov 2006 06:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
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.60
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-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer"
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/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/distfiles http://ftp.du.se/pub/os/gentoo http://trumpetti.atm.tut.fi/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="ru en"
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/local/overlays/gnome-experimental /usr/local/overlays/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cjk cli cracklib crypt cups curl dbus dga dlloader dri dvd dvdread eds elibc_glibc encode esd evo exif expat firefox flac foomaticdb fortran gd gdbm gif glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg jpeg2k kde kernel_linux lcms ldap libedit libg++ libgda libnotify linguas_en linguas_ru mad maildir mmx mng mozilla mp3 mpeg nas ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis opengl pam pcre pda pdf png posix postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sasl sdl session spell spl sse sse2 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wifi win32codecs wmf xine xinerama xml xorg xpm xprint xscreensaver zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

Recently I tried new "vim" useflag for the hibernate-script. The first time after turning on this flag was OK, all the rest --- system hangs. Progress is shown at "Writing caches" stage, for the following "Doing Atomic Copy" progress bar becomes "empty" and system stops there.
Comment 1 Victor Yegorov 2006-11-01 00:19:28 UTC
I've tried to recompile hibernate-script without logrotate and vim flags, nothing changed.
I've also tried it on 2.6.18-suspend2 kernel --- hangs.
Comment 2 Christian Heim (RETIRED) gentoo-dev 2006-11-01 06:51:40 UTC
(In reply to comment #1)
> I've tried to recompile hibernate-script without logrotate and vim flags,
> nothing changed.
> I've also tried it on 2.6.18-suspend2 kernel --- hangs.

Could you show me the output of your /var/log/hibernate.log ? Only from the last suspend. (Please attach it to this bug).
Comment 3 Victor Yegorov 2006-11-01 09:32:32 UTC
Created attachment 100976 [details]
hibernate.log
Comment 4 Victor Yegorov 2006-11-06 00:54:13 UTC
I've noticed, that failures are happenning only when Xorg is running (in both cases, either I'm in xterm or I'm switched to text console).
I tried hibernate without Xorg and it worked.

I'm running:
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux downtown 2.6.18-suspend2 #1 PREEMPT Wed Nov 1 09:40:36 EET 2006 i686
Build Date: 19 October 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present

Problem persists on the following ati-drivers versions: 8.29.6 and 8.30.3-r1.
I'll try to downgrade ati-drivers now.
Comment 5 Victor Yegorov 2006-11-06 04:07:20 UTC
What I did:
1) downgraded ati-drivers to 8.27.10-r1
2) downgraded Kernel to 2.6.17-suspend2-r6 (as 2.6.18 is not yet supported by ati-drivers)
Still getting the same problem.

I decided to go back to sys-power/hibernate-script-1.12-r1. Doing suspend I got this message (I always used to get such messages with default settings):
Pageset1 has grown by 2882 pages. Only 500 growth is allowed for!

I assume, that smth. similar is happening with 1.93-r6, but it is not handled properly.
Comment 6 Christian Heim (RETIRED) gentoo-dev 2006-12-03 08:04:37 UTC
(In reply to comment #5)
> What I did:
> 1) downgraded ati-drivers to 8.27.10-r1
> 2) downgraded Kernel to 2.6.17-suspend2-r6 (as 2.6.18 is not yet supported by
> ati-drivers)
> Still getting the same problem.
> 
> I decided to go back to sys-power/hibernate-script-1.12-r1. Doing suspend I got
> this message (I always used to get such messages with default settings):
> Pageset1 has grown by 2882 pages. Only 500 growth is allowed for!
> 
> I assume, that smth. similar is happening with 1.93-r6, but it is not handled
> properly.

Victor, it looks like this is a problem with the binary ATi kernel module, take a look at http://gentoo-wiki.com/Talk:HOWTO_Software_Suspend_v2 on how to workaround this issue. You also want to consider using the non-binary, open source ATi drivers.

Comment 7 Victor Yegorov 2006-12-04 03:55:41 UTC
(In reply to comment #6)
> Victor, it looks like this is a problem with the binary ATi kernel module, take
> a look at http://gentoo-wiki.com/Talk:HOWTO_Software_Suspend_v2 on how to
> workaround this issue. You also want to consider using the non-binary, open
> source ATi drivers.

Well, I found nothing on how to workaround my issue on that page.
But I still switched to open source ATI drivers(following http://www.gentoo-wiki.com/HOWTO_DRI_with_ATi_Open-Source_Drivers). Now everything is fine (tested in many variations).

Although original issue isn't fix, I guess it is OK to close this bug.