Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759851AbZACNQP (ORCPT ); Sat, 3 Jan 2009 08:16:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752009AbZACNP4 (ORCPT ); Sat, 3 Jan 2009 08:15:56 -0500 Received: from lucidpixels.com ([75.144.35.66]:56517 "EHLO lucidpixels.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751620AbZACNPz (ORCPT ); Sat, 3 Jan 2009 08:15:55 -0500 Date: Sat, 3 Jan 2009 08:15:52 -0500 (EST) From: Justin Piszcz To: Mark Lord cc: Robert Hancock , linux-ide@vger.kernel.org, linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: 2.6.27.10: ata1.00: HPA detected: current 293044655, native 293046768 In-Reply-To: <495B9ED3.8050008@rtr.ca> Message-ID: References: <495A5A9F.9020406@shaw.ca> <495B9ED3.8050008@rtr.ca> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1897 Lines: 66 On Wed, 31 Dec 2008, Mark Lord wrote: > Robert Hancock wrote: >> Justin Piszcz wrote: >>> On one system, two Raptor 150s: >>> >>> [ 0.739402] ata1.00: HPA detected: current 293044655, native 293046768 > .. >> Presumably somebody or something set up a host protected area on one drive >> and not the other.. I believe there are some utilities out there that can >> be used to disable the HPA and allow the full capacity to be used. > .. > > "hdparm -N" can do this, temporarily or permanently. > Get the latest version from Sourceforge, and see the manpage for details. > > -ml > > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Just incase someone Google's this later on, this is what it looks like, for my case: The /dev/sda (first disk) is the one with the problem. root@Knoppix:~/hpa# hdparm -N /dev/sda /dev/sda: max sectors = 293044655/293046768, HPA is enabled root@Knoppix:~/hpa# hdparm -N /dev/sdb /dev/sdb: max sectors = 293046768/293046768, HPA is disabled root@Knoppix:~/hpa# hdparm -N p293046768 /dev/sda /dev/sda: setting max visible sectors to 293046768 (permanent) max sectors = 293046768/293046768, HPA is disabled root@Knoppix:~/hpa# root@Knoppix:~# hdparm -N /dev/sda /dev/sda: max sectors = 293046768/293046768, HPA is disabled root@Knoppix:~# 1. I backed up the volume of the RAID-1 array. 2. Failed out the disk with the problem. 3. Then ran the commands above. 4. Reboot back to the OS. 5. Re-add the disk back into the RAID-1. Justin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/