Subject: Re: kern/34689: ata driver doesn't like odd addresses/lengths
To: None <gnats-bugs@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 10/01/2006 23:55:04
On Sun, Oct 01, 2006 at 06:50:00PM +0000, reinoud@NetBSD.org wrote:
> 
> When issueing SCSI calls using scsipi() in-kernel to an atapi CD, both the
> SCSI command and its resulting datablock need to be on an *EVEN* address and
> having an *EVEN* length.
> 
> SCSI calls however can be odd in length

I need to have a look at the specs but from memory, it's possible that
ATAPI only allows even lengths. I don't think IDE DMA controllers can
deal with misaligned buffers or odd lengths.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--