From owner-freebsd-small Thu May 6 8:11: 0 1999 Delivered-To: freebsd-small@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id BA8D914CBF for ; Thu, 6 May 1999 08:10:56 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com by peach.ocn.ne.jp (8.9.1a/OCN) id AAA13820; Fri, 7 May 1999 00:10:23 +0900 (JST) Message-ID: <3731B055.F4F9C974@newsguy.com> Date: Fri, 07 May 1999 00:08:06 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.51 [en] (Win98; I) X-Accept-Language: pt-BR,ja MIME-Version: 1.0 To: Hoss Firooznia Cc: "M. L. Dodson" , Andrzej Bialecki , freebsd-small@FreeBSD.ORG, Mike Smith Subject: Re: PicoBSD boot error: can't load kernel References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I could have avoided a lot of pain if I were reading my mail... :-) Just to confirm and make it clear to everyone, if the error message says "elf_loadexec: archsw.readin failed", then it's a signal that loader and kernel are mismatched, no doubt about it. Alas, we can track what loader can boot what kernel, but we have no way of verifying this. Maybe I ought to talk to Mike about putting in /kernel an identifier of the lowest loader version that can boot it. Hoss Firooznia wrote: > > On Tue, 4 May 1999, M. L. Dodson wrote: > > > A make world and reboot solved my multiboot problems. So, Hoss, > > if you have the situation I had: a 3.1-RELEASE boot chain, but > > your /usr/src tree was -STABLE, you might suspect the same > > problem I had. > > Yes! This diagnosis was right on target, Bud, thank you. :-) > > I actually wound up identifying the boot loader as a culprit after > installing a recent -STABLE kernel on the PicoBSD build box and finding > that I couldn't boot that kernel, either... doh! Though I may have > complicated matters by making a new boot loader a few days back in an > attempt to solve an earlier problem: I had reverted to 3.1-RELEASE sources > in the hopes of avoiding what I (mistakenly) thought was a problem with > -STABLE, after which I manually reinstalled the older -RELEASE boot loader. > > In any case, reinstalling the loader from -STABLE sources in > /usr/src/sys/boot did the trick. Andrzej, I notice that the stage3 > build script is getting the floppy's loader from /boot/loader (if I'm > reading the script correctly). What do you think about changing it > to build from source rather than relying on the installed version? > > Thanks again to all for the valuable help! > > - Hoss > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org "Proof of Trotsky's farsightedness if that _none_ of his predictions have come true yet." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message