Date: Tue, 10 Oct 2000 18:02:39 -0700 (PDT) From: jdp@polstra.com To: alpha@freebsd.org Cc: gallatin@cs.duke.edu Subject: Re: can read return MORE than you asked for? Message-ID: <200010110102.e9B12d437311@vashon.polstra.com> In-Reply-To: <14819.36145.726782.115049@grasshopper.cs.duke.edu> References: <14819.36145.726782.115049@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <14819.36145.726782.115049@grasshopper.cs.duke.edu>, Andrew Gallatin <gallatin@cs.duke.edu> wrote: > > When looking into the "swapinfo:cannot read blmeta_t" problem, I > discovered that reading /dev/kmem seems to be somewhat broken: > > <..> > lseek(4,0xfffffe00006b8428,-3399988123389603632) = 7046184 (0x6b8428) > read(0x4,0x11ffa2d0,0x8) = 16 (0x10) > <..> > > Note the return value of read -- 2x what we asked for! Ah, but you're on an Alpha, where everything is twice as big. :-) John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010110102.e9B12d437311>