From owner-freebsd-alpha Fri Dec 1 20:25:10 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 53B5237B400; Fri, 1 Dec 2000 20:25:08 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id XAA27012; Fri, 1 Dec 2000 23:25:07 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.1/8.9.1) id eB24P7606690; Fri, 1 Dec 2000 23:25:07 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 1 Dec 2000 23:25:06 -0500 (EST) To: marcel@FreeBSD.ORG Cc: alpha@FreeBSD.ORG, obrien@FreeBSD.ORG Subject: Re: Somebody broke the linux module on the Alpha. 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> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14888.30690.392573.69843@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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