Port-prep archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 7.1 on a IBM 43P, 7248-132



No problem, attached are the two config files. If they don't show up, I can paste them into emails.
Some quick pointers on some differences from the generic config:
-WD is disabled. I originally tried to use IDE drives since the SCSI drives I have are somewhat loud. Could not get the system to boot off of them, so decided not to use them. You might be able to use IDE for secondary drives.
-Stripped out PCMCIA.
-Removed any options for PCI/ISA that are not specific to this system.
-There are options turned on for a PCI NIC and an ISA NIC.
-USB subsystem enabled.
-The boot device is specified as SD0 and using FFS. This was due to the boot process not automatically finding the root drive (still unsure of the root cause). This will allow the boot process to reach the login prompt without prompting for the root device.

On a side note, I'm working with the developer of a SCSI2 to SD card adapter to get it to work with the 7248. He frequently provides updates for the firmware so this may become an option if you want quieter solid state storage.


On 09/11/2017 09:37 PM, William Orr wrote:
Hey,

I know this is quite some time later, but I'd be very interested in your
kernel config!!

Thanks!

On 07/22/17 02:55, T wrote:
Finally got this to work:
http://dmesgd.nycbug.org/index.cgi?do=view&id=3228

I had to recompile the kernel to add in support for a PCI NIC and PCI
USB card and took the opportunity to trim out some things that were not
needed or planned on being used (WD).

I was wrong about the 2MB limit but ended up making a small kernel to
put into the PReP partion based on the INSTALL_SMALL kernel config.

I can post the kernel config files if you would find it useful.

On 07/01/2017 01:34 AM, T wrote:
I'm using the integrated ncr53c810 SCSI-2 controller so it may not be
the same issue you are having.

Using sysinst_small.fs in the PReP partition allowed loading of the
boot loader. The boot process will proceed to a point where it
requires user input to specify a boot device because it does not find
one by default. Providing it "sd0" will allow for the generic kernel
to load (when going multi-user?) and provide the login prompt.

If I enter "boot -s" at the boot loader prompt (single user), it will
boot into sysinst.

sysinst.fs will boot when I network boot with BOOTP/TFTP. I have not
tried writing that into the PReP partition (as I did with the small
version) but I suspect it would work because it is less than 2MB in size.

sysinst_com0.fs used in the same way mentioned above will not work for
me. I have not tried sysinst_small_com0.fs in this manner.


On 06/30/2017 03:35 AM, Artyom Tarasenko wrote:
Interesting. At a first glance the log says that the scsi driver is
broken in the NetBSD 7+. I hit that problem in this thread:
http://mail-index.netbsd.org/port-prep/2017/01/23/msg000108.html

Are you saying the very same NetBSD version works for you if you use a
smaller sysinit image?

On Fri, Jun 30, 2017 at 7:23 AM, T <bobs%thelibertytree.org@localhost> wrote:
The PReP partition was set to use 5MB (as recommended in the
documentation)
and located in the first BIOS partition. Only the kernels 2MB or
less seem
to make it to the boot loader for me. The <2MB serial console
sysinit image
will make it to the boot loader if I put it into the PReP partition,
but
will not boot past that point as mentioned in this thread:
http://mail-index.netbsd.org/port-prep/2017/06/27/msg000119.html



On 06/29/2017 03:32 AM, Artyom Tarasenko wrote:
Is it a general issue, or was the PReP partition just too small in
your
setup?

On Thu, Jun 29, 2017 at 10:15 AM, T <bobs%thelibertytree.org@localhost> wrote:
Found that the kernel size is the issue by using mkbootimage with
install_small.fs and dding that into the PreP partition and
getting that
to
boot. Will end up doing the small kernel work around mentioned in the
referenced email thread.



