From owner-freebsd-stable Tue Apr 17 5:26:39 2001 Delivered-To: freebsd-stable@freebsd.org Received: from atlantis.homeip.net (d110240.upc-d.chello.nl [213.46.110.240]) by hub.freebsd.org (Postfix) with SMTP id 57DF137B422 for ; Tue, 17 Apr 2001 05:26:34 -0700 (PDT) (envelope-from wvengen@stack.nl) Received: (qmail 66753 invoked from network); 17 Apr 2001 12:27:00 -0000 Received: from unknown (HELO stack.nl) (192.168.1.4) by d110240.upc-d.chello.nl with SMTP; 17 Apr 2001 12:27:00 -0000 Message-ID: <3ADC360F.7193CD80@stack.nl> Date: Tue, 17 Apr 2001 14:24:47 +0200 From: Willem van Engen X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: SVR4 fix Content-Type: multipart/mixed; boundary="------------D014234CA65861EC662D9A59" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------D014234CA65861EC662D9A59 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The svr4 emulation modules (streams.ko and svr4.ko) load corretly, but when an SVR4-branded binary is run, ELF Binary type "0" not known Abort trap is displayed. The attached patch (to be applied in /usr/src/sys) solves this. Maybe someone can use it. - Willem van Engen --------------D014234CA65861EC662D9A59 Content-Type: text/plain; charset=us-ascii; name="svr4_patch.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="svr4_patch.diff" --- /tmp/svr4_sysvec.c Tue Apr 17 12:14:52 2001 +++ svr4/svr4_sysvec.c Tue Apr 17 12:08:15 2001 @@ -185,6 +185,7 @@ }; Elf32_Brandinfo svr4_brand = { + ELFOSABI_SYSV, "SVR4", "/compat/svr4", "/lib/libc.so.1", --------------D014234CA65861EC662D9A59-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message