Coda File System

mmap() on Solaris fails...

From: Roland Mainz <Roland.Mainz_at_informatik.med.uni-giessen.de>
Date: Wed, 25 Oct 2000 17:25:42 +0200

Hi !


Can anyone explain why the following mmap fails:
-- snip --

open64("/uservfs/home/gisburn/tmp/xxx.gz#ugz", O_RDWR) = 7

fstat64(7, 0xFFBEE540)                          = 0
fstat64(7, 0xFFBEE768)                          = 0
mmap64(0x00000000, 8064, PROT_READ|PROT_WRITE, MAP_PRIVATE, 7, 0) Err#22 EINVAL
llseek(7, 0, SEEK_CUR)                          = 0
close(7)                                        = 0

-- snip --

CODA kernel module loggs
-- snip --

Oct 25 16:42:58 grendel unix: NOTICE: coda_map: off+len (0x1f80) > va_size (0x0)!
-- snip --

(Tested on Solaris 7/106541-12 UltraSPARC, 64bit kernel) Any idea why this fails ??


Bye,
Roland

--

  __ . . __
 (o.\ \/ /.o) Roland.Mainz_at_informatik.med.uni-giessen.de   \__\/\/__/ gisburn_at_informatik.med.uni-giessen.de   /O /==\ O\ MPEG specialist, C&&JAVA&&Sun&&Unix programmer  (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359 Received on 2000-10-25 11:27:17