From owner-cvs-all Thu Sep 13 2:27:11 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id BB61837B40F; Thu, 13 Sep 2001 02:26:56 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8D9Q4838575; Thu, 13 Sep 2001 12:26:04 +0300 (EEST) (envelope-from ru) Date: Thu, 13 Sep 2001 12:26:04 +0300 From: Ruslan Ermilov To: Marcel Moolenaar Cc: Warner Losh , 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> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010913014953.B1403@dhcp01.pn.xcllnt.net>; from marcel@xcllnt.net on Thu, Sep 13, 2001 at 01:49:53AM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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