[kernel] r15436 - in dists/sid/linux-2.6/debian: . patches/debian patches/series

Ben Hutchings benh at alioth.debian.org
Sun Mar 21 05:32:13 UTC 2010


Author: benh
Date: Sun Mar 21 05:32:10 2010
New Revision: 15436

Log:
libata: Ignore HPA by default (Closes: #572618, #574795)

Thanks to Cesare Leonardi for a well-researched bug report.
Patch from Scott James Remnant, originally for Ubuntu.

Added:
   dists/sid/linux-2.6/debian/patches/debian/libata-Ignore-HPA-by-default.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/11

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	Sun Mar 21 05:19:11 2010	(r15435)
+++ dists/sid/linux-2.6/debian/changelog	Sun Mar 21 05:32:10 2010	(r15436)
@@ -11,6 +11,8 @@
     cause the system to hang (Closes: #559578)
   * eeepc-laptop: Disable wireless hotplug on 1005HA, 1201N and 1005PE
     since it disconnects the wrong device (Closes: #573607)
+  * libata: Ignore HPA by default (Closes: #572618, #574795), thanks to
+    Cesare Leonardi and Scott James Remnant
 
   [ maximilian attems]
   * [alpha, hppa] Disable oprofile as tracing code is unsupported here.

Added: dists/sid/linux-2.6/debian/patches/debian/libata-Ignore-HPA-by-default.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/debian/libata-Ignore-HPA-by-default.patch	Sun Mar 21 05:32:10 2010	(r15436)
@@ -0,0 +1,36 @@
+From d109cbfbd897782e4f266c11faeb6a913e2b2428 Mon Sep 17 00:00:00 2001
+From: Scott James Remnant <scott at canonical.com>
+Date: Tue, 3 Mar 2009 14:20:01 +0000
+Subject: [PATCH] UBUNTU: SAUCE: libata: Ignore HPA by default.
+
+This was previously changed by using an "options" line in a modprobe.d
+file, however that practice is now deprecated.  This is because module
+names, option names, their values and even their current defaults can
+all change inside the kernel and module-init-tools has never been kept
+in sync.
+
+In addition, changing the kernel means that the option change will apply
+if the module is built in by users or the OEM team.
+
+Signed-off-by: Scott James Remnant <scott at canonical.com>
+Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
+---
+ drivers/ata/libata-core.c |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
+index 6d2314a..abca105 100644
+--- a/drivers/ata/libata-core.c
++++ b/drivers/ata/libata-core.c
+@@ -139,7 +139,7 @@ int libata_fua = 0;
+ module_param_named(fua, libata_fua, int, 0444);
+ MODULE_PARM_DESC(fua, "FUA support (0=off [default], 1=on)");
+ 
+-static int ata_ignore_hpa;
++static int ata_ignore_hpa = 1;
+ module_param_named(ignore_hpa, ata_ignore_hpa, int, 0644);
+ MODULE_PARM_DESC(ignore_hpa, "Ignore HPA limit (0=keep BIOS limits, 1=ignore limits, using full disk)");
+ 
+-- 
+1.7.0
+

Modified: dists/sid/linux-2.6/debian/patches/series/11
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/11	Sun Mar 21 05:19:11 2010	(r15435)
+++ dists/sid/linux-2.6/debian/patches/series/11	Sun Mar 21 05:32:10 2010	(r15436)
@@ -6,3 +6,4 @@
 + bugfix/x86/eeepc-laptop-disable-wireless-hotplug-for-1201N.patch
 + bugfix/x86/eeepc-laptop-disable-wireless-hotplug-for-1005PE.patch
 + bugfix/all/ssb_check_for_sprom.patch
++ debian/libata-Ignore-HPA-by-default.patch



More information about the Kernel-svn-changes mailing list