From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 13 14:39:34 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A04E16A417 for ; Thu, 13 Sep 2007 14:39:34 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id A3A5A13C442 for ; Thu, 13 Sep 2007 14:39:33 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1IVpqt-000IgG-6t; Thu, 13 Sep 2007 18:39:31 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IVps8-0002Lt-Aa; Thu, 13 Sep 2007 18:40:48 +0400 To: sam References: <46CB0EBF.9000601@gmail.com> <200708220136.20703.pieter@degoeje.nl> <20070822081020.GA16860@freebsd.org> <46CBF03C.4060301@gmail.com> <20070822102906.GB1181@turion.vk2pj.dyndns.org> <46CC123A.3090406@moneybookers.com> <46CDA27F.1080501@gmail.com> <46CDC02F.3060504@gmail.com> <20070824105218.e350dapvcwkk0csc@webmail.leidinger.net> <46D29467.5060801@gmail.com> <20070827125213.kyujada20owwkccs@webmail.leidinger.net> <46D2D64F.3090002@gmail.com> <20070827160406.tp7hsmvig4cgo4c4@webmail.leidinger.net> <46D2E3DC.9020406@gmail.com> <20070829172647.w1533nwc0sgkkcsw@webmail.leidinger.net> <46E8C3F0.4000400@gmail.com> <97026631@srv.sem.ipt.ru> <45189242@srv.sem.ipt.ru> From: Boris Samorodov Date: Thu, 13 Sep 2007 18:40:48 +0400 In-Reply-To: <45189242@srv.sem.ipt.ru> (Boris Samorodov's message of "Thu\, 13 Sep 2007 16\:39\:49 +0400") Message-ID: <07746447@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: linuxolator problem on i386 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2007 14:39:34 -0000 On Thu, 13 Sep 2007 16:39:49 +0400 Boris Samorodov wrote: > Just to note once more, that is for CURRENT and > linux_base-fc6/2.6.16: > > Here is the relevant kdump: > > ftp://ftp.ipt.ru/pub/linux/hldc.kdump.txt > And the corresponding dump for linux_base-fc4/2.6.16 (which works > fine): > ftp://ftp.ipt.ru/pub/linux/fc4.dump.txt > You may easily notice the difference if open those urls at two tabs > within your brouser. ;-) Some more info. If cstrike/sound/weapons is moved (ex. renamed) the server loads fine. I've done an RTFS and seen that linux_getdents and linux_getdents64 use different data structures. Linux_base-fc4 uses linux_getdents64 here and succeeds while linux_base-fc6 quite the opposite. The directory cstrike/sound/weapons is the largest (165 files), other directories are way smaller. Seems that linux_getdents() get something like buffer overflow or else. BTW, why does linux_base-fc6 uses linux_getdents everywhere while linux_base-fc4 uses linux_getdents64? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve