Subject: Re: kern/19269: alignment error in wd(4)
To: enami tsugutomo <enami@but-b.or.jp>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 12/05/2002 20:50:17
On Thu, Dec 05, 2002 at 11:55:18AM +0900, enami tsugutomo wrote:
> Manuel Bouyer <bouyer@antioche.eu.org> writes:
> 
> > > __bs_rm_4() is bus_space_read_multi_4() in hpcmips.
> > > vaddr=0xc3770a12 is not align for VR4122.
> > 
> > I don't know why the buffer is not aligned here, and we need to find why.
> > This would also cause problems for DMA operations.
> 
> It is known that fdisk(8) actually requests to read into only halfword
> aligned (i.e., not word aligned) buffer.

But there is a copy between the kenrel and userland process, right ?
This shouldn't make the kernel buffer unaligned.

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