From owner-cvs-sys Thu Apr 9 01:18:59 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA22413 for cvs-sys-outgoing; Thu, 9 Apr 1998 01:18:59 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from sos.freebsd.dk (sos.freebsd.dk [195.8.129.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA22399; Thu, 9 Apr 1998 01:18:55 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id KAA01248; Thu, 9 Apr 1998 10:18:46 +0200 (MEST) (envelope-from sos) Message-Id: <199804090818.KAA01248@sos.freebsd.dk> Subject: Re: cvs commit: src/sys/i386/isa wd.c wdreg.h In-Reply-To: <199804090443.BAA23976@gaia.coppe.ufrj.br> from Joao Carlos Mendes Luis at "Apr 9, 98 01:43:15 am" To: jonny@coppe.ufrj.br (Joao Carlos Mendes Luis) Date: Thu, 9 Apr 1998 10:18:46 +0200 (MEST) Cc: sos@FreeBSD.ORG, cvs-sys@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL30 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk In reply to Joao Carlos Mendes Luis who wrote: > #define quoting(Søren Schmidt) > // sos 1998/04/08 13:04:40 PDT > // > // Modified files: > // sys/i386/isa wd.c wdreg.h > // Log: > // Add LBA mode support for large drives. > // Use config flags 0x1000 to enable LBA mode. It should be enabled in > // the BIOS too to avoid geometry confusion. > // > // One catch though, I'm not sure all BIOS's uses the 64head/63secs > // translation, all mine does but.... > > You don't have any disk bigger than 2G, am I right ? My ASUS motherboard > and most I have seen until now choose the translation based on disk size. > Disk up to 2G -> 64/63. Between 2G and 4G -> 128/63, 4G and 8G -> 255/63. > I've never seen a disk bigger than 8G, so I don't know how they would > behave. Well, I do have 4.3G disks and they still get 64/63, but as I said.... > The best option would be to ask BIOS for this info. How is the VM86 mode > support going in -current ? :) Exactly, but this is mostly a stopgap solution to those with big drives in dedicated mode..., -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..