The upgrade of sys-apps/hdparm from 9.12 to 9.15 removed the "after hald" line from depend(). This leads to the effect that my drives spin down when hdparm is started, but immediately spin up again when hald is started. So, setting them to sleep via sda_args=-y in /etc/conf.d/hdparm has no effect. Workarounds: - Add "after hald" to depend() section /etc/init.d/hdparm. - Put "hdparm -y /dev/sda" into /etc/conf.d/local.start. I'l leave it like this anyway, because specifying both -S and -y in /etc/conf.d/hdparm does not work. Reproducible: Always Steps to Reproduce: 1. upgrade sys-apps/hdparm to 9.15 2. activate spin-down with "sda_args=-y" in /etc/conf.d/hdparm 3. reboot Actual Results: Drive spins down and immediately spins up again. Expected Results: The drives should spin down and stay down. Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-tuxonice-r3_2 i686) ================================================================= System uname: Linux-2.6.28-tuxonice-r3_2-i686-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-glibc2.0 Timestamp of tree: Tue, 23 Jun 2009 18:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8-sse3 -mfpmath=sse -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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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=k8-sse3 -mfpmath=sse -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildsyspkg ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.jamit.de/gentoo/ ftp://91.121.125.139/gentoo-distfiles/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://mirror.bih.net.ba/gentoo/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi aim alsa apm audiofile bash-completion bcmath berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt ctype cups cvs dbus dga directfb dri dvb dvd dvdr dvdread eds emacs emboss encode esd evo fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm ggi gif gimp ginac gnome gphoto2 gpm gstreamer gtk hal hddtemp htmlhandbook iconv ieee1394 imagemagick imlib ipv6 isdnlog jabber jack java javascript jbig jpeg jpeg2k kde kdeprefix latex ldap libnotify lirc lm_sensors mad maildir matrox midi mikmod mime mmx mng modplug motif mp3 mpeg mplayer msn mudflap musicbrainz nas ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oss pam pcre pdf perl php plotutils png ppds pppd python qt3 qt3support qt4 quicktime radius readline recode reflection ruby samba scanner sdl session slang slp sndfile sockets sox speex spell spl sse sse2 sse3 ssl startup-notification subversion svg svga sysfs tcpd theora threads tiff truetype unicode usb videos vim-syntax visualization vorbis win32codecs wma wmf wxwindows x86 xattr xcomposite xine xml xorg xosd xpm xscreensaver xulrunner xv 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" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="fbdev fglrx radeon radeonhd vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
hal isnt special in this regard ... i doubt it is the only package that will scan all disks what you want to do is at odds from what most other people want to do -- hdparm is typically used to enable dma and related features on their disks, so they want it to run as soon as possible all the time i think everyone would be better served if this kind of stuff was put into local.start. perhaps updating the conf.d with this helpful note would work ?
Yes, this sounds good. My setup may be uncommon, yet I know others who do the same and might wonder why it does not work as before. A little note in conf.d/hdparm will lead them into the right direction. Thanks.
sure, i didnt mean to make it sound like you were doing something wrong or weird. there is certainly a place to spin down drives you know rarely get used. hopefully this is clear enough: http://sources.gentoo.org/sys-apps/hdparm/files/hdparm-conf.d.3?r1=1.4&r2=1.5