Hello community,

here is the log from the commit of package parkverbot for openSUSE:Factory 
checked in at 2014-12-09 09:14:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/parkverbot (Old)
 and      /work/SRC/openSUSE:Factory/.parkverbot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "parkverbot"

Changes:
--------
--- /work/SRC/openSUSE:Factory/parkverbot/parkverbot.changes    2014-09-25 
08:43:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.parkverbot.new/parkverbot.changes       
2014-12-09 09:14:05.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Dec  8 08:09:54 UTC 2014 - jeng...@inai.de
+
+- Update to new upstream release 1.2
+* The documentation was updated with a look at how other tools
+  perform.
+
+-------------------------------------------------------------------

Old:
----
  parkverbot-1.1.tar.xz
  parkverbot-1.1.tar.xz.asc

New:
----
  parkverbot-1.2.tar.asc
  parkverbot-1.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ parkverbot.spec ++++++
--- /var/tmp/diff_new_pack.MB85tN/_old  2014-12-09 09:14:06.000000000 +0100
+++ /var/tmp/diff_new_pack.MB85tN/_new  2014-12-09 09:14:06.000000000 +0100
@@ -17,25 +17,20 @@
 
 
 Name:           parkverbot
-Version:        1.1
+Version:        1.2
 Release:        0
 Url:            http://parkverbot.sf.net/
 Summary:        Daemon to prevent hard disk head parking in rotational media
 License:        GPL-2.0+
 Group:          System/Base
 
-#DL-URL:       http://downloads.sf.net/parkverbot/%name-%version.tar.xz
-#Git-Clone:    git://git.code.sf.net/p/parkverbot/code
-Source:         %name-%version.tar.xz
-Source2:        %name-%version.tar.xz.asc
+#Git-Clone:    git://git.code.sf.net/p/parkverbot/parkverbot
+Source:         http://downloads.sf.net/parkverbot/%name-%version.tar.xz
+Source2:        http://downloads.sf.net/parkverbot/%name-%version.tar.asc
 Source3:        %name.keyring
 BuildRequires:  pkgconfig >= 0.23
 BuildRequires:  xz
-%if 0%{?suse_version} && 0%{?suse_version} < 1130
-BuildRequires:  libHX-devel >= 3.12
-%else
 BuildRequires:  pkgconfig(libHX) >= 3.12
-%endif
 %if 0%{?suse_version} >= 1310
 BuildRequires:  systemd-rpm-macros
 %endif
@@ -59,14 +54,11 @@
 %setup -q
 
 %build
-if [ ! -e configure ]; then
-       autoreconf -fi;
-fi;
 %configure --with-unitdir="%_unitdir"
-make %{?_smp_mflags};
+make %{?_smp_mflags}
 
 %install
-make install DESTDIR="%buildroot";
+%make_install
 
 %files
 %defattr(-,root,root)

++++++ parkverbot-1.1.tar.xz -> parkverbot-1.2.tar.xz ++++++
++++ 2917 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/Makefile.am new/parkverbot-1.2/Makefile.am
--- old/parkverbot-1.1/Makefile.am      2013-01-31 01:39:11.000000000 +0100
+++ new/parkverbot-1.2/Makefile.am      2014-07-26 20:36:24.000000000 +0200
@@ -8,7 +8,7 @@
 src_parkverbot_SOURCES = src/parkverbot.c
 src_parkverbot_LDADD   = ${libHX_LIBS}
 
-dist_man_MANS = src/parkverbot.8
+dist_man_MANS = doc/parkverbot.8
 
 unit_DATA = src/parkverbot@.service src/parkverbot.service
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/README.txt new/parkverbot-1.2/README.txt
--- old/parkverbot-1.1/README.txt       2013-01-31 01:39:11.000000000 +0100
+++ new/parkverbot-1.2/README.txt       2014-07-26 20:36:26.000000000 +0200
@@ -1 +1 @@
-Run `man -l src/parkverbot.8`.
+Run `man -l doc/parkverbot.8`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/build-aux/compile new/parkverbot-1.2/build-aux/compile
--- old/parkverbot-1.1/build-aux/compile        2013-01-31 01:39:22.000000000 
+0100
+++ new/parkverbot-1.2/build-aux/compile        2014-12-08 09:08:24.000000000 
+0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-03-05.13; # UTC
+scriptversion=2012-10-14.11; # UTC
 
-# Copyright (C) 1999-2012 Free Software Foundation, Inc.
+# Copyright (C) 1999-2013 Free Software Foundation, Inc.
 # Written by Tom Tromey <tro...@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -112,6 +112,11 @@
       lib=$dir/$lib.lib
       break
     fi
+    if test -f "$dir/lib$lib.a"; then
+      found=yes
+      lib=$dir/lib$lib.a
+      break
+    fi
   done
   IFS=$save_IFS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/build-aux/missing new/parkverbot-1.2/build-aux/missing
--- old/parkverbot-1.1/build-aux/missing        2013-01-31 01:39:22.000000000 
+0100
+++ new/parkverbot-1.2/build-aux/missing        2014-12-08 09:08:24.000000000 
+0100
@@ -1,10 +1,10 @@
 #! /bin/sh
-# Common stub for a few missing GNU programs while installing.
+# Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2012-01-06.18; # UTC
+scriptversion=2012-06-26.16; # UTC
 
-# Copyright (C) 1996-2012 Free Software Foundation, Inc.
-# Originally by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
+# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Originally written by Fran,cois Pinard <pin...@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -29,61 +29,33 @@
   exit 1
 fi
 
-run=:
-sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
-sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
-
-# In the cases where this matters, 'missing' is being run in the
-# srcdir already.
-if test -f configure.ac; then
-  configure_ac=configure.ac
-else
-  configure_ac=configure.in
-fi
+case $1 in
 
-msg="missing on your system"
+  --is-lightweight)
+    # Used by our autoconf macros to check whether the available missing
+    # script is modern enough.
+    exit 0
+    ;;
 
-case $1 in
---run)
-  # Try to run requested program, and just exit if it succeeds.
-  run=
-  shift
-  "$@" && exit 0
-  # Exit code 63 means version mismatch.  This often happens
-  # when the user try to use an ancient version of a tool on
-  # a file that requires a minimum version.  In this case we
-  # we should proceed has if the program had been absent, or
-  # if --run hadn't been passed.
-  if test $? = 63; then
-    run=:
-    msg="probably too old"
-  fi
-  ;;
+  --run)
+    # Back-compat with the calling convention used by older automake.
+    shift
+    ;;
 
   -h|--h|--he|--hel|--help)
     echo "\
 $0 [OPTION]... PROGRAM [ARGUMENT]...
 
-Handle 'PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
-error status if there is no known handling for PROGRAM.
+Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due
+to PROGRAM being missing or too old.
 
 Options:
   -h, --help      display this help and exit
   -v, --version   output version information and exit
-  --run           try to run the given command, and emulate it if it fails
 
 Supported PROGRAM values:
-  aclocal      touch file 'aclocal.m4'
-  autoconf     touch file 'configure'
-  autoheader   touch file 'config.h.in'
-  autom4te     touch the output file, or create a stub one
-  automake     touch all 'Makefile.in' files
-  bison        create 'y.tab.[ch]', if possible, from existing .[ch]
-  flex         create 'lex.yy.c', if possible, from existing .c
-  help2man     touch the output file
-  lex          create 'lex.yy.c', if possible, from existing .c
-  makeinfo     touch the output file
-  yacc         create 'y.tab.[ch]', if possible, from existing .[ch]
+  aclocal   autoconf  autoheader   autom4te  automake  makeinfo
+  bison     yacc      flex         lex       help2man
 
 Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and
 'g' are ignored when checking the name.
@@ -98,228 +70,141 @@
     ;;
 
   -*)
-    echo 1>&2 "$0: Unknown '$1' option"
+    echo 1>&2 "$0: unknown '$1' option"
     echo 1>&2 "Try '$0 --help' for more information"
     exit 1
     ;;
 
 esac
 
-# normalize program name to check for.
-program=`echo "$1" | sed '
-  s/^gnu-//; t
-  s/^gnu//; t
-  s/^g//; t'`
-
-# Now exit if we have it, but it failed.  Also exit now if we
-# don't have it and --version was passed (most likely to detect
-# the program).  This is about non-GNU programs, so use $1 not
-# $program.
-case $1 in
-  lex*|yacc*)
-    # Not GNU programs, they don't have --version.
-    ;;
+# Run the given program, remember its exit status.
+"$@"; st=$?
 
