Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  1 Dec 2000 23:25:06 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        marcel@FreeBSD.ORG
Cc:        alpha@FreeBSD.ORG, obrien@FreeBSD.ORG
Subject:   Re: Somebody broke the linux module on the Alpha.
Message-ID:  <14888.30690.392573.69843@grasshopper.cs.duke.edu>
In-Reply-To: <3A255181.BC65E87@cup.hp.com>
References:  <20001128163140.A43087@dragon.nuxi.com> <14884.23034.111469.296831@grasshopper.cs.duke.edu> <3A245E45.B9CD44F7@cup.hp.com> <14884.24258.132073.308507@grasshopper.cs.duke.edu> <3A24705A.2CD9F280@cup.hp.com> <14885.5631.379928.91236@grasshopper.cs.duke.edu> <3A255181.BC65E87@cup.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Andrew Gallatin writes:
>  The first, last & only time I compiled it
> statically into a kernel, the machine failed to boot claiming that
> /sbin/init was the wrong binary format.

Fixed it!

gallatin    2000/12/01 20:15:17 PST

  Modified files:
    sys/alpha/osf1       imgact_osf1.c
  Log:
  exec_osf1_imgact() should return -1 for non OSF1/ECOFF binaries, it should
  not return ENOEXEC.  This is because image activators should return -1 if they
  don't claim an image. They should return ENOEXEC if they do claim it,
  but cannot load it due to sime problem with the image.   This bug was
  preventing static compilation of the osf/1 module.  I'm surprised it
  did not cause more problems.

  Revision  Changes    Path
  1.3       +2 -2      src/sys/alpha/osf1/imgact_osf1.c


I've added a COMPAT_OSF1 option to the alpha port, so your way is
technically clear to add COMPAT_LINUX.  There are still the dynamic
syscall generation issues to sort out, though..

Drew


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14888.30690.392573.69843>