From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 8 04:06:51 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C6AF16A403; Wed, 8 Nov 2006 04:06:51 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from velocity08.velocity-servers.net (fa.8d.1243.static.theplanet.com [67.18.141.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0808543D45; Wed, 8 Nov 2006 04:06:50 +0000 (GMT) (envelope-from gary@velocity-servers.net) Received: from pool-71-168-55-108.hag.east.verizon.net ([71.168.55.108] helo=orion-7d8713c59.velocity-servers.net) by velocity08.velocity-servers.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GheiX-0004Ys-M4; Tue, 07 Nov 2006 22:07:13 -0600 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.7 (Beta) Date: Tue, 07 Nov 2006 23:06:46 -0500 To: Dan Nelson , Alexander Leidinger From: Gary In-Reply-To: <20061106210245.GA38327@dan.emsphone.com> References: <20061106064944.DAE202E1AB@redbull.bpaserver.net> <20061106104947.wcfc6bvqgoogccss@webmail.leidinger.net> <20061106210245.GA38327@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - velocity08.velocity-servers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - velocity-servers.net X-Source: X-Source-Args: X-Source-Dir: Message-Id: <20061108040650.0808543D45@mx1.FreeBSD.org> Cc: emulation@freebsd.org Subject: Re: linux emulation problem on releng6/7 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: Wed, 08 Nov 2006 04:06:51 -0000 At 04:02 PM 11/6/2006, Dan Nelson wrote: >In the last episode (Nov 06), Alexander Leidinger said: > > Quoting Gary (from Mon, 06 Nov 2006 > > 01:49:23 -0500): > > > > Redirecting to emulation@, ENOTIME until the weekend on my side ATM... > > > > Bye, > > Alexander. > > > > >With VALVe's Counter-Strike Source server, I noticed some strange > > >cpu usage readings (among other things) > > > > > >ktrace: > > > > > > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > > > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > >Running linux_kdump would give you more useful output here. Errno 11 >on Linux is EAGAIN, and syscall 102 is socketcall. Call #5 is >SYS_ACCEPT, so it looks like it's trying to accept() a connection on a >listening socket with no pending connections. > >-- > Dan Nelson > dnelson@allantgroup.com Here's with linux_kdump: 658 srcds_amd CALL gettimeofday(0xbfbfc5d0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL linux_socketcall(0x5,0xbfbfb4d0) 658 srcds_amd RET linux_socketcall -1 errno 11 Resource deadlock avoided 658 srcds_amd CALL gettimeofday(0xbfbfc5e0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL gettimeofday(0xbfbfc5b0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL linux_socketcall(0xc,0xbfbe4d40) 658 srcds_amd RET linux_socketcall -1 errno 11 Resource deadlock avoided 658 srcds_amd CALL gettimeofday(0xbfbfb4c0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL gettimeofday(0xbfbfc590,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL gettimeofday(0xbfbfc5b0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL nanosleep(0xbfbfc830,0) 658 srcds_amd RET nanosleep 0 658 srcds_amd CALL linux_select(0x1,0xbfbfc670,0,0,0xbfbfc5e8) 658 srcds_amd RET linux_select 1 Strange, though, is linux_socketcall() the culprit for the strange error, or is it something else?