-  *)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
-       # Could not run --version or --help.  This is probably someone
-       # running '$TOOL --version' or '$TOOL --help' to check whether
-       # $TOOL exists and not knowing $TOOL uses missing.
-       exit 1
-    fi
-    ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case $program in
-  aclocal*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified 'acinclude.m4' or '${configure_ac}'.  You might want
-         to install the Automake and Perl packages.  Grab them from
-         any GNU archive site."
-    touch aclocal.m4
-    ;;
-
-  autoconf*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified '${configure_ac}'.  You might want to install the
-         Autoconf and GNU m4 packages.  Grab them from any GNU
-         archive site."
-    touch configure
-    ;;
-
-  autoheader*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified 'acconfig.h' or '${configure_ac}'.  You might want
-         to install the Autoconf and GNU m4 packages.  Grab them
-         from any GNU archive site."
-    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' 
${configure_ac}`
-    test -z "$files" && files="config.h"
-    touch_files=
-    for f in $files; do
-      case $f in
-      *:*) touch_files="$touch_files "`echo "$f" |
-                                      sed -e 's/^[^:]*://' -e 's/:.*//'`;;
-      *) touch_files="$touch_files $f.in";;
-      esac
-    done
-    touch $touch_files
-    ;;
+# If it succeeded, we are done.
+test $st -eq 0 && exit 0
 
-  automake*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified 'Makefile.am', 'acinclude.m4' or '${configure_ac}'.
-         You might want to install the Automake and Perl packages.
-         Grab them from any GNU archive site."
-    find . -type f -name Makefile.am -print |
-          sed 's/\.am$/.in/' |
-          while read f; do touch "$f"; done
-    ;;
-
-  autom4te*)
-    echo 1>&2 "\
-WARNING: '$1' is needed, but is $msg.
-         You might have modified some files without having the
-         proper tools for further handling them.
-         You can get '$1' as part of Autoconf from any GNU
-         archive site."
-
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -f "$file"; then
-       touch $file
-    else
-       test -z "$file" || exec >$file
-       echo "#! /bin/sh"
-       echo "# Created by GNU Automake missing as a replacement of"
-       echo "#  $ $@"
-       echo "exit 0"
-       chmod +x $file
-       exit 1
-    fi
-    ;;
-
-  bison*|yacc*)
-    echo 1>&2 "\
-WARNING: '$1' $msg.  You should only need it if
-         you modified a '.y' file.  You may need the Bison package
-         in order for those modifications to take effect.  You can get
-         Bison from any GNU archive site."
-    rm -f y.tab.c y.tab.h
-    if test $# -ne 1; then
-        eval LASTARG=\${$#}
-       case $LASTARG in
-       *.y)
-           SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" y.tab.c
-           fi
-           SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" y.tab.h
-           fi
-         ;;
-       esac
-    fi
-    if test ! -f y.tab.h; then
-       echo >y.tab.h
-    fi
-    if test ! -f y.tab.c; then
-       echo 'main() { return 0; }' >y.tab.c
-    fi
-    ;;
-
-  lex*|flex*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified a '.l' file.  You may need the Flex package
-         in order for those modifications to take effect.  You can get
-         Flex from any GNU archive site."
-    rm -f lex.yy.c
-    if test $# -ne 1; then
-        eval LASTARG=\${$#}
-       case $LASTARG in
-       *.l)
-           SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
-           if test -f "$SRCFILE"; then
-                cp "$SRCFILE" lex.yy.c
-           fi
-         ;;
-       esac
-    fi
-    if test ! -f lex.yy.c; then
-       echo 'main() { return 0; }' >lex.yy.c
-    fi
-    ;;
-
-  help2man*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-        you modified a dependency of a manual page.  You may need the
-        Help2man package in order for those modifications to take
-        effect.  You can get Help2man from any GNU archive site."
-
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -f "$file"; then
-       touch $file
-    else
-       test -z "$file" || exec >$file
-       echo ".ab help2man is required to generate this page"
-       exit $?
-    fi
-    ;;
-
-  makeinfo*)
-    echo 1>&2 "\
-WARNING: '$1' is $msg.  You should only need it if
-         you modified a '.texi' or '.texinfo' file, or any other file
-         indirectly affecting the aspect of the manual.  The spurious
-         call might also be the consequence of using a buggy 'make' (AIX,
-         DU, IRIX).  You might want to install the Texinfo package or
-         the GNU make package.  Grab either from any GNU archive site."
-    # The file to touch is that specified with -o ...
-    file=`echo "$*" | sed -n "$sed_output"`
-    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
-    if test -z "$file"; then
-      # ... or it is the one specified with @setfilename ...
-      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
-      file=`sed -n '
-       /^@setfilename/{
-         s/.* \([^ ]*\) *$/\1/
-         p
-         q
-       }' $infile`
-      # ... or it is derived from the source name (dir/f.texi becomes f.info)
-      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
-    fi
-    # If the file does not exist, the user really needs makeinfo;
-    # let's fail without touching anything.
-    test -f $file || exit 1
-    touch $file
-    ;;
-
-  *)
-    echo 1>&2 "\
-WARNING: '$1' is needed, and is $msg.
-         You might have modified some files without having the
-         proper tools for further handling them.  Check the 'README' file,
-         it often tells you about the needed prerequisites for installing
-         this package.  You may also peek at any GNU archive site, in case
-         some other package would contain this missing '$1' program."
-    exit 1
-    ;;
-esac
+# Also exit now if we it failed (or wasn't found), and '--version' was
+# passed; such an option is passed most likely to detect whether the
+# program is present and works.
+case $2 in --version|--help) exit $st;; esac
+
+# Exit code 63 means version mismatch.  This often happens when the user
+# tries to use an ancient version of a tool on a file that requires a
+# minimum version.
+if test $st -eq 63; then
+  msg="probably too old"
+elif test $st -eq 127; then
+  # Program was missing.
+  msg="missing on your system"
+else
+  # Program was found and executed, but failed.  Give up.
+  exit $st
+fi
 
