From owner-freebsd-hardware Tue Apr 7 12:46:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA24555 for freebsd-hardware-outgoing; Tue, 7 Apr 1998 12:46:20 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) 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 MAA24320; Tue, 7 Apr 1998 12:45:03 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.8.8/8.8.8) id VAA10482; Tue, 7 Apr 1998 21:43:59 +0200 (MEST) (envelope-from sos) Message-Id: <199804071943.VAA10482@sos.freebsd.dk> Subject: Re: 12.0 GB Quantum Bigfoot TX IDE seen as 8.4 GB In-Reply-To: from Bob Lash at "Apr 7, 98 12:03:43 pm" To: bob@wbs.net (Bob Lash) Date: Tue, 7 Apr 1998 21:43:59 +0200 (MEST) Cc: toor@dyson.iquest.net, technical@wbs.net, sos@FreeBSD.ORG, freebsd-hardware@FreeBSD.ORG, julian@ivision.co.uk 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-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In reply to Bob Lash who wrote: > Correction -- the dmesg file for this machine shows: > > wdc0: unit 1 (wd1): > wd1: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S > wdc1 at 0x170-0x177 irq 15 on isa > wdc1: unit 0 (wd2): > wd2: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S > wdc1: unit 1 (wd3): > wd3: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S > > > > If Bob wants to fix it himself, we would also be willing to commit the > > > changes. > > > > Thanks for the thought, John -- I wish I knew enough about the inner > > workings of freeBSD to directly help with the code... :) Hmm, just checked the ATA4 std, and this is exactly yhe geometry that should be returned for devices with more than 16515072 sectors, ie 8.4G. So what we are seeing is a "feature" of the ATA4 std :( It seems that such a device should be LBA adressed instead of CHS, which we use, so we need to modify the driver to do that. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message