Subject: Re: kern/34689: ata driver doesn't like odd addresses/lengths
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 10/01/2006 22:00:04
The following reply was made to PR kern/34689; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: kern/34689: ata driver doesn't like odd addresses/lengths
Date: Sun, 1 Oct 2006 23:55:04 +0200

 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
 --