-exit 0
+perl_URL=http://www.perl.org/
+flex_URL=http://flex.sourceforge.net/
+gnu_software_URL=http://www.gnu.org/software
+
+program_details ()
+{
+  case $1 in
+    aclocal|automake)
+      echo "The '$1' program is part of the GNU Automake package:"
+      echo "<$gnu_software_URL/automake>"
+      echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:"
+      echo "<$gnu_software_URL/autoconf>"
+      echo "<$gnu_software_URL/m4/>"
+      echo "<$perl_URL>"
+      ;;
+    autoconf|autom4te|autoheader)
+      echo "The '$1' program is part of the GNU Autoconf package:"
+      echo "<$gnu_software_URL/autoconf/>"
+      echo "It also requires GNU m4 and Perl in order to run:"
+      echo "<$gnu_software_URL/m4/>"
+      echo "<$perl_URL>"
+      ;;
+  esac
+}
+
+give_advice ()
+{
+  # Normalize program name to check for.
+  normalized_program=`echo "$1" | sed '
+    s/^gnu-//; t
+    s/^gnu//; t
+    s/^g//; t'`
+
+  printf '%s\n' "'$1' is $msg."
+
+  configure_deps="'configure.ac' or m4 files included by 'configure.ac'"
+  case $normalized_program in
+    autoconf*)
+      echo "You should only need it if you modified 'configure.ac',"
+      echo "or m4 files included by it."
+      program_details 'autoconf'
+      ;;
+    autoheader*)
+      echo "You should only need it if you modified 'acconfig.h' or"
+      echo "$configure_deps."
+      program_details 'autoheader'
+      ;;
+    automake*)
+      echo "You should only need it if you modified 'Makefile.am' or"
+      echo "$configure_deps."
+      program_details 'automake'
+      ;;
+    aclocal*)
+      echo "You should only need it if you modified 'acinclude.m4' or"
+      echo "$configure_deps."
+      program_details 'aclocal'
+      ;;
+   autom4te*)
+      echo "You might have modified some maintainer files that require"
+      echo "the 'automa4te' program to be rebuilt."
+      program_details 'autom4te'
+      ;;
+    bison*|yacc*)
+      echo "You should only need it if you modified a '.y' file."
+      echo "You may want to install the GNU Bison package:"
+      echo "<$gnu_software_URL/bison/>"
+      ;;
+    lex*|flex*)
+      echo "You should only need it if you modified a '.l' file."
+      echo "You may want to install the Fast Lexical Analyzer package:"
+      echo "<$flex_URL>"
+      ;;
+    help2man*)
+      echo "You should only need it if you modified a dependency" \
+           "of a man page."
+      echo "You may want to install the GNU Help2man package:"
+      echo "<$gnu_software_URL/help2man/>"
+    ;;
+    makeinfo*)
+      echo "You should only need it if you modified a '.texi' file, or"
+      echo "any other file indirectly affecting the aspect of the manual."
+      echo "You might want to install the Texinfo package:"
+      echo "<$gnu_software_URL/texinfo/>"
+      echo "The spurious makeinfo call might also be the consequence of"
+      echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might"
+      echo "want to install GNU make:"
+      echo "<$gnu_software_URL/make/>"
+      ;;
+    *)
+      echo "You might have modified some files without having the proper"
+      echo "tools for further handling them.  Check the 'README' file, it"
+      echo "often tells you about the needed prerequisites for installing"
+      echo "this package.  You may also peek at any GNU archive site, in"
+      echo "case some other package contains this missing '$1' program."
+      ;;
+  esac
+}
+
+give_advice "$1" | sed -e '1s/^/WARNING: /' \
+                       -e '2,$s/^/         /' >&2
+
+# Propagate the correct exit status (expected to be 127 for a program
+# not found, 63 for a program that failed due to version mismatch).
+exit $st
 
 # Local variables:
 # eval: (add-hook 'write-file-hooks 'time-stamp)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/configure.ac new/parkverbot-1.2/configure.ac
