Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 21:24:09 +0100
From:      David Goddard <goddard@acm.org>
To:        Ruslan Ermilov <ru@sunbay.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   /boot/loader issue (was Re: Machine-specific errors with top and uemacs)
Message-ID:  <3.0.3.32.20000828212409.007ee7e0@dmg.parse.net>
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>

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




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