Subject: Re: Random crashes with X-Free86 3.2
To: Matthias Scheler <tron@lyssa.owl.de>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@MindBender.serv.net>
List: port-i386
Date: 12/18/1996 22:44:59
>In article <199612180624.WAA09100@mindbender.serv.net>,
> "Michael L. VanLoon -- HeadCandy.com" <michaelv@MindBender.serv.net> wr
ites:
>> I'm running 1.2-release, not current. I'm using the 3.1.2G beta
>> server on a Diamond Stealth 64 Video VRAM 3240XL (S3 968).
>Do you have "options INSECURE" in your kernel configuration file?
Hmm... looks like I am, yes.
Here are my kernel config (MINDBENDER) and XF86Config files:
---------- >8 ----- Begin MINDBENDER ----- 8< ----------
# original config file:
# GENERICAHBBT -- Generic machine w/ahb and bt drivers -- distribution floppy
#
# STINGRAY -- Config for Michael VanLoon's i386 box stingray.cc.iastate.edu
# MINDBENDER -- modified for change to MindBender.HeadCandy.com
#
machine i386
#options I386_CPU
options I486_CPU
options I586_CPU
options MINDBENDER
maxusers 64
options TIMEZONE=480
options DST=1
options DUMMY_NOPS # slow nops needed?
options INSECURE # allow /dev/mem writing by X
#options USER_LDT # for WINE
options MACHINE_NONCONTIG # non-contiguous memory hole (640k-1MB)
options COMPAT_09 # backwards NetBSD-0.9 compat
options COMPAT_10 # backwards NetBSD-1.0 compat
options COMPAT_11 # backwards NetBSD-1.1 compat
options COMPAT_43 # backwards 4.3BSD compat
#options TCP_COMPAT_42 # backwards 4.2/BNR2 net compat
options COMPAT_NOMID # compat with 386BSD, BSDI, NetBSD 0.8
options SWAPPAGER # swap pager
options VNODEPAGER # vnode pager -- mmap of files
options DEVPAGER # device pager -- mmap of devices
options KTRACE # syscall kernel tracing
options FIFO # FIFOs/pipes
options FFS # Unix File System/Fast File System
options FDESC # File Descriptor fs
options KERNFS # Kernel fs
options PROCFS # Process fs
options PORTAL # Portal fs
options MSDOSFS # MS-DOS fs
options UMAPFS # UMAP fs
options UNION # Union fs
options QUOTA # quotas
options MFS # Memory fs
options NULLFS # Null fs
options CD9660 # ISO-9660 & Rock Ridge CD-ROM fs
options INET # internet/IP services
options NFSCLIENT # NFS client capability
options NFSSERVER # NFS server capability
options GATEWAY # route between interfaces
options PPP_BSDCOMP
options PPP_DEFLATE
#options NS # XNS networking
#options ISO # ISO OSI networking
#options TPIP # TPIP OSI
#options EON # OSI tunneling over IP
#options CCITT # CCITT X.25
#options LLC # LLC X.25
#options HDLC # HDLC X.25
options XSERVER # allow X server
options UCONSOLE # allow user console grabbing (X)
options LKM # loadable kernel modules
options COMPAT_FREEBSD # Run FreeBSD binaries
options COMPAT_IBCS2 # iBCS2 compat (SCO & ISC)
options COMPAT_SVR4 # SVR4 compat
options COMPAT_LINUX # Run Linux binaries
#options MATH_EMULATE # software FP emulation?
options COM_ESP # use Hayes ESP port
options COM_HAYESP # use Hayes ESP port
#options COMCONSOLE=2 # serial-port console
#options COMADDR=0x2f8 # on our com2 (0-x), PC COM2 (1-4)
options SYSVMSG # System V message queues; see msg.h
options SYSVSEM # System V semaphores; see sem.h
options SYSVSHM # System V shared memory
options SHMMAXPGS=1024
options PCVT_NSCREENS=9 # number of virtual terminals
options PCVT_PRETTYSCRNS # make screen-saver do something
options PCVT_INHIBIT_NUMLOCK=0 # keep that damn thing on!!!
options FAT_CURSOR=1
# Debugging stuff:
#makeoptions DEBUG="-g" # compile full symbol table
options DDB # kernel low-level debugger
#options DIAGNOSTIC # generate diagnostic messages
options EISAVERBOSE
options PCIVERBOSE
options AHC_TAGENABLE
options CCDDEBUG
options BUFCACHE=15 # buffer cache uses 15% of RAM
config netbsd root on sd0 swap on sd0 and sd1 and sd2 and sd3 and wd0
# Bus interface:
mainbus0 at root
isa0 at mainbus0
eisa0 at mainbus0
pci0 at mainbus0
# Math coprocessor/emulation support:
npx0 at isa? port 0xf0 irq 13 # math coprocessor
# Console drivers:
#pc0 at isa? port 0x60 irq 1 # generic PC console device
vt0 at isa? port 0x60 irq 1 # virtual terminals
# Hayes ESP board:
com0 at isa? port 0x3e8 irq 9 # at PC COM3
# "standard" PeeCee com ports:
com1 at isa? port 0x3f8 irq 4 # at PC COM1
com2 at isa? port 0x2f8 irq 3 # at PC COM2
#com2 at isa? port 0x3e8 irq 5 # at PC COM3
#com3 at isa? port 0x2e8 irq 9 # at PC COM4
# BocaBoard quad-16550 with normal com driver:
#boca0 at isa? port 0x180 irq 12 # BOCA 8-port serial card
#com* at boca? slave?
# Parallel ports:
lpt0 at isa? port 0x378 # at PC LPT1
lpt1 at isa? port 0x278 # at PC LPT2
# Logitech bus mouse:
#lms0 at isa? port 0x23c irq 9 # Logictech bus mouse
#mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse
#pms0 at isa? port 0x60 irq 12 # PS/2 auxiliary port mouse
# SCSI controllers and devices:
#bt* at isa? port ? irq ? drq ? # BusLogic BT742-based SCSI controllers
bt0 at isa? port 0x330 irq ? drq ? # BusLogic BT5xx SCSI controllers
bt1 at isa? port 0x334 irq ? drq ? # BusLogic BT5xx SCSI controllers
#bt* at eisa? port ? irq ? drq ? # BusLogic BT7xx SCSI controllers
#bt* at pci? port ? irq ? drq ? # BusLogic BT9xx SCSI controllers
scsibus* at bt?
ahb* at eisa? # Adaptec 174[024] SCSI controllers
scsibus* at ahb?
ahc* at pci? dev? function? # Adaptec 2940 PCI
scsibus* at ahc?
# DPT experimental development driver:
#dpt0 at eisa? # DPT SCSI Caching/RAID controller
#scsibus* at dpt?
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
# Floppy drives:
fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers
fd* at fdc? drive ?
# AT ST506 (IDE/MFM/RLL/ESDI) hard drives:
wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers
#wdc1 at isa? port 0x170 irq ?
wd* at wdc? drive ?
#wt0 at isa? port 0x300 irq 5 drq 1 # Archive and Wangtek QIC tape drives
# Ethernet drivers:
ed0 at isa? port 0x300 iomem 0xd0000 irq 10 # WD/SMC, 3C503, and NE[12]000
#ed1 at isa? port 0x280 iomem 0xd0000 irq 10 # WD/SMC, 3C503, and NE[12]000
#ep0 at eisa? # 3C59x ethernet cards
#ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN & 3C507
#le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA
de0 at pci? dev? function? # DEC 21x40 ethernet cards
# Sound devices:
#sb0 at isa? port 0x220 irq 5 drq 1 # SoundBlaster
#wss0 at isa? port 0x530 irq 7 drq 0 # Windows Sound System
#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum
# GUS flags is record drq for full-duplex:
#gus0 at isa? port 0x220 irq 7 drq 1 flags 6 # Gravis Ultra Sound
#spkr0 at isa? ...
# Pseudo devices:
pseudo-device loop 1 # network loopback
pseudo-device bpfilter 4 # packet filter
pseudo-device sl 2 # CSLIP
pseudo-device ppp 2 # PPP
pseudo-device tun 2 # network tunneling over tty
pseudo-device pty 64 # pseudo-terminals
pseudo-device tb 1 # tablet line discipline
pseudo-device vnd 4 # paging to files
pseudo-device ccd 4 # concatenated disk device
---------- >8 ----- End MINDBENDER ----- 8< ----------
---------- >8 ----- Begin XF86Config ----- 8< ----------
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# For OSs that support Dynamically loaded modules, ModulePath can be
# used to set a search path for the modules. This is currently supported
# for Linux ELF, FreeBSD 2.x and NetBSD 1.x. The default path is shown
# here.
ModulePath "/usr/X11R6/lib/modules"
EndSection
Section "Module"
# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which dynamically loadable modules to load. Dynamically loadable
# modules are currently supported only for Linux ELF, FreeBSD 2.x
# and NetBSD 1.x. Currently, dynamically loadable modules are used
# only for some extended input (XInput) device drivers.
# **********************************************************************
# This loads the module for the Joystick driver
#
# Load "xf86Jstk.so"
EndSection
Section "ServerFlags"
# **********************************************************************
# Server flags section.
# **********************************************************************
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
# NoTrapSignals
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
# DontZap
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
# DontZoom
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
# DisableVidModeExtension
# Uncomment this to enable the use of a non-local xvidtune client.
# AllowNonLocalXvidtune
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
# DisableModInDev
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
# AllowNonLocalModInDev
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
Section "Keyboard"
# **********************************************************************
# Keyboard section
# **********************************************************************
Protocol "Standard"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Protocol "Xqueue"
AutoRepeat 500 5
# Let the server do the NumLock processing. This should only be required
# when using pre-R6 clients
# ServerNumLock
# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1))
# Xleds 1 2 3
# To set the LeftAlt to Meta, RightAlt key to ModeShift,
# RightCtl key to Compose, and ScrollLock key to ModeLock:
# LeftAlt Meta
# RightAlt ModeShift
# RightCtl Compose
# ScrollLock ModeLock
LeftAlt Meta
RightAlt Meta
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# XkbDisable
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# XkbModel "pc102"
# If you have a Microsoft Natural keyboard, you can use:
XkbModel "microsoft"
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# XkbLayout "de"
# or:
# XkbLayout "de"
# XkbVariant "nodeadkeys"
# If you'd like to switch the positions of your capslock and
# control keys, use:
# XkbOptions "ctrl:swapcaps"
# These are the default XKB settings for XFree86
# XkbRules "xfree86"
# XkbModel "pc101"
# XkbLayout "us"
# XkbVariant ""
# XkbOptions ""
EndSection
Section "Pointer"
# **********************************************************************
# Pointer section
# **********************************************************************
# Protocol "Microsoft"
# Protocol "busmouse"
Protocol "mouseman"
# Device "/dev/lms0"
Device "/dev/tty02"
Baudrate 9600
# Baudrate 1200
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Protocol "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice
# BaudRate 9600
# SampleRate 150
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
# Emulate3Buttons
# Emulate3Timeout 50
# ChordMiddle is an option for some 3-button Logitech mice
# ChordMiddle
EndSection
Section "Xinput"
# **********************************************************************
# Xinput section -- this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
# SubSection "WacomStylus"
# Port "/dev/ttyS1"
# DeviceName "Wacom"
# EndSubSection
# SubSection "WacomCursor"
# Port "/dev/ttyS1"
# EndSubSection
# SubSection "WacomEraser"
# Port "/dev/ttyS1"
# EndSubSection
#
# SubSection "Elographics"
# Port "/dev/ttyS1"
# DeviceName "Elo"
# MinimumXPosition 300
# MaximumXPosition 3500
# MinimumYPosition 300
# MaximumYPosition 3500
# Screen 0
# UntouchDelay 10
# ReportDelay 10
# EndSubSection
#
# SubSection "Joystick"
# Port "/dev/joy0"
# DeviceName "Joystick"
# TimeOut 10
# MinimumXPosition 100
# MaximumXPosition 1300
# MinimumYPosition 100
# MaximumYPosition 1100
# # CenterX 700
# # CenterY 600
# Delta 20
# EndSubSection
#
# The Mouse Subsection contains the same type of entries as the
# standard Pointer Section (see above), with the addition of the
# DeviceName entry.
#
# SubSection "Mouse"
# Port "/dev/mouse2"
# DeviceName "Second Mouse"
# Protocol "Logitech"
# EndSubSection
EndSection
# Any number of monitor sections may be present
Section "Monitor"
# **********************************************************************
# Monitor section
# **********************************************************************
Identifier "Generic Monitor"
VendorName "Unknown"
ModelName "Unknown"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 31.5 # typical for a single frequency fixed-sync monitor
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 60 # typical for a single frequency fixed-sync monitor
# VertRefresh 50-100 # multisync
# VertRefresh 60, 65 # multiple fixed sync frequencies
# VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies
# Modes can be specified in two formats. A compact one-line format, or
# a multi-line format.
# A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
# These two are equivalent
# ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
Mode "640x480"
DotClock 25.175
HTimings 640 664 760 800
VTimings 480 491 493 525
EndMode
# These two are equivalent
# ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
# Mode "1024x768i"
# DotClock 45
# HTimings 1024 1048 1208 1264
# VTimings 768 776 784 817
# Flags "Interlace"
# EndMode
EndSection
Section "Monitor"
Identifier "Mag MXP17F"
VendorName "Mag"
ModelName "MXP17F"
BandWidth 130
HorizSync 30-82
VertRefresh 50-120
ModeLine "1152x864-80" 80 1152 1156 1396 1500 864 888 896 948
ModeLine "1152x864-110" 110 1152 1160 1392 1592 864 880 888 932
ModeLine "1152x864-120" 120 1152 1160 1360 1552 864 880 888 932
ModeLine "1024x800-110" 110 1024 1028 1260 1432 800 812 820 848
ModeLine "1024x800-120" 120 1024 1028 1260 1480 800 820 828 866
ModeLine "1024x800-130" 130 1024 1028 1260 1586 800 824 832 876
ModeLine "1024x800" 75 1024 1144 1392 1512 800 801 830 840
ModeLine "1024x768" 75 1024 1128 1376 1480 768 770 778 806
EndSection
# Any number of graphics device sections may be present
Section "Device"
# **********************************************************************
# Graphics device section
# **********************************************************************
Identifier "Generic VGA"
VendorName "Unknown"
BoardName "Unknown"
Chipset "generic"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
Section "Device"
# SVGA server auto-detected chipset
Identifier "Generic SVGA"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
Identifier "Diamond Stealth 64 Graphics DRAM 2200"
VendorName "Diamond"
BoardName "D2200"
Option "diamond"
EndSection
Section "Device"
Identifier "Diamond Stealth 64 Video VRAM 3240"
VendorName "Diamond"
BoardName "V3240"
Option "Diamond"
Option "Power_saver"
# Option "Fast_VRAM"
EndSection
Section "Device"
Identifier "ATI-Mach32"
VendorName "ATI"
BoardName "ATI-Mach32"
Chipset "mach32"
Clocks 43.00 48.80 0.00 36.00 50.30 56.70 0.00 44.90
Clocks 30.20 32.00 37.50 39.00 40.00 88.40 75.00 65.00
Clocks 21.50 24.40 0.00 18.00 25.15 28.35 0.00 22.45
Clocks 15.10 16.00 18.75 19.50 20.00 44.20 37.50 32.50
EndSection
Section "Device"
Identifier "Graphics/Ultra"
VendorName "ATI"
BoardName "Graphics/Ultra"
Chipset "mach8"
Clocks 43.00 48.80 0.00 36.00 50.30 56.70 0.00 44.90
Clocks 30.20 32.00 37.50 39.00 40.00 88.40 75.00 65.00
Clocks 21.50 24.40 0.00 18.00 25.15 28.35 0.00 22.45
Clocks 15.10 16.00 18.75 19.50 20.00 44.20 37.50 32.50
EndSection
Section "Screen"
Driver "Accel"
Device "Diamond Stealth 64 Video VRAM 3240"
Monitor "Mag MXP17F"
# ScreenNo 0
BlankTime 10
SuspendTime 15
Offtime 30
Subsection "Display"
Modes "1024x800-120" "1024x800-110" "1024x800-130" "1024x800" "1024x768"
Depth 16
ViewPort 0 0
Virtual 1024 800
Visual "TrueColor"
EndSubsection
Subsection "Display"
Modes "1024x800-120" "1024x800-110" "1024x800-130" "1024x800" "1024x768"
Depth 24
ViewPort 0 0
Virtual 1024 800
Visual "TrueColor"
EndSubsection
Subsection "Display"
Modes "1152x864-120" "1152x864-110" "1152x864-80" "1024x800-120" "1024x800-110" "1024x800-130" "1024x800" "1024x768"
Depth 8
ViewPort 0 0
Virtual 1152 864
EndSubsection
EndSection
Section "Screen"
# **********************************************************************
# Screen sections
# **********************************************************************
# The colour SVGA server
Driver "svga"
Device "Generic SVGA"
Monitor "Generic Monitor"
Subsection "Display"
Depth 8
Modes "640x480"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection
Section "Screen"
# The 16-colour VGA server
Driver "vga16"
Device "Generic VGA"
Monitor "Generic Monitor"
Subsection "Display"
Modes "640x480"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection
Section "Screen"
# The Mono server
Driver "vga2"
Device "Generic VGA"
Monitor "Generic Monitor"
Subsection "Display"
Modes "640x480"
ViewPort 0 0
Virtual 800 600
EndSubsection
EndSection
---------- >8 ----- End XF86Config ----- 8< ----------
-----------------------------------------------------------------------------
Michael L. VanLoon michaelv@MindBender.serv.net
--< Free your mind and your machine -- NetBSD free un*x >--
NetBSD working ports: 386+PC, Mac 68k, Amiga, Atari 68k, HP300, Sun3,
Sun4/4c/4m, DEC MIPS, DEC Alpha, PC532, VAX, MVME68k, arm32...
NetBSD ports in progress: PICA, others...
-----------------------------------------------------------------------------