Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 19:37:19 +0200 (CEST)
From:      Søren Schmidt <sos@freebsd.dk>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: ata0-master: non aligned DMA transfer attempted
Message-ID:  <200108241737.f7OHbJI88588@freebsd.dk>
In-Reply-To: <Pine.SOL.4.21.0108241119200.8160-100000@opal> "from Zhihui Zhang at Aug 24, 2001 11:24:27 am"

next in thread | previous in thread | raw e-mail | index | archive | help
It seems Zhihui Zhang wrote:
> 
> I write a program that writes into a raw device directly. Although the
> program runs OK, the system prints messages like:
> 
> ata0-master: non aligned DMA transfer attempted
> 
> What exactly happens here? Is there any problem in my program? 

You are probably trying to write an amount of data that is not
a whole number of the device's blocksize, for harddisks that
is 512bytes.

-Søren

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108241737.f7OHbJI88588>