NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-powerpc/40421: Files required to build rs6000 release
>Number: 40421
>Category: port-powerpc
>Synopsis: Files required to build rs6000 release
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-powerpc-maintainer
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Sat Jan 17 14:20:01 +0000 2009
>Originator: Wojciech Galazka
>Release: NetBSD 4.0_RC5 macppc
>Organization:
none
>Environment:
not able to boot to a single user mode yet on rs6000
>Description:
Hi,
Enclosed is a shar archive packed with files necessary to run
build.sh -m r6000 release
Most of the files were copied and later modified based on respective hp700 files
The two files
src/distrib/utils/sysinst/Makefile
src/sys/arch/rs6000/conf/GENERIC
are already present in the source tree and were modified.
Since this work is based on files already present i do not claim any rights
and the first line in each files were changed merely to track file changes
more easily.
This is still work in progres yet I hope this will trigger more interest
in the rs6000 port once a release package becomes available.
>How-To-Repeat:
obce the files are installed
./build.sh -O ../obj.rs6000 -T ../tools -X ../xsrc -N1 -j3 -U -u -x -m rs6000
release
produces a release
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./src
# ./src/distrib
# ./src/distrib/notes
# ./src/distrib/notes/rs6000
# ./src/distrib/notes/rs6000/hardware
# ./src/distrib/notes/rs6000/install
# ./src/distrib/notes/rs6000/legal
# ./src/distrib/notes/rs6000/Makefile
# ./src/distrib/notes/rs6000/prep
# ./src/distrib/notes/rs6000/upgrade
# ./src/distrib/notes/rs6000/xfer
# ./src/distrib/rs6000
# ./src/distrib/rs6000/ramdisk
# ./src/distrib/rs6000/ramdisk/disktab.preinstall
# ./src/distrib/rs6000/ramdisk/dot.profile
# ./src/distrib/rs6000/ramdisk/list
# ./src/distrib/rs6000/ramdisk/list.inet6
# ./src/distrib/rs6000/ramdisk/Makefile
# ./src/distrib/rs6000/ramdisk/termcap.src
# ./src/distrib/rs6000/sysnbsd
# ./src/distrib/rs6000/sysnbsd/Makefile
# ./src/distrib/rs6000/Makefile
# ./src/distrib/sets
# ./src/distrib/sets/lists
# ./src/distrib/sets/lists/base
# ./src/distrib/sets/lists/base/md.rs6000
# ./src/distrib/sets/lists/comp
# ./src/distrib/sets/lists/comp/md.rs6000
# ./src/distrib/utils
# ./src/distrib/utils/sysinst
# ./src/distrib/utils/sysinst/arch
# ./src/distrib/utils/sysinst/arch/rs6000
# ./src/distrib/utils/sysinst/arch/rs6000/Makefile
# ./src/distrib/utils/sysinst/arch/rs6000/md.c
# ./src/distrib/utils/sysinst/arch/rs6000/md.h
# ./src/distrib/utils/sysinst/arch/rs6000/menus.md.de
# ./src/distrib/utils/sysinst/arch/rs6000/menus.md.en
# ./src/distrib/utils/sysinst/arch/rs6000/menus.md.es
# ./src/distrib/utils/sysinst/arch/rs6000/menus.md.fr
# ./src/distrib/utils/sysinst/arch/rs6000/menus.md.pl
# ./src/distrib/utils/sysinst/arch/rs6000/msg.md.de
# ./src/distrib/utils/sysinst/arch/rs6000/msg.md.en
# ./src/distrib/utils/sysinst/arch/rs6000/msg.md.es
# ./src/distrib/utils/sysinst/arch/rs6000/msg.md.fr
# ./src/distrib/utils/sysinst/arch/rs6000/msg.md.pl
# ./src/distrib/utils/sysinst/Makefile
# ./src/etc
# ./src/etc/etc.rs6000
# ./src/etc/etc.rs6000/MAKEDEV.conf
# ./src/etc/etc.rs6000/Makefile.inc
# ./src/etc/etc.rs6000/ttys
# ./src/sys
# ./src/sys/arch
# ./src/sys/arch/rs6000
# ./src/sys/arch/rs6000/conf
# ./src/sys/arch/rs6000/conf/GENERIC
# ./src/sys/arch/rs6000/conf/INSTALL
# ./src/sys/arch/rs6000/conf/RAMDISK
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./src
mkdir -p ./src > /dev/null 2>&1
echo c - ./src/distrib
mkdir -p ./src/distrib > /dev/null 2>&1
echo c - ./src/distrib/notes
mkdir -p ./src/distrib/notes > /dev/null 2>&1
echo c - ./src/distrib/notes/rs6000
mkdir -p ./src/distrib/notes/rs6000 > /dev/null 2>&1
echo x - ./src/distrib/notes/rs6000/hardware
sed 's/^X//' >./src/distrib/notes/rs6000/hardware <<
'END-of-./src/distrib/notes/rs6000/hardware'
X.\" $NetBSD: hardware,v 1.0 2009/01/07 20:16:25 wgalazka Exp $
X.
XSince
X.Nx*M
Xis an experimental port, the hardware support is in a constant state of flux.
XCheck the
X.Mt port-prep%NetBSD.org@localhost
Xmailing list and the
X.Nx*M
Xport homepage for an up-to-date list of known supported hardware.
X.Lk http://www.NetBSD.org/ports/rs6000/
X.Pp
X.Nx*M
X\*V works diskless via netboot.
END-of-./src/distrib/notes/rs6000/hardware
echo x - ./src/distrib/notes/rs6000/install
sed 's/^X//' >./src/distrib/notes/rs6000/install <<
'END-of-./src/distrib/notes/rs6000/install'
X.\" $NetBSD: install,v 1.0 2009/01/07 20:16:25 wgalazka Exp $
X.
X.Ss2 Installing NetBSD by using a netboot setup
X.
X.so ../common/netboot
END-of-./src/distrib/notes/rs6000/install
echo x - ./src/distrib/notes/rs6000/legal
sed 's/^X//' >./src/distrib/notes/rs6000/legal <<
'END-of-./src/distrib/notes/rs6000/legal'
X.\" $NetBSD: legal,v 1.1 2003/10/10 23:53:21 mbw Exp $
X.
END-of-./src/distrib/notes/rs6000/legal
echo x - ./src/distrib/notes/rs6000/Makefile
sed 's/^X//' >./src/distrib/notes/rs6000/Makefile <<
'END-of-./src/distrib/notes/rs6000/Makefile'
X# $NetBSD: Makefile,v 1.2 2008/01/06 20:16:25 skrll Exp $
X
XMERGED_SRCS+= ${COMMON}/netboot
XMERGED_SRCS+= ${COMMON}/sysinst ${COMMON}/upgrade ${COMMON}/xfer
X
X.include <bsd.man.mk>
END-of-./src/distrib/notes/rs6000/Makefile
echo x - ./src/distrib/notes/rs6000/prep
sed 's/^X//' >./src/distrib/notes/rs6000/prep <<
'END-of-./src/distrib/notes/rs6000/prep'
X.\" $NetBSD: prep,v 1.0 2009/01/07 22:05:36 wgalazka Exp $
X.
END-of-./src/distrib/notes/rs6000/prep
echo x - ./src/distrib/notes/rs6000/upgrade
sed 's/^X//' >./src/distrib/notes/rs6000/upgrade <<
'END-of-./src/distrib/notes/rs6000/upgrade'
X.\" $NetBSD: upgrade,v 1.3 2008/04/30 13:10:48 martin Exp $
X.\"
X.\" Copyright (c) 1999-2000 The NetBSD Foundation, Inc.
X.\" All rights reserved.
X.\"
X.\" Redistribution and use in source and binary forms, with or without
X.\" modification, are permitted provided that the following conditions
X.\" are met:
X.\" 1. Redistributions of source code must retain the above copyright
X.\" notice, this list of conditions and the following disclaimer.
X.\" 2. Redistributions in binary form must reproduce the above copyright
X.\" notice, this list of conditions and the following disclaimer in the
X.\" documentation and/or other materials provided with the distribution.
X.\"
X.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
X.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
X.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
X.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
X.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
X.\" POSSIBILITY OF SUCH DAMAGE.
X.\"
X.
X.so ../common/upgrade
END-of-./src/distrib/notes/rs6000/upgrade
echo x - ./src/distrib/notes/rs6000/xfer
sed 's/^X//' >./src/distrib/notes/rs6000/xfer <<
'END-of-./src/distrib/notes/rs6000/xfer'
X.\" $NetBSD: xfer,v 1.3 2008/04/30 13:10:48 martin Exp $
X.\"
X.\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
X.\" All rights reserved.
X.\"
X.\" Redistribution and use in source and binary forms, with or without
X.\" modification, are permitted provided that the following conditions
X.\" are met:
X.\" 1. Redistributions of source code must retain the above copyright
X.\" notice, this list of conditions and the following disclaimer.
X.\" 2. Redistributions in binary form must reproduce the above copyright
X.\" notice, this list of conditions and the following disclaimer in the
X.\" documentation and/or other materials provided with the distribution.
X.\"
X.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
X.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
X.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
X.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
X.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
X.\" POSSIBILITY OF SUCH DAMAGE.
X.\"
X.
X.so ../common/xfer
END-of-./src/distrib/notes/rs6000/xfer
echo c - ./src/distrib/rs6000
mkdir -p ./src/distrib/rs6000 > /dev/null 2>&1
echo c - ./src/distrib/rs6000/ramdisk
mkdir -p ./src/distrib/rs6000/ramdisk > /dev/null 2>&1
echo x - ./src/distrib/rs6000/ramdisk/disktab.preinstall
sed 's/^X//' >./src/distrib/rs6000/ramdisk/disktab.preinstall <<
'END-of-./src/distrib/rs6000/ramdisk/disktab.preinstall'
X# $NetBSD: disktab.preinstall,v 1.1 2005/05/18 14:04:26 chs Exp $
X#
X# Disk geometry and partition layout tables.
X# Key:
X# dt controller type
X# ty type of disk (fixed, removable, simulated)
X# d[0-4] drive-type-dependent parameters
X# ns #sectors/track
X# nt #tracks/cylinder
X# nc #cylinders/disk
X# sc #sectors/cylinder, ns*nt default
X# su #sectors/unit, sc*nc default
X# se sector size, DEV_BSIZE default
X# rm rpm, 3600 default
X# sf supports bad144-style bad sector forwarding
X# sk sector skew per track, default 0
X# cs sector skew per cylinder, default 0
X# hs headswitch time, default 0
X# ts one-cylinder seek time, default 0
X# il sector interleave (n:1), 1 default
X# bs boot block size, default BBSIZE
X# sb superblock size, default SBSIZE
X# o[a-h] partition offsets in sectors
X# p[a-h] partition sizes in sectors
X# b[a-h] partition block sizes in bytes
X# f[a-h] partition fragment sizes in bytes
X# t[a-h] partition types (filesystem, swap, etc)
X#
X
END-of-./src/distrib/rs6000/ramdisk/disktab.preinstall
echo x - ./src/distrib/rs6000/ramdisk/dot.profile
sed 's/^X//' >./src/distrib/rs6000/ramdisk/dot.profile <<
'END-of-./src/distrib/rs6000/ramdisk/dot.profile'
X# $NetBSD: dot.profile,v 1.2 2006/12/06 10:27:00 skrll Exp $
X#
X# Copyright (c) 1997 Perry E. Metzger
X# Copyright (c) 1994 Christopher G. Demetriou
X# All rights reserved.
X#
X# Redistribution and use in source and binary forms, with or without
X# modification, are permitted provided that the following conditions
X# are met:
X# 1. Redistributions of source code must retain the above copyright
X# notice, this list of conditions and the following disclaimer.
X# 2. Redistributions in binary form must reproduce the above copyright
X# notice, this list of conditions and the following disclaimer in the
X# documentation and/or other materials provided with the distribution.
X# 3. All advertising materials mentioning features or use of this software
X# must display the following acknowledgement:
X# This product includes software developed for the
X# NetBSD Project. See http://www.NetBSD.org/ for
X# information about NetBSD.
X# 4. The name of the author may not be used to endorse or promote products
X# derived from this software without specific prior written permission.
X#
X# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
X# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
X# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
X# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
X# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
X# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
X# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
X# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
X# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
X# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
X#
X# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
X
XPATH=/sbin:/bin:/usr/bin:/usr/sbin:/
Xexport PATH
XTERM=vt100
Xexport TERM
XHOME=/
Xexport HOME
XBLOCKSIZE=1k
Xexport BLOCKSIZE
XEDITOR=ed
Xexport EDITOR
X
Xumask 022
X
XROOTDEV=/dev/md0a
X
Xif [ "X${DONEPROFILE}" = "X" ]; then
X DONEPROFILE=YES
X export DONEPROFILE
X
X # set up some sane defaults
X echo 'erase ^?, werase ^W, kill ^U, intr ^C, status ^T'
X stty newcrt werase ^W intr ^C kill ^U erase ^? status ^T 9600
X echo ''
X
X # mount the ramdisk read write
X mount -u $ROOTDEV /
X
X # mount the kern_fs so that we can examine the dmesg state
X mount -t kernfs /kern /kern
X
X # pull in the functions that people will use from the shell prompt.
X # . /.commonutils
X # . /.instutils
X dmesg() cat /kern/msgbuf
X grep() sed -n "/$1/p"
X
X # run the installation or upgrade script.
X if [ -x /sysinst ]; then
X # run the installation or upgrade script.
X sysinst
X else
X echo "This image contains utilities which may be needed"
X echo "to get you out of a pinch."
X fi
Xfi
END-of-./src/distrib/rs6000/ramdisk/dot.profile
echo x - ./src/distrib/rs6000/ramdisk/list
sed 's/^X//' >./src/distrib/rs6000/ramdisk/list <<
'END-of-./src/distrib/rs6000/ramdisk/list'
X# $NetBSD: list,v 1.7 2008/05/06 15:09:45 skrll Exp $
X
XSRCDIRS bin sbin usr.bin usr.sbin
X
XPROG bin/cat
XPROG bin/chmod
XPROG bin/cp
XPROG bin/dd
XPROG bin/df
XPROG bin/ed
XPROG bin/ln
XPROG bin/ls
XPROG bin/mkdir
XPROG bin/mt
XPROG bin/mv
XPROG bin/pax usr/bin/tar
XPROG bin/pwd
XPROG bin/rcmd
XPROG bin/rcp
XPROG bin/rm
XPROG bin/sh
XPROG bin/stty
XPROG bin/sync
X
XPROG sbin/disklabel
XPROG sbin/dmesg
XPROG sbin/fsck
XPROG sbin/fsck_ffs
XPROG sbin/ifconfig
XPROG sbin/init
XPROG sbin/mknod
XPROG sbin/mount
XPROG sbin/mount_ffs
XPROG sbin/mount_kernfs
XPROG sbin/mount_nfs
XPROG sbin/newfs sbin/mount_mfs
XPROG sbin/ping
XPROG sbin/reboot sbin/halt
XPROG sbin/restore sbin/rrestore
XPROG sbin/route
XPROG sbin/shutdown
XPROG sbin/swapctl
XPROG sbin/umount
X
XPROG usr/bin/ftp
XPROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
XPROG usr/bin/more
XPROG usr/bin/sed
XPROG usr/bin/tset
X
XPROG usr/sbin/chown usr/bin/chgrp
XPROG usr/sbin/chroot
X#PROG usr/sbin/installboot
X
X# init invokes the shell as -sh
XARGVLN sh -sh
X
XSPECIAL ed srcdir distrib/utils/x_ed
XSPECIAL gzip srcdir distrib/utils/x_gzip
XSPECIAL ifconfig srcdir distrib/utils/x_ifconfig
XSPECIAL more srcdir distrib/utils/more
XSPECIAL ping srcdir distrib/utils/x_ping
XSPECIAL route srcdir distrib/utils/x_route
XSPECIAL umount srcdir distrib/utils/x_umount
X
XLIBS libhack.o -ledit -lutil -lcurses -ltermcap -lrmt -ll -lm -lz -lprop
X
X#COPY ${DESTDIR}/usr/mdec/xxboot usr/mdec/xxboot
XCOPY ${DESTDIR}/usr/mdec/boot usr/mdec/boot
X
X# various files that we need in /etc for the install
XCOPY ${NETBSDSRCDIR}/etc/group etc/group
XCOPY ${NETBSDSRCDIR}/etc/master.passwd etc/master.passwd
XCOPY ${NETBSDSRCDIR}/etc/netconfig etc/netconfig
XCOPY ${NETBSDSRCDIR}/etc/protocols etc/protocols
XCOPY ${NETBSDSRCDIR}/distrib/common/services etc/services
X
X# and the common installation tools
XCOPY ${CURDIR}/termcap.src usr/share/misc/termcap
X
X# and the disktab explanation file
XCOPY ${CURDIR}/disktab.preinstall etc/disktab.preinstall
X
X# and the boot script
XCOPY ${CURDIR}/dot.profile .profile
XMTREE ./.profile type=file uname=root gname=wheel mode=0644
X
END-of-./src/distrib/rs6000/ramdisk/list
echo x - ./src/distrib/rs6000/ramdisk/list.inet6
sed 's/^X//' >./src/distrib/rs6000/ramdisk/list.inet6 <<
'END-of-./src/distrib/rs6000/ramdisk/list.inet6'
X# $NetBSD: list.inet6,v 1.1 2005/05/18 14:04:26 chs Exp $
X
XPROG sbin/ping6
XPROG sbin/rtsol
X
XSPECIAL ping6 srcdir distrib/utils/x_ping6
END-of-./src/distrib/rs6000/ramdisk/list.inet6
echo x - ./src/distrib/rs6000/ramdisk/Makefile
sed 's/^X//' >./src/distrib/rs6000/ramdisk/Makefile <<
'END-of-./src/distrib/rs6000/ramdisk/Makefile'
X# $NetBSD: Makefile,v 1.4 2008/07/17 07:01:30 skrll Exp $
X
X.include <bsd.own.mk>
X.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
X
XIMAGE= ramdisk.fs
XIMAGESIZE= 2500k
XMAKEFS_FLAGS= -f 15
X
XWARNS= 1
X# DBG= -Os -mmultiple -mstring
X
XCRUNCHBIN= ramdiskbin
XCRUNCHGEN_FLAGS= -d "${DBG}"
XLISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
XMTREECONF= ${DISTRIBDIR}/common/mtree.common
XIMAGEENDIAN= be
XMAKEDEVTARGETS= all
XIMAGEDEPENDS= ${CRUNCHBIN} \
X dot.profile termcap.src \
X ${NETBSDSRCDIR}/etc/group ${NETBSDSRCDIR}/etc/master.passwd \
X ${NETBSDSRCDIR}/etc/netconfig ${NETBSDSRCDIR}/etc/protocols \
X ${NETBSDSRCDIR}/distrib/common/services
XSMALLPROG_INET6=1
X
X.if ${USE_INET6} != "no"
XLISTS+= ${.CURDIR}/list.inet6
X.endif
X
X# Use stubs to eliminate some large stuff from libc
XHACKSRC= ${DISTRIBDIR}/utils/libhack
X.include "${HACKSRC}/Makefile.inc"
X${CRUNCHBIN}: libhack.o
X
X.include "${DISTRIBDIR}/common/Makefile.crunch"
X.include "${DISTRIBDIR}/common/Makefile.makedev"
X.include "${DISTRIBDIR}/common/Makefile.image"
X
Xrelease:
X
X.include <bsd.prog.mk>
END-of-./src/distrib/rs6000/ramdisk/Makefile
echo x - ./src/distrib/rs6000/ramdisk/termcap.src
sed 's/^X//' >./src/distrib/rs6000/ramdisk/termcap.src <<
'END-of-./src/distrib/rs6000/ramdisk/termcap.src'
Xdumb|80-column dumb tty:\
X :am:\
X :co#80:\
X :bl=^G:cr=^M:do=^J:sf=^J:
Xunknown|unknown terminal type:\
X :gn:tc=dumb:
Xlpr|printer|line printer:\
X :bs:hc:os:\
X :co#132:li#66:\
X :bl=^G:cr=^M:do=^J:ff=^L:le=^H:sf=^J:
Xglasstty|classic glass tty interpreting ASCII control characters:\
X :am:\
X :co#80:\
X :bl=^G:cl=^L:cr=^M:do=^J:kb=^H:kd=^J:kl=^H:le=^H:nw=^M^J:\
X :ta=^I:
Xvt52|dec vt52:\
X :bs:\
X :co#80:it#8:li#24:\
X :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
X :ae=\EG:as=\EF:bl=^G:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=\EY%+ %+ :\
X :cr=^M:do=\EB:ho=\EH:kb=^H:kd=\EB:kl=\ED:kr=\EC:ku=\EA:\
X :le=\ED:nd=\EC:nw=^M^J:sf=^J:sr=\EI:ta=^I:up=\EA:
Xvt100|vt100-am|dec vt100 (w/advanced video):\
X :am:bs:ms:xn:xo:\
X :co#80:it#8:li#24:vt#3:\
X :@8=\EOM:DO=\E[%dB:K1=\EOq:K2=\EOr:K3=\EOs:K4=\EOp:K5=\EOn:\
X :LE=\E[%dD:RA=\E[?7l:RI=\E[%dC:SA=\E[?7h:UP=\E[%dA:\
X :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
X :ae=\E(B:as=\E(0:bl=^G:cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:\
X :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:do=^J:\
X :eA=\E(B:ho=\E[H:k0=\EOy:k1=\EOP:k2=\EOQ:k3=\EOR:\
X :k4=\EOS:k5=\EOt:k6=\EOu:k7=\EOv:k8=\EOl:k9=\EOw:k;=\EOx:\
X :kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:\
X :ku=\EOA:le=^H:mb=\E[5m:md=\E[1m:me=\E[m\017:mr=\E[7m:\
X :nd=\E[C:r2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h:rc=\E8:\
X
:..sa=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;:\
X :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:ue=\E[m:\
X :up=\E[A:us=\E[4m:
Xxterm-r6|xterm-old|xterm X11R6 version:\
X :am:bs:km:mi:ms:xn:\
X :co#80:it#8:li#24:\
X :*6=\E[4~:@0=\E[1~:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:\
X :DO=\E[%dB:F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:\
X :F5=\E[28~:F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:\
X :FA=\E[34~:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:\
X :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~:\
X :ae=\E(B:al=\E[L:as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
X :cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:\
X :dl=\E[M:do=^J:eA=\E(B:ei=\E[4l:ho=\E[H:im=\E[4h:\
X :is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:k1=\EOP:\
X :k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:\
X :k8=\E[19~:k9=\E[20~:k;=\E[21~:kD=\E[3~:kI=\E[2~:kN=\E[6~:\
X :kP=\E[5~:kb=^H:kd=\EOB:ke=\E[?1l\E>:kl=\EOD:kr=\EOC:\
X :ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:ml=\El:\
X :mr=\E[7m:mu=\Em:nd=\E[C:\
X :r2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>:rc=\E8:\
X :sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:\
X :te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:\
X :us=\E[4m:
Xxterm|vs100|xterms|xterm terminal emulator (X Window System):\
X :tc=xterm-r6:
END-of-./src/distrib/rs6000/ramdisk/termcap.src
echo c - ./src/distrib/rs6000/sysnbsd
mkdir -p ./src/distrib/rs6000/sysnbsd > /dev/null 2>&1
echo x - ./src/distrib/rs6000/sysnbsd/Makefile
sed 's/^X//' >./src/distrib/rs6000/sysnbsd/Makefile <<
'END-of-./src/distrib/rs6000/sysnbsd/Makefile'
X# $NetBSD: Makefile,v 1.0 2009/01/07 02:16:53 wgalazka Exp $
X
X.include <bsd.own.mk>
X.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
X
XMKBOOT = ${TOOLDIR}/bin/${_TOOL_PREFIX}powerpc-mkbootimage
X
X.include <bsd.kernobj.mk>
X
XKERN= ${KERNOBJDIR}/GENERIC/netbsd
XFS_BOOT=SYSNBSD
X
Xrelease: check_RELEASEDIR
X ${MKBOOT} -m rs6000 -b ${DESTDIR}/usr/mdec/boot -k ${KERN}
${.OBJDIR}/${FS_BOOT}
X ${RELEASE_INSTALL} ${.OBJDIR}/${FS_BOOT} \
X ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
X
X.include <bsd.prog.mk>
END-of-./src/distrib/rs6000/sysnbsd/Makefile
echo x - ./src/distrib/rs6000/Makefile
sed 's/^X//' >./src/distrib/rs6000/Makefile <<
'END-of-./src/distrib/rs6000/Makefile'
X# $NetBSD: Makefile,v 1.0 2009/01/07 20:16:24 wgalazka Exp $
X
XSUBDIR= ramdisk .WAIT sysnbsd
XTARGETS+=release
X
X#iso_image:
X# ${MAKEDIRTARGET} cdroms iso_image
X
X.include <bsd.subdir.mk>
END-of-./src/distrib/rs6000/Makefile
echo c - ./src/distrib/sets
mkdir -p ./src/distrib/sets > /dev/null 2>&1
echo c - ./src/distrib/sets/lists
mkdir -p ./src/distrib/sets/lists > /dev/null 2>&1
echo c - ./src/distrib/sets/lists/base
mkdir -p ./src/distrib/sets/lists/base > /dev/null 2>&1
echo x - ./src/distrib/sets/lists/base/md.rs6000
sed 's/^X//' >./src/distrib/sets/lists/base/md.rs6000 <<
'END-of-./src/distrib/sets/lists/base/md.rs6000'
X# $NetBSD: md.prep,v 1.0 2009/10/07 17:57:34 wgalazka Exp $
X./usr/mdec/boot base-sysutil-bin
X./usr/mdec/mkbootimage base-sysutil-bin
END-of-./src/distrib/sets/lists/base/md.rs6000
echo c - ./src/distrib/sets/lists/comp
mkdir -p ./src/distrib/sets/lists/comp > /dev/null 2>&1
echo x - ./src/distrib/sets/lists/comp/md.rs6000
sed 's/^X//' >./src/distrib/sets/lists/comp/md.rs6000 <<
'END-of-./src/distrib/sets/lists/comp/md.rs6000'
X# $NetBSD: md.rs6000,v 1.0 2009/01/07 13:42:19 wgalazka Exp $
X./usr/include/ieeefp.h comp-c-include
X./usr/include/rs6000 comp-c-include
X./usr/include/rs6000/ansi.h comp-c-include
X./usr/include/rs6000/aout_machdep.h comp-c-include
X./usr/include/rs6000/asm.h comp-c-include
X./usr/include/rs6000/atomic.h comp-c-include
X./usr/include/rs6000/bootinfo.h comp-c-include
X./usr/include/rs6000/bswap.h comp-c-include
X./usr/include/rs6000/cdefs.h comp-c-include
X./usr/include/rs6000/cpu.h comp-c-include
X./usr/include/rs6000/disklabel.h comp-c-include
X./usr/include/rs6000/elf_machdep.h comp-c-include
X./usr/include/rs6000/endian.h comp-c-include
X./usr/include/rs6000/endian_machdep.h comp-c-include
X./usr/include/rs6000/float.h comp-c-include
X./usr/include/rs6000/fpu.h comp-c-include
X./usr/include/rs6000/frame.h comp-c-include
X./usr/include/rs6000/ieee.h comp-c-include
X./usr/include/rs6000/ieeefp.h comp-c-include
X./usr/include/rs6000/int_const.h comp-c-include
X./usr/include/rs6000/int_fmtio.h comp-c-include
X./usr/include/rs6000/int_limits.h comp-c-include
X./usr/include/rs6000/int_mwgwtypes.h comp-c-include
X./usr/include/rs6000/int_types.h comp-c-include
X./usr/include/rs6000/intr.h comp-c-include
X./usr/include/rs6000/kcore.h comp-c-include
X./usr/include/rs6000/limits.h comp-c-include
X./usr/include/rs6000/lock.h comp-c-include
X./usr/include/rs6000/math.h comp-c-include
X./usr/include/rs6000/mcontext.h comp-c-include
X./usr/include/rs6000/mutex.h comp-c-include
X./usr/include/rs6000/param.h comp-c-include
X./usr/include/rs6000/pcb.h comp-c-include
X./usr/include/rs6000/pmap.h comp-c-include
X./usr/include/rs6000/pmc.h comp-c-include
X./usr/include/rs6000/proc.h comp-c-include
X./usr/include/rs6000/profile.h comp-c-include
X./usr/include/rs6000/psl.h comp-c-include
X./usr/include/rs6000/pte.h comp-c-include
X./usr/include/rs6000/ptrace.h comp-c-include
X./usr/include/rs6000/reg.h comp-c-include
X./usr/include/rs6000/reloc.h comp-c-include
X./usr/include/rs6000/rwlock.h comp-c-include
X./usr/include/rs6000/setjmp.h comp-c-include
X./usr/include/rs6000/signal.h comp-c-include
X./usr/include/rs6000/spr.h comp-c-include
X./usr/include/rs6000/stdarg.h comp-c-include
X./usr/include/rs6000/trap.h comp-c-include
X./usr/include/rs6000/types.h comp-c-include
X./usr/include/rs6000/varargs.h comp-c-include
X./usr/include/rs6000/vmparam.h comp-c-include
X./usr/include/rs6000/wchar_limits.h comp-c-include
END-of-./src/distrib/sets/lists/comp/md.rs6000
echo c - ./src/distrib/utils
mkdir -p ./src/distrib/utils > /dev/null 2>&1
echo c - ./src/distrib/utils/sysinst
mkdir -p ./src/distrib/utils/sysinst > /dev/null 2>&1
echo c - ./src/distrib/utils/sysinst/arch
mkdir -p ./src/distrib/utils/sysinst/arch > /dev/null 2>&1
echo c - ./src/distrib/utils/sysinst/arch/rs6000
mkdir -p ./src/distrib/utils/sysinst/arch/rs6000 > /dev/null 2>&1
echo x - ./src/distrib/utils/sysinst/arch/rs6000/Makefile
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/Makefile <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/Makefile'
X# $NetBSD: Makefile,v 1.9 2008/02/02 04:24:13 itohy Exp $
X#
X# Makefile for prep
X#
X
XMENUS_MD= menus.md.${SYSINSTLANG} menus.mbr
XMSG_MD= msg.md.${SYSINSTLANG} msg.mbr.${SYSINSTLANG}
X#LANGUAGES= en pl de
X
X.include "../../Makefile.inc"
END-of-./src/distrib/utils/sysinst/arch/rs6000/Makefile
echo x - ./src/distrib/utils/sysinst/arch/rs6000/md.c
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/md.c <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/md.c'
X/* $NetBSD: md.c,v 1.29 2008/10/07 09:58:15 abs Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* md.c -- Machine specific code for prep */
X
X#include <sys/param.h>
X#include <sys/sysctl.h>
X
X#include <stdio.h>
X#include <util.h>
X
X#include <machine/cpu.h>
X
X#include "defs.h"
X#include "msg_defs.h"
X#include "menu_defs.h"
X#include "md.h"
X#include "endian.h"
X
Xint prep_nobootfix = 0, prep_rawdevfix = 0, prep_bootpart = PART_BOOT;
X
Xint
Xmd_check_mbr(mbr_info_t *mbri)
X{
X mbr_info_t *ext;
X struct mbr_partition *part;
X int i;
X
X for (ext = mbri; ext; ext = ext->extended) {
X part = ext->mbr.mbr_parts;
X for (i = 0; i < MBR_PART_COUNT; part++, i++) {
X if (part->mbrp_type != MBR_PTYPE_PREP)
X continue;
X bootstart = part->mbrp_start;
X bootsize = part->mbrp_size;
X break;
X }
X }
X if (bootsize < (MIN_PREP_BOOT/512)) {
X msg_display(MSG_preptoosmall);
X msg_display_add(MSG_reeditpart, 0);
X process_menu(MENU_yesno, NULL);
X if (!yesno)
X return 0;
X return 1;
X }
X if (bootstart == 0 || bootsize == 0) {
X msg_display(MSG_nopreppart);
X msg_display_add(MSG_reeditpart, 0);
X process_menu(MENU_yesno, NULL);
X if (!yesno)
X return 0;
X return 1;
X }
X return 2;
X}
X
Xint
Xmd_mbr_use_wholedisk(mbr_info_t *mbri)
X{
X struct mbr_sector *mbrs = &mbri->mbr;
X mbr_info_t *ext;
X struct mbr_partition *part;
X
X part = &mbrs->mbr_parts[0];
X /* Set the partition information for full disk usage. */
X while ((ext = mbri->extended)) {
X mbri->extended = ext->extended;
X free(ext);
X }
X memset(part, 0, MBR_PART_COUNT * sizeof *part);
X#ifdef BOOTSEL
X memset(&mbri->mbrb, 0, sizeof mbri->mbrb);
X#endif
X part[0].mbrp_type = MBR_PTYPE_PREP;
X part[0].mbrp_size = PREP_BOOT_SIZE/512;
X part[0].mbrp_start = bsec;
X part[0].mbrp_flag = MBR_PFLAG_ACTIVE;
X
X part[1].mbrp_type = MBR_PTYPE_NETBSD;
X part[1].mbrp_size = dlsize - (bsec + PREP_BOOT_SIZE/512);
X part[1].mbrp_start = bsec + PREP_BOOT_SIZE/512;
X part[1].mbrp_flag = 0;
X
X ptstart = part[1].mbrp_start;
X ptsize = part[1].mbrp_size;
X bootstart = part[0].mbrp_start;
X bootsize = part[0].mbrp_size;
X return 1;
X}
X
Xint
Xmd_get_info(void)
X{
X
X read_mbr(diskdev, &mbr);
X md_bios_info(diskdev);
X return edit_mbr(&mbr);
X}
X
Xint
Xmd_pre_disklabel(void)
X{
X
X msg_display(MSG_dofdisk);
X
X /* write edited MBR onto disk. */
X if (write_mbr(diskdev, &mbr, 1) != 0) {
X msg_display(MSG_wmbrfail);
X process_menu(MENU_ok, NULL);
X return 1;
X }
X return 0;
X}
X
Xint
Xmd_post_disklabel(void)
X{
X return 0;
X}
X
Xint
Xmd_post_newfs(void)
X{
X
X return 0;
X}
X
Xint
Xmd_copy_filesystem(void)
X{
X
X return 0;
X}
X
X
Xint
Xmd_make_bsd_partitions(void)
X{
X
X return make_bsd_partitions();
X}
X
Xint
Xmd_check_partitions(void)
X{
X int part;
X
X /* we need to find a boot partition, otherwise we can't write our
X * "bootblock". We make the assumption that the user hasn't done
X * something stupid, like move it away from the MBR partition.
X */
X for (part = PART_A; part < MAXPARTITIONS; part++)
X if (bsdlabel[part].pi_fstype == FS_BOOT) {
X prep_bootpart = part;
X return 1;
X }
X
X msg_display(MSG_prepnobootpart);
X process_menu(MENU_ok, NULL);
X return 0;
X}
X
X/* Upgrade support */
Xint
Xmd_update(void)
X{
X
X endwin();
X md_copy_filesystem();
X md_post_newfs();
X wrefresh(curscr);
X wmove(stdscr, 0, 0);
X wclear(stdscr);
X wrefresh(stdscr);
X return 1;
X}
X
Xvoid
Xmd_cleanup_install(void)
X{
X
X enable_rc_conf();
X
X run_program(0, "rm -f %s", target_expand("/.bootimage"));
X}
X
Xint
Xmd_pre_update(void)
X{
X struct mbr_partition *part;
X mbr_info_t *ext;
X int i;
X
X read_mbr(diskdev, &mbr);
X /* do a sanity check of the partition table */
X for (ext = &mbr; ext; ext = ext->extended) {
X part = ext->mbr.mbr_parts;
X for (i = 0; i < MBR_PART_COUNT; part++, i++) {
X if (part->mbrp_type != MBR_PTYPE_PREP)
X continue;
X if (part->mbrp_size < (MIN_PREP_BOOT/512)) {
X msg_display(MSG_preptoosmall);
X msg_display_add(MSG_prepnobootpart, 0);
X process_menu(MENU_yesno, NULL);
X if (!yesno)
X return 0;
X prep_nobootfix = 1;
X }
X if (part->mbrp_start == 0)
X prep_rawdevfix = 1;
X }
X }
X if (md_check_partitions() == 0)
X prep_nobootfix = 1;
X return 1;
X}
X
Xint
Xmd_bios_info(char *dev)
X{
X int cyl, head, sec;
X
X msg_display(MSG_nobiosgeom, dlcyl, dlhead, dlsec);
X if (guess_biosgeom_from_mbr(&mbr, &cyl, &head, &sec) >= 0)
X msg_display_add(MSG_biosguess, cyl, head, sec);
X set_bios_geom(cyl, head, sec);
X return 0;
X}
X
Xint
Xmd_post_extract(void)
X{
X char rawdev[100], bootpart[100], bootloader[100];
X
X /* if we can't make it bootable, just punt */
X if (prep_nobootfix)
X return 0;
X
X process_menu(MENU_prepconsole, NULL);
X if (yesno == 1)
X snprintf(bootloader, 100, "/usr/mdec/boot_com0");
X else
X snprintf(bootloader, 100, "/usr/mdec/boot");
X
X snprintf(rawdev, 100, "/dev/r%s%c", diskdev, 'a' + getrawpartition());
X snprintf(bootpart, 100, "/dev/r%s%c", diskdev, 'a' + prep_bootpart);
X if (prep_rawdevfix)
X run_program(RUN_DISPLAY|RUN_CHROOT,
X "/usr/mdec/mkbootimage -b %s -k /netbsd "
X "-r %s /.bootimage", bootloader, rawdev);
X else
X run_program(RUN_DISPLAY|RUN_CHROOT,
X "/usr/mdec/mkbootimage -s -b %s -k /netbsd /.bootimage",
X bootloader);
X run_program(RUN_DISPLAY|RUN_CHROOT, "/bin/dd if=/.bootimage of=%s "
X "bs=512 conv=sync", bootpart);
X
X return 0;
X}
X
Xvoid
Xmd_init(void)
X{
X
X /* Nothing to do */
X}
X
Xvoid
Xmd_init_set_status(int minimal)
X{
X (void)minimal;
X}
END-of-./src/distrib/utils/sysinst/arch/rs6000/md.c
echo x - ./src/distrib/utils/sysinst/arch/rs6000/md.h
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/md.h <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/md.h'
X/* $NetBSD: md.h,v 1.16 2007/11/12 15:07:36 jmmv Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* md.h -- Machine specific definitions for the prep */
X
X
X#include <machine/cpu.h>
X#include <sys/types.h>
X#include <sys/stat.h>
X#include <fcntl.h>
X#include <unistd.h>
X
X/* prep uses the mbr code. */
X#include "mbr.h"
X
X/* constants and defines */
X#define PREP_BOOT_SIZE 5017600 /* 5MB boot partition */
X#define MIN_PREP_BOOT 2097152 /* 2MB absoule minimum */
X#define PART_ROOT PART_A
X#define PART_SWAP PART_B
X#define PART_RAW PART_C
X#define PART_BSD PART_D
X#define PART_BOOT PART_E
X#define PART_USR PART_F /* Can be after PART_FIRST_FREE */
X#define PART_FIRST_FREE PART_G
X
X#define DEFSWAPRAM 32 /* Assume at least this RAM for swap calc */
X#define DEFROOTSIZE 32 /* Default root size */
X#define DEFVARSIZE 32 /* Default /var size, if created */
X#define DEFUSRSIZE 128 /* Default /usr size, if /home */
X#define XNEEDMB 39 /* Extra megs for full X installation */
X
X
X/*
X * Default filesets to fetch and install during installation
X * or upgrade. The standard sets are:
X * base etc comp games man misc tests text xbase xcomp xetc xfont xserver
X *
X * i386 has the MD set kern first, because generic kernels are too
X * big to fit on install floppies. i386 does not yet include the x sets.
X *
X * Third entry is the last extension name in the split sets for loading
X * from floppy.
X */
X#define SET_KERNEL_1_NAME "kern-GENERIC"
X#define MD_SETS_SELECTED SET_KERNEL_1, SET_SYSTEM, SET_X11_NOSERVERS
X
X/*
X * Machine-specific command to write a new label to a disk.
X * For example, i386 uses "/sbin/disklabel -w -r", just like i386
X * miniroot scripts, though this may leave a bogus incore label.
X * Sun ports should probably use DISKLABEL_CMD "/sbin/disklabel -w"
X * to get incore to ondisk inode translation for the Sun proms.
X * If not defined, we assume the port does not support disklabels and
X * hand-edited disklabel will NOT be written by MI code.
X *
X * On prep, do what the 1.2 install scripts did.
X */
X#define DISKLABEL_CMD "disklabel -w -r"
END-of-./src/distrib/utils/sysinst/arch/rs6000/md.h
echo x - ./src/distrib/utils/sysinst/arch/rs6000/menus.md.de
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/menus.md.de <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.de'
X/* $NetBSD: menus.md.en,v 1.11 2006/04/05 16:55:06 garbled Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* Menu definitions for sysinst. prep version, machine dependent. */
X
Xmenu prepconsole, title "Select console device", y=-10;
X option "com0 (S1)", exit, action { yesno = 1; };
X option "VGA", exit, action { yesno = 0; };
END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.de
echo x - ./src/distrib/utils/sysinst/arch/rs6000/menus.md.en
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/menus.md.en <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.en'
X/* $NetBSD: menus.md.en,v 1.11 2006/04/05 16:55:06 garbled Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* Menu definitions for sysinst. prep version, machine dependent. */
X
Xmenu prepconsole, title "Select console device", y=-10;
X option "com0 (S1)", exit, action { yesno = 1; };
X option "VGA", exit, action { yesno = 0; };
END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.en
echo x - ./src/distrib/utils/sysinst/arch/rs6000/menus.md.es
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/menus.md.es <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.es'
X/* $NetBSD: menus.md.es,v 1.2 2006/04/05 16:55:06 garbled Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* Menu definitions for sysinst. prep version, machine dependent. */
X
Xmenu prepconsole, title "Select console device", y=-10;
X option "COM0 (S1)", exit, action { yesno = 1; };
X option "VGA", exit, action { yesno = 0; };
END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.es
echo x - ./src/distrib/utils/sysinst/arch/rs6000/menus.md.fr
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/menus.md.fr <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.fr'
X/* $NetBSD: menus.md.fr,v 1.1 2005/05/14 14:54:00 chs Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Based on code written by Philip A. Nelson for Piermont Information
X * Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* Menu definitions for sysinst. prep version, machine dependent. */
X
Xmenu prepconsole, title "Select console device", y=-10;
X option "com0 (S1)", exit, action { yesno = 1; };
X option "VGA", exit, action { yesno = 0; };
END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.fr
echo x - ./src/distrib/utils/sysinst/arch/rs6000/menus.md.pl
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/menus.md.pl <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.pl'
X/* $NetBSD: menus.md.pl,v 1.10 2006/04/05 16:55:06 garbled Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* Menu definitions for sysinst. prep version, machine dependent. */
X
Xmenu prepconsole, title "Select console device", y=-10;
X option "COM0 (S1)", exit, action { yesno = 1; };
X option "VGA", exit, action { yesno = 0; };
END-of-./src/distrib/utils/sysinst/arch/rs6000/menus.md.pl
echo x - ./src/distrib/utils/sysinst/arch/rs6000/msg.md.de
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/msg.md.de <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.de'
X/* $NetBSD: msg.md.de,v 1.4 2006/04/05 16:55:06 garbled Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* MD Message catalog -- german, prep version */
X
Xmessage md_hello
X{
X}
X
Xmessage dobad144
X{Installiere die Tabelle der defekten Bl¡Àcke ...
X}
X
Xmessage dobootblks
X{Installiere die Bootbl¡Àcke auf %s ...
X}
X
Xmessage pickdisk
X{Festplatte ausw¥Òhlen: }
X
Xmessage partabovechs
X{Der NetBSD Teil der Festplatte liegt au▀erhalb des vom BIOS dieser
Maschine
Xadressierbaren Bereichs. Eventuell k¡Ànnen Sie von dieser Partition nicht
Xbooten. Sind Sie sicher, da▀ Sie fortfahren m¡Àchten?
X
X(Antworten Sie mit 'nein' um die Partitionen erneut zu editieren.)}
X
Xmessage set_kernel_1
X{Kernel (GENERIC)}
X
Xmessage nopreppart
X{There is no PReP boot partition in the MBR partition table.}
X
Xmessage preptoosmall
X{The PReP boot partition is too small. It needs to be at least 2MB in size,
Xhowever a size of at least 5MB is reccomended.}
X
Xmessage prepnobootpart
X{There is no boot partition in the disklabel. The boot partition should
Xmatch the PReP boot partition you set up in the MBR partition table.}
END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.de
echo x - ./src/distrib/utils/sysinst/arch/rs6000/msg.md.en
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/msg.md.en <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.en'
X/* $NetBSD: msg.md.en,v 1.9 2006/04/05 16:55:06 garbled Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* MD Message catalog -- english, prep version */
X
Xmessage md_hello
X{
X}
X
Xmessage dobad144
X{Installing the bad block table ...
X}
X
Xmessage dobootblks
X{Installing boot blocks on %s....
X}
X
Xmessage pickdisk
X{Choose disk: }
X
Xmessage partabovechs
X{The NetBSD part of the disk lies outside of the range that the BIOS on
Xyour machine can address. Booting from it may not be possible. Are you
Xsure you that you want to do this?
X
X(Answering 'no' will take you back to the partition edit menu.)}
X
Xmessage set_kernel_1
X{Kernel (GENERIC)}
X
Xmessage nopreppart
X{There is no PReP boot partition in the MBR partition table.}
X
Xmessage preptoosmall
X{The PReP boot partition is too small. It needs to be at least 2MB in size,
Xhowever a size of at least 5MB is reccomended.}
X
Xmessage prepnobootpart
X{There is no boot partition in the disklabel. The boot partition should
Xmatch the PReP boot partition you set up in the MBR partition table.}
END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.en
echo x - ./src/distrib/utils/sysinst/arch/rs6000/msg.md.es
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/msg.md.es <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.es'
X/* $NetBSD: msg.md.es,v 1.3 2006/04/05 16:55:06 garbled Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* MD Message catalog -- spanish, prep version */
X
Xmessage md_hello
X{
X}
X
Xmessage dobad144
X{Instalando la tabla de bloques malos ...
X}
X
Xmessage dobootblks
X{Instalando bloques de arranque en %s....
X}
X
Xmessage pickdisk
X{Escoja disco: }
X
Xmessage partabovechs
X{La parte NetBSD del disco est©¬ fuera del rango que la BIOS de su maquina
Xpuede acceder.
XPuede que no sea posible iniciar desde ahi.
X¦¤Est©¬ seguro de que quiere hacer eso?
X
X(Seleccionando 'no' le devolver©¬ al menu de edicion de particiones.)}
X
Xmessage set_kernel_1
X{N¡¤cleo (GENERIC)}
X
Xmessage nopreppart
X{There is no PReP boot partition in the MBR partition table.}
X
Xmessage preptoosmall
X{The PReP boot partition is too small. It needs to be at least 2MB in size,
Xhowever a size of at least 5MB is reccomended.}
X
Xmessage prepnobootpart
X{There is no boot partition in the disklabel. The boot partition should
Xmatch the PReP boot partition you set up in the MBR partition table.}
END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.es
echo x - ./src/distrib/utils/sysinst/arch/rs6000/msg.md.fr
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/msg.md.fr <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.fr'
X/* $NetBSD: msg.md.fr,v 1.3 2008/02/02 05:40:01 itohy Exp $ */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Based on code written by Philip A. Nelson for Piermont Information
X * Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* MD Message catalog -- english, prep version */
X
Xmessage md_hello
X{
X}
X
Xmessage dobad144
X{Installing the bad block table ...
X}
X
Xmessage dobootblks
X{Installing boot blocks on %s....
X}
X
Xmessage pickdisk
X{Choose disk: }
X
Xmessage partabovechs
X{The NetBSD part of the disk lies outside of the range that the BIOS on
Xyour machine can address. Booting from it may not be possible. Are you
Xsure you that you want to do this?
X
X(Answering 'no' will take you back to the partition edit menu.)}
X
Xmessage set_kernel_1
X{Kernel (GENERIC)}
X
Xmessage nopreppart
X{There is no PReP boot partition in the MBR partition table.}
X
Xmessage preptoosmall
X{The PReP boot partition is too small. It needs to be at least 2MB in size,
Xhowever a size of at least 5MB is reccomended.}
X
Xmessage prepnobootpart
X{There is no boot partition in the disklabel. The boot partition should
Xmatch the PReP boot partition you set up in the MBR partition table.}
END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.fr
echo x - ./src/distrib/utils/sysinst/arch/rs6000/msg.md.pl
sed 's/^X//' >./src/distrib/utils/sysinst/arch/rs6000/msg.md.pl <<
'END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.pl'
X/* $NetBSD: msg.md.pl,v 1.9 2006/04/05 16:55:06 garbled Exp $ */
X/* Based on english version: */
X/* NetBSD: msg.md.en,v 1.1 2001/01/16 16:54:01 nonaka Exp */
X
X/*
X * Copyright 1997 Piermont Information Systems Inc.
X * All rights reserved.
X *
X * Written by Philip A. Nelson for Piermont Information Systems Inc.
X *
X * Redistribution and use in source and binary forms, with or without
X * modification, are permitted provided that the following conditions
X * are met:
X * 1. Redistributions of source code must retain the above copyright
X * notice, this list of conditions and the following disclaimer.
X * 2. Redistributions in binary form must reproduce the above copyright
X * notice, this list of conditions and the following disclaimer in the
X * documentation and/or other materials provided with the distribution.
X * 3. All advertising materials mentioning features or use of this software
X * must display the following acknowledgement:
X * This product includes software developed for the NetBSD Project by
X * Piermont Information Systems Inc.
X * 4. The name of Piermont Information Systems Inc. may not be used to endorse
X * or promote products derived from this software without specific prior
X * written permission.
X *
X * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
X * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
X * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
X * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
X * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
X * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
X * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
X * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
X * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
X * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
X * THE POSSIBILITY OF SUCH DAMAGE.
X *
X */
X
X/* MD Message catalog -- Polish, prep version */
X
Xmessage md_hello
X{
X}
X
Xmessage dobad144
X{Instalowanie tablicy zlych blokow ...
X}
X
Xmessage dobootblks
X{Instalowanie bootblokow na %s....
X}
X
Xmessage pickdisk
X{Wybierz dysk: }
X
Xmessage partabovechs
X{Czesc dysku NetBSD lezy poza obszarem, ktory BIOS w twojej maszynie moze
Xzaadresowac. Nie mozliwe bedzie bootowanie z tego dysku. Jestes pewnien, ze
Xchcesz to zrobic?
X
X(Odpowiedz 'nie' zabierze cie spowrotem do menu edycji partycji.)}
X
Xmessage set_kernel_1
X{Kernel (GENERIC)}
X
Xmessage nopreppart
X{There is no PReP boot partition in the MBR partition table.}
X
Xmessage preptoosmall
X{The PReP boot partition is too small. It needs to be at least 2MB in size,
Xhowever a size of at least 5MB is reccomended.}
X
Xmessage prepnobootpart
X{There is no boot partition in the disklabel. The boot partition should
Xmatch the PReP boot partition you set up in the MBR partition table.}
END-of-./src/distrib/utils/sysinst/arch/rs6000/msg.md.pl
echo x - ./src/distrib/utils/sysinst/Makefile
sed 's/^X//' >./src/distrib/utils/sysinst/Makefile <<
'END-of-./src/distrib/utils/sysinst/Makefile'
X# $NetBSD: Makefile,v 1.12 2008/11/21 15:39:29 ad Exp $
X#
X# sysinst is usually built when the crunched install binary is built,
X# but can be built here as a normal program for testing.
X
XSUBDIR = arch/${MACHINE}
X
X.if ALL_MACHINES
XSUBDIR = arch/acorn26
XSUBDIR += arch/acorn32
XSUBDIR += arch/alpha
XSUBDIR += arch/amd64
XSUBDIR += arch/amiga
XSUBDIR += arch/arc
XSUBDIR += arch/atari
XSUBDIR += arch/bebox
XSUBDIR += arch/cats
XSUBDIR += arch/evbarm
XSUBDIR += arch/evbmips
XSUBDIR += arch/evbppc
XSUBDIR += arch/ews4800mips
XSUBDIR += arch/hp300
XSUBDIR += arch/hpcmips
XSUBDIR += arch/i386
XSUBDIR += arch/mac68k
XSUBDIR += arch/macppc
XSUBDIR += arch/mipsco
XSUBDIR += arch/mvme68k
XSUBDIR += arch/news68k
XSUBDIR += arch/newsmips
XSUBDIR += arch/playstation2
XSUBDIR += arch/pmax
XSUBDIR += arch/prep
XSUBDIR += arch/rs6000
XSUBDIR += arch/sandpoint
XSUBDIR += arch/sgimips
XSUBDIR += arch/shark
XSUBDIR += arch/sparc
XSUBDIR += arch/sparc64
XSUBDIR += arch/vax
XSUBDIR += arch/x68k
XSUBDIR += arch/zaurus
X# XXX notyet SUBDIR += arch/iyonix
X.endif
X
Xinstall:
X
X.include <bsd.subdir.mk>
END-of-./src/distrib/utils/sysinst/Makefile
echo c - ./src/etc
mkdir -p ./src/etc > /dev/null 2>&1
echo c - ./src/etc/etc.rs6000
mkdir -p ./src/etc/etc.rs6000 > /dev/null 2>&1
echo x - ./src/etc/etc.rs6000/MAKEDEV.conf
sed 's/^X//' >./src/etc/etc.rs6000/MAKEDEV.conf <<
'END-of-./src/etc/etc.rs6000/MAKEDEV.conf'
X# $NetBSD: MAKEDEV.conf,v 1.0 2009/01/07 11:46:18 wgalazka Exp $
X
Xall_md)
X makedev wscons fd0 fd1 sd0 sd1 sd2 sd3 sd4
X makedev tty0 tty1
X makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
X makedev st0 st1 cd0 cd1
X makedev lpt0 lpt1 lpt2 ttyv0
X makedev ss0 ch0 uk0 uk1
X makedev speaker audio joy0 joy1
X makedev ttyCY0
X makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
X makedev scsibus0 scsibus1 scsibus2 scsibus3
X makedev ses0 ses1 ses2 ses3
X makedev isdns
X# makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
X# makedev nvram
X makedev residual
X makedev cfs
X ;;
X
Xfloppy)
X makedev std fd0 wd0 wd1 sd0 sd1 sd2 tty0 tty1
X makedev cd0 cd1 ttyE0 opty
X ;;
X
Xramdisk)
X makedev floppy md0
X ;;
X
Xresidual)
X mkdev residual c 33 1 644
X ;;
END-of-./src/etc/etc.rs6000/MAKEDEV.conf
echo x - ./src/etc/etc.rs6000/Makefile.inc
sed 's/^X//' >./src/etc/etc.rs6000/Makefile.inc <<
'END-of-./src/etc/etc.rs6000/Makefile.inc'
X# $NetBSD: Makefile.inc,v 1.0 2009/01/07 04:20:37 wgalazka Exp $
X#
X# etc.rs6000/Makefile.inc -- rs6000-specific etc Makefile targets
X#
X
X# If you change the list of distributed kernels, don't forget
X# to update the release documentation in distrib/notes/common/contents
X
XKERNEL_SETS= GENERIC
X
XBUILD_KERNELS+= INSTALL
X
XINSTALLATION_DIRS+= installation/floppy
X
X# mkisofs arguments to generate bootable iso image
X#MKISOFS_FLAGS+= -rs6000-boot installation/floppy/sysinst.fs
X#
X#snap_md_post:
X# ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/floppy
'*'
END-of-./src/etc/etc.rs6000/Makefile.inc
echo x - ./src/etc/etc.rs6000/ttys
sed 's/^X//' >./src/etc/etc.rs6000/ttys << 'END-of-./src/etc/etc.rs6000/ttys'
X#
X# from: @(#)ttys 5.1 (Berkeley) 4/17/89
X# $NetBSD: ttys,v 1.7 2008/10/07 10:00:02 abs Exp $
X#
X# name getty type status comments
X#
Xconsole "/usr/libexec/getty std.9600" vt100 off secure
Xconstty "/usr/libexec/getty std.9600" vt100 off secure
XttyE0 "/usr/libexec/getty Pc" vt220 on secure
Xtty00 "/usr/libexec/getty std.9600" vt100 on secure
Xtty01 "/usr/libexec/getty std.9600" unknown off secure
Xtty02 "/usr/libexec/getty std.9600" unknown off secure
Xtty03 "/usr/libexec/getty std.9600" unknown off secure
Xtty04 "/usr/libexec/getty std.9600" unknown off secure
Xtty05 "/usr/libexec/getty std.9600" unknown off secure
Xtty06 "/usr/libexec/getty std.9600" unknown off secure
Xtty07 "/usr/libexec/getty std.9600" unknown off secure
END-of-./src/etc/etc.rs6000/ttys
echo c - ./src/sys
mkdir -p ./src/sys > /dev/null 2>&1
echo c - ./src/sys/arch
mkdir -p ./src/sys/arch > /dev/null 2>&1
echo c - ./src/sys/arch/rs6000
mkdir -p ./src/sys/arch/rs6000 > /dev/null 2>&1
echo c - ./src/sys/arch/rs6000/conf
mkdir -p ./src/sys/arch/rs6000/conf > /dev/null 2>&1
echo x - ./src/sys/arch/rs6000/conf/GENERIC
sed 's/^X//' >./src/sys/arch/rs6000/conf/GENERIC <<
'END-of-./src/sys/arch/rs6000/conf/GENERIC'
X# $NetBSD: GENERIC,v 1.8 2008/11/24 11:41:13 ad Exp $
X#
X# GENERIC machine description file
X#
X# This machine description file is used to generate the default NetBSD
X# kernel. The generic kernel does not include all options, subsystems
X# and device drivers, but should be useful for most applications.
X#
X# The machine description file can be customised for your specific
X# machine to reduce the kernel size and improve its performance.
X#
X# For further information on compiling NetBSD kernels, see the config(8)
X# man page.
X#
X# For further information on hardware support for this architecture, see
X# the intro(4) man page. For further information about kernel options
X# for this architecture, see the options(4) man page. For an explanation
X# of each device driver in this file see the section 4 man page for the
X# device.
X
Xinclude "arch/rs6000/conf/std.rs6000"
X
Xoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary
X
X#makeoptions COPTS="-O2 -mno-powerpc -mno-power" # wheeee
X
X#ident "GENERIC-$Revision: 1.8 $"
X
Xmaxusers 32
X
X# Platform support
X
Xoptions PIC_IOCC
X
X# Standard system options
X
Xoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
Xoptions NTP # NTP phase/frequency locked loop
X
Xoptions KTRACE # system call tracing via ktrace(1)
X
Xoptions SYSVMSG # System V-like message queues
Xoptions SYSVSEM # System V-like semaphores
X#options SEMMNI=10 # number of semaphore identifiers
X#options SEMMNS=60 # number of semaphores in system
X#options SEMUME=10 # max number of undo entries per process
X#options SEMMNU=30 # number of undo structures in system
Xoptions SYSVSHM # System V-like memory sharing
X#options SHMMAXPGS=1024 # 1024 pages is the default
Xoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support
X
X
Xoptions USERCONF # userconf(4) support
X#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
Xoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
X
X# Enable experimental buffer queue strategy for better responsiveness under
X# high disk I/O load. Use it with caution - it's not proven to be stable yet.
X#options BUFQ_READPRIO
X#options BUFQ_PRIOCSCAN
X
X# Diagnostic/debugging support options
X#options DIAGNOSTIC # cheap kernel consistency checks
Xoptions DEBUG # expensive debugging checks/support
Xoptions PMAPDEBUG
X#options KMEMSTATS # kernel memory statistics (vmstat -m)
Xoptions DDB # in-kernel debugger
X#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
X#makeoptions DEBUG="-g"
X
X# Compatibility options
Xoptions COMPAT_13 # NetBSD 1.3,
Xoptions COMPAT_14 # NetBSD 1.4,
Xoptions COMPAT_15 # NetBSD 1.5,
Xoptions COMPAT_16 # NetBSD 1.6,
Xoptions COMPAT_20 # NetBSD 2.0,
Xoptions COMPAT_30 # NetBSD 3.0,
Xoptions COMPAT_40 # NetBSD 4.0 compatibility.
Xoptions COMPAT_50 # NetBSD 5.0 compatibility.
Xoptions COMPAT_43 # and 4.3BSD
X#options COMPAT_LINUX # Linux binary compatibility
X#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
Xoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
X
X# File systems
Xfile-system FFS # UFS
Xfile-system EXT2FS # second extended file system (linux)
X#file-system LFS # log-structured file system
Xfile-system MFS # memory file system
Xfile-system NFS # Network File System client
X#file-system NTFS # Windows/NT file system (experimental)
Xfile-system CD9660 # ISO 9660 + Rock Ridge file system
Xfile-system MSDOSFS # MS-DOS file system
X#file-system FDESC # /dev/fd
Xfile-system KERNFS # /kern
Xfile-system NULLFS # loopback file system
X#file-system OVERLAY # overlay file system
X#file-system PORTAL # portal filesystem (still experimental)
Xfile-system PROCFS # /proc
X#file-system UMAPFS # NULLFS + uid and gid remapping
Xfile-system UNION # union file system
X#file-system CODA # Coda File System; also needs vcoda (below)
Xfile-system PTYFS # /dev/pts/N support
X#file-system TMPFS # experimental - Efficient memory file-system
X#file-system UDF # experimental - OSTA UDF CD/DVD file-system
X
X# File system options
Xoptions QUOTA # UFS quotas
X#options FFS_EI # FFS Endian Independant support
Xoptions WAPBL # File system journaling support - Experimental
X#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
Xoptions NFSSERVER # Network File System server
X#options FFS_NO_SNAPSHOT # No FFS snapshot support
X#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
X # immutable) behave as system flags.
X
X# Networking options
X#options GATEWAY # packet forwarding
Xoptions INET # IP + ICMP + TCP + UDP
Xoptions INET6 # IPv6
X#options IPSEC # IP security
X#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
X#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
X#options IPSEC_DEBUG # debug for IP security
X#options MROUTING # IP multicast routing
X#options PIM # Protocol Independent Multicast
X#options NETATALK # AppleTalk networking protocols
Xoptions PPP_BSDCOMP # BSD-Compress compression support for PPP
Xoptions PPP_DEFLATE # Deflate compression support for PPP
Xoptions PPP_FILTER # Active filter support for PPP (requires bpf)
Xoptions PFIL_HOOKS # pfil(9) packet filter hooks
Xoptions IPFILTER_LOG # ipmon(8) log support
X#options IPFILTER_DEFAULT_BLOCK # block all packets by default
X#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
X
X#options ALTQ # Manipulate network interfaces' output queues
X#options ALTQ_BLUE # Stochastic Fair Blue
X#options ALTQ_CBQ # Class-Based Queueing
X#options ALTQ_CDNR # Diffserv Traffic Conditioner
X#options ALTQ_FIFOQ # First-In First-Out Queue
X#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
X#options ALTQ_HFSC # Hierarchical Fair Service Curve
X#options ALTQ_LOCALQ # Local queueing discipline
X#options ALTQ_PRIQ # Priority Queueing
X#options ALTQ_RED # Random Early Detection
X#options ALTQ_RIO # RED with IN/OUT
X#options ALTQ_WFQ # Weighted Fair Queueing
X
X# These options enable verbose messages for several subsystems.
X# Warning, these may compile large string tables into the kernel!
X#options MIIVERBOSE # verbose PHY autoconfig messages
Xoptions SCSIVERBOSE # human readable SCSI error messages
Xoptions MCAVERBOSE # verbose MCA device autoconfig messages
X
X#options NFS_BOOT_BOOTP
Xoptions NFS_BOOT_BOOTPARAM
Xoptions NFS_BOOT_DHCP
X
X#
X# wscons options
X#
X# builtin terminal emulations
Xoptions WSEMUL_VT100 # VT100 / VT220 emulation
X# different kernel output - see dev/wscons/wsdisplayvar.h
Xoptions WS_KERNEL_FG=WSCOL_GREEN
X#options WS_KERNEL_BG=WSCOL_BLACK
X# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
X#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
X# allocate a number of virtual screens at autoconfiguration time
X#options WSDISPLAY_DEFAULTSCREENS=4
X# use a large software cursor that doesn't blink
Xoptions PCDISPLAY_SOFTCURSOR
X
X# Kernel root file system and dump configuration.
Xconfig netbsd root on ? type ?
X#config netbsd root on tlp0 type nfs
X#config netbsd root on pcn0 type nfs
X
X
X#
X# Device configuration
X#
X
Xmainbus0 at root
Xcpu0 at mainbus0
Xmca0 at mainbus0
X
Xcom* at mca? slot ?
X
X# I/O Planar
Xioplanar* at mca? slot ?
X
X# I/O Planar devices
Xcom* at ioplanar?
X
X# Basic Bus Support
X
X# SCSI devices
X#sd* at scsibus? target ? lun ? # SCSI disk drives
X#st* at scsibus? target ? lun ? # SCSI tape drives
X#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
X#ch* at scsibus? target ? lun ? # SCSI autochangers
X#ss* at scsibus? target ? lun ? # SCSI scanners
X#uk* at scsibus? target ? lun ? # SCSI unknown
X
X# Pull in optional local configuration
Xcinclude "arch/rs6000/conf/GENERIC.local"
X
X# Pseudo-Devices
X
X# Not yet ready -- prep lacks generic soft interrupts
X#pseudo-device crypto # /dev/crypto device
X#pseudo-device swcrypto # software crypto implementation
X
X# disk/mass storage pseudo-devices
X#pseudo-device ccd 4 # concatenated/striped disk devices
X#pseudo-device cgd 4 # cryptographic disk devices
X#pseudo-device raid 8 # RAIDframe disk driver
X#options RAID_AUTOCONFIG # auto-configuration of RAID components
X# Options to enable various other RAIDframe RAID types.
X# options RF_INCLUDE_EVENODD=1
X# options RF_INCLUDE_RAID5_RS=1
X# options RF_INCLUDE_PARITYLOGGING=1
X# options RF_INCLUDE_CHAINDECLUSTER=1
X# options RF_INCLUDE_INTERDECLUSTER=1
X# options RF_INCLUDE_PARITY_DECLUSTERING=1
X# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
Xpseudo-device fss 4 # file system snapshot device
Xpseudo-device md 1 # memory disk device (ramdisk)
Xpseudo-device vnd # disk-like interface to files
X#options VND_COMPRESSION # compressed vnd(4)
X
X# network pseudo-devices
Xpseudo-device loop # network loopback
Xpseudo-device bpfilter # Berkeley packet filter
X#pseudo-device carp # Common Address Redundancy Protocol
Xpseudo-device ipfilter # IP filter (firewall) and NAT
Xpseudo-device ppp # Point-to-Point Protocol
Xpseudo-device pppoe # PPP over Ethernet (RFC 2516)
X#pseudo-device sl # Serial Line IP
Xpseudo-device strip # Starmode Radio IP (Metricom)
Xpseudo-device tun # network tunneling over tty
Xpseudo-device tap # virtual Ethernet
Xpseudo-device gre # generic L3 over IP tunnel
Xpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
X#pseudo-device faith # IPv[46] tcp relay translation i/f
Xpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
Xpseudo-device vlan # IEEE 802.1q encapsulation
Xpseudo-device bridge # simple inter-network bridging
X#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
X
X#
X# accept filters
Xpseudo-device accf_data # "dataready" accept filter
Xpseudo-device accf_http # "httpready" accept filter
X
X# miscellaneous pseudo-devices
Xpseudo-device pty # pseudo-terminals
X#pseudo-device sequencer 1 # MIDI sequencer
Xpseudo-device rnd # /dev/random and in-kernel generator
X#options RND_COM # use "com" randomness as well
Xpseudo-device clockctl # user control of clock subsystem
Xpseudo-device ksyms # /dev/ksyms
X#pseudo-device pf # PF packet filter
X#pseudo-device pflog # PF log if
X
X# a pseudo device needed for Coda # also needs CODA (above)
X#pseudo-device vcoda 4 # coda minicache <-> venus comm.
X
X# wscons pseudo-devices
Xpseudo-device wsmux # mouse & keyboard multiplexor
Xpseudo-device wsfont
X
X# Veriexec
X#options VERIFIED_EXEC
X#
X# a pseudo device needed for veriexec
X#pseudo-device veriexec 1
X#
X# Uncomment the fingerprint methods below that are desired. Note that
X# removing fingerprint methods will have almost no impact on the kernel
X# code size.
X#
X#options VERIFIED_EXEC_FP_RMD160
X#options VERIFIED_EXEC_FP_SHA256
X#options VERIFIED_EXEC_FP_SHA384
X#options VERIFIED_EXEC_FP_SHA512
X#options VERIFIED_EXEC_FP_SHA1
X#options VERIFIED_EXEC_FP_MD5
END-of-./src/sys/arch/rs6000/conf/GENERIC
echo x - ./src/sys/arch/rs6000/conf/INSTALL
sed 's/^X//' >./src/sys/arch/rs6000/conf/INSTALL <<
'END-of-./src/sys/arch/rs6000/conf/INSTALL'
X# $NetBSD: GENERIC,v 1.8 2008/11/24 11:41:13 ad Exp $
X#
X# INSTALL machine description file
X#
X# This machine description file is used to generate the default NetBSD
X# kernel. The generic kernel does not include all options, subsystems
X# and device drivers, but should be useful for most applications.
X#
X# The machine description file can be customised for your specific
X# machine to reduce the kernel size and improve its performance.
X#
X# For further information on compiling NetBSD kernels, see the config(8)
X# man page.
X#
X# For further information on hardware support for this architecture, see
X# the intro(4) man page. For further information about kernel options
X# for this architecture, see the options(4) man page. For an explanation
X# of each device driver in this file see the section 4 man page for the
X# device.
X
Xinclude "arch/rs6000/conf/std.rs6000"
X
Xoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary
X
X#makeoptions COPTS="-O2 -mno-powerpc -mno-power" # wheeee
X
X#ident "GENERIC-$Revision: 1.8 $"
X
Xmaxusers 32
X
X# Platform support
X
Xoptions PIC_IOCC
X
X# Standard system options
X
Xoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
Xoptions NTP # NTP phase/frequency locked loop
X
Xoptions KTRACE # system call tracing via ktrace(1)
X
Xoptions SYSVMSG # System V-like message queues
Xoptions SYSVSEM # System V-like semaphores
X#options SEMMNI=10 # number of semaphore identifiers
X#options SEMMNS=60 # number of semaphores in system
X#options SEMUME=10 # max number of undo entries per process
X#options SEMMNU=30 # number of undo structures in system
Xoptions SYSVSHM # System V-like memory sharing
X#options SHMMAXPGS=1024 # 1024 pages is the default
Xoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support
X
X
Xoptions USERCONF # userconf(4) support
X#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
Xoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
X
X# Enable experimental buffer queue strategy for better responsiveness under
X# high disk I/O load. Use it with caution - it's not proven to be stable yet.
X#options BUFQ_READPRIO
X#options BUFQ_PRIOCSCAN
X
X# Diagnostic/debugging support options
Xoptions DIAGNOSTIC # cheap kernel consistency checks
Xoptions DEBUG # expensive debugging checks/support
Xoptions PMAPDEBUG
X#options KMEMSTATS # kernel memory statistics (vmstat -m)
Xoptions DDB # in-kernel debugger
Xoptions DDB_HISTORY_SIZE=100 # Enable history editing in DDB
Xmakeoptions DEBUG="-g"
X
X# Compatibility options
Xoptions COMPAT_13 # NetBSD 1.3,
Xoptions COMPAT_14 # NetBSD 1.4,
Xoptions COMPAT_15 # NetBSD 1.5,
Xoptions COMPAT_16 # NetBSD 1.6,
Xoptions COMPAT_20 # NetBSD 2.0,
Xoptions COMPAT_30 # NetBSD 3.0,
Xoptions COMPAT_40 # NetBSD 4.0 compatibility.
Xoptions COMPAT_50 # NetBSD 5.0 compatibility.
Xoptions COMPAT_43 # and 4.3BSD
X#options COMPAT_LINUX # Linux binary compatibility
X#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
Xoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
X
X# File systems
Xfile-system FFS # UFS
Xfile-system EXT2FS # second extended file system (linux)
X#file-system LFS # log-structured file system
Xfile-system MFS # memory file system
Xfile-system NFS # Network File System client
X#file-system NTFS # Windows/NT file system (experimental)
Xfile-system CD9660 # ISO 9660 + Rock Ridge file system
Xfile-system MSDOSFS # MS-DOS file system
X#file-system FDESC # /dev/fd
Xfile-system KERNFS # /kern
Xfile-system NULLFS # loopback file system
X#file-system OVERLAY # overlay file system
X#file-system PORTAL # portal filesystem (still experimental)
Xfile-system PROCFS # /proc
X#file-system UMAPFS # NULLFS + uid and gid remapping
Xfile-system UNION # union file system
X#file-system CODA # Coda File System; also needs vcoda (below)
Xfile-system PTYFS # /dev/pts/N support
X#file-system TMPFS # experimental - Efficient memory file-system
X#file-system UDF # experimental - OSTA UDF CD/DVD file-system
X
X# File system options
Xoptions QUOTA # UFS quotas
X#options FFS_EI # FFS Endian Independant support
Xoptions WAPBL # File system journaling support - Experimental
X#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
Xoptions NFSSERVER # Network File System server
X#options FFS_NO_SNAPSHOT # No FFS snapshot support
X#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
X # immutable) behave as system flags.
X
X# Networking options
X#options GATEWAY # packet forwarding
Xoptions INET # IP + ICMP + TCP + UDP
Xoptions INET6 # IPv6
X#options IPSEC # IP security
X#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
X#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
X#options IPSEC_DEBUG # debug for IP security
X#options MROUTING # IP multicast routing
X#options PIM # Protocol Independent Multicast
X#options NETATALK # AppleTalk networking protocols
Xoptions PPP_BSDCOMP # BSD-Compress compression support for PPP
Xoptions PPP_DEFLATE # Deflate compression support for PPP
Xoptions PPP_FILTER # Active filter support for PPP (requires bpf)
Xoptions PFIL_HOOKS # pfil(9) packet filter hooks
Xoptions IPFILTER_LOG # ipmon(8) log support
X#options IPFILTER_DEFAULT_BLOCK # block all packets by default
X#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
X
X#options ALTQ # Manipulate network interfaces' output queues
X#options ALTQ_BLUE # Stochastic Fair Blue
X#options ALTQ_CBQ # Class-Based Queueing
X#options ALTQ_CDNR # Diffserv Traffic Conditioner
X#options ALTQ_FIFOQ # First-In First-Out Queue
X#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
X#options ALTQ_HFSC # Hierarchical Fair Service Curve
X#options ALTQ_LOCALQ # Local queueing discipline
X#options ALTQ_PRIQ # Priority Queueing
X#options ALTQ_RED # Random Early Detection
X#options ALTQ_RIO # RED with IN/OUT
X#options ALTQ_WFQ # Weighted Fair Queueing
X
X# These options enable verbose messages for several subsystems.
X# Warning, these may compile large string tables into the kernel!
X#options MIIVERBOSE # verbose PHY autoconfig messages
Xoptions SCSIVERBOSE # human readable SCSI error messages
Xoptions MCAVERBOSE # verbose MCA device autoconfig messages
X
X#options NFS_BOOT_BOOTP
Xoptions NFS_BOOT_BOOTPARAM
Xoptions NFS_BOOT_DHCP
X
X#
X# wscons options
X#
X# builtin terminal emulations
Xoptions WSEMUL_VT100 # VT100 / VT220 emulation
X# different kernel output - see dev/wscons/wsdisplayvar.h
Xoptions WS_KERNEL_FG=WSCOL_GREEN
X#options WS_KERNEL_BG=WSCOL_BLACK
X# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
X#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
X# allocate a number of virtual screens at autoconfiguration time
X#options WSDISPLAY_DEFAULTSCREENS=4
X# use a large software cursor that doesn't blink
Xoptions PCDISPLAY_SOFTCURSOR
X
X# Kernel root file system and dump configuration.
Xconfig netbsd root on ? type ?
X#config netbsd root on tlp0 type nfs
X#config netbsd root on pcn0 type nfs
X
X
X#
X# Device configuration
X#
X
Xmainbus0 at root
Xcpu0 at mainbus0
Xmca0 at mainbus0
X
Xcom* at mca? slot ?
X
X# I/O Planar
Xioplanar* at mca? slot ?
X
X# I/O Planar devices
Xcom* at ioplanar?
X
X# Basic Bus Support
X
X# SCSI devices
X#sd* at scsibus? target ? lun ? # SCSI disk drives
X#st* at scsibus? target ? lun ? # SCSI tape drives
X#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
X#ch* at scsibus? target ? lun ? # SCSI autochangers
X#ss* at scsibus? target ? lun ? # SCSI scanners
X#uk* at scsibus? target ? lun ? # SCSI unknown
X
X# Pull in optional local configuration
Xcinclude "arch/rs6000/conf/GENERIC.local"
X
X# Pseudo-Devices
X
X# Not yet ready -- prep lacks generic soft interrupts
X#pseudo-device crypto # /dev/crypto device
X#pseudo-device swcrypto # software crypto implementation
X
X# disk/mass storage pseudo-devices
X#pseudo-device ccd 4 # concatenated/striped disk devices
X#pseudo-device cgd 4 # cryptographic disk devices
X#pseudo-device raid 8 # RAIDframe disk driver
X#options RAID_AUTOCONFIG # auto-configuration of RAID components
X# Options to enable various other RAIDframe RAID types.
X# options RF_INCLUDE_EVENODD=1
X# options RF_INCLUDE_RAID5_RS=1
X# options RF_INCLUDE_PARITYLOGGING=1
X# options RF_INCLUDE_CHAINDECLUSTER=1
X# options RF_INCLUDE_INTERDECLUSTER=1
X# options RF_INCLUDE_PARITY_DECLUSTERING=1
X# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
Xpseudo-device fss 4 # file system snapshot device
Xpseudo-device md 1 # memory disk device (ramdisk)
Xpseudo-device vnd # disk-like interface to files
X#options VND_COMPRESSION # compressed vnd(4)
X
X# network pseudo-devices
Xpseudo-device loop # network loopback
Xpseudo-device bpfilter # Berkeley packet filter
X#pseudo-device carp # Common Address Redundancy Protocol
Xpseudo-device ipfilter # IP filter (firewall) and NAT
Xpseudo-device ppp # Point-to-Point Protocol
Xpseudo-device pppoe # PPP over Ethernet (RFC 2516)
X#pseudo-device sl # Serial Line IP
Xpseudo-device strip # Starmode Radio IP (Metricom)
Xpseudo-device tun # network tunneling over tty
Xpseudo-device tap # virtual Ethernet
Xpseudo-device gre # generic L3 over IP tunnel
Xpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
X#pseudo-device faith # IPv[46] tcp relay translation i/f
Xpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
Xpseudo-device vlan # IEEE 802.1q encapsulation
Xpseudo-device bridge # simple inter-network bridging
X#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
X
X#
X# accept filters
Xpseudo-device accf_data # "dataready" accept filter
Xpseudo-device accf_http # "httpready" accept filter
X
X# miscellaneous pseudo-devices
Xpseudo-device pty # pseudo-terminals
X#pseudo-device sequencer 1 # MIDI sequencer
Xpseudo-device rnd # /dev/random and in-kernel generator
X#options RND_COM # use "com" randomness as well
Xpseudo-device clockctl # user control of clock subsystem
Xpseudo-device ksyms # /dev/ksyms
X#pseudo-device pf # PF packet filter
X#pseudo-device pflog # PF log if
X
X# a pseudo device needed for Coda # also needs CODA (above)
X#pseudo-device vcoda 4 # coda minicache <-> venus comm.
X
X# wscons pseudo-devices
Xpseudo-device wsmux # mouse & keyboard multiplexor
Xpseudo-device wsfont
X
X# Veriexec
X#options VERIFIED_EXEC
X#
X# a pseudo device needed for veriexec
X#pseudo-device veriexec 1
X#
X# Uncomment the fingerprint methods below that are desired. Note that
X# removing fingerprint methods will have almost no impact on the kernel
X# code size.
X#
X#options VERIFIED_EXEC_FP_RMD160
X#options VERIFIED_EXEC_FP_SHA256
X#options VERIFIED_EXEC_FP_SHA384
X#options VERIFIED_EXEC_FP_SHA512
X#options VERIFIED_EXEC_FP_SHA1
X#options VERIFIED_EXEC_FP_MD5
END-of-./src/sys/arch/rs6000/conf/INSTALL
echo x - ./src/sys/arch/rs6000/conf/RAMDISK
sed 's/^X//' >./src/sys/arch/rs6000/conf/RAMDISK <<
'END-of-./src/sys/arch/rs6000/conf/RAMDISK'
X# $NetBSD: GENERIC,v 1.8 2008/11/24 11:41:13 ad Exp $
X#
X# GENERIC machine description file
X#
X# This machine description file is used to generate the default NetBSD
X# kernel. The generic kernel does not include all options, subsystems
X# and device drivers, but should be useful for most applications.
X#
X# The machine description file can be customised for your specific
X# machine to reduce the kernel size and improve its performance.
X#
X# For further information on compiling NetBSD kernels, see the config(8)
X# man page.
X#
X# For further information on hardware support for this architecture, see
X# the intro(4) man page. For further information about kernel options
X# for this architecture, see the options(4) man page. For an explanation
X# of each device driver in this file see the section 4 man page for the
X# device.
X
Xinclude "arch/rs6000/conf/std.rs6000"
X
Xoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary
X
X#makeoptions COPTS="-O2 -mno-powerpc -mno-power" # wheeee
X
X#ident "GENERIC-$Revision: 1.8 $"
X
Xmaxusers 32
X
X# Platform support
X
Xoptions PIC_IOCC
X
X# Standard system options
X
Xoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
Xoptions NTP # NTP phase/frequency locked loop
X
Xoptions KTRACE # system call tracing via ktrace(1)
X
Xoptions SYSVMSG # System V-like message queues
Xoptions SYSVSEM # System V-like semaphores
X#options SEMMNI=10 # number of semaphore identifiers
X#options SEMMNS=60 # number of semaphores in system
X#options SEMUME=10 # max number of undo entries per process
X#options SEMMNU=30 # number of undo structures in system
Xoptions SYSVSHM # System V-like memory sharing
X#options SHMMAXPGS=1024 # 1024 pages is the default
Xoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support
X
X
Xoptions USERCONF # userconf(4) support
X#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
Xoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
X
X# Enable experimental buffer queue strategy for better responsiveness under
X# high disk I/O load. Use it with caution - it's not proven to be stable yet.
X#options BUFQ_READPRIO
X#options BUFQ_PRIOCSCAN
X
X# Diagnostic/debugging support options
X#options DIAGNOSTIC # cheap kernel consistency checks
Xoptions DEBUG # expensive debugging checks/support
Xoptions PMAPDEBUG
X#options KMEMSTATS # kernel memory statistics (vmstat -m)
Xoptions DDB # in-kernel debugger
X#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB
X#makeoptions DEBUG="-g"
X
X# Compatibility options
Xoptions COMPAT_13 # NetBSD 1.3,
Xoptions COMPAT_14 # NetBSD 1.4,
Xoptions COMPAT_15 # NetBSD 1.5,
Xoptions COMPAT_16 # NetBSD 1.6,
Xoptions COMPAT_20 # NetBSD 2.0,
Xoptions COMPAT_30 # NetBSD 3.0,
Xoptions COMPAT_40 # NetBSD 4.0 compatibility.
Xoptions COMPAT_50 # NetBSD 5.0 compatibility.
Xoptions COMPAT_43 # and 4.3BSD
X#options COMPAT_LINUX # Linux binary compatibility
X#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended.
Xoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
X
X# File systems
Xfile-system FFS # UFS
Xfile-system EXT2FS # second extended file system (linux)
X#file-system LFS # log-structured file system
Xfile-system MFS # memory file system
Xfile-system NFS # Network File System client
X#file-system NTFS # Windows/NT file system (experimental)
Xfile-system CD9660 # ISO 9660 + Rock Ridge file system
Xfile-system MSDOSFS # MS-DOS file system
X#file-system FDESC # /dev/fd
Xfile-system KERNFS # /kern
Xfile-system NULLFS # loopback file system
X#file-system OVERLAY # overlay file system
X#file-system PORTAL # portal filesystem (still experimental)
Xfile-system PROCFS # /proc
X#file-system UMAPFS # NULLFS + uid and gid remapping
Xfile-system UNION # union file system
X#file-system CODA # Coda File System; also needs vcoda (below)
Xfile-system PTYFS # /dev/pts/N support
X#file-system TMPFS # experimental - Efficient memory file-system
X#file-system UDF # experimental - OSTA UDF CD/DVD file-system
X
X# File system options
Xoptions QUOTA # UFS quotas
X#options FFS_EI # FFS Endian Independant support
Xoptions WAPBL # File system journaling support - Experimental
X#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
Xoptions NFSSERVER # Network File System server
X#options FFS_NO_SNAPSHOT # No FFS snapshot support
X#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
X # immutable) behave as system flags.
X
X# Networking options
X#options GATEWAY # packet forwarding
Xoptions INET # IP + ICMP + TCP + UDP
Xoptions INET6 # IPv6
X#options IPSEC # IP security
X#options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
X#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
X#options IPSEC_DEBUG # debug for IP security
X#options MROUTING # IP multicast routing
X#options PIM # Protocol Independent Multicast
X#options NETATALK # AppleTalk networking protocols
Xoptions PPP_BSDCOMP # BSD-Compress compression support for PPP
Xoptions PPP_DEFLATE # Deflate compression support for PPP
Xoptions PPP_FILTER # Active filter support for PPP (requires bpf)
Xoptions PFIL_HOOKS # pfil(9) packet filter hooks
Xoptions IPFILTER_LOG # ipmon(8) log support
X#options IPFILTER_DEFAULT_BLOCK # block all packets by default
X#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG
X
X#options ALTQ # Manipulate network interfaces' output queues
X#options ALTQ_BLUE # Stochastic Fair Blue
X#options ALTQ_CBQ # Class-Based Queueing
X#options ALTQ_CDNR # Diffserv Traffic Conditioner
X#options ALTQ_FIFOQ # First-In First-Out Queue
X#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box)
X#options ALTQ_HFSC # Hierarchical Fair Service Curve
X#options ALTQ_LOCALQ # Local queueing discipline
X#options ALTQ_PRIQ # Priority Queueing
X#options ALTQ_RED # Random Early Detection
X#options ALTQ_RIO # RED with IN/OUT
X#options ALTQ_WFQ # Weighted Fair Queueing
X
X# These options enable verbose messages for several subsystems.
X# Warning, these may compile large string tables into the kernel!
X#options MIIVERBOSE # verbose PHY autoconfig messages
Xoptions SCSIVERBOSE # human readable SCSI error messages
Xoptions MCAVERBOSE # verbose MCA device autoconfig messages
X
X#options NFS_BOOT_BOOTP
Xoptions NFS_BOOT_BOOTPARAM
Xoptions NFS_BOOT_DHCP
X
X#
X# wscons options
X#
X# builtin terminal emulations
Xoptions WSEMUL_VT100 # VT100 / VT220 emulation
X# different kernel output - see dev/wscons/wsdisplayvar.h
Xoptions WS_KERNEL_FG=WSCOL_GREEN
X#options WS_KERNEL_BG=WSCOL_BLACK
X# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
X#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
X# allocate a number of virtual screens at autoconfiguration time
X#options WSDISPLAY_DEFAULTSCREENS=4
X# use a large software cursor that doesn't blink
Xoptions PCDISPLAY_SOFTCURSOR
X
X# Kernel root file system and dump configuration.
Xconfig netbsd root on ? type ?
X#config netbsd root on tlp0 type nfs
X#config netbsd root on pcn0 type nfs
X
X
X#
X# Device configuration
X#
X
Xmainbus0 at root
Xcpu0 at mainbus0
Xmca0 at mainbus0
X
Xcom* at mca? slot ?
X
X# I/O Planar
Xioplanar* at mca? slot ?
X
X# I/O Planar devices
Xcom* at ioplanar?
X
X# Basic Bus Support
X
X# SCSI devices
X#sd* at scsibus? target ? lun ? # SCSI disk drives
X#st* at scsibus? target ? lun ? # SCSI tape drives
X#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
X#ch* at scsibus? target ? lun ? # SCSI autochangers
X#ss* at scsibus? target ? lun ? # SCSI scanners
X#uk* at scsibus? target ? lun ? # SCSI unknown
X
X# Pull in optional local configuration
Xcinclude "arch/rs6000/conf/GENERIC.local"
X
X# Pseudo-Devices
X
X# Not yet ready -- prep lacks generic soft interrupts
X#pseudo-device crypto # /dev/crypto device
X#pseudo-device swcrypto # software crypto implementation
X
X# disk/mass storage pseudo-devices
X#pseudo-device ccd 4 # concatenated/striped disk devices
X#pseudo-device cgd 4 # cryptographic disk devices
X#pseudo-device raid 8 # RAIDframe disk driver
X#options RAID_AUTOCONFIG # auto-configuration of RAID components
X# Options to enable various other RAIDframe RAID types.
X# options RF_INCLUDE_EVENODD=1
X# options RF_INCLUDE_RAID5_RS=1
X# options RF_INCLUDE_PARITYLOGGING=1
X# options RF_INCLUDE_CHAINDECLUSTER=1
X# options RF_INCLUDE_INTERDECLUSTER=1
X# options RF_INCLUDE_PARITY_DECLUSTERING=1
X# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
Xpseudo-device fss 4 # file system snapshot device
Xpseudo-device md 1 # memory disk device (ramdisk)
Xpseudo-device vnd # disk-like interface to files
X#options VND_COMPRESSION # compressed vnd(4)
X
X# network pseudo-devices
Xpseudo-device loop # network loopback
Xpseudo-device bpfilter # Berkeley packet filter
X#pseudo-device carp # Common Address Redundancy Protocol
Xpseudo-device ipfilter # IP filter (firewall) and NAT
Xpseudo-device ppp # Point-to-Point Protocol
Xpseudo-device pppoe # PPP over Ethernet (RFC 2516)
X#pseudo-device sl # Serial Line IP
Xpseudo-device strip # Starmode Radio IP (Metricom)
Xpseudo-device tun # network tunneling over tty
Xpseudo-device tap # virtual Ethernet
Xpseudo-device gre # generic L3 over IP tunnel
Xpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
X#pseudo-device faith # IPv[46] tcp relay translation i/f
Xpseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
Xpseudo-device vlan # IEEE 802.1q encapsulation
Xpseudo-device bridge # simple inter-network bridging
X#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too
X
X#
X# accept filters
Xpseudo-device accf_data # "dataready" accept filter
Xpseudo-device accf_http # "httpready" accept filter
X
X# miscellaneous pseudo-devices
Xpseudo-device pty # pseudo-terminals
X#pseudo-device sequencer 1 # MIDI sequencer
Xpseudo-device rnd # /dev/random and in-kernel generator
X#options RND_COM # use "com" randomness as well
Xpseudo-device clockctl # user control of clock subsystem
Xpseudo-device ksyms # /dev/ksyms
X#pseudo-device pf # PF packet filter
X#pseudo-device pflog # PF log if
X
X# a pseudo device needed for Coda # also needs CODA (above)
X#pseudo-device vcoda 4 # coda minicache <-> venus comm.
X
X# wscons pseudo-devices
Xpseudo-device wsmux # mouse & keyboard multiplexor
Xpseudo-device wsfont
X
X# Veriexec
X#options VERIFIED_EXEC
X#
X# a pseudo device needed for veriexec
X#pseudo-device veriexec 1
X#
X# Uncomment the fingerprint methods below that are desired. Note that
X# removing fingerprint methods will have almost no impact on the kernel
X# code size.
X#
X#options VERIFIED_EXEC_FP_RMD160
X#options VERIFIED_EXEC_FP_SHA256
X#options VERIFIED_EXEC_FP_SHA384
X#options VERIFIED_EXEC_FP_SHA512
X#options VERIFIED_EXEC_FP_SHA1
X#options VERIFIED_EXEC_FP_MD5
END-of-./src/sys/arch/rs6000/conf/RAMDISK
exit
Home |
Main Index |
Thread Index |
Old Index