From owner-freebsd-questions Mon Aug 28 13:23:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from brass.ftech.net (mrtg.ftech.net [195.200.0.119]) by hub.freebsd.org (Postfix) with ESMTP id 389F637B646 for ; Mon, 28 Aug 2000 13:23:30 -0700 (PDT) Received: from logger5.ftech.net ([195.200.0.64] helo=relay1.ftech.net) by brass.ftech.net with esmtp (Exim 3.12.ftech-p6 #2) id 13TVRF-000772-00; Mon, 28 Aug 2000 21:23:25 +0100 Received: from dmg.ftech.co.uk ([195.200.9.208] helo=dmg.parse.net) by relay1.ftech.net with esmtp (Exim 3.16-ftechp6 #1) id 13TVRE-00039p-00; Mon, 28 Aug 2000 21:23:24 +0100 Received: from elf (elf.putney.parse.net [10.0.0.10]) by dmg.parse.net (8.9.3/8.9.3) with SMTP id VAA01576; Mon, 28 Aug 2000 21:23:15 +0100 (BST) (envelope-from goddard@acm.org) Message-Id: <3.0.3.32.20000828212409.007ee7e0@dmg.parse.net> X-Sender: dmg@dmg.parse.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 28 Aug 2000 21:24:09 +0100 To: Ruslan Ermilov From: David Goddard Subject: /boot/loader issue (was Re: Machine-specific errors with top and uemacs) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <20000821123424.C91965@sunbay.com> References: <3.0.3.32.20000820105701.0085f100@dmg.parse.net> <3.0.3.32.20000820105701.0085f100@dmg.parse.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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... Thanks, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message