# emerge --info Portage 2.1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 i686) ================================================================= System uname: 2.6.16-gentoo-r8 i686 Pentium II (Deschutes) Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2" 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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks maketest metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1 -l1" 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" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apache2 apm arts avi bash-completion bcmath berkdb bitmap-fonts bzlib cdparanoia cdr cli crypt cups dri eds emacs emacs-w3 emboss encode examples fastcgi fbcon flac foomaticdb fortran gdbm gif glut gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog jpeg kde lcms libg++ libwww lm_sensors lmsensors mad matrox mikmod mp3 mpeg ncurses nls nocd nptl nptlonly offensive ogg opengl oss pam pcre pdflib perl php png posix postgres pppd python qt quicktime readline reflection sdl session spell spl ssl sysvipc tcltk tcpd tidy truetype truetype-fonts type1-fonts udev usb vorbis wddx x-face xaw8 xml xmms xorg xv yahoo zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS Using hdparm -M to set the acoustic value says it is set to 0 when it is not # hdparm -M 128 /dev/hda /dev/hda: setting acoustic management to 128 acoustic = 0 (128=quiet ... 254=fast) # hdparm -I /dev/hda | grep acoustic Recommended acoustic management value: 192, current value: 128 So it sets it OK, it is just the displayed value in the first command that is wrong.
not a hdparm bug sounds like either your hardware doesnt support it or the issue is in the kernel run hdparm through strace and you can see the ioctl's being sent to the kernel ... that means hdparm has done its job
(In reply to comment #1) > not a hdparm bug > > sounds like either your hardware doesnt support it or the issue is in the > kernel > > run hdparm through strace and you can see the ioctl's being sent to the kernel > ... that means hdparm has done its job > hdparm -I gets the current value just fine, but when I set it using -M and it reports what the current value is set to it fails. So if it would use the ioctl it uses to get the "Current value" in the output of -I above in reporting the value with -M it should work.
Please attach output of "strace hdparm -M ..." and then attach output of "strace hdparm -I"
Created attachment 104292 [details] hdparm -I syscall trace
Created attachment 104293 [details] hdparm -M syscall trace
bump
Sorry for the delay in getting to this, other issues are taking priority. Please file this upstream at http://bugzilla.kernel.org -- hopefully it will get more attention there. Attach the strace output as well. Please post the new bug URL here when done.