From owner-freebsd-hackers Thu Dec 4 07:15:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA27976 for hackers-outgoing; Thu, 4 Dec 1997 07:15:03 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA27969 for ; Thu, 4 Dec 1997 07:15:00 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA20679; Thu, 4 Dec 1997 14:29:47 +0100 From: Luigi Rizzo Message-Id: <199712041329.OAA20679@labinfo.iet.unipi.it> Subject: ELF and linux emulator problem... To: hackers@freebsd.org Date: Thu, 4 Dec 1997 14:29:47 +0100 (MET) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk While was trying the linux (ELF) demo of mathematica, it was giving me the following message on startup: # ./mathematica ELF binary type not known Abort trap I have the linux_mod.o installed: prova# modstat Type Id Off Loadaddr Size Info Rev Module Name MISC 0 0 f72c3000 0008 f72c4000 1 star_saver_mod EXEC 1 4 f72ea000 001c f72f0010 1 linux_mod and I can successfully run rvplayer 5.0 (linux version) which is an ELF binary as well. Running "file" on both programs gives the same answer: prova# file rvplayer rvplayer: ELF 32-bit LSB executable, Intel 80386, version 1 So I am wondering where the error message comes from. Either there are different versions/types of ELF files, or there is some of the exec* calls which is not aware of the presence of the linux emulator ? This is on a 2.2.1 system. Thanks Luigi -----------------------------+-------------------------------------- Luigi Rizzo | Dip. di Ingegneria dell'Informazione email: luigi@iet.unipi.it | Universita' di Pisa tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ _____________________________|______________________________________