From owner-freebsd-current@FreeBSD.ORG Mon Apr 11 07:30:59 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D33FA16A4CF for ; Mon, 11 Apr 2005 07:30:59 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id F408443D31 for ; Mon, 11 Apr 2005 07:30:57 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id D5423AC976; Mon, 11 Apr 2005 09:30:42 +0200 (CEST) Date: Mon, 11 Apr 2005 09:30:42 +0200 From: Pawel Jakub Dawidek To: Daniel Eriksson Message-ID: <20050411073042.GI837@darkness.comp.waw.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eHOIV5BfioPmIRHC" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: 'FreeBSD Current' Subject: Re: ggate and mmap, possible problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 07:31:00 -0000 --eHOIV5BfioPmIRHC Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 11, 2005 at 04:49:16AM +0200, Daniel Eriksson wrote: +>=20 +> Hi! Is it possible that there is some sort of problem using mmap on a (U= FS2) +> filesystem mounted over ggate? +>=20 +> I keep getting errors on the console when I enable mmap on a server runn= ing +> a proprietary video server application (which is a binary compiled on FB= SD +> 4.11 afaik). I don't have access to the source code for the server app +> unfortunately (but I do have some access to the developers). I'm pretty = sure +> that with mmap enabled in the server, it tries to mmap all files smaller +> than 50MB (most are 20-50MB). +>=20 +> The errors look like this: +>=20 +> g_vfs_done():ggate0[READ(offset=3D-1009882480640, length=3D65536)]error = =3D 5 +> vnode_pager_getpages: I/O read error +> vm_fault: pager read error, pid 1527 (mcvidserv) +>=20 +>=20 +> This could certainly be a problem in the proprietary server, but I thoug= ht +> I'd ask here too. This is on a recent 6-CURRENT system. I don't think it is related to mmap(2), it may be caused by timeouts. Can you increase debug level to 1 (kern.geom.gate.debug=3D1) and see if it prints anything new on console? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --eHOIV5BfioPmIRHC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFCWieiForvXbEpPzQRAkVyAKCSZdVh9JQ8egfG8TXyJILXBim7MACgj0fH H3WcK00SWkwMzCX+9Zs1rQo= =T2xZ -----END PGP SIGNATURE----- --eHOIV5BfioPmIRHC--