--- old/parkverbot-1.1/configure.ac     2013-01-31 01:39:11.000000000 +0100
+++ new/parkverbot-1.2/configure.ac     2014-12-08 09:07:26.000000000 +0100
@@ -1,4 +1,4 @@
-AC_INIT([parkverbot], [1.1])
+AC_INIT([parkverbot], [1.2])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
 AC_PROG_INSTALL
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/doc/apm.txt new/parkverbot-1.2/doc/apm.txt
--- old/parkverbot-1.1/doc/apm.txt      1970-01-01 01:00:00.000000000 +0100
+++ new/parkverbot-1.2/doc/apm.txt      2013-02-10 03:44:20.000000000 +0100
@@ -0,0 +1,92 @@
+Why hdparm is not the golden egg:
+
+
+
+== Failure possible with native PATA and SATA disks ==
+
+mmsrv1# for i in sd{a..f}; do hdparm -B 255 /dev/$i; done
+
+/dev/sda:
+ setting Advanced Power Management level to disabled
+ APM_level      = off
+
+/dev/sdb:
+ setting Advanced Power Management level to disabled
+ HDIO_DRIVE_CMD failed: Input/output error
+ APM_level      = not supported
+
+/dev/sdc:
+ setting Advanced Power Management level to disabled
+ HDIO_DRIVE_CMD failed: Input/output error
+ APM_level      = not supported
+
+/dev/sdd:
+ setting Advanced Power Management level to disabled
+ HDIO_DRIVE_CMD failed: Input/output error
+ APM_level      = not supported
+
+/dev/sde:
+ setting Advanced Power Management level to disabled
+ HDIO_DRIVE_CMD failed: Input/output error
+ APM_level      = not supported
+
+/dev/sdf:
+ setting Advanced Power Management level to disabled
+ APM_level      = off
+
+[0:0:0:0]    disk    ATA      Maxtor 6Y080P0   YAR4  /dev/sda (IDE)
+[0:0:1:0]    disk    ATA      IBM-DJNA-351520  J56O  /dev/sdb (IDE)
+[2:0:0:0]    disk    ATA      WDC WD15EADS-00P 01.0  /dev/sdc (SATA)
+[2:0:1:0]    disk    ATA      WDC WD15EADS-00P 01.0  /dev/sdd (SATA)
+[3:0:0:0]    disk    ATA      WDC WD15EADS-00P 01.0  /dev/sde (SATA)
+[3:0:1:0]    disk    ATA      SAMSUNG HD154UI  1AG0  /dev/sdf (SATA)
+
+
+== Failure with SATA disk behind SAS controller ==
+
+ares01# hdparm -B 255 /dev/sda
+/dev/sda:
+ setting Advanced Power Management level to disabled
+ HDIO_DRIVE_CMD failed: Invalid argument
+ HDIO_DRIVE_CMD(identify) failed: Invalid argument
+# lsscsi
+[0:0:0:0]    disk    ATA      Hitachi HDS72202 A28A  /dev/sda (SATA)
+# lspci
+0001:04:02.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064 PCI-X
+Fusion-MPT SAS (rev 02)
+0001:04:02.0 0100: 1000:0050 (rev 02)
+
+
+== Failure with RAID devices ==
+(Well ok, this is expected)
+
+xen35# hdparm -B 255 /dev/sda
+/dev/sda:
+ setting Advanced Power Management level to disabled
+SG_IO: bad/missing sense data, sb[]:  70 10 05 3e 3c a0 fd 21 01 00 00 00 20 00
+ 22 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+SG_IO: bad/missing sense data, sb[]:  70 10 05 3e 3c a0 fd 21 01 00 00 00 20 00
+ 22 22 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+ APM_level      = not supported
+# lsscsi
+[0:0:0:0]    disk    HITACHI  H101414SCSUN146G SA25  -        (sg0) (SAS)
+[0:0:1:0]    disk    HITACHI  H101414SCSUN146G SA25  -        (sg1) (SAS)
+[0:1:2:0]    disk    LSILOGIC Logical Volume   3000  /dev/sda (sg2) (virtual)
+[1:0:0:0]    cd/dvd  TEAC     DV-28SL          1.0A  /dev/sr0 
+[3:0:0:0]    cd/dvd  AMI      Virtual CDROM    1.00  /dev/sr1 
+[4:0:0:0]    disk    AMI      Virtual Floppy   1.00  /dev/sdb
+
+
+== Failure with SAS disks on SAS controller ==
+Not expecting this to work either.
+xen35# hdparm -B 255 /dev/sg1
+/dev/sg1:
+ setting Advanced Power Management level to disabled
+SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 18 00 00 00 00 20 00
+ 0a c0 00 00 00 00 15 0a 00 00 00 00 00 00 00 00 00 00
+ HDIO_DRIVE_CMD failed: Input/output error
+SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 18 00 00 00 00 20 00
+ 0a c0 00 00 00 00 15 0a 00 00 00 00 00 00 00 00 00 00
+SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 18 00 00 00 00 20 00
+ 0a c0 00 00 00 00 15 0a 00 00 00 00 00 00 00 00 00 00
+ HDIO_DRIVE_CMD(identify) failed: Input/output error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/doc/models.txt new/parkverbot-1.2/doc/models.txt
--- old/parkverbot-1.1/doc/models.txt   1970-01-01 01:00:00.000000000 +0100
+++ new/parkverbot-1.2/doc/models.txt   2014-10-07 13:58:07.000000000 +0200
@@ -0,0 +1,6 @@
+Toshiba MK2003GAH
+IBM/Hitachi Deskstar 120GXP family,
+       IC35L040AVVN07-0, VNP214B2SH657F, VA2OAG0A
+Western Digital Caviar Green family,
+       WDC WD15EADS-00P8B0, WD-WMAVU0520522, 01.00A01
+Samsung HM641JI, firmware 2AJ10001
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/doc/parkverbot.8 new/parkverbot-1.2/doc/parkverbot.8
--- old/parkverbot-1.1/doc/parkverbot.8 1970-01-01 01:00:00.000000000 +0100
+++ new/parkverbot-1.2/doc/parkverbot.8 2014-07-26 20:47:12.000000000 +0200
@@ -0,0 +1,104 @@
+.TH parkverbot 8 "2012-05-14" "hxtools" "hxtools"
+.SH Name
+parkverbot \(em daemon to inhibit hard disk head parking
+.SH Synopsis
+\fBparkverbot\fP [\fB\-r\fP \fIkbytes\fP] [\fB\-t\fP \fIsecs\fP]
+\fIdevice\fP...
+.SH Introduction
+.PP
+Rotational hard disks have a controversial (mis)feature which automatically
+unloads the read/write heads during perceived inactivity, usually within 10
+seconds. Western Digital calls it "Intellipark", but the problem is present in
+other manufacturers' disks as well, and goes back to at least the mid-2000s.
+.PP
+Frequent parking leads to noticable latency on wakeup, and the hard retraction
+is seen as an impediment to disk life.
+Even with various utility programs, this parking feature is not reliably 
deactivatable.
+(See "Comparison" section below.)
+.PP
+.SH Description
+.PP
+The "parkverbot" daemon will issue small read requests periodically to a random
+location on disk in an effort to reset the inactivity timer in the hardware and
+so prevent the dreaded head unloading. As such, its operation is
+\fBnon-destructive\fP and \fBinteroprable\fP across different brands of hard
+drives.
+.PP
+The current block reading algorithm works reasonably well in practice: the
+worst observed head parking rate was about 3 unloads/day (0.125/hour);
+best figures hover around 0.5 unloads/day (0.021/hour).
+.SH Options
+.PP
+.TP
+\fB\-b\fP \fIsize\fP
+The size of a read request, in kilobytes (defaults to 64 KB).
+.TP
+\fB\-r\fP \fIsize\fP
+The guard window size (defaults to 16 MB). When requesting a block off the
+disk, the hardware might choose to cache more parts, since it has to hover
+anyways and wait over a particular track for the desired sector. If the next
+random block we choose happens to be already cached because of that, the head
+unload timer will not be reset. To avoid this, if the new random location falls
+within \fIsize\fP kilobytes, we shuffle out a new location and retry.
+.TP
+\fB\-t\fP \fIsecs\fP
+The interval in which to request blocks (defaults to 4 sec).
+.SH Configuration
+.PP
+You can choose between running one parkverbot instance per disk, or one
+instance for all disks (reading them is serialized however).
+.PP
+Two systemd service files are shipped with the package. One is the service
+template file "parkverbot@.service", which allows to start one parkverbot
+daemon instance per disk by way of:
+.nf
+  systemctl enable/start/stop/status/disable parkverbot@dev-sda.service
+.fi
+The other is the normal service file "parkverbot.service" for a single daemon
+for one or more disks, the list of which is to be set in
+/etc/sysconfig/parkverbot in the PARKVERBOT_DISKS variable.
+.PP
+If you do not have systemd, you can still start the daemon in any other
+fashion, such as from sysvinit's /etc/init.d/boot.local.
+.SS Naming
+.PP
+The name stems from German and indicates parking prohibited (you probably
+already guessed that), or more commonly known as a "no parking" zone.
+.SS S.M.A.R.T. info
+.PP
+Unloading of the heads is measurable by S.M.A.R.T. attribute(s). Some disk
+models used number 193, others 225. Both are labeled "Load_Cycle_Count".
+.SS Comparison with other utilities
+.PP
+The "wdidle3" proprietary utility uses a vendor-specific command (VSC) to
+change the - infamous - "idle3" timer which controls the parking time. How well
+this works with non-WD drives is unknown; if the VSC modifies firmware, it is
+probably a very bad idea. The program also requires MS-DOS, which is
+increasingly hard to run on contemporary x86-PC systems, and totally
+inacceptable on non-x86/non-PC systems. Its effectiveness from within a virtual
+machine or emulator using disk/block device passthrough is not known either.
+.PP
+The `hdparm -B` Linux command may be used to set the APM (Advanced Power
+Management) level. However, disks often report to not support this setting, or
+if they do, have no effect on unloading, but only acoustic settings. hdparm
+also does not work with SCSI disks, SAS disks, disks in enclosures attached
+through USB translation layer, or SATA disks on a SAS plane.
+(There are dumps for developers in the source distribution.)
+.PP
+"idle3-tools" is something that I only found recently (2014), though it seems
+to exist for slightly longer than parkverbot. Like wdidle3, it uses the VSC.
+(http://idle3-tools.sf.net/)
+.PP
+"wdantiparkd" WD anti-intellipark daemon says it uses a write operation on a
+file. That is somewhat unfortunate, as layers of caching in both the operating
+system and disk may lead to an inactivity beyond the parking threshold on the
+actual head. (http://sagaforce.com/sound/wdantiparkd/)
+.PP
+parkverbot - this daemon - does normal read requests on the raw block device.
+This means there will be no destructive operations, no additional degradation
+of the medium, and allows it to be usable with all kinds of rotating hard disks
+no matter the manufacturer or interface type. Chunks are read from random new
+locations far enough from the old one in an attempt to evade caches. This will
+manifest in a short flash of the disk LED (if you have one) every now and then.
+By default, one chunk is requested every four seconds, so that two are within 8
+seconds (the common WD idle3 time).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/doc/stats.txt new/parkverbot-1.2/doc/stats.txt
--- old/parkverbot-1.1/doc/stats.txt    1970-01-01 01:00:00.000000000 +0100
+++ new/parkverbot-1.2/doc/stats.txt    2013-02-10 03:33:50.000000000 +0100
@@ -0,0 +1,10 @@
+netbook
+sda  432 u/4169 h =  2.48 u/d
+
+storage server TN:
+sdb   71 u/3493 h =  0.48 u/d
+sdc   93 u/4628 h =  0.48 u/d
+sdd   88 u/4628 h =  0.45 u/d
+sdk   20 u/ 508 h =  0.94 u/d
+sdl   17 u/ 316 h =  1.29 u/d
+sdm    8 u/ 298 h =  0.64 u/d
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/parkverbot-1.1/src/parkverbot.8 new/parkverbot-1.2/src/parkverbot.8
--- old/parkverbot-1.1/src/parkverbot.8 2013-01-31 01:39:11.000000000 +0100
+++ new/parkverbot-1.2/src/parkverbot.8 1970-01-01 01:00:00.000000000 +0100
@@ -1,65 +0,0 @@
-.TH parkverbot 8 "2012-05-14" "hxtools" "hxtools"
-.SH Name
-parkverbot \(em daemon to inhibit hard disk head parking
-.SH Synopsis
-\fBparkverbot\fP [\fB\-r\fP \fIkbytes\fP] [\fB\-t\fP \fIsecs\fP]
-\fIdevice\fP...
-.SH Introduction
-.PP
-Modern rotational hard disks have a misfeature involving the regular automatic
-unloading of the heads, measurable by the S.M.A.R.T. attribute no. 193/225
-"Load_Cycle_Count". While we do not know for sure, it is thinkable that
-manufacturers attempt to save power, or at least sell it that way.
-.PP
-The downside of this is significant latency on wakeup, and the constant hard
-retraction of the head is believed to reduce the disk's life. It is also not
-reliably deactivatable: `hdparm -B` can yield "APM_level = not supported", in
-other cases, setting APM is supported, but has no effect. Furthermore,
-hdparm(8) does not work with SCSI/SAS disks or disks behind protocol
-translation bridges (most USB enclosures). Using a DOS utility disk just is not
-realistic. (In short, you suck, dear manufacturers.)
-.SH Description
-.PP
-The "parkverbot" daemon will issue small read requests periodically to a random
-location on disk in an effort to reset the inactivity timer in the hardware and
-so prevent the dreaded head unloading.
-.PP
-The current algorithms are not fully proof, but it works reasonably well in
-practice for the amount of code it is composed of. The statistical
-success/failure rate with disks in the original author's environment has been
-observed to be 0.4 unloads/day.
-.PP
-parkverbot obsoletes the earlier "thkd" package.
-.PP
-The name stems from German and indicates parking prohibited (you probably
-already guessed that), or more commonly known as a "no parking" zone.
-.SH Options
-.PP
-.TP
-\fB\-b\fP \fIsize\fP
-The size of a read request, in kilobytes (defaults to 64 KB).
-.TP
-\fB\-r\fP \fIsize\fP
-The guard window size (defaults to 16 MB). When requesting a block off the
-disk, the hardware might choose to cache more parts, since it has to hover
-anyways and wait over a particular track for the desired sector. If the next
-random block we choose happens to be already cached because of that, the head
-unload timer will not be reset. To avoid this, if the new random location falls
-within \fIsize\fP kilobytes, we shuffle out a new location and retry.
-.TP
-\fB\-t\fP \fIsecs\fP
-The interval in which to request blocks (defaults to 4 sec).
-.SH Configuration
-.PP
-Two systemd service files are shipped with the package. One if the service
-template file "parkverbot@.service" which allows to start one parkverbot daemon
-instance per disk by way of:
-.nf
-  systemctl enable/start/stop/status/disable parkverbot@dev-sda.service
-.fi
-The other is the normal service file "parkverbot.service" for a single daemon
-for one or more disks, the list of which is to be set in
-/etc/sysconfig/parkverbot in the PARKVERBOT_DISKS variable.
-.SH See also
-.PP
-\fBhxtools\fP(7)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to