Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122439

Summary: After resume from S3 (suspend-to-memory) machine goes to init 0
Product: Gentoo Linux Reporter: Avuton Olrich <avuton>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Avuton Olrich 2006-02-11 02:17:26 UTC
1) echo 'mem' > /sys/power/state
2) Wake it up (open the laptop)
3) system goes down for halt?

I'm not sure when it started doing this, I don't use this laptop too often. I tested and this happens with both initng and baselayout (both ~x86), if I init=/bin/bash it doesn't go down for halt after suspend.
Comment 1 SpanKY gentoo-dev 2006-02-11 11:58:10 UTC
you neglected to post `emerge info`

does it happen if you use sysvinit instead of initng ?
Comment 2 Avuton Olrich 2006-02-11 12:02:00 UTC
If we're talking about the same thing when you say 'sysvinit' and I say 'baselayout' then I am using sysvinit, it does happen on both 'sysvinit' and 'initng'

emerge --info:
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15.3 i686)
=================================================================
System uname: 2.6.15.3 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -ffast-math -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -ffast-math -march=i686"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://shapeshifter/gentoo-portage"
USE="x86 X alsa ao apache2 asf audiofile avi bash-completion bitmap-fonts bittorrent bzip2 cairo cardbus cdda cddb cdparanoia cdrom cgi cli css cups dbus dhcp dri dvd dvdr encode escreen exif fam fat ffmpeg firefox flac fontconfig ftp gcj gd gdbm gif gimp glibc-omitfp gmail gpm gs gstreamer gstreamer010 hal http icecast icq ieee1394 input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse irc irssi jabber java java-external javascript jikes joystick jp2 jpeg jpeg2k kde lame libwww linuxthreads-tls lm_sensors logrotate lzo lzw mad mikmod mmap mmx mng moznoxft mozsvg mp3 mp4live mpeg mpeg2 mplayer mpm-prefork msn musepack ncurses net network nfs nntp nodrm nptl nptlonly ntfs ogg oggvorbis opengl openssh openssl oscar pam pcmcia pcre pdf pdflib perl php png python qt quicktime rar readline real reiser4 reiserfs rtc scp screen sdl session sharedmem shout sid sndfile speex spell ssl subversion svg svgz sysfs szip t1lib tcpd tga theora tiff timidity truetype truetype-fonts type1 type1-fonts udev unicode usb utf8 vfat video_cards_ati vidix vorbis win32codecs wma wma123 wordperfect xfs xft xine xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 SpanKY gentoo-dev 2006-02-11 14:39:31 UTC
no, we arent talking about the samething

baselayout and sysvinit are different packages

stop using initng, start using sysvinit, and see if resume works
Comment 4 Avuton Olrich 2006-02-11 14:42:19 UTC
OK, I am not using initng, I only used it to test to see if it displayed the same behaviour.
Comment 5 Avuton Olrich 2006-02-17 18:33:08 UTC
Ok, I isolated it to only happening when acpid is up. I don't know much about it and will just disable it.
Comment 6 SpanKY gentoo-dev 2006-02-17 22:00:40 UTC
some laptops are notorious for having broken acpi in hardware