Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2003 18:45:36 +0200
From:      Paul Schenkeveld <fb-stable@psconsult.nl>
To:        =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@ofug.org>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Weird EINVAL readig *large* file
Message-ID:  <20030405184536.A5198@psconsult.nl>
In-Reply-To: <xzpn0j5nejj.fsf@flood.ping.uio.no>; from des@ofug.org on Sat, Apr 05, 2003 at 05:34:56PM %2B0200
References:  <20030405132749.A2167@psconsult.nl> <xzpn0j5nejj.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi DES,

On Sat, Apr 05, 2003 at 05:34:56PM +0200, Dag-Erling Smørgrav wrote:
> Paul Schenkeveld <fb-stable@psconsult.nl> writes:
> > When I try to read back one of the saved images containing a
> > 16GB filesystem, I get EINVAL somewhere half way the file.
> > I first discoverd this when I tried "sum /dev/vinum/arch" but
> > this happens with every command I use to read the file, even
> > with a small C program I wrote to just read the file in 8KB
> > chunks to verify this error.
> 
> Can you provide a full ktrace of sum or cksum which exhibits the
> failure?

I'm currently running "ktrace sum /path/to/file/with/problem" here
but that will create a ktrace.out of roughly 8GB since the error
always occurs about 7.5 to 8 GB from the start of the file.

Sending you 8GB doesn't seem very convenient.  Would it be sufficient
for you to run a kdump and mail you the first lines (up to the point
where it's reading in a loop) and the last lines (including several
iterations of the loop)?

> DES
> -- 
> Dag-Erling Smørgrav - des@ofug.org

Regards,

Paul Schenkeveld



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