From owner-freebsd-alpha Tue Oct 30 7:32: 7 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id C3C7637B40A for ; Tue, 30 Oct 2001 07:31:52 -0800 (PST) Received: (qmail 97511 invoked from network); 30 Oct 2001 15:31:52 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 30 Oct 2001 15:31:52 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15326.48501.165973.930249@grasshopper.cs.duke.edu> Date: Tue, 30 Oct 2001 07:31:51 -0800 (PST) From: John Baldwin To: Andrew Gallatin Subject: Re: Linuxulator MFC candidate for testing Cc: alpha@FreeBSD.ORG, Marcel Moolenaar Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 30-Oct-01 Andrew Gallatin wrote: > > Marcel Moolenaar writes: > > > > The one thing that comes to mind is linux_clone. If the cloning > > doesn't work right, there's no process to deliver a signal. > > > > Can you test with the changes to linux_clone reverted? > > We have a winner. If I revert all of the meaningful changes to > linux_clone, things still work. Reverting just the > 'Make this runnable after we are finished with it' changes: > > /* > * Make this runnable after we are finished with it. > */ > p2->p_stat = SRUN; > setrunqueue(p2); > > p->p_retval[0] = p2->p_pid; > p->p_retval[1] = 0; > > lead to the jvm seg-faulting. Going back to rfork/pfind from fork1 > leads to a runnable jvm. That should probably only be done on -current as it is only a race condition on -current. In -stable the kernel isn't preemptive, so it's safe to not do that. > Hmm.. something appears to be hosed about whoami: > > <9:32am>monet/gallatin:/tmp>whoami > gallatin > <9:32am>monet/gallatin:/tmp>/compat/linux/usr/bin/whoami > root > > > This worked fine pre-patch & ktrace's look identical. > I'm about out of time for now... > > > Drew -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message