Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 08:50:52 +0200
From:      Alan Robinson <alan.robinson@fujitsu-siemens.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        freebsd-ia64@freebsd.org
Subject:   Re: /dev/kmem read return value is double requested value
Message-ID:  <20030603085052.A2520@fujitsu-siemens.com>
In-Reply-To: <20030602215156.GB1345@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Mon, Jun 02, 2003 at 02:51:56PM -0700
References:  <20030530132408.A3690@fujitsu-siemens.com> <20030530173029.GB568@dhcp01.pn.xcllnt.net> <20030602133112.A3892@fujitsu-siemens.com> <20030602215156.GB1345@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 02, 2003 at 02:51:56PM -0700, Marcel Moolenaar wrote:
> On Mon, Jun 02, 2003 at 01:31:12PM +0200, Alan Robinson wrote:
> > > 
> > > It helps if you demonstrate the behaviour with some trivial test program
> > > that people can run too.
> > > 
> > You are quite correct. I didn't even say the problem only seems to show
> > up when trying to read info from kld loaded drivers, an example. 
> 
> That's odd. And yes, that can't be right :-)
> 

It's a special offer, buy one byte get a second one free

> I'll take a look at it when I have a spare cycle.
> 
I compared the ia64/i386 mmrw() and another answer is to add 
a 'continue' after the /dev/kmem uiomove just like in i386.

I bet the 4 lines are still junk left over from a previous life
when the uiomove was a copyout?

Alan



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