Subject: Some question regarding the kernel-config file
To: None <netbsd-help@netbsd.org>
From: Sung N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 12/15/2002 09:41:19
Hello,

I was wondering what the MTRR option in the kernel configuration was.  It=
=20
surely feels like my system is actually faster without MTRR in kernel.

My kernel configuration looks as such:---------

# Sung's custom kernel configuration

include "arch/i386/conf/std.i386"
ident =09=09"MYKERNEL-i686-WorkStation-Purpose-$Revision: 1.50.4.3 $"
maxusers=0916=09=09# estimated number of users
options =09I686_CPU
options =09DUMMY_NOPS
options =09CPURESET_DELAY=3D0

# Standard system options

options =09UCONSOLE=09# users can use TIOCCONS (for xconsole)
options =09INSECURE=09# disable kernel security levels

options =09RTC_OFFSET=3D0=09# hardware clock is this many mins. west of G=
MT
options =09NTP=09=09# NTP phase/frequency locked loop

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

# Compatibility options
options =09COMPAT_LINUX=09# binary compatibility with Linux

# File systems
file-system =09FFS=09=09# UFS
file-system =09MFS=09=09# memory file system
file-system =09CD9660=09=09# ISO 9660 + Rock Ridge file system

# File system options
options =09SOFTDEP=09=09# FFS soft updates support.

# Networking options
options =09INET=09=09# IP + ICMP + TCP + UDP

#
# wscons options
#
options =09WSEMUL_VT100=09=09# VT100 / VT220 emulation
options =09WSDISPLAY_COMPAT_PCVT=09=09# emulate some ioctls
options =09WSDISPLAY_COMPAT_USL=09=09# VT handling
options =09WSDISPLAY_COMPAT_RAWKBD=09=09# can get raw scancodes
options =09PCDISPLAY_SOFTCURSOR

# Kernel root file system and dump configuration.
config=09=09netbsd=09root on ? type ?

#
# Device configuration
#

mainbus0 at root

apm0=09at mainbus0=09=09=09# Advanced power management

# Basic Bus Support

# PCI bus support
pci*=09at mainbus? bus ?
pci*=09at pchb? bus ?
pci*=09at ppb? bus ?

# Configure PCI using BIOS information
options =09PCIBIOS=09=09=09# PCI BIOS support
options =09PCIBIOS_ADDR_FIXUP=09# fixup PCI I/O addresses
options =09PCIBIOS_BUS_FIXUP=09# fixup PCI bus numbering
options =09PCIBIOS_INTR_FIXUP=09# fixup PCI interrupt routing
options =09PCIBIOS_INTR_GUESS=09# see pcibios(4)

# PCI bridges
pchb*=09at pci? dev ? function ?=09# PCI-Host bridges
pcib*=09at pci? dev ? function ?=09# PCI-ISA bridges
ppb*=09at pci? dev ? function ?=09# PCI-PCI bridges

agp* =09at pchb?

# ISA bus support
isa0=09at pcib?

# CardBus bridge support
cbb*=09=09at pci? dev ? function ?
cardslot*=09at cbb?

# CardBus bus support
cardbus*=09at cardslot?
pcmcia* =09at cardslot?

# Coprocessor Support

# Math Coprocessor support
npx0=09at isa? port 0xf0 irq 13=09# x86 math coprocessor


# Console Devices

# wscons
pckbc0=09=09at isa?=09=09=09# pc keyboard controller
pckbd*=09=09at pckbc?=09=09# PC keyboard
vga*=09=09at pci? dev ? function ?
wsdisplay*=09at vga? console ?
wskbd* =09=09at pckbd? console ?

pcppi0=09=09at isa?
sysbeep0=09at pcppi?


# IDE and related devices
pciide* at pci? dev ? function ? flags 0x0000

# IDE drives
wd*=09at pciide? channel ? drive ? flags 0x0000

# ATAPI bus support
atapibus* at pciide? channel ?

# ATAPI devices
cd*=09at atapibus? drive ? flags 0x0000=09# ATAPI CD-ROM drives


# Miscellaneous mass storage devices

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

# Network Interfaces

# PCMCIA network interfaces
ne*=09at pcmcia? function ?=09=09# NE2000-compatible Ethernet

# USB Controller and Devices

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

# USB bus support
usb*=09at uhci?

# USB Hubs
uhub*=09at usb?
uhub*=09at uhub? port ? configuration ? interface ?

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

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

# Audio Devices

# PCI audio devices
esm*=09at pci? dev ? function ?=09# ESS Maestro-1/2/2e PCI Audio Accelera=
tor

# Audio support
audio*=09at esm?

# Pseudo-Devices

# disk/mass storage pseudo-devices
pseudo-device=09md=09=091=09# memory disk device (ramdisk)
pseudo-device=09vnd=09=094=09# disk-like interface to files

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

# miscellaneous pseudo-devices
pseudo-device=09pty=09=09=09# pseudo-terminals
pseudo-device=09rnd=09=09=09# /dev/random and in-kernel generator

# wscons pseudo-devices
pseudo-device=09wsmux=09=09=09# mouse & keyboard multiplexor

---------------------------

This generates with march=3Dpenitumpro optimization in mk.conf, 1.3M for =
kernel=20
size.  I have been using this config forever and seems to work fine with =
my=20
purpose.  Is my configuration missing anything that need not be missing f=
or=20
proper workstation purpose other than networking (my laptop is not connec=
ted=20
to any network).  For example, I only have lool pseudo-device etc. =20

Lastly, I am using mfs for /tmp.  I need not have "pseudo-device md" for=20
simple mfs for /tmp, no?


Thank you.

S. N. Cho