From owner-freebsd-stable@FreeBSD.ORG Tue Dec 15 18:44:24 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C501106568F; Tue, 15 Dec 2009 18:44:24 +0000 (UTC) (envelope-from matpockuh@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id C2A248FC08; Tue, 15 Dec 2009 18:44:23 +0000 (UTC) Received: by fxm27 with SMTP id 27so188053fxm.3 for ; Tue, 15 Dec 2009 10:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=CEXAhLiCyi0iBtpszLvoiNVCEHsobxP+Woi5lnrWBEo=; b=ZFL168ic8mUm0a+9nxCI6KGl5TE1pHckQzYIu7OjOGmWU4pZL7i0wYrFFc4BvXIVmh 7YJxa/qapCJscU509gxF7CCQqEAqZQprkZ5ddnscH0Wz2rIlQiF+xfPCmqozODiSG3uH 3uvzlpshUl+MPLh7O9+4+g0t9jnXHtjL8MgCw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=V5CFql1YWSOVrm8m8YTcRRPAHPhfAY1kf7jCvWFVhM4nbZI2BjiPCgZ+mb025DWBne JAnzLrj7YpsaxeNJQqpI25GhRj/Kd6a1E4o6Lz75e2AN4OufernilgdbEbOGFq7DboIP /LHxOS71LvBOpO8eA1wPQ33JL+kXeCwyZByAY= MIME-Version: 1.0 Received: by 10.223.132.204 with SMTP id c12mr1759105fat.32.1260902662553; Tue, 15 Dec 2009 10:44:22 -0800 (PST) In-Reply-To: <4B23DC8B.8020807@FreeBSD.org> References: <1260638581.00193503.1260625202@10.7.7.3> <4B23DC8B.8020807@FreeBSD.org> Date: Tue, 15 Dec 2009 21:44:22 +0300 Message-ID: <3979a4b0912151044i5c3031ebo41ed0cb482461ea9@mail.gmail.com> From: KOT MATPOCKuH To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org Subject: Re: Trouble with drive size detection - 31MB visible size on 1TB drive. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 18:44:24 -0000 2009/12/12 Alexander Motin : > To unlock drive permanently SET MAX ADDRESS ATA command should be used > (probably the same as Linux uses) with Volatile bit set, to make it not > restore on power cycle. I don't know how to send this command with > legacy ata(4), you need some external tool. Who knows this some external tool? :) As I know hdparm is not ported to *BSD. > With new CAM-based ATA > probably it can be send via `camcontrol cmd ...`. On this machine I'm using FreeBSD 7.x and have no ahci(4) support :( I solved the problem by running "hdparm -N p1953525168 sdf" from linux livecd, but this is not the fbsd way... -- MATPOCKuH