On 06/24/2017 06:37 PM, t wrote:
Hello,
I'm trying to get NetBSD 7.1 working on a 7248-132 but cannot get
the
computer to boot from the SCSI disk after installation. Booting the
install kernel over the network seems to work with BOOTP/TFTP. After
completing the installation process and restarting the machine, I
load
into the SMS and change the boot priority to boot from the SCSI disk
instead of the network. Upon restarting and completing the boot
screen,
the computer ends up at a black screen and blinking cursor.
I believe this issue may be related to this thread:
https://mail-index.netbsd.org/port-prep/2014/07/thread1.html#000101

This is my first time installing NetBSD so it could also be
something
I'm
doing.

I've tried re-writing the generic kernel to the prep partition with
"mkbootimage" but that did not seem to work.
Any help would be appreciated.


One other thing I've noticed with this machine is interactions
with the
pcn0 device seem to occasionally lockup the machine. I originally
was
going to install the NetBSD binary packages from a NFS mount, but
the
system would lockup halfway through the installation of the second
package. I bypassed this issue by using the CDROM instead.



# $NetBSD: GENERIC,v 1.170.6.2 2014/11/18 19:05:31 snj Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default NetBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling NetBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

include 	"arch/prep/conf/std.prep"

options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

#ident		"GENERIC-$Revision: 1.170.6.2 $"

maxusers	32

# Platform support

#options 	PIC_OPENPIC	# OpenPIC support (7043-140)
options 	PIC_PREPIVR

# Standard system options

options 	RTC_OFFSET=-360	# hardware clock is this many mins. west of GMT
options 	NTP		# NTP phase/frequency locked loop

options 	KTRACE		# system call tracing via ktrace(1)

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

options 	USERCONF	# userconf(4) support
#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel

# Enable experimental buffer queue strategy for better responsiveness under
# high disk I/O load. Use it with caution - it's not proven to be stable yet.
#options 	BUFQ_READPRIO
#options 	BUFQ_PRIOCSCAN

# Diagnostic/debugging support options
#options 	DIAGNOSTIC	# cheap kernel consistency checks
#options 	DEBUG		# expensive debugging checks/support
#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
options 	DDB		# in-kernel debugger
#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#makeoptions	DEBUG="-g"

# Compatibility options
options 	COMPAT_13	# NetBSD 1.3,
options 	COMPAT_14	# NetBSD 1.4,
options 	COMPAT_15	# NetBSD 1.5,
options 	COMPAT_16	# NetBSD 1.6,
options 	COMPAT_20	# NetBSD 2.0,
options 	COMPAT_30	# NetBSD 3.0,
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_43	# and 4.3BSD
#options 	COMPAT_LINUX	# Linux binary compatibility
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# File systems
file-system 	FFS		# UFS
file-system	EXT2FS		# second extended file system (linux)
#file-system	LFS		# log-structured file system
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
#file-system	NTFS		# Windows/NT file system (experimental)
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
#file-system 	FDESC		# /dev/fd
file-system 	KERNFS		# /kern
file-system 	NULLFS		# loopback file system
#file-system	OVERLAY		# overlay file system
file-system 	PROCFS		# /proc
#file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union file system
#file-system	CODA		# Coda File System; also needs vcoda (below)
file-system	PTYFS		# /dev/pts/N support
file-system	TMPFS		# Efficient memory file-system
#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system

# File system options
options 	QUOTA		# legacy UFS quotas
options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
options 	WAPBL		# File system journaling support
#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
options 	NFSSERVER	# Network File System server
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
options 	UFS_EXTATTR	# Extended attribute support for UFS1
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 				# immutable) behave as system flags.

# Networking options
#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPv6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking protocols
options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
options 	PPP_DEFLATE	# Deflate compression support for PPP
options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
options 	IPFILTER_LOG	# ipmon(8) log support
options 	IPFILTER_LOOKUP	# ippool(8) support
options 	IPFILTER_COMPAT # Compat for IP-Filter
#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

