public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
From: Harry Kalogirou <harkal@gmx.net>
To: Stefan de Konink <skinkie@kinkrsoftware.xs4all.nl>
Cc: Linux-8086 <linux-8086@vger.kernel.org>
Subject: Re: ELKS not runnable.... (other thing)
Date: 17 May 2002 22:40:43 +0300	[thread overview]
Message-ID: <1021664441.21840.21.camel@cool> (raw)
In-Reply-To: <Pine.LNX.4.33.0205172212470.285-100000@kinkrsoftware.xs4all.nl>

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

Την Παρ, 17-05-2002 στις 23:15, ο/η Stefan de Konink έγραψε:
> When after loading the init and setting op the httpd deamon with the
> comb_net (0.1.0) image. I get a login prompt. When i type root followed
> with enter, the system loads, but doesn't show a prompt.
> 
> What can I do about this? (or is this the same bug as everybody is bugging
> about)
> 

No, this is a bug I found a couple of days ago. The fix is included in
the latest kernel in the CVS(but that has other problems now :( ). If
you apply the attached patch to the 0.1.0 source you will be ok. 

This bug affects "ash", so with an unpatched kernel you have to use
"sash" by editing the /etc/passwd file.

I was going to release some new precompiled kernels with the
patch(0.1.1) but this _unrunnability_ mess came up ... :(

Harry




[-- Attachment #2: exec.patch --]
[-- Type: text/plain, Size: 464 bytes --]

--- /tmp/elks/fs/exec.c	Mon Apr 29 03:02:28 2002
+++ fs/exec.c	Fri May 17 15:14:34 2002
@@ -266,16 +266,8 @@
      */
 
     ptr = ((char *) mh.dseg) + stack_top;
-    count = mh.bseg;
-    while (count) {
-	pokeb(dseg, ptr++, 0);
-	count--;
-    }
-    /* fmemset should work, but doesn't */
 
-#if 0
-    fmemset(ptr, dseg, 0, count);
-#endif
+    fmemset((char *)mh.dseg + stack_top, dseg, 0, mh.bseg);
 
     /*
      *      Copy the stack

  reply	other threads:[~2002-05-17 19:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-15 17:31 ELKS not runnable.... (once again) Harry Kalogirou
2002-05-15 18:46 ` pauln
2002-05-15 19:30   ` Harry Kalogirou
2002-05-17 20:15     ` ELKS not runnable.... (other thing) Stefan de Konink
2002-05-17 19:40       ` Harry Kalogirou [this message]
2002-05-15 21:25 ` ELKS not runnable.... (once again) Riley Williams
2002-05-15 23:11 ` Riley Williams
2002-05-16  9:40   ` Riley Williams
2002-05-16 21:53     ` Harry Kalogirou
2002-05-16 22:42       ` Riley Williams
2002-05-16 22:47         ` Dan Olson
2002-05-17 14:10         ` Harry Kalogirou
2002-05-17 17:59           ` Riley Williams
2002-05-17 19:28             ` Harry Kalogirou
2002-05-16  9:52   ` Harry Kalogirou

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=1021664441.21840.21.camel@cool \
    --to=harkal@gmx.net \
    --cc=linux-8086@vger.kernel.org \
    --cc=skinkie@kinkrsoftware.xs4all.nl \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox