Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 14:31:42 +0200 (CEST)
From:      "Raymond Wiker" <raymond@orion.no>
To:        freebsd-stable@freebsd.org
Subject:   Re: Can't boot kernel 
Message-ID:  <14129.35758.765272.884914@foobar.orion.no>
In-Reply-To: <199905051835.LAA01169@dingo.cdrom.com>
References:  <Pine.BSF.4.10.9905042014230.258-100000@aries.postnet.com> <199905051835.LAA01169@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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