Date: Wed, 9 Jun 1999 09:32:52 -0300 (ADT) From: The Hermit Hacker <scrappy@hub.org> To: freebsd-stable@freebsd.org Cc: freebsd-scsi@freebsd.org Subject: System hangs...SCSI/CAM related? Message-ID: <Pine.BSF.4.05.9906090913280.49155-300000@thelab.hub.org>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Morning all...
Late last week, I upgraded the INN news server running on my
box to the latest code, due to major changes in the XOVER code. Within
12hrs or so, the system hung solid. You could ping it, but nothing else.
Previous to the code upgrade, the server had been running consistently,
and without problems, since its last reboot.
I've included both the dmesg output, and the kernel config file
I'm using, and, according to uname -rv:
3.2-STABLE FreeBSD 3.2-STABLE #0: Tue Jun 8 12:56:16 EDT 1999
Basically, my attitude has been that if my machine crashes or
reboots, for whatever reason, take that day (its down anyway) to upgrade
to the newest -STABLE release, just to catch any bugs/instabilities that
may have been found since the last one.
Now I'm getting these hangs almost like clockwork...every 24hrs or
so. My impression has always been that a hang where you can still ping
the machine is a SCSI problem, so that is why I'm CC'ng the SCSI mailing
list...
I have 11 SCSI drives on that machine...if its a drive problem,
narrowing it down is going to be next to impossible without *some* sort of
help from the operating system.
I work in an exclusively Solaris shop at work, and one of the very
nice things about Solaris is that it will at least give you WARNING
messages if something appears off...if the machine is still pingable, and
if I have a serial console up, and assuming that there is some sort of
'race condition' at work, is there no way of having the kernel issue a
message to the console telling me that its having a problem talking to
drive rdaXs1X? Something to indicate that there is a problem and which
drive it suspects?
Thanks...
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org
[-- Attachment #2 --]
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.2-STABLE #0: Tue Jun 8 12:56:16 EDT 1999
root@hub.org:/usr/src/sys/compile/hub_org
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 400910920 Hz
CPU: Pentium II/Xeon/Celeron (400.91-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x652 Stepping=2
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory = 402653184 (393216K bytes)
avail memory = 388915200 (379800K bytes)
Preloaded elf kernel "kernel" at 0xc02a8000.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x02 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x02 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x01 int a irq 14 on pci0.9.0
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec 2940 Ultra SCSI adapter> rev 0x01 int a irq 15 on pci0.10.0
ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
xl0: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 12 on pci0.11.0
xl0: Ethernet address: 00:60:08:c8:36:05
xl0: autoneg not complete, no carrier (forcing half-duplex, 10Mbps)
xl1: <3Com 3c905-TX Fast Etherlink XL> rev 0x00 int a irq 10 on pci0.12.0
xl1: Ethernet address: 00:60:97:d0:3c:f5
xl1: autoneg complete, link status good (half-duplex, 10Mbps)
Probing for devices on PCI bus 1:
vga0: <S3 model 8904 graphics accelerator> rev 0x01 int a irq 10 on pci1.0.0
Probing for PnP devices:
CSN 1 Vendor ID: UMC9008 [0x0890a355] Serial 0xab8d1af0 Comp ID: PNP80d6 [0xd680d041]
ed1: address 00:c0:f0:1a:8d:ab, type NE2000 (16 bit)
ed1 (edpnp <NE2000> sn 0xab8d1af0) at 0x220-0x23f irq 11 on isa
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <4 virtual consoles, flags=0x0>
ed0 not found at 0x280
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to accept, logging limited to 100 packets/entry
Waiting 2 seconds for SCSI devices to settle
cda4 at ahc0 bus 0 target 5 lun 0
da4: <QUANTUM XP34550W LYK8> Fixed Direct Access SCSI-2 device
da4: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da4: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C)
da3 at ahc0 bus 0 target 4 lun 0
da3: <COMPAQ DGHS09Y 01C0> Fixed Direct Access SCSI-3 device
da3: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da3: 8678MB (17773500 512 byte sectors: 255H 63S/T 1106C)
da10 at ahc1 bus 0 target 5 lun 0
da10: <Quantum XP34300 L912> Fixed Direct Access SCSI-2 device
da10: 5.000MB/s transfers (5.000MHz, offset 15), Tagged Queueing Enabled
da10: 4101MB (8399520 512 byte sectors: 255H 63S/T 522C)
da5 at ahc0 bus 0 target 6 lun 0
da5: <QUANTUM XP34550W LYK8> Fixed Direct Access SCSI-2 device
da5: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da5: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C)
da8 at ahc1 bus 0 target 2 lun 0
da8: <QUANTUM XP34301 1071> Fixed Direct Access SCSI-2 device
da8: 5.000MB/s transfers (5.000MHz, offset 15), Tagged Queueing Enabled
da8: 4106MB (8410200 512 byte sectors: 255H 63S/T 523C)
da9 at ahc1 bus 0 target 4 lun 0
da9: <QUANTUM XP34301 1071> Fixed Direct Access SCSI-2 device
da9: 5.000MB/s transfers (5.000MHz, offset 15), Tagged Queueing Enabled
da9: 4106MB (8410200 512 byte sectors: 255H 63S/T 523C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <COMPAQ DGHS18Y 01A0> Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 17366MB (35566000 512 byte sectors: 255H 63S/T 2213C)
da7 at ahc1 bus 0 target 1 lun 0
da7: <QUANTUM XP34301 1071> Fixed Direct Access SCSI-2 device
da7: 5.000MB/s transfers (5.000MHz, offset 15), Tagged Queueing Enabled
da7: 4106MB (8410200 512 byte sectors: 255H 63S/T 523C)
da2 at ahc0 bus 0 target 2 lun 0
da2: <SEAGATE ST15230W 0638> Fixed Direct Access SCSI-2 device
da2: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da2: 4095MB (8386733 512 byte sectors: 255H 63S/T 522C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM VIKING II 4.5WSE 3506> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
da6 at ahc0 bus 0 target 8 lun 0
da6: <SEAGATE ST39102LW 0004> Fixed Direct Access SCSI-2 device
da6: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da6: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
hanging root device to da0s1a
[-- Attachment #3 --]
machine "i386"
cpu "I686_CPU" # aka Pentium Pro(tm)
ident hub_org
maxusers 128
config kernel root on da0
options NMBCLUSTERS=2048
options "MAXDSIZ=(1024*1024*1024)"
options "DFLDSIZ=(1024*1024*1024)"
options INCLUDE_CONFIG_FILE # Include this file in kernel
options "CPU_DISABLE_5X86_LSSER"
options "CPU_FASTER_5X86_FPU"
options "NO_F00F_HACK"
options "COMPAT_43"
options SYSVSHM
options SYSVSEM
options SYSVMSG
options KTRACE #kernel tracing
options INET #Internet communications protocols
pseudo-device ether #Generic Ethernet
pseudo-device loop #Network loopback device
pseudo-device bpfilter 4 #Berkeley packet filter
# MROUTING enables the kernel multicast packet forwarder, which works
# with mrouted(8).
#
# IPFIREWALL enables support for IP firewall construction, in
# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends
# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT
# limits the number of times a matching entry can be logged.
#
# WARNING: IPFIREWALL defaults to a policy of "deny ip from any to any"
# and if you do not add other rules during startup to allow access,
# YOU WILL LOCK YOURSELF OUT. It is suggested that you set firewall=open
# in /etc/rc.conf when first enabling this feature, then refining the
# firewall rules in /etc/rc.firewall after you've tested that the new kernel
# feature works properly.
#
# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
# allow everything. Use with care, if a cracker can crash your
# firewall machine, they can get to your protected machines. However,
# if you are using it as an as-needed filter for specific problems as
# they arise, then this may be for you. Changing the default to 'allow'
# means that you won't get stuck if the kernel and /sbin/ipfw binary get
# out of sync.
#
# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
#
# TCPDEBUG is undocumented.
#
options MROUTING # Multicast routing
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #print information about
# dropped packets
options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPDIVERT #divert sockets
options FFS #Fast filesystem
options NFS #Network File System
options PROCFS #Process filesystem
options FFS_ROOT #FFS usable as root device
# Allow this many swap-devices.
options NSWAPDEV=11
options QUOTA #enable disk quotas
controller scbus0 #base SCSI code
device pass0
device da0 #SCSI disks
options SCSI_REPORT_GEOMETRY
pseudo-device pty 256 #Pseudo ttys - can go as high as 256
controller isa0
# Enable PnP support in the kernel. This allows you to automaticly
# attach to PnP cards for drivers that support it and allows you to
# configure cards from USERCONFIG. See pnp(4) for more info.
controller pnp0
# The syscons console driver (sco color console compatible).
controller atkbdc0 at isa? port IO_KBD tty
device atkbd0 at isa? tty irq 1
device vga0 at isa? port ? conflicts
device sc0 at isa? tty
pseudo-device splash
options MAXCONS=4 # number of virtual consoles
options "STD8X16FONT" # Compile font in
makeoptions "STD8X16FONT"="cp850"
options SC_HISTORY_SIZE=200 # number of history buffer lines
# The Numeric Processing eXtension driver. This should be configured if
# your machine has a math co-processor, unless the coprocessor is very
# buggy. If it is not configured then you *must* configure math emulation
# (see above). If both npx0 and emulation are configured, then only npx0
# is used (provided it works).
device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft'
#
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
#disk fd1 at fdc0 drive 1
#controller ppbus0
#device lpt0 at isa? port? tty irq 7 vector lptintr
device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr
#
# `flags' for serial drivers that support consoles (only for sio now):
# 0x10 enable console support for this unit. The other console flags
# are ignored unless this is set. Enabling console support does
# not make the unit the preferred console - boot with -h or set
# the 0x20 flag for that. Currently, at most one unit can have
# console support; the first one (in config file order) with
# this flag set is preferred. Setting this flag for sio0 gives
# the old behaviour.
# 0x20 force this unit to be the console (unless there is another
# higher priority console). This replaces the COMCONSOLE option.
# 0x40 reserve this unit for low level console operations. Do not
#
# PnP `flags' (set via userconfig using pnp x flags y)
# 0x1 disable probing of this device. Used to prevent your modem
# from being attached as a PnP modem.
#
options CONSPEED=9600 #default speed for serial console (default 9600)
options "EXTRA_SIO=2" #number of extra sio ports to allocate
# PCI devices:
#
# The main PCI bus device is `pci'. It provides auto-detection and
# configuration support for all devices on the PCI bus, using either
# configuration mode defined in the PCI specification.
#
# The `ahc' device provides support for the Adaptec 29/3940(U)(W)
# and motherboard based AIC7870/AIC7880 adapters.
#
# The `de' device provides support for the Digital Equipment DC21040
# self-contained Ethernet adapter.
#
# The `vx' device provides support for the 3Com 3C590 and 3C595
# early support
#
controller pci0
controller ahc1
device de0
device fxp0
device tl0
device tx0
device vx0
device xl0
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9906090913280.49155-300000>
