summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-05-12 11:03:05 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-05-12 11:03:05 +0000
commitb52296f1e50b1c2ae771698f79dbe50a2b929c8d (patch)
treeae7bd0bd8068776a10775edb95824eaf420a1b20 /sys/arch
parent34d641856e175b9491c77ff73053a96a1d16e1da (diff)
bring GENERIC up to date and add two new kernels:
* GENERIC_NFS - for netbooting with root & swap via nfs * GENERIC_rz0 - root & swap hardcoded to rz0 - required for zip drives - don't ask me why (kernels explicitely configured to the scsi id of the zip drive crash ...)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/pmax/conf/GENERIC8
-rw-r--r--sys/arch/pmax/conf/GENERIC_NFS136
-rw-r--r--sys/arch/pmax/conf/GENERIC_rz0137
3 files changed, 278 insertions, 3 deletions
diff --git a/sys/arch/pmax/conf/GENERIC b/sys/arch/pmax/conf/GENERIC
index 23370673e37..81bfbb09280 100644
--- a/sys/arch/pmax/conf/GENERIC
+++ b/sys/arch/pmax/conf/GENERIC
@@ -1,5 +1,5 @@
#
-# GENERIC kernel for the distribition miniroot
+# GENERIC kernel for the distribition simpleroot
#
machine pmax # machine type
@@ -19,6 +19,8 @@ option "NKMEMCLUSTERS=1024" # 4k pages in kernel malloc pool
# timezone stuff
option TIMEZONE=0
option DST=0 # use daylight savings rules
+# config bsd swap generic support
+option GENERIC # required for swap generic
maxusers 64
@@ -55,7 +57,7 @@ option KTRACE # ktrace(1) support
#option UCONSOLE # users can redirect console (unsafe)
# other filesystems
#option MFS # memory-based filesystem
-#option KERNFS # kernel data-structure filesystem
+option KERNFS # kernel data-structure filesystem
#option FDESC # user file descriptor filesystem
#option UMAPFS # uid/gid remapping filesystem
#option NULLFS # null layer filesystem
@@ -76,7 +78,7 @@ option KTRACE # ktrace(1) support
# compat stuff
#option COMPAT_ULTRIX # ultrix compatibility
-config bsd root on rz0a swap on rz0b dumps on rz0b
+config bsd swap generic
mainbus0 at root
cpu* at mainbus0
diff --git a/sys/arch/pmax/conf/GENERIC_NFS b/sys/arch/pmax/conf/GENERIC_NFS
new file mode 100644
index 00000000000..c29e0b56285
--- /dev/null
+++ b/sys/arch/pmax/conf/GENERIC_NFS
@@ -0,0 +1,136 @@
+#
+# GENERIC netboot / nfs root + swap kernel for the distribition simpleroot
+#
+
+machine pmax # machine type
+
+# generic mips support
+option CPU_R3000 # R2000/R3000 support
+option MIPS1 # R2000/R3000 support
+# support for specific models of decstation
+option DS3100 # PMAX (kn01) decstation 2100, 3100
+option DS5000_25 # MAXINE (kn02ca/xine)
+option DS5000_100 # 3MIN (kn02ba/kmin)
+option DS5000_200 # 3MAX (kn02)
+option DS5000_240 # 3MAXPLUS (kn03)
+# pmax specific
+option "HZ=256" # rtc rate required
+option "NKMEMCLUSTERS=1024" # 4k pages in kernel malloc pool
+# timezone stuff
+option TIMEZONE=0
+option DST=0 # use daylight savings rules
+
+maxusers 64
+
+# standard system options
+option SWAPPAGER # swap pager (anonymous and swap space)
+option VNODEPAGER # vnode pager (mapped files)
+option DEVPAGER # device pager (mapped devices)
+# the usual stuff
+option "COMPAT_43" # compatibility with 4.3BSD binaries
+option NATIVE_ELF # elf is our native binary format
+# the usual filesystems
+option FFS # fast filesystem
+option FIFO # posix fifo support
+option CD9660 # iso9660 cdrom filesystem
+option MSDOSFS # msdos filesystem
+# networking
+option INET # the networking stuff
+option NFSCLIENT # nfs client code
+option NFSSERVER # nfs server code
+# shared memory
+option SYSVMSG # sysv messages
+option SYSVSEM # sysv semaphores
+option SYSVSHM # sysv shared memory
+# ktrace support
+option KTRACE # ktrace(1) support
+# debugging stuff
+#option DIAGNOSTIC # extra kernel debugging checks
+#option DEBUG # extra kernel debugging support
+#option KGDB # support for kernel gdb
+#option "KGDBRATE=19200" # kernel gdb port rate (default 9600)
+#option "KGDBDEV=15*256+0" # device for kernel gdb
+# other stuff
+#option NTP # network time protocol
+#option UCONSOLE # users can redirect console (unsafe)
+# other filesystems
+#option MFS # memory-based filesystem
+option KERNFS # kernel data-structure filesystem
+#option FDESC # user file descriptor filesystem
+#option UMAPFS # uid/gid remapping filesystem
+#option NULLFS # null layer filesystem
+#option UNION # union filesystem
+#option LFS # log-based filesystem (experimental)
+#option PORTAL # portal filesystem (experimental)
+# other networking options
+#option "TCP_COMPAT_42" # compatibility with 4.2BSD tcp/ip
+#option GATEWAY # ip packet forwarding
+#option MULTICAST # multicast support
+#option MROUTING # multicast routing support
+#option ISO # osi networking
+#option TPIP
+#option EON
+# i think this is not required for us - NetBSD backwards compatibility
+#option COMPAT_10 # NetBSD 1.0
+#option COMPAT_11 # NetBSD 1.1
+#option COMPAT_12 # Netbsd 1.2
+# compat stuff
+#option COMPAT_ULTRIX # ultrix compatibility
+
+config bsd root on nfs swap on nfs
+
+mainbus0 at root
+cpu* at mainbus0
+# turbochannel bus
+tc* at mainbus0 # all but PMAXes have a turbochannel
+cfb0 at tc? # framebuffer (color)
+mfb0 at tc? # framebuffer (mono)
+sfb0 at tc?
+le0 at tc? # decstation 5000/200 baseboard
+le* at tc? # other lance network interfaces
+# ioasic standard baseboard options (5000/2x, 5000/1xx, 5000/2[46]0)
+ioasic0 at tc?
+clock0 at ioasic? # rtc
+asc0 at ioasic? # system scsi subslot
+scc0 at ioasic?
+le0 at ioasic? # tc onboard lance
+scc1 at ioasic? # not present on maxine
+# MAXINE-only ioasic baseboard devices and on-baseboard "options"
+xcfb0 at tc? # tc framebuffer "option"
+dtop0 at ioasic0 # destop bus, lk501 kbd, mouse
+# 5000/200-only (aka 3MAX aka KN02) baseboard devices (tc but no ioasic)
+clock0 at mainbus0 # rtc
+dc0 at mainbus0
+le0 at tc? # tc ether "option" on baseboard
+asc0 at tc? # tc scsi "option" on baseboard
+# for now, pretend this machine has an ioasic
+dc0 at ioasic? # dc7083 four-port dz device
+# 2100/3100-only (aka PMAX aka KN01) baseboard devices.
+clock0 at mainbus0 # rtc
+pm0 at mainbus0 # 3100 onboard fb
+dc0 at mainbus0 # dc7083 four-port dz device
+le* at mainbus0 # 3100 onboard lance
+sii0 at mainbus0 # onboard scsi
+# the scsi busses
+oldscsibus* at sii?
+oldscsibus* at asc?
+# scsi configuration for old 4.4bsd/pmax decstation scsi driver
+rz0 at oldscsibus? target ? drive ?
+rz1 at oldscsibus? target ? drive ?
+rz2 at oldscsibus? target ? drive ?
+rz3 at oldscsibus? target ? drive ?
+rz4 at oldscsibus? target ? drive ?
+rz5 at oldscsibus? target ? drive ?
+rz6 at oldscsibus? target ? drive ?
+tz0 at oldscsibus? target ? drive ?
+tz1 at oldscsibus? target ? drive ?
+
+pseudo-device loop 1
+pseudo-device sl 1 # serial-line ip ports
+pseudo-device ppp 1 # point ot point ip ports
+pseudo-device rasterconsole 1 # nb: raster console requires "fb"
+pseudo-device fb 1 # up to 3 framebuffers
+pseudo-device vnd 4 # virtual disk ick
+pseudo-device ccd 4 # concatenated disks
+pseudo-device bpfilter 16 # packet filter ports
+pseudo-device pty 64 # pseudo ptys
diff --git a/sys/arch/pmax/conf/GENERIC_rz0 b/sys/arch/pmax/conf/GENERIC_rz0
new file mode 100644
index 00000000000..875c1a11804
--- /dev/null
+++ b/sys/arch/pmax/conf/GENERIC_rz0
@@ -0,0 +1,137 @@
+#
+# GENERIC kernel for the distribition simpleroot with root + swap hardcoded
+# to rz0 - required for use with zip drives for instance
+#
+
+machine pmax # machine type
+
+# generic mips support
+option CPU_R3000 # R2000/R3000 support
+option MIPS1 # R2000/R3000 support
+# support for specific models of decstation
+option DS3100 # PMAX (kn01) decstation 2100, 3100
+option DS5000_25 # MAXINE (kn02ca/xine)
+option DS5000_100 # 3MIN (kn02ba/kmin)
+option DS5000_200 # 3MAX (kn02)
+option DS5000_240 # 3MAXPLUS (kn03)
+# pmax specific
+option "HZ=256" # rtc rate required
+option "NKMEMCLUSTERS=1024" # 4k pages in kernel malloc pool
+# timezone stuff
+option TIMEZONE=0
+option DST=0 # use daylight savings rules
+
+maxusers 64
+
+# standard system options
+option SWAPPAGER # swap pager (anonymous and swap space)
+option VNODEPAGER # vnode pager (mapped files)
+option DEVPAGER # device pager (mapped devices)
+# the usual stuff
+option "COMPAT_43" # compatibility with 4.3BSD binaries
+option NATIVE_ELF # elf is our native binary format
+# the usual filesystems
+option FFS # fast filesystem
+option FIFO # posix fifo support
+option CD9660 # iso9660 cdrom filesystem
+option MSDOSFS # msdos filesystem
+# networking
+option INET # the networking stuff
+option NFSCLIENT # nfs client code
+option NFSSERVER # nfs server code
+# shared memory
+option SYSVMSG # sysv messages
+option SYSVSEM # sysv semaphores
+option SYSVSHM # sysv shared memory
+# ktrace support
+option KTRACE # ktrace(1) support
+# debugging stuff
+#option DIAGNOSTIC # extra kernel debugging checks
+#option DEBUG # extra kernel debugging support
+#option KGDB # support for kernel gdb
+#option "KGDBRATE=19200" # kernel gdb port rate (default 9600)
+#option "KGDBDEV=15*256+0" # device for kernel gdb
+# other stuff
+#option NTP # network time protocol
+#option UCONSOLE # users can redirect console (unsafe)
+# other filesystems
+#option MFS # memory-based filesystem
+option KERNFS # kernel data-structure filesystem
+#option FDESC # user file descriptor filesystem
+#option UMAPFS # uid/gid remapping filesystem
+#option NULLFS # null layer filesystem
+#option UNION # union filesystem
+#option LFS # log-based filesystem (experimental)
+#option PORTAL # portal filesystem (experimental)
+# other networking options
+#option "TCP_COMPAT_42" # compatibility with 4.2BSD tcp/ip
+#option GATEWAY # ip packet forwarding
+#option MULTICAST # multicast support
+#option MROUTING # multicast routing support
+#option ISO # osi networking
+#option TPIP
+#option EON
+# i think this is not required for us - NetBSD backwards compatibility
+#option COMPAT_10 # NetBSD 1.0
+#option COMPAT_11 # NetBSD 1.1
+#option COMPAT_12 # Netbsd 1.2
+# compat stuff
+#option COMPAT_ULTRIX # ultrix compatibility
+
+config bsd root on rz0a swap on rz0b dumps on rz0b
+
+mainbus0 at root
+cpu* at mainbus0
+# turbochannel bus
+tc* at mainbus0 # all but PMAXes have a turbochannel
+cfb0 at tc? # framebuffer (color)
+mfb0 at tc? # framebuffer (mono)
+sfb0 at tc?
+le0 at tc? # decstation 5000/200 baseboard
+le* at tc? # other lance network interfaces
+# ioasic standard baseboard options (5000/2x, 5000/1xx, 5000/2[46]0)
+ioasic0 at tc?
+clock0 at ioasic? # rtc
+asc0 at ioasic? # system scsi subslot
+scc0 at ioasic?
+le0 at ioasic? # tc onboard lance
+scc1 at ioasic? # not present on maxine
+# MAXINE-only ioasic baseboard devices and on-baseboard "options"
+xcfb0 at tc? # tc framebuffer "option"
+dtop0 at ioasic0 # destop bus, lk501 kbd, mouse
+# 5000/200-only (aka 3MAX aka KN02) baseboard devices (tc but no ioasic)
+clock0 at mainbus0 # rtc
+dc0 at mainbus0
+le0 at tc? # tc ether "option" on baseboard
+asc0 at tc? # tc scsi "option" on baseboard
+# for now, pretend this machine has an ioasic
+dc0 at ioasic? # dc7083 four-port dz device
+# 2100/3100-only (aka PMAX aka KN01) baseboard devices.
+clock0 at mainbus0 # rtc
+pm0 at mainbus0 # 3100 onboard fb
+dc0 at mainbus0 # dc7083 four-port dz device
+le* at mainbus0 # 3100 onboard lance
+sii0 at mainbus0 # onboard scsi
+# the scsi busses
+oldscsibus* at sii?
+oldscsibus* at asc?
+# scsi configuration for old 4.4bsd/pmax decstation scsi driver
+rz0 at oldscsibus? target ? drive ?
+rz1 at oldscsibus? target ? drive ?
+rz2 at oldscsibus? target ? drive ?
+rz3 at oldscsibus? target ? drive ?
+rz4 at oldscsibus? target ? drive ?
+rz5 at oldscsibus? target ? drive ?
+rz6 at oldscsibus? target ? drive ?
+tz0 at oldscsibus? target ? drive ?
+tz1 at oldscsibus? target ? drive ?
+
+pseudo-device loop 1
+pseudo-device sl 1 # serial-line ip ports
+pseudo-device ppp 1 # point ot point ip ports
+pseudo-device rasterconsole 1 # nb: raster console requires "fb"
+pseudo-device fb 1 # up to 3 framebuffers
+pseudo-device vnd 4 # virtual disk ick
+pseudo-device ccd 4 # concatenated disks
+pseudo-device bpfilter 16 # packet filter ports
+pseudo-device pty 64 # pseudo ptys