From owner-freebsd-current Thu Jan 6 1: 4:30 2000 Delivered-To: freebsd-current@freebsd.org Received: from freebsd.dk (freebsd.dk [212.242.42.178]) by hub.freebsd.org (Postfix) with ESMTP id 8565E155DE; Thu, 6 Jan 2000 01:04:27 -0800 (PST) (envelope-from sos@freebsd.dk) Received: (from sos@localhost) by freebsd.dk (8.9.3/8.9.1) id KAA90935; Thu, 6 Jan 2000 10:04:21 +0100 (CET) (envelope-from sos) From: Soren Schmidt Message-Id: <200001060904.KAA90935@freebsd.dk> Subject: Re: ATA atapi-all.c problems/fixes/cleanups In-Reply-To: from Brian Fundakowski Feldman at "Jan 6, 2000 03:42:25 am" To: green@FreeBSD.ORG (Brian Fundakowski Feldman) Date: Thu, 6 Jan 2000 10:04:21 +0100 (CET) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG It seems Brian Fundakowski Feldman wrote: > > It's just as well. It's almost 4 AM and I've just about given up on getting > this all working. Anyway, if everything has to be DEV_BSIZE, then I guess > that would simplify things, except when I try, say, writing 4697 bytes > as an audio blocksize (2 * 2352 - 7), it goes all the way through the > acdstrategy as 4697... I don't know why DEV_BSIZE isn't respected, then, > but I suppose Poul might be able to help here? You should respect the blocksize when talking to a device with a fixed blocklength, dont write ! % blocksize blocks to the device.. Anyhow I've done a replacement for wormcontrol and have cleaned up the interface to the driver, I hope to have it tested for commit soon, this will solve the problem once and for all.. -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message