Date: Thu, 13 Sep 2001 12:26:04 +0300 From: Ruslan Ermilov <ru@FreeBSD.org> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: Warner Losh <imp@harmony.village.org>, kato@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: hw.machine vs hw.machine_arch (was: Re: cvs commit: src/sbin/reboot Makefile) Message-ID: <20010913122604.A35618@sunbay.com> In-Reply-To: <20010913014953.B1403@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Thu, Sep 13, 2001 at 01:49:53AM -0700 References: <20010913091043.C10963@sunbay.com> <200109122216.f8CMGLt43250@harmony.village.org> <20010912134640.A639@dhcp01.pn.xcllnt.net> <200109121221.f8CCL9q93334@freefall.freebsd.org> <200109122216.f8CMGLt43250@harmony.village.org> <200109122218.f8CMIst43283@harmony.village.org> <200109130617.f8D6Hit95540@harmony.village.org> <20010913014953.B1403@dhcp01.pn.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 13, 2001 at 01:49:53AM -0700, Marcel Moolenaar wrote:
> On Thu, Sep 13, 2001 at 12:17:44AM -0600, Warner Losh wrote:
> >
> > hw.machine has traditionally been ${MACHINE_ARCH} on FreeBSD/i386,
> > FreeBSD/alpha and FreeBSD/pc98. I don't know what hw.machine_arch is
> > for, and don't recall seeing it before now. :-)
>
> It was committed 3 years ago (kern_mib.c -r1.16). The commit log
> doesn't say much, but there may have been a discussion on one
> of the mailinglists.
>
> I can only speculate ATM, but the only logical explanation I can
> think of is that hw.machine would then mean processor type (class)
> (ie i486, i586, ev4, ev5 etc), in the same way as CPU_TYPE.
>
OK, got it. But.
It is my understanding that PC98's use different technique to boot
from what is described in boot_i386.8. We are building special
versions of boot0 and boot2 for PC98 (see sys/boot/Makefile).
Since boot_i386.8 in fact describes boot2, can anyone tell me does
it fits the PC98's boot2? A quick glance at the code gives at
least one difference. On i386, boot prompt looks like
FreeBSD/i386 BOOT
as documented in boot_i386.8. On PC98, it should look like
FreeBSD BOOT
Unless I'm wrong, boot_i386.8 isn't applicable to PC98's,
and shouldn't be linked to boot.8 for PC98. Please correct
me if I'm wrong.
Cheers,
--
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 cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010913122604.A35618>
