From owner-freebsd-hardware Tue Apr 21 09:39:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA09274 for freebsd-hardware-outgoing; Tue, 21 Apr 1998 09:39:42 -0700 (PDT) (envelope-from owner-freebsd-hardware@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA09141 for ; Tue, 21 Apr 1998 16:38:43 GMT (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id CAA04308; Wed, 22 Apr 1998 02:21:27 +1000 Date: Wed, 22 Apr 1998 02:21:27 +1000 From: Bruce Evans Message-Id: <199804211621.CAA04308@godzilla.zeta.org.au> To: graham@cyberc.demon.co.uk, hardware@FreeBSD.ORG Subject: Re: Smarty (again) Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >I think I have identified the problem - the information is stored on >sectors 1, 100 and 200, but there are no sectors in between (actually, >there is no rotating surface either, so "in between" is a bit stupid). > >Using fdcontrol I can set the number of sectors to 200, and dd will >attempt to read 512 bytes from wherever, but the driver always tries to >read 4 sectors at a time. 4 is probably for the usual buffered device braindamage (BLKDEV_IOSIZE / DEV_BSIZE = 4). >Can anyone point me to the source file where I can change this value >(actually bp->b_bcount for fdstrategy() ). Just use the raw device so that it reads the amount requested. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message