Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 09:30:42 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Daniel Eriksson <daniel_k_eriksson@telia.com>
Cc:        'FreeBSD Current' <freebsd-current@freebsd.org>
Subject:   Re: ggate and mmap, possible problem?
Message-ID:  <20050411073042.GI837@darkness.comp.waw.pl>
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAUjVS%2BOSdfk6HdP3/8g9ZQAEAAAAA@telia.com>
References:  <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA0VcX9IoJqUaXPS8MjT1PdsKAAAAQAAAAUjVS%2BOSdfk6HdP3/8g9ZQAEAAAAA@telia.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Apr 11, 2005 at 04:49:16AM +0200, Daniel Eriksson wrote:
+> 
+> Hi! Is it possible that there is some sort of problem using mmap on a (UFS2)
+> filesystem mounted over ggate?
+> 
+> I keep getting errors on the console when I enable mmap on a server running
+> a proprietary video server application (which is a binary compiled on FBSD
+> 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).
+> 
+> The errors look like this:
+> 
+> g_vfs_done():ggate0[READ(offset=-1009882480640, length=65536)]error = 5
+> vnode_pager_getpages: I/O read error
+> vm_fault: pager read error, pid 1527 (mcvidserv)
+> 
+> 
+> This could certainly be a problem in the proprietary server, but I thought
+> 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=1) and see if
it prints anything new on console?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCWieiForvXbEpPzQRAkVyAKCSZdVh9JQ8egfG8TXyJILXBim7MACgj0fH
H3WcK00SWkwMzCX+9Zs1rQo=
=T2xZ
-----END PGP SIGNATURE-----
help

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