Subject: Re: More progress
To: Ian Fry <Ian.Fry@sophos.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm26
Date: 11/23/2001 12:53:23
On Fri, 23 Nov 2001, Ian Fry wrote:

> (I managed to trash the RISC OS partition
> in doing so, however :-( ) Where does the NetBSD disklabel get written to
> when you have a disk that is split between NetBSD and RISC OS? I'm sure I ran
> bb_netbsd after creating a smaller RISC OS partition on the disk. I'm going
> to retry this over the weekend - it's likely that I missed a step.

I have a feeling there may be something behaving less than wonderfully
there.  I've certainly had problems with disklabel(8) writing labels other
than where the kernel expected to find them.

> I still need to boot single user and enable swap in order to get the machine
> to boot in a sensible amount of time, though.

If you don't have it already, you should add "rc_fast_and_loose=YES" to
/etc/rc.conf.  This stops /etc/rc spawning quite so many shells.

> I've found a small problem with boot26 - if booting from a floppy (which I
> currently have to, due to the lack of RISC OS partition on the hard disk),
> the floppy light stays on after the kernel has been loaded from the floppy.

This isn't so much a bug in boot26 as in RISC OS.  When you ask ADFS to
shut down (and even send it Service_PreReset), it seems not to turn off
the floppy-drive motor.  Either boot26 needs to have some magic to turn
off the motor or the kernel needs support for the FDC.  Personally, I'd go
for the former, since that means that kernels with FDC support compiled
out won't have the problem.

> Also, the module version of boot26 doesn't seem to get built as part of a
> 'make build' (cross building from my i386 1.5.2 machine).

Index: Makefile.buildboot
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/arm26/stand/Makefile.buildboot,v
retrieving revision 1.5
diff -u -r1.5 Makefile.buildboot
--- Makefile.buildboot  2001/09/22 03:34:18     1.5
+++ Makefile.buildboot  2001/11/23 12:42:13
@@ -58,7 +58,7 @@
 ${PROG},${RISCOSTYPE}: ${PROG}
 	${OBJCOPY} --output-target=binary ${.ALLSRC} ${.TARGET}

-all: ${PROG},${RISCOSTYPE}
+realall: ${PROG},${RISCOSTYPE}

 CLEANFILES+=	${PROG},${RISCOSTYPE}
 FILES+=		${PROG},${RISCOSTYPE}


-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>