Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Apr 2004 13:24:07 +0200
From:      Matthias Andree <matthias.andree@gmx.de>
To:        freebsd-alpha@freebsd.org
Subject:   (fwd) mmap problem on OpenBSD(i386) and FreeBSD(Alpha)
Message-ID:  <20040424112407.GA7890@merlin.emma.line.org>

next in thread | raw e-mail | index | archive | help

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Please see the attached mail about a "mman" subsystem problem on
FreeBSD-alpha.

Please CC: me on all replies, I am not on the list.

-- 
Matthias Andree

--6c2NcOVqGQ03X4Wi
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <mikio@users.sourceforge.net>
Delivered-To: GMX delivery to matthias.andree@gmx.de
Received: (qmail 29784 invoked by uid 65534); 23 Apr 2004 12:29:12 -0000
Received: from mx1.fujixerox.co.jp (EHLO mx1.fujixerox.co.jp) (192.26.96.11)
  by mx0.gmx.net (mx016) with SMTP; 23 Apr 2004 14:29:12 +0200
Received: from isvw1.fujixerox.co.jp ([129.249.27.131])
	by mx1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP
	id i3NCSNP00925;
	Fri, 23 Apr 2004 21:28:23 +0900 (JST)
Received: from ns1.fujixerox.co.jp (isvw1 [129.249.27.131])
	by isvw1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP id i3NCSML03690;
	Fri, 23 Apr 2004 21:28:22 +0900 (JST)
Received: from mail.hama.sak.fujixerox.co.jp (mail.hama.sak.fujixerox.co.jp
	[143.94.16.240])	by ns1.fujixerox.co.jp (8.11.6p2a/3.7W) with ESMTP
	id i3NCSMA23251;	Fri, 23 Apr 2004 21:28:22 +0900 (JST)
Received: from [143.94.16.19] (hama016019.hama.sak.fujixerox.co.jp
	[143.94.16.19])i3NCSLg01663;	Fri, 23 Apr 2004 21:28:21 +0900 (JST)
Date: Fri, 23 Apr 2004 21:27:47 +0900
From: Mikio Hirabayashi <mikio@users.sourceforge.net>
To: matthias.andree@gmx.de
Subject: mmap problem on OpenBSD(i386) and FreeBSD(Alpha)
Cc: kris@obsecurity.org, relson@osagesoftware.com,
	gyepi@praxis-sw.com, fuyuki@nigredo.org, sbellon@sbellon.de
Message-Id: <20040423205111.7E50.MIKIO@users.sourceforge.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.05.10

Hi,

(This mail is sent to qdbm-user ML also.)

I tested QDBM on BSD platforms and found problems about using mmap.

On OpenBSD(i386), the test suite failed by `no item' error.
This problem is not caused if QDBM was built with `--enable-nommap'.
When using `mmap', the system call `write' seems not to work right way.
Though the return value is 0, nil codes are written instead of data of
the parameter.

On FreeBSD(Alpha), the test suite failed by `memory mapping' error.
This problem is also not caused if QDBM was built with `--enable-nommap'.
`msync' fails if the size of mapping region is larger than about 1.2MB
(bnum is 16300).

Does anyone know the reason for these problems?

For the nonce, the next version will disable mmap features as for the
two platforms.

Regards.

// Mikio Hirabayashi



--6c2NcOVqGQ03X4Wi--


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