Date: Fri, 25 Sep 1998 10:37:31 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: "Kenneth D. Merry" <ken@plutotech.com> Cc: freebsd-alpha@FreeBSD.ORG, imp@pluto.plutotech.com, gibbs@pluto.plutotech.com Subject: Re: installing bootblocks... Message-ID: <Pine.BSF.4.01.9809251032310.845-100000@herring.nlsystems.com> In-Reply-To: <199809250134.TAA02254@panzer.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Sep 1998, Kenneth D. Merry wrote: > > I know I'm doing something stupid here, but I'm just not quite sure what. :) > > I've got a Miata with two disks, and I've pretty much got FreeBSD up and > running on the second disk. > > % uname -a > FreeBSD subway.plutotech.com 3.0-BETA FreeBSD 3.0-BETA #1: Thu Sep 24 16:44:04 MDT 1998 root@subway.plutotech.com:/usr/src/sys/compile/subway alpha > > The problem is, the only way I've been able to boot the thing so far is by > netbooting. (there were a number of tricks to figure out, but it does > work) > > I compiled the bootblocks in sys/boot/alpha (had to hack the include paths > and such), and installed them in /usr/mdec. > > Then I did: > > disklabel -B da1 > > /boot has the right files, I think: > > % ls -la /boot > total 356 > drwxrwxr-x 2 root wheel 512 Sep 24 19:06 . > drwxr-xr-x 19 root wheel 512 Sep 24 18:06 .. > -r-xr-xr-x 1 root wheel 6512 Sep 24 19:06 boot1 > -r-xr-xr-x 1 root wheel 6512 Sep 19 17:08 boot1.old > -r-xr-xr-x 1 root wheel 82432 Sep 24 19:11 boot2 > -r-xr-xr-x 1 root wheel 82232 Sep 19 17:07 boot2.old > > I've tried to boot off the disk by typing this at the console prompt: > > >>> boot -flags 'a' dkc100 > > And here's what I get: (typed in by hand, excuse any typos) > > >>>boot -flags 'a' dkc100 > (boot dkc100.1.0.1009.0 -flags a) > block 0 of dkc100.1.0.1009 is a valid boot block > reading 13 blocks from dkc100.1.0.1009.0 > bootstrap code read in > base = 14e000, image start = 0, image bytes = 1a00 > initializing HWRPB at 2000 > initializing page table at 140000 > initializing machine state > setting affinity to the primary CPU > jumping to bootstrap code > > > And it just hangs there. Anyone have an idea of what I'm doing wrong? It seems to be hanging in boot1 somewhere. Could you try instrumenting boot1 by inserting a few puts() statements into it. Be gentle with it - it has to fit in 7.5k and printf puts it over the limit. My best trick for debugging it was to scatter calls to halt() around the code and see how far it got before it halted. If it works right, it should just twiddle() a few times while it loads the second stage then jump to it. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9809251032310.845-100000>