From owner-freebsd-questions Tue Aug 29 0: 6:10 2000 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 75C1D37B422 for ; Tue, 29 Aug 2000 00:06:01 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.9.3/1.13) id KAA13374; Tue, 29 Aug 2000 10:05:42 +0300 (EEST) Date: Tue, 29 Aug 2000 10:05:42 +0300 From: Ruslan Ermilov To: David Goddard Cc: freebsd-questions@FreeBSD.ORG Subject: Re: /boot/loader issue (was Re: Machine-specific errors with top and uemacs) Message-ID: <20000829100542.B12568@sunbay.com> Mail-Followup-To: David Goddard , freebsd-questions@FreeBSD.ORG References: <3.0.3.32.20000820105701.0085f100@dmg.parse.net> <3.0.3.32.20000820105701.0085f100@dmg.parse.net> <20000821123424.C91965@sunbay.com> <3.0.3.32.20000828212409.007ee7e0@dmg.parse.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3.0.3.32.20000828212409.007ee7e0@dmg.parse.net>; from goddard@acm.org on Mon, Aug 28, 2000 at 09:24:09PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Aug 28, 2000 at 09:24:09PM +0100, David Goddard wrote: > Thanks for the response. > > At 12:34 21/08/00 +0300, Ruslan Ermilov wrote: > >On Sun, Aug 20, 2000 at 10:57:01AM +0100, David Goddard wrote: > ... > >> I'm having some problems getting the top utility to run on a particular > >> machine (a self-built PII). > ... > >If you do not use loader(8) on that machine, take a look at PR 17422. > > Spot-on diagnosis of the problem, I think. I don't use loader on that > machine because it isn't working :-( It was on my list of Things To Fix... > After some time spent poring over /boot, various man pages and the > -questions archive, I'm still no closer to solving it. > > When I boot that machine, I get the following error: > > Diskerror 0x1 > No /boot/loader > > The system will then boot if I hit return or simply wait. > > However, I can't see anything visibly wrong (to my untrained eye) with the > /boot setup. This was originally configured by sysinstall when I > originally installed from a 4.0 CD, and didn't work then. > > One thing which may be either relevant or totally not - I tried actually > executing the loader binary (yeah, I know it's not intended for this use) > and got a different error on the broken machine from a working one. On the > broken machine, I got: > > elf% /boot/loader > /boot/loader: Exec format error. Wrong Architecture. > > While on a machine where loader works, I got: > > dmg% /boot/loader > /boot/loader: Exec format error. Binary file not executable. > > Both were compiled from the same source, so I'm not sure why the error > should be different (is it an ELF thing maybe?) > > I'm at a bit of a loss, so any help greatly appreciated... > I am not sure it will help, but try reinstalling your boot blocks. -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message