From owner-freebsd-emulation Wed Jul 30 14:09:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA03758 for emulation-outgoing; Wed, 30 Jul 1997 14:09:20 -0700 (PDT) Received: from sumatra.americantv.com (sumatra.americantv.com [207.170.17.37]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA03750 for ; Wed, 30 Jul 1997 14:09:08 -0700 (PDT) Received: from right.PCS (right.PCS [148.105.10.31]) by sumatra.americantv.com (8.8.5/8.8.5) with ESMTP id QAA10211; Wed, 30 Jul 1997 16:13:36 -0500 (CDT) Received: (jlemon@localhost) by right.PCS (8.6.13/8.6.4) id QAA00248; Wed, 30 Jul 1997 16:09:59 -0500 Message-ID: <19970730160958.07798@right.PCS> Date: Wed, 30 Jul 1997 16:09:58 -0500 From: Jonathan Lemon To: stephen farrell Cc: emulation@FreeBSD.ORG Subject: Re: linux jdk (v1.1.1-v3 and v1.1.3-pre-v1) on 2.2-STABLE/2.2.2 References: <199707301349.IAA02374@phaedrus.uchicago.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.61.1 In-Reply-To: <199707301349.IAA02374@phaedrus.uchicago.edu>; from stephen farrell on Jul 07, 1997 at 08:49:41AM -0500 Sender: owner-freebsd-emulation@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Jul 07, 1997 at 08:49:41AM -0500, stephen farrell wrote: > However, it is not 100%, because it seems susceptible to hanging. Top > says that it's in the "pause" state. Ktrace gives output > (indefinitely) like: > > http://www.farrell.org/stephen_paul/trace.html This ktrace shows that syscalls are being made to mincore(). Now, I'm admittedly not familiar with the linux emulation code, but I don't think that mincore() is a linux syscall, at least it isn't listed in the linux syscalls.master file. However, under BSD, the syscall number for mincore() is 78, while under linux, gettimeofday() == 78. gettimeofday() appears to be a more likely syscall than mincore(). It almost appears that somehow this process has 'forgotten' that it is an emulated linux process, and is calling the native BSD routines directly. Would this make any sense? I wouldn't know where to look, but maybe someone else would. :-) -- Jonathan