From owner-freebsd-alpha Mon Apr 24 19:48:46 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from web2003.mail.yahoo.com (web2003.mail.yahoo.com [128.11.68.203]) by hub.freebsd.org (Postfix) with SMTP id 589B237BD29 for ; Mon, 24 Apr 2000 19:48:41 -0700 (PDT) (envelope-from kbagel@yahoo.com) Received: (qmail 20090 invoked by uid 60001); 25 Apr 2000 02:48:37 -0000 Message-ID: <20000425024837.20089.qmail@web2003.mail.yahoo.com> Received: from [132.170.41.141] by web2003.mail.yahoo.com; Mon, 24 Apr 2000 19:48:37 PDT Date: Mon, 24 Apr 2000 19:48:37 -0700 (PDT) From: GReg meno Subject: Re: Does linux emulation work in 4.0 ? To: Andrew Gallatin Cc: freebsd-alpha@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --- Andrew Gallatin wrote: > > GReg meno writes: > > I had FreeBSD 4.0-CURRENT installed a little > while ago > > > > but went back to linux because. linux emulation > did > > not seem to be there( some programs I can't live > > without). > > Are there plans for this in the near future, I'd > love > > to help as my spring semester in college is > almost out > > and I can now take to doing things that aren't > school. > > > > TIA > > Greg Meno > > > > I started it, and then ran out of time, I'll > probably get back to it > later this spring, or early summer. You can get > what I've done from: > > o > http://www.freebsd.org/~gallatin/linux-alpha.diff.gz > o > http://www.freebsd.org/~gallatin/linux-alpha.tar.gz > > The diff is diffs to the kernel module build > directory and > sys/i386/linux to support alpha. The tar file is > sys/alpha/linux. > This was done in mid-late March against a > pre-release 4.0. It should > apply to 4.0-RELEASE w/o too much effort. > > You'll need to pull linux-base version 5.2 out of > CVS to do anything > useful. I'm using 5.2 for two reasons: > > One, I'd like to be able to run em86 -- the fx!32 > equiv for > Linux/alpha that allows running Linux/i386 binaries > like Acroread. > This supposedly only works with 5.2. It doesn't > work yet under > emulation. The x86 app makes about 4 system calls & > segvs. Sigh. em86 has been something of a problem in alpha/linux land, I really don't think it's very useful right now. I think some are still working on making it work with the new glibc. You should be able to run Acroread through DU/OSF1/Tru64 emulation. It works well this way in linux. > > I'm also using 5.2 because of a really bizzare > problem I'm having. > For some reason, when a linux signal handler > returns, it calls #344 & > then exits rather than calling #103 (#103 is their > sigreturn too, > because it is osf's). I'm using our sigcode.. This > has me totally > stumped. I'm looking for help here. > > Rather than tracking it down, I've changed #344 > (linux_getresgid) to > call sigreturn(). This means we cannot run any RH > 6.1 until this is > tracked down. > > If you make any progress, please let me know. I should get sometime to look at it around wednesday. Thanks Greg meno > > Cheers, > > Drew > > ------------------------------------------------------------------------------ > Andrew Gallatin, Sr Systems Programmer > http://www.cs.duke.edu/~gallatin > Duke University Email: gallatin@cs.duke.edu > Department of Computer Science Phone: (919) > 660-6590 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the > message > __________________________________________________ Do You Yahoo!? Send online invitations with Yahoo! Invites. http://invites.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message