Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199685 - sys-kernel/gentoo-sources-2.6.22-r9 and sys-power/suspend-0.9_pre20071109: s2disk fails to activate suspended system if CONFIG_FB_VESA_TNG=y
Summary: sys-kernel/gentoo-sources-2.6.22-r9 and sys-power/suspend-0.9_pre20071109: s2...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 18:27 UTC by Daniele Boffi
Modified: 2007-11-19 18:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele Boffi 2007-11-19 18:27:03 UTC
This problem only occurs with gentoo-sources kernels. It does not occur with vanilla kernels.
When using the hibernation scripts provided by sys-power/suspend, which include the creation of an initrd file, after s2disk the system does not resume properly.
Analogous information had been sent to the kernel bugzilla (see below), but it turned out to be a problem probably related to the gentoo patch 4205_vesafb-tng-1.0-rc2.patch

http://bugzilla.kernel.org/show_bug.cgi?id=9345

Reproducible: Always

Steps to Reproduce:
1.Compile a kernel with vesafb-tng enabled (CONFIG_FB_VESA_TNG=y)
2.Prepare initrd file according to package sys-power/suspend
3.Hibernate with s2disk
4.Try to resume

Actual Results:  
After the suspend image is loaded, the system freezes.

Expected Results:  
The system should resume

$ emerge --info
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Intel(R) Pentium(R) M processor 2.00GHz
Timestamp of tree: Mon, 19 Nov 2007 06:46:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.ngi.it http://mirror.switch.ch/ftp/mirror/gentoo/"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl acpi alsa avi bitmap-fonts bluetooth cdr cli cracklib crypt cups divx4linux dri dvd dvdr fortran gdbm gpm iconv isdnlog kde midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly opengl openmp pam pcmcia pcre perl pppd python qt readline reflection scanner session spl sse ssl tcpd tetex truetype-fonts type1-fonts unicode usb vim-syntax wifi x86 xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-19 18:35:16 UTC
vesafb-tng is gone since 2.6.23; if you have issues w/ >=gentoo-sources-2.6.23 and uvesafb, then reopen.

http://dev.gentoo.org/~spock/projects/uvesafb/