All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Nasrat <pauln@truemesh.com>
To: Seemanta Dutta <seemanta@recjai.ac.in>
Cc: linux-8086@vger.kernel.org
Subject: Re: elks newbie.....kindly help!!
Date: Sat, 27 Jul 2002 10:02:10 +0100	[thread overview]
Message-ID: <20020727090209.GA32090@raq465.uk2net.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0207271416020.15937-100000@preshak.recjai.ac.in>

On Sat, Jul 27, 2002 at 02:24:29PM +0530, Seemanta Dutta wrote:
> hello to all gurus....
> i am a student and am going to do a seminar on elks ...i have already
> downloaded dev86 and elks disk images and their src...

> the problem is however that of dev86..
> i wrote a 'hello world' program and compiled it in my redhat 7.2 box..the
> compilation was normal and without any errors...but when i try to run my
> a.out file with elksemu i get the following error message-
> 
>              bash: /usr/bin/elksemu: cannot execute binary file
> i have tried searching the net for documentation on this dev86 but there
> was none to be found.....even the man page for elksemu is not
> complete....

It is a bit obfuscated.

> i would be grateful to u if any one could provide me some pointers to
> dev86...and some info abt compliing and running programs using dev86 i.e.
> bcc and eklskemu...urls will be welcome too..

You need to have the modules binfmt_aout and binfmt_misc loaded in your kernel

Then

echo ':i86-elks:M::\x01\x03\x20\x00:\xff\xff\xff\x83:/lib/elksemu:' \
     > /proc/sys/fs/binfmt_misc/register

that'll get it working

Paul

  reply	other threads:[~2002-07-27  9:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20020727072846Z318708-685+18874@vger.kernel.org>
2002-07-27  8:54 ` elks newbie.....kindly help!! Seemanta Dutta
2002-07-27  9:02   ` Paul Nasrat [this message]
2002-07-27  9:18     ` Paul Nasrat
2002-07-27  9:30     ` thanks from elks newbie...!! Seemanta Dutta
2002-07-27  9:37       ` Paul Nasrat
2002-07-30  7:17         ` Seemanta Dutta
2002-07-30  8:17           ` Paul Nasrat
2002-07-31 21:26             ` Dan Olson
2002-07-31 21:53               ` Elks freeze after login Christophe Gimenez
2002-08-01 22:48                 ` Riley Williams
2002-08-02  6:07                   ` Christophe Gimenez
2002-08-02 12:02                     ` Can't compile elksnet Christophe Gimenez
2002-08-02 15:18                     ` Elks freeze after login [machine config] Harry Kalogirou
2002-08-02 16:02                       ` Pat Gilliland
2002-08-02 19:02                       ` Riley Williams
2002-08-03 10:17                         ` Harry Kalogirou
2002-07-30  8:22           ` thanks from elks newbie...!! Javier Sedano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020727090209.GA32090@raq465.uk2net.com \
    --to=pauln@truemesh.com \
    --cc=linux-8086@vger.kernel.org \
    --cc=seemanta@recjai.ac.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.