Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 1997 00:38:57 -0700 (PDT)
From:      Bryce Newall <data@ds9.abac.com>
To:        FreeBSD Questions List <freebsd-questions@freebsd.org>
Subject:   Crash problems
Message-ID:  <Pine.LNX.3.96.970522002222.30340D-100000@ds9.abac.com>

next in thread | raw e-mail | index | archive | help
This is a plea for help, ideas, what have you...

I recently converted my big Linux box, voyager.abac.com, over to FreeBSD.
I started out with 2.2.1-RELEASE, then went to the 4/22 -SNAP release, and
finally to 2.2.2-RELEASE.  Unfortunately, all 3 have been falling victim
to a rather bizarre and extremely frustrating crashing problem.

What happens is that the system will be up and running fine, and will all
of a sudden just *die*.  Nothing unusual will appear in the log files.
The system will simply become unresponsive.  Even at the console, I can
type and the characters will echo back to me, but the system will not
process them.  Even control characters -- if I hit Ctrl-C, it'll print ^C
on the screen.  So, I can never tell *why* it crashed... it just up and
dies on me.

The system is a Pentium 200 with a Tyan Titan VX motherboard.  It has 128
MB of RAM, a 3Com 3C905-TX Fast Etherlink XL (the 10/100 MBps version) 
ethernet card, an Adaptec 2940 SCSI controller (the normal version, not
wide or ultra-wide), a Cirrus Logic GD5430 PCI video card with 2 MB of
video RAM, and a Logitech Bus Mouse.  There are 4 hard drives and one tape
drive hooked up to the SCSI chain.  In order, they are:  SCSI 0 - Quantum
ProDrive 540 MB; SCSI 1 - Quantum Fireball 2.1 GB; SCSI 2 - Quantum
Trailblazer 850 MB; SCSI 3 - Quantum Fireball 1 GB; and SCSI 5 - Conner 4
GB QIC-Wide tape backup drive.  There is also one Western Digital 420 MB
IDE drive hooked up as a single drive on the secondary IDE chain (the
primary IDE has no drives on it).  The 540 MB drive has /, the 2.1 GB has
/home, the 850 MB has /ftp, and the 1 GB has /usr.  The 420 MB IDE drive
is solely a swap drive.  The SCSI Controller is using a slightly older
revision of the BIOS, v1.21.  I have a v1.23 chip on the way from Adaptec,
which is the latest one available.

As if that weren't enough info, I'm also including my kernel configuration
file, in case that might prove useful.  I suspect that there *could* be
something in there that's doing it, because if I'm remembering correctly,
the system was up for about 2 days running on the Generic kernel, before I
compiled a custom one (before I knew how to).  Any ideas any of you can
provide about this would undoubtedly be extremely helpful.  Thanks very
much in davance.

Here's the kernel config file:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration ->
# Configuring the FreeBSD Kernel -> The Configuration File.
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the
# device lines is present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#       $Id: GENERIC,v 1.77.2.4 1997/02/22 20:31:24 joerg Exp $

machine         "i386"
cpu             "I586_CPU"
ident           VOYAGER
maxusers        512

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5            #Be pessimistic about Joe SCSI device
options         BOUNCE_BUFFERS          #include support for DMA bounce buffers
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor 

#ADD THIS: 
options         "NMBCLUSTERS=6000"

options         DIAGNOSTIC
# Used to help catch errors in certain types of programs
# when they compile, won't hurt anything, and can help.

options         "CHILD_MAX=128"
options         "OPEN_MAX=128"
options         "MAX_USERS=300"
options         "FD_SETSIZE=4096"       
options         "MAXMEM=131072"         

config          kernel  root on sd0     

controller      isa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0 

controller      wdc1    at isa? port "IO_WD2" bio irq 15 vector wdintr
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices. 
controller      ahc0

controller      scbus0

device          sd0

device          od0     #See LINT for possible `od' options.

device          st0

device          cd0     #Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint 
#options                PCVT_FREEBSD=210        # pcvt running on FreeBSD >= 2.0.5
#options                XSERVER                 # include code for XFree86
#options                FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options                PCVT_SCANSET=2          # IBM keyboards are non-std

# Mandatory, don't remove
device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#
# PCCARD (PCMCIA) support
#controller     crd0
#device         pcic0   at crd?
#device         pcic1   at crd?

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr 
device          mse0    at isa? port 0x23c tty irq 5 vector mseintr


# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed. 
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device vx0      

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
# ijppp uses tun instead of ppp device
pseudo-device   pty     40
pseudo-device   gzip            # Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
#options                KTRACE          #kernel tracing


**********************************************************************
*     Bryce Newall    *    IRC: Data    *    Email: data@dal.net     *
*  WWW: http://voyager.abac.com/data  *  IRC Admin, voyager.dal.net  *
*        --== Try DALnet!  Server irc.dal.net, port 7000 ==--        *
*               "Stop smirking, Number 1."  -- J.L. Picard           *
*          "I'm a doctor, not a doorstop!"  -- EMH Program, ST:FC    *
**********************************************************************





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.96.970522002222.30340D-100000>