From owner-freebsd-questions Thu Jul 25 3:19: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1BE537B400 for ; Thu, 25 Jul 2002 03:18:58 -0700 (PDT) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6140143E31 for ; Thu, 25 Jul 2002 03:18:58 -0700 (PDT) (envelope-from jud@myrealbox.com) Received: from dialup-67.28.73.27.dial1.philadelphia1.level3.net ([67.28.73.27] helo=sparky) by albatross.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 17Xfhu-0000QB-00; Thu, 25 Jul 2002 03:18:54 -0700 From: Jud To: Eric Dedrick , Dan Nelson Cc: Adam Weinberger , freebsd-questions@FreeBSD.ORG Date: Thu, 25 Jul 2002 06:19:16 -0400 X-Priority: 3 (Normal) In-Reply-To: <20020725044949.GD68693@dan.emsphone.com> Message-Id: Subject: Re: linux compatability broken MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Mailer: Opera 6.04 build 1135 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 7/25/2002 12:49:49 AM, Dan Nelson wrote: >In the last episode (Jul 24), Eric Dedrick said: >> Okay, we got it. I had to run linux_base-6 and *not* any type of >> linux_base (7.1) whatsoever. >> >> Since it would appear that running linux_base-6 and linux_base(7.1) are >> mutually exclusive (after all, they run non-compatable versions of glibc), >> here's a question: I have some software I can't upgrade (proprietary) >> that requires linux_base-6. If I install linux software from the ports, >> is it going to require linux_base 7.1? > >You should be able to install both ports at once. > >> Here was the hangup: In order to install linux_base-6, svr4.ko had to be >> unloaded from the kernel. Once linux_base-6 was installed, svr4.ko could >> be loaded again and things still worked just fine. At least that's what I >> think the solution was. >> >> At any rate, I can run my linux binaries now, though I am still somewhat >> dis-satisfied. Why do things break under 7.1 and not 6? > >Dunno. It looks like all your linux binaries got branded to the wrong >type (svr4 instead of Linux), so the svr4 layer grabbed them first if >it was loaded. Try this: > >find /compat/linux -type f -perm +a+x -ls | xargs brandelf -t Linux > >, which should rebrand all the Linux binaries to Linux. It shouldn't >be necessary though. > >-- > Dan Nelson > dnelson@allantgroup.com I changed from 6 to 7.1 when -STABLE did using portupgrade, and managed not to break anything in the system, including Opera and Acrobat5. Don't know whether it was just dumb luck, but as a general cure for running two versions of any port, especially linux_base, I tend to favor it. Jud To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message