From owner-freebsd-stable Thu May 6 5:31:48 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mailgrd.orion.no (postkontor.orion.no [194.143.1.101]) by hub.freebsd.org (Postfix) with ESMTP id D7DB514F8F for ; Thu, 6 May 1999 05:31:36 -0700 (PDT) (envelope-from raymond@orion.no) Received: from postkontor.orion.no (unverified [62.92.20.132]) by mailgrd.orion.no (Integralis SMTPRS 2.04) with ESMTP id ; Thu, 06 May 1999 14:32:14 +0200 Received: from foobar.orion.no by postkontor.orion.no with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1460.8) id J865MVKA; Thu, 6 May 1999 14:31:43 +0200 X-Mailer: 21.2 "Clio" XEmacs Lucid (beta12) (via feedmail 8 I); VM 6.67 under 21.2 "Clio" XEmacs Lucid (beta12) From: "Raymond Wiker" MIME-Version: 1.0 Message-Id: <14129.35758.765272.884914@foobar.orion.no> Date: Thu, 6 May 1999 14:31:42 +0200 (CEST) To: freebsd-stable@freebsd.org Subject: Re: Can't boot kernel In-Reply-To: <199905051835.LAA01169@dingo.cdrom.com> References: <199905051835.LAA01169@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith writes: > > Well, I messed up again. :) I tried to install a Solaris emulator that > > involved patching some kernel source files. I re-compiled the kernel, but > > it wouldn't boot. When I tried to boot to it, I got: > > > > elf_loadexec: archsw.readin-failed > > > > I didn't feel like messing with it, so I booted to kernel.old, CVSup'd to > > get the "real" sources, re-compiled it with the good ol' 3.1-STABLE source > > with no patches, and I got the same thing. Just to be safe, I tried it > > one more time. Nothing. > > Rebuild and reinstall the loader; easier just to 'make world'. I had the exact same problem, and in my case, at least, it seems to be because part of the kernel was compiled with egcs (in /usr/local/bin). Anyway, the problem went away when I made sure that /usr/local/bin was last in the path and did a "config -r". The lesson to be learnt from this: there's a difference between "su" and "su -". From now on, I'm going to make damned sure that I use "su -". //Raymond. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message