Subject: RAIDframe support for NetBSD-amd64 bootfloppy
To: None <current-users@NetBSD.org, port-amd64@NetBSD.org>
From: Matthias Scheler <tron@zhadum.org.uk>
List: port-amd64
Date: 02/01/2007 17:34:10
Hello,
I'm current looking into PR port-amd64/35532 which is about the lack of
RAIDframe support in NetBSD-amd64 4.0_BETA2 INSTALL media.
Fixing it should only require pulling up these two changes:
http://mail-index.netbsd.org/source-changes/2007/01/14/0031.html
http://mail-index.netbsd.org/source-changes/2007/01/17/0024.html
That does however cause an overflow of the bootfloppy:
===> build.sh command: ./build.sh -u -j 2 -U -O /home/tron/obj -m amd64 release
===> build.sh started: Thu Feb 1 17:07:26 GMT 2007
===> HOST_SH: /bin/sh
===> No nonexistent/bin/nbmake, needs building.
===> Bootstrapping nbmake
[...]
--- all-bootfloppy-big ---
all ===> etc/amd64/floppies/bootfloppy-big
--- netbsd ---
# create bootfloppy-big/netbsd (from: /home/tron/obj/distrib/amd64/instkernel/netbsd-INSTALL.gz)
gunzip -c /home/tron/obj/distrib/amd64/instkernel/netbsd-INSTALL.gz > netbsd.tmp
/home/tron/obj/tooldir.NetBSD-3.1-i386/bin/x86_64--netbsd-strip -R .comment -R .ident netbsd.tmp
gzip -9c netbsd.tmp > netbsd; rm -f netbsd.tmp
--- all-bootfloppy ---
--- boot1.fs ---
# create bootfloppy/boot1.fs (from: boot netbsd)
PAX=/home/tron/obj/tooldir.NetBSD-3.1-i386/bin/nbpax /bin/sh /export/source/NetBSD-releng/4/src/distrib/common/buildfloppies.sh -i "/home/tron/obj/tooldir.NetBSD-3.1-i386/bin/nbinstallboot -mamd64 @IMAGE@ /home/tron/obj/destdir.amd64/usr/mdec/bootxx_ustarfs" -m 2 -s .fs boot 2880 boot netbsd
Running instboot: /home/tron/obj/tooldir.NetBSD-3.1-i386/bin/nbinstallboot -mamd64 floppy.9087.tar /home/tron/obj/destdir.amd64/usr/mdec/bootxx_ustarfs
Free space in last tar block: boot 300, netbsd 269,
buildfloppies.sh: Image is 2317 bytes (2 KB) too big to fit on 2 disks
*** [boot1.fs] Error code 1
1 error
This does however not happen when I build NetBSD-current. I've checked
for difference between "src/sys/arch/amd64/conf/INSTALL" in both
branches but there none. Any ideas which change might be missing
in "netbsd-4"?
Kind regards
--
Matthias Scheler http://zhadum.org.uk/