Date: Tue, 30 Oct 2001 07:31:51 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: alpha@FreeBSD.ORG, Marcel Moolenaar <marcel@xcllnt.net> Subject: Re: Linuxulator MFC candidate for testing Message-ID: <XFMail.011030073151.jhb@FreeBSD.org> In-Reply-To: <15326.48501.165973.930249@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011030073151.jhb>