From owner-freebsd-questions@FreeBSD.ORG Thu Jul 31 22:02:19 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FF4B106566C for ; Thu, 31 Jul 2008 22:02:19 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 08D7D8FC20 for ; Thu, 31 Jul 2008 22:02:18 +0000 (UTC) (envelope-from fbsdlists@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1021792rvf.43 for ; Thu, 31 Jul 2008 15:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+Nj509+VJ0riIDWqDcAEJPL8lX1brnkayIDvZfNpN90=; b=jhV9m7w0dTo8uZmGzt5IcJ1PLU1Sl7r3EPTGVz220Gl5d8w9HJddYYuZbxEGcn3sbx WFmam7mW2IRxfOeOCYxsSnzb6+jgGs3l+kmTFhb/V/I5SXo+cE4V6EL6M5tNyC4QFPfQ f9ESpGBQNA4Wp3HyUez04I+ck99EvoCpDm0vY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uRudNrEgAOulYUv25vCbSVFyrrnU+A3K5xGX9NpYJaghu4tZcgHv2WLtkbhxF4z03B OpSzL2jtzfVX+LRIsBOOTuvYxzex3Ffdx5YKMcHGUUYe3GUXEPByRC5BQkC6I5SVWT8f wEZB8Etd0ySwTakTCaedegN2df+a9ynXv0hLc= Received: by 10.140.203.9 with SMTP id a9mr5557209rvg.203.1217541738090; Thu, 31 Jul 2008 15:02:18 -0700 (PDT) Received: by 10.140.135.3 with HTTP; Thu, 31 Jul 2008 15:02:18 -0700 (PDT) Message-ID: <54db43990807311502re83ce1ao1a683d6c4e1d01c7@mail.gmail.com> Date: Thu, 31 Jul 2008 18:02:18 -0400 From: "Bob Johnson" To: "Jan Henrik Sylvester" In-Reply-To: <48922646.7030902@janh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <29825939.312031217523061419.JavaMail.servlet@kundenserver> <54db43990807311214g6d6bc1bbm92bf660b10bfbb18@mail.gmail.com> <48922646.7030902@janh.de> Cc: freebsd-questions@freebsd.org Subject: Re: 250GB hd: Can FreeBSD use >137GB (bios) as Linux or Windows do? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2008 22:02:19 -0000 On 7/31/08, Jan Henrik Sylvester wrote: > I guess I should have put it more concise as some important details were > lost in the middle of the background story. > > --- The important part: ---> > > If I boot the FreeBSD 7.0-RELEASE livefs CD, I have my 232GB hd limited > to 128GB. (According to dmesg and some dd writing tests.) > > If I boot the dynamic drive overlay MBR that changes the INT13 bios > routines and let it boot the livefs CD, FreeBSD can access all 232GB. > > These two cases happen with the same MBR and the same content on the drive. > > <--- (Important part ending) --- > > From my limited understanding: This cannot be about the FreeBSD > installation transfered by firewire, since it is long gone. This cannot > be about the FreeBSD MBR, since it is not involved. This is not about > the partition table, since it is the same. It CAN be about the partition table, at least in principle, although I'd think that if the dmesg says the drive is 128 GB that's probably not what is happening. An invalid partition table can be interpreted differently by different systems (I know that from painful experience), and of course, by different releases of FreeBSD. And Vista in particular seems to like to do strange things to partition tables, FWIW. > > Doing the same with a Linux live CD (Knoppix), I can access the whole > drive in both cases. > > Windows reports 232GB, too, but according to this (German) posting > http://www.acer-userforum.de/thread.php?postid=40207 writing above 128GB > will wrap around for the 855GME chipset driver (I have 855PM). The > posting claims ddo would solve it, which I cannot understand, if the > Windows driver ignores the bios information. (The posting is about Acer > Travelmate 661. I got the 800 from the same time.) > > My laptop is more than five years old and I have got the latest bios for > years, apparently without 48bit LBA. > > I am kind of lost. I cannot understand the disassembled MBR and even if > I could, I do not think I would want to create my own boot manager / > INT13 handler. I guess reading FreeBSD source code would be next... but > I am not very confident there, either. > > The alternative is that my understanding of the problem is totally wrong. > > Thanks for more helping to think through this mess of information I got > during the last day. FreeBSD has to make some educated guesses about what disk geometry to assume: it has to try to make assumptions that will be compatible with what other operating systems are likely to do, so at times it is possible that it will opt for something safe but not "right" in order to balance conflicting information it gets from the BIOS, the partition table, and the drive itself. That's why you have the option of changing its assumptions when you do a sysinstall. What the livefs cd does, I do not know, but the only way you will know what would happen if you installed FreeBSD on, and boot from, that hard drive will be to actually install FreeBSD on that hard drive and see what happens. The one thing I am certain of is that it should have no problem booting from and using a 232 GB drive. - Bob