FFe: Please merge hdparm 8.6-1 (main) from Debian unstable

Bug #203736 reported by Daniel Hahler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hdparm (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

I think that hdparm 8.6 from Debian unstable should get merged into Hardy, because it fixes quite some bugs and adds useful new features (e.g. to test for media errors).

Debian has added a nice wrapper in 8.3-1, which allows to give spindown times in seconds, minutes or hours. See http://bugs.debian.org/462766.
I think this makes handling of bug 59695 for users a lot easier!

The merge from Debian fixes also bug 156893, because Debian has integrated the patch.

Debian changelog since current version in Ubuntu:
hdparm (8.6-1) unstable; urgency=low

  * New upstream version
  * Udev rule can also match for sata devices (closes: #471401)

 -- Stephen Gran <email address hidden> Tue, 18 Mar 2008 01:06:37 +0000

hdparm (8.3-1) unstable; urgency=low

  * New upstream release
  * easier config of spindown time (closes: #462766)
  * Update Standards-Version (no changes)

 -- Stephen Gran <email address hidden> Tue, 19 Feb 2008 22:39:32 +0000

Upstream changelog since the version in Hardy:
hdparm-8.6
        - add partition safeguards to r/w sector and make_bad_sector
hdparm-8.5
        - fix u8->u16 bug in security commands for all of 8.x series, Christian Franke
        - try and quiet errors from flush_buffer_cache()
hdparm-8.4
        - oops: v8.3 broke --write-sector. Fix it again.
hdparm-8.3
        - fixed -i display for udma6
        - try and exit with errno on fail paths, from Ladislav Michnovic
hdparm-8.2
        - clear feat register for safety with SET_MAX_ADDRESS command
        - add note to manpage regarding possible -N transient failures
        - IDE_TASKFILE bug fixes and cleanups: works with old IDE driver now
        - fix misreporting of dma modes on some SATA-ATAPI bridged drives
hdparm-8.1
        - fixed -U parameter bug
        - added ATA8 minor revision info to -I, courtesy of chrfranke
        - added WorldWideNumber to -I, courtesy of Raksac
hdparm-8.0
        - added --make-bad-sector to deliberately create a media error
        - added --write-sector (aka. --repair-sector) to repair a media error
        - added --read-sector to test for a media error
        - Makefile dependency tweaks
        - added -N (get/set max address/HPA) flag, courtesy of Jakub Bogusz
        - fixed LBAsects output from -i to use LBA48 values when available
        - fixed alternate opcode for SLEEPNOW
        - lots of changes/fixes to sgio.c to support more commands
        - add detection of buggy Sandisk 16MB CF card
        - fixed tf_to_lba() bug, courtesy of Jakub Bogusz

Related branches

Revision history for this message
Daniel Hahler (blueyed) wrote :
Changed in hdparm:
importance: Undecided → Wishlist
Revision history for this message
Daniel Hahler (blueyed) wrote :

Install / Upgrade log:
$ LANG=C sudo dpkg -i /var/cache/pbuilder/hardy/result/hdparm_8.6-1ubuntu1_i386.deb
(Reading database ... 347912 files and directories currently installed.)
Preparing to replace hdparm 7.7-1ubuntu1 (using .../hdparm_8.6-1ubuntu1_i386.deb) ...
Unpacking replacement hdparm ...
Setting up hdparm (8.6-1ubuntu1) ...
Installing new version of config file /etc/udev/rules.d/85-hdparm.rules ...
Installing new version of config file /etc/init.d/hdparm ...
 Removing any system startup links for /etc/init.d/hdparm ...

$ LANG=C sudo dpkg -P --force-depends hdparm
dpkg: hdparm: dependency problems, but removing anyway as you request:
 acpi-support depends on hdparm.
 kaffeine depends on hdparm.
 ubuntu-standard depends on hdparm.
(Reading database ... 347909 files and directories currently installed.)
Removing hdparm ...
Purging configuration files for hdparm ...

$ LANG=C sudo dpkg -i /var/cache/pbuilder/hardy/result/hdparm_8.6-1ubuntu1_i386.deb
Selecting previously deselected package hdparm.
(Reading database ... 347891 files and directories currently installed.)
Unpacking hdparm (from .../hdparm_8.6-1ubuntu1_i386.deb) ...
Setting up hdparm (8.6-1ubuntu1) ...
 Removing any system startup links for /etc/init.d/hdparm ...

Revision history for this message
Steve Langasek (vorlon) wrote :

Surprisingly manageable diffstat and changelog, for such a large jump in version numbers. :) FFe acked, turning over to ubuntu-main-sponsors

Revision history for this message
Daniel Hahler (blueyed) wrote :

Added reference to bug 156893 into changelog

Revision history for this message
Daniel Hahler (blueyed) wrote :

Also properly drop /etc/init.d/hdparm, which is supposed to not be there and should not get introduced by next merges from now on.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hdparm - 8.6-1ubuntu1

---------------
hdparm (8.6-1ubuntu1) hardy; urgency=low

  * Merge from Debian unstable (LP: #203736). Remaining Ubuntu changes:
    - remove init script, install udev rules instead
    - set Ubuntu maintainer address.
    - debian/control: Do not depend on lsb-base
  * Fixes "udev rules only for hd[a-z], not sd[a-z]" (LP: #156893)
  * Remove hdparm init script and make it not re-appear in next merges
    - debian/rules: add "--onlyscripts" to DEB_DH_INSTALLINIT_ARGS, so that the
      init script does not get installed
    - debian/preinst: bump version in rm_conffile call

hdparm (8.6-1) unstable; urgency=low

  * New upstream version
  * Udev rule can also match for sata devices (closes: #471401)

hdparm (8.3-1) unstable; urgency=low

  * New upstream release
  * easier config of spindown time (closes: #462766)
  * Update Standards-Version (no changes)

 -- Daniel Hahler <email address hidden> Fri, 28 Mar 2008 21:44:38 +0100

Changed in hdparm:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.