#options 	ALTQ		# Manipulate network interfaces' output queues
#options 	ALTQ_BLUE	# Stochastic Fair Blue
#options 	ALTQ_CBQ	# Class-Based Queueing
#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
#options 	ALTQ_FIFOQ	# First-In First-Out Queue
#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
#options 	ALTQ_LOCALQ	# Local queueing discipline
#options 	ALTQ_PRIQ	# Priority Queueing
#options 	ALTQ_RED	# Random Early Detection
#options 	ALTQ_RIO	# RED with IN/OUT
#options 	ALTQ_WFQ	# Weighted Fair Queueing

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
options 	SCSIVERBOSE	# human readable SCSI error messages
options 	USBVERBOSE	# verbose USB device autoconfig messages
#options 	RESIDUAL_DATA_DUMP	# verbosely dump residual data
#options 	NVRAM_DUMP	# verbosely dump contents of nvram.
				# Warning: output may not be ascii!

#options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_BOOTPARAM
options 	NFS_BOOT_DHCP

#
# wscons options
#
# builtin terminal emulations
options 	WSEMUL_VT100		# VT100 / VT220 emulation
# different kernel output - see dev/wscons/wsdisplayvar.h
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR

# Kernel root file system and dump configuration.
config netbsd root on sd0 type ffs
#config	netbsd	root on ? type ?
#config	netbsd	root on tlp0 type nfs
#config	netbsd	root on pcn0 type nfs


#
# Device configuration
#

mainbus0 at root
cpu0	at mainbus0


# Basic Bus Support

# PCI bus support
pci0	at mainbus0 bus ?
pci*	at pchb? bus ?
#pci*	at ppb? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
#ppb*	at pci? dev ? function ?	# PCI-PCI bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges
#pceb*	at pci? dev ? function ?	# PCI-EISA bridges

# EISA bus support
#eisa*	at pceb?

# ISA bus support
isa*	at pcib?			# ISA on PCI-ISA bridge
#isa*	at pceb?

# PCMCIA bus support
#pcmcia* at pcic? controller ? socket ?

# ISA PCMCIA controllers
#pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000

#options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
#options 	PCIC_ISA_ALLOC_IOBASE=0x0400
#options 	PCIC_ISA_ALLOC_IOSIZE=0x0100

# ISA Plug-and-Play bus support
isapnp0	at isa?

# PnPbus bus support (required)
pnpbus0	at mainbus0

# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
pms*		at pckbc?		# PS/2 mouse for wsmouse
vga*		at pci?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
wsmouse*	at pms? mux 0

attimer0	at isa?			# AT Timer
pcppi0	at isa?				# PC prog. periph. interface
isabeep0 at pcppi?			# "keyboard" beep

#mcclock0 at isa? port 0x70		# mc146818 and compatible
mcclock* at pnpbus?			# mc146818 and compatible
#mkclock* at pnpbus?			# mk48t18 and compatible

nvram*	at pnpbus?

# Cryptographic Devices

# PCI cryptographic devices
#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x


# Serial Devices

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
com1	at isa? port 0x2f8 irq 3

# PCMCIA serial interfaces
#com*	at pcmcia? function ?		# Modems and serial cards

#pcmcom* at pcmcia? function ?		# PCMCIA multi-port serial cards
#com*	at pcmcom? slave ?		# ...and the slave devices


# Parallel Printer Interfaces

# ISA parallel printer interfaces
lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports


# SCSI Controllers and Devices

# PCI SCSI controllers
#adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
#ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
#iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
#pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
#esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer

# PCMCIA SCSI controllers
#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
#spc* 	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI

# SCSI bus support
#scsibus* at adw?
#scsibus* at ahc?
#scsibus* at aic?
#scsibus* at iha?
#scsibus* at pcscp?
scsibus* at siop?
#scsibus* at spc?
#scsibus* at esiop?

# SCSI devices
sd*	at scsibus? target ? lun ?	# SCSI disk drives
#st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
#ch*	at scsibus? target ? lun ?	# SCSI autochangers
#ss*	at scsibus? target ? lun ?	# SCSI scanners
#uk*	at scsibus? target ? lun ?	# SCSI unknown

# IDE and related devices

# IDE controller found on most Power Personal machines
#wdc*	at pnpbus?

# PCI IDE controllers
#pciide*		at pci? dev ? function ? flags 0x0000
#hptide*		at pci? dev ? function ?
#slide*		at pci? dev ? function ?

fdc0 at pnpbus?	# standard ISA floppy controller
fd0 at fdc0 drive ?

# ISA Plug-and-Play IDE controllers
#wdc*	at isapnp?

# PCMCIA IDE controllers
#wdc*	at pcmcia? function ?

# ATA (IDE) bus support
#atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
#wd*	at atabus? drive ? flags 0x0000

# ATAPI bus support
#atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown

# Miscellaneous mass storage devices

# Network Interfaces

# PCI network interfaces
#ep*	at pci? dev ? function ?	# 3Com 3c59x
#ex*	at pci? dev ? function ?	# 3Com 3c90x[BC]
#fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
#ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
#rtk*	at pci? dev ? function ?	# Realtek 8129/8139
#sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
#vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
# pnpbus network interfaces
#we*	at pnpbus?			# WD/SMC Ethernet

# ISA network interfaces
#ep*	at isa? port ? irq ?		# 3Com 3c509 Ethernet
#ne0	at isa? port 0x280 irq 9	# NE2000-compatible Ethernet
#ne1	at isa? port 0x300 irq 10
#we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
#we1	at isa? port 0x300 iomem 0xe8000 irq 11

# ISA Plug-and-Play network intefaces
ep*	at isapnp?			# 3Com 3c509 Ethernet
#ne*	at isapnp?			# NE2000-compatible Ethernet

# PCMCIA network interfaces
#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet

# MII/PHY support
#dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
#exphy*	at mii? phy ?			# 3Com internal PHYs
#icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
#inphy*	at mii? phy ?			# Intel 82555 PHYs
#iophy*	at mii? phy ?			# Intel 82553 PHYs
#lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
nsphy*	at mii? phy ?			# NS83840 PHYs
#nsphyter* at mii? phy ?			# NS83843 PHYs
#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
#tlphy*	at mii? phy ?			# ThunderLAN PHYs
#tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

# USB Controller and Devices

# PCI USB controllers
#uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
ohci*	at pci? dev ? function ?	# Open Host Controller

# PCMCIA USB controllers
#slhci*	at pcmcia? function ?		# ScanLogic SL811HS

# USB bus support
#usb*	at uhci?
usb*	at ohci?
#usb*	at slhci?

# USB Hubs
uhub*	at usb?
uhub*	at uhub? port ?

# USB HID device
uhidev*	at uhub? port ? configuration ? interface ?

# USB Mice
ums*	at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB Keyboards
ukbd*	at uhidev? reportid ?
wskbd*	at ukbd? console ? mux 1

# USB serial adapter
ucycom*	at uhidev? reportid ?

# USB Generic HID devices
uhid*	at uhidev? reportid ?

# USB Printer
#ulpt*	at uhub? port ? configuration ? interface ?

# USB Modem
#umodem* at uhub? port ? configuration ?
#ucom*	at umodem?

# Option N.V. Wireless WAN modems
#uhso*	at uhub? port ? configuration ?

# USB Mass Storage
umass*	at uhub? port ? configuration ? interface ?
scsibus* at umass? channel ?
atapibus* at umass?

# USB audio
#uaudio* at uhub? port ? configuration ?

# USB Ethernet adapters
#aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
#axe*	at uhub? port ?		# ASIX AX88172 based adapters
#cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
#kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
#url*	at uhub? port ?		# Realtek RTL8150L based adapters
#udav*	at uhub? port ?		# Davicom DM9601 based adapters

# Prolific PL2301/PL2302 host-to-host adapter
#upl*	at uhub? port ?

# Serial adapters
#uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
#ucom*	at uftdi? portno ?

#umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
#ucom*	at umct? portno ?

#uplcom* at uhub? port ?	# I/O DATA USB-RSAQ2 serial adapter
#ucom*	at uplcom? portno ?

#uvscom* at uhub? port ?	# SUNTAC Slipper U VS-10U serial adapter
#ucom*	at uvscom? portno ?

# Diamond Multimedia Rio 500
#urio*	at uhub? port ?

# USB Handspring Visor
#uvisor* at uhub? port ?
#ucom*	at uvisor?

# Kyocera AIR-EDGE PHONE
#ukyopon* at uhub? port ?
#ucom*	at ukyopon? portno ?

# Y@P firmware loader
#uyap* at uhub? port ?

# USB Generic driver
ugen*	at uhub? port ?

# USB scanners
#uscanner* at uhub? port ?


# Audio device

# ISA Plug-and-Play audio devices
#wss*	at isapnp?			# CS4232
#wss0    at isa? port 0x530 irq 5 drq 1 drq2 0

# Audio support
#audio*	at uaudio?
#audio*	at audiocs?

# MIDI support
#midi*	at pcppi?		# MIDI interface to the PC speaker

# The spkr driver provides a simple tone interface to the built in speaker.
#spkr0	at pcppi?		# PC speaker


# Joysticks

# ISA Plug-and-Play joysticks
#joy*	at isapnp?			# Game ports (usually on audio cards)

# ISA joysticks. Probe is a little strange; add only if you have one.
#joy0	at isa? port 0x201

# Pull in optional local configuration
cinclude "arch/prep/conf/GENERIC.local"

# Pseudo-Devices

pseudo-device 	crypto		# /dev/crypto device
pseudo-device	swcrypto	# software crypto implementation

# disk/mass storage pseudo-devices
pseudo-device	ccd			# concatenated/striped disk devices
#pseudo-device	cgd			# cryptographic disk devices
pseudo-device	raid			# RAIDframe disk driver
options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
# Options to enable various other RAIDframe RAID types.
#options 	RF_INCLUDE_EVENODD=1
#options 	RF_INCLUDE_RAID5_RS=1
#options 	RF_INCLUDE_PARITYLOGGING=1
#options 	RF_INCLUDE_CHAINDECLUSTER=1
#options 	RF_INCLUDE_INTERDECLUSTER=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
pseudo-device	fss			# file system snapshot device
pseudo-device	md			# memory disk device (ramdisk)
pseudo-device	vnd			# disk-like interface to files
#options 	VND_COMPRESSION		# compressed vnd(4)

# network pseudo-devices
pseudo-device	loop			# network loopback
pseudo-device	bpfilter		# Berkeley packet filter
#pseudo-device	carp			# Common Address Redundancy Protocol
pseudo-device	ipfilter		# IP filter (firewall) and NAT
pseudo-device	ppp			# Point-to-Point Protocol
pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
#pseudo-device	sl			# Serial Line IP
pseudo-device	strip			# Starmode Radio IP (Metricom)
pseudo-device	tun			# network tunneling over tty
pseudo-device	tap			# virtual Ethernet
pseudo-device	gre			# generic L3 over IP tunnel
pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
#pseudo-device	faith			# IPv[46] tcp relay translation i/f
pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
pseudo-device	vlan			# IEEE 802.1q encapsulation
pseudo-device	bridge			# simple inter-network bridging
#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
pseudo-device	agr			# IEEE 802.3ad link aggregation

#
# accept filters
pseudo-device   accf_data		# "dataready" accept filter
pseudo-device   accf_http		# "httpready" accept filter

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#pseudo-device	sequencer		# MIDI sequencer
#options 	RND_COM			# use "com" randomness as well
pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
#pseudo-device	pf			# PF packet filter
#pseudo-device	pflog			# PF log if

# a pseudo device needed for Coda	# also needs CODA (above)
#pseudo-device	vcoda			# coda minicache <-> venus comm.

# wscons pseudo-devices
pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

options 	FILEASSOC		# fileassoc(9) - required for Veriexec

# Veriexec
#
# a pseudo device needed for veriexec
pseudo-device	veriexec
#
# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#
options VERIFIED_EXEC_FP_RMD160
options VERIFIED_EXEC_FP_SHA256
options VERIFIED_EXEC_FP_SHA384
options VERIFIED_EXEC_FP_SHA512
options VERIFIED_EXEC_FP_SHA1
options VERIFIED_EXEC_FP_MD5
#	$NetBSD: INSTALL_SMALL,v 1.15 2014/08/08 16:56:31 joerg Exp $
#
#	INSTALL -- Installation kernel
#

include "arch/prep/conf/std.prep"

#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary

makeoptions	COPTS="-Os"	# Reduce size.

maxusers	8

# Platform support
#options 	PIC_OPENPIC	# OpenPIC support (7043-140)
options 	PIC_PREPIVR
#options 	PIC_I8259

# Compatibility options
#options 	COMPAT_13	# NetBSD 1.3,
#options 	COMPAT_14	# NetBSD 1.4,
#options 	COMPAT_15	# NetBSD 1.5,
#options 	COMPAT_16	# NetBSD 1.6,
#options 	COMPAT_43	# and 4.3BSD
options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
no options	EXEC_AOUT	# no a.out support

# File systems
file-system 	FFS		# UFS
#file-system	EXT2FS		# second extended file system (linux)
file-system 	MFS		# memory file system
file-system 	NFS		# Network File System client
file-system 	CD9660		# ISO 9660 + Rock Ridge file system
file-system 	MSDOSFS		# MS-DOS file system
#file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	FFS_EI		# FFS Endian Independent support
options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 				# immutable) behave as system flags.
options 	WAPBL		# File system journaling support

#options 	USERCONF	# userconf(4) support
options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
options 	NFS_V2_ONLY	# Exclude NFS3 code to save space

# Networking options
options 	INET		# IP + ICMP + TCP + UDP
#options 	NFS_BOOT_BOOTPARAM
#options 	NFS_BOOT_DHCP

#
# wscons options
#
# builtin terminal emulations
options 	WSEMUL_VT100		# VT100 / VT220 emulation
options 	WSDISPLAY_DEFAULTSCREENS=1
#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
# different kernel output - see dev/wscons/wsdisplayvar.h
options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WS_KERNEL_BG=WSCOL_BLACK
# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
# allocate a number of virtual screens at autoconfiguration time
#options 	WSDISPLAY_DEFAULTSCREENS=4
# use a large software cursor that doesn't blink
options 	PCDISPLAY_SOFTCURSOR

# Kernel root file system and dump configuration.
config	netbsd	root on sd0 type ffs 

#
# Device configuration
#

mainbus0 at root
cpu0	at mainbus0

# Basic Bus Support

# PCI bus support
pci0	at mainbus0 bus ?
pci*	at pchb? bus ?
#pci*	at ppb? bus ?

# PCI bridges
pchb*	at pci? dev ? function ?	# PCI-Host bridges
pcib*	at pci? dev ? function ?	# PCI-ISA bridges
ppb*	at pci? dev ? function ?	# PCI-PCI bridges
#pceb*	at pci? dev ? function ?	# PCI-EISA bridges

# EISA bus support
#eisa*   at pceb?

# ISA bus support
isa*	at pcib?			# ISA on PCI-ISA bridge
#isa*	at pceb?

# PCMCIA bus support
#pcmcia* at pcic? controller ? socket ?

# ISA PCMCIA controllers
#pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000

#options 	PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14
#options 	PCIC_ISA_ALLOC_IOBASE=0x0400
#options 	PCIC_ISA_ALLOC_IOSIZE=0x0100

# ISA Plug-and-Play bus support
isapnp0 at isa?

# PNP bus device for attaching objects descibed in the residual
pnpbus0	at mainbus0

# Console Devices

# wscons
pckbc0		at isa?			# pc keyboard controller
pckbd*		at pckbc?		# PC keyboard
#pms*		at pckbc?		# PS/2 mouse for wsmouse
vga*		at pci?
wsdisplay*	at vga? console ?
wskbd*		at pckbd? console ?
#wsmouse*	at pms? mux 0

mcclock* at pnpbus?			# mc146818 and compatible
mkclock* at pnpbus?			# mk48t18 and compatible
nvram* at pnpbus?

# Serial Devices

# ISA serial interfaces
com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
com1	at isa? port 0x2f8 irq 3

# Parallel Printer Interfaces

# ISA parallel printer interfaces
#lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports


# SCSI Controllers and Devices

# PCI SCSI controllers
#adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
#ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
#esiop*	at pci? dev ? function ?	# Symbios 53c825/875 and newer chips
#iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
#pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI

# PCMCIA SCSI controllers
#aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI

# SCSI bus support
#scsibus* at adw?
#scsibus* at ahc?
#scsibus* at aic?
#scsibus* at esiop?
#scsibus* at iha?
#scsibus* at pcscp?
scsibus* at siop?

# SCSI devices
sd*	at scsibus? target ? lun ?	# SCSI disk drives
#st*	at scsibus? target ? lun ?	# SCSI tape drives
cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives


# IDE and related devices

# IDE controller found on most Power Personal machines
#wdc*	at pnpbus?

# PCMCIA IDE controllers
#wdc*	at pcmcia? function ?

# ATA (IDE) bus support
#atabus* at ata?

# IDE drives
# Flags are used only with controllers that support DMA operations
# and mode settings (e.g. some pciide controllers)
# The lowest order four bits (rightmost digit) of the flags define the PIO
# mode to use, the next set of four bits the DMA mode and the third set the
# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
# to use, and the last bit must be 1 for this setting to be used.
# For DMA and UDMA, 0xf (1111) means 'disable'.
# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
# (0xc=1100, 0xa=1010, 0xf=1111)
# 0x0000 means "use whatever the drive claims to support".
#wd*	at atabus? drive ? flags 0x0000

# ATAPI bus support
#atapibus* at atapi?

# ATAPI devices
# flags have the same meaning as for IDE drives.
#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives

# Miscellaneous mass storage devices

# ISA floppy
#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
#fd*	at fdc? drive ?

# Network Interfaces

# PCI network interfaces
#ep*	at pci? dev ? function ?	# 3Com 3c59x
#ex*	at pci? dev ? function ?	# 3Com 3c90x[BC]
#fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
#ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
#rtk*	at pci? dev ? function ?	# Realtek 8129/8139
#sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
#vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet

# ISA network interfaces
#ep*	at isa? port ? irq ?		# 3Com 3c509 Ethernet
#we1	at isa? port 0x300 iomem 0xe4000 irq 11	# WD/SMC Ethernet

# ISA Plug-and-Play network intefaces
#ep*	at isapnp?			# 3Com 3c509 Ethernet
#ne*	at isapnp?			# NE2000-compatible Ethernet

# PCMCIA network interfaces
#ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
#ne*	at pcmcia? function ?		# NE2000-compatible Ethernet

# MII/PHY support
#exphy*	at mii? phy ?			# 3Com internal PHYs
#inphy*	at mii? phy ?			# Intel 82555 PHYs
#nsphy*	at mii? phy ?			# NS83840 PHYs
#qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
#sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
ukphy*	at mii? phy ?			# generic unknown PHYs

# Pull in optional local configuration
include "arch/prep/conf/INSTALL.local"

# Pseudo-Devices

# disk/mass storage pseudo-devices
pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	fss			# file system snapshot device

# network pseudo-devices
pseudo-device	loop			# network loopback

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
options		NO_DEV_PTM
#options 	RND_COM			# use "com" randomness as well


Home | Main Index | Thread Index | Old Index