Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122213 - BIOS wake-up alarm doesn't work with suspend2-sources-2.6.14-r7
Summary: BIOS wake-up alarm doesn't work with suspend2-sources-2.6.14-r7
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 23:37 UTC by Craig Lawson
Modified: 2006-02-08 23:41 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 Craig Lawson 2006-02-08 23:37:40 UTC
Something has changed with my BIOS wake-up alarm. It was set to wake everyday at 3:00 am, cron would run backups, and then suspend to S5 again. Worked that way for well over a year, though several kernel upgrades. But when I switched to suspend2-sources and specifically suspend2-sources-2.6.14-r7, it stopped working.

My BIOS alarm has 3 fields: day, hour, and minute. I have it set to "day = 0, 10:45 am" (UTC), where day = 0 means "everyday". /proc/acpi/alarm shows "2006-01-00 10:45:00" (year, month, and seconds are filled in by the kernel, year and month are from today's date).

I tried several things to understand the problem:

    * I can write timestamps into /proc/acpi/alarm. When I read them back,
      they are the same (day, hours, and minute, that is).
    * I write a timestamp into /proc/acpi/alarm with day = 0, and the
      system won't wake.
    * I configure the alarm in the BIOS with day = 0 and then power off.
      It won't wake.
    * I write a timestamp into /proc/acpi/alarm with a non-zero day, and
      the system wakes when it's supposed to. After waking, the day has
      been cleared to 0.
    * I write a timestamp two days in the future and suspend. I resume
      the next day, and the day has been cleared to zero.
    * Write a non-zero day, suspend to S5, power on and go to BIOS config
      to see what's in there. The BIOS has day = 0. Don't change it and
      power off. Result: system won't wake.

More system details:
  MB is: DFI PS83-BL
  BIOS is: Award 02/16/2004-I865P/PE-6A79AD4DC-00 (updated Sept 2004)
  Flash type is: Winbond 49V002F/3.3V

This is definitely not as good as before. When day = 0 meant "every day", my system could be unplugged for several days, and it would always wake at 3 am the day after power was restored. And it never forgot to wake up.

What has changed? And why, if I remove all power to the machine and then configure the BIOS alarm directly, the system still won't wake up?

And most importantly, is this a bug or a feature?
Comment 1 Craig Lawson 2006-02-08 23:38:32 UTC
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.14-suspend2-r7 i686)
=================================================================
System uname: 2.6.14-suspend2-r7 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -fomit-frame-pointer -pipe"
DISTDIR="/var/tmp/portage-distfiles"
FEATURES="autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/var/tmp/portage-packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl ajpeg alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 c++ cdr crypt cups curl dga divx4linux doc dv dvd dvdr eds emacs emboss encode ethereal exif expat fam fame ffmpeg flac foomaticdb fortran freetype gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imagemagick imlib inkjar jack java jikes jpeg lcms libg++ libwww lzo mad mikmod mjpeg mmx mng motif mozilla mp3 mpeg mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdflib perl plugin png ppds python quicktime readline recode samba scanner sdl slang spell sse sse2 ssl svg symlink tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb v4l videos vorbis wmf xine xml xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-08 23:41:08 UTC
Unsupported kernel...

<snip>
If there are issues with this kernel, please direct any
queries to the suspend2-users mailing list:
http://lists.suspend2.net/mailman/listinfo/suspend2-users/"
</snip>