Date: Tue, 18 Aug 1998 17:42:01 +0200 (CEST) From: "Patrick M. Hausen" <hausen@punkt.de> To: freebsd-questions@FreeBSD.ORG Subject: Weird SCSI errors Message-ID: <199808181542.RAA00725@hugo10.ka.punkt.de>
next in thread | raw e-mail | index | archive | help
Hi all!
In the last couple of months our central file&print&everything server
crashed a couple of times. These crashes seem to happen more and more
often.
The system just comes to a halt, it doesn't even panic or write an
entry into /var/adm/messages.
The console is filled with error messages like this:
SEQADDR=0x6 SCSISEQ=0x12 SSTAT0=0x5 SSTAT1=0xa
sd0(ahc0:0:0) SCB 7: Flags=0x1
sd0(ahc0:0:0) no longer in timeout
ahc0: Issue Channel A Bus Reset
2 SCBs aborted
swap-pager: indefinite wait_buffer: device: 1025 blkno(xxx) size=xxx
These change ----^---------^
sd0(ahc0:0:0) SCB 0x7 timed out while idle
LASTPHASE=0x1 SCSISIGI=0x0
This is from writing it down with pencil and paper, so there may be
mistakes.
My dmesg is this:
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 2.2.7-RELEASE #0: Fri Aug 14 18:45:16 CEST 1998
root@:/usr/src/sys/compile/HUGO
CPU: Pentium/P54C (100.23-MHz 586-class CPU)
Origin = "GenuineIntel" Id = 0x525 Stepping=5
Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory = 67108864 (65536K bytes)
avail memory = 63455232 (61968K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82439TX PCI cache memory controller> rev 1 on pci0:0:0
chip1 <Intel 82371AB PCI-ISA bridge> rev 1 on pci0:7:0
chip2 <Intel 82371AB IDE interface> rev 1 on pci0:7:1
chip3 <Intel 82371AB USB interface> rev 1 int d irq 15 on pci0:7:2
chip4 <Intel 82371AB Power management controller> rev 1 on pci0:7:3
ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 11 on pci0:13:0
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
(ahc0:0:0): "Quantum XP34300W L912" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 4101MB (8399520 512 byte sectors)
(ahc0:1:0): "FUJITSU M2934S-512 0122" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 4153MB (8506782 512 byte sectors)
(ahc0:2:0): "FUJITSU M2934S-512 0122" type 0 fixed SCSI 2
sd2(ahc0:2:0): Direct-Access 4153MB (8506782 512 byte sectors)
(ahc0:3:0): "FUJITSU M2694ES-512 8139" type 0 fixed SCSI 2
sd3(ahc0:3:0): Direct-Access 1033MB (2117025 512 byte sectors)
ahc1 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 14 on pci0:14:0
ahc1: aic7870 Single Channel, SCSI Id=7, 16 SCBs
(ahc1:5:0): "PIONEER CD-ROM DR-124X 1.04" type 5 removable SCSI 2
cd0(ahc1:5:0): CD-ROM can't get the size
(ahc1:6:0): "TANDBERG TDC 4200 =08:" type 1 removable SCSI 2
st0(ahc1:6:0): Sequential-Access density code 0x0, 512-byte blocks, write-enabled
vga0 <VGA-compatible display device> rev 0 int a irq ?? on pci0:15:0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 at 0x2a0-0x2a7 flags 0x501 on isa
sio2: type 16550A (multiport)
sio3 at 0x2a8-0x2af flags 0x501 on isa
sio3: type 16550A (multiport)
sio4 at 0x2b0-0x2b7 flags 0x501 on isa
sio4: type 16550A (multiport)
sio5 at 0x2b8-0x2bf irq 5 flags 0x501 on isa
sio5: type 16550A (multiport master)
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 10 on isa
ep0: aui/utp/bnc[*UTP*] address 00:a0:24:44:9f:ec
npx0 on motherboard
npx0: INT 16 interface
Intel Pentium F00F detected, installing workaround
ccd0-3: Concatenated disk drivers
My kernel config is this:
machine "i386"
ident HUGO
maxusers 256
options CHILD_MAX=128
options OPEN_MAX=128
options "MAXDSIZ=(256*1024*1024)"
options "DFLDSIZ=(256*1024*1024)"
config kernel root on sd0 dumps on sd0
cpu "I586_CPU" # aka Pentium(tm)
options "COMPAT_43"
options SYSVSHM
options SYSVSEM
options SYSVMSG
options "MD5"
options KTRACE #kernel tracing
options UCONSOLE
options INET #Internet communications protocols
pseudo-device ether #Generic Ethernet
pseudo-device loop #Network loopback device
pseudo-device sl 2 #Serial Line IP
pseudo-device ppp 2 #Point-to-point protocol
pseudo-device bpfilter 4 #Berkeley packet filter
options FFS #Fast filesystem
options NFS #Network File System
options "CD9660" #ISO 9660 filesystem
options MSDOSFS #MS DOS File System
options PROCFS #Process filesystem
options QUOTA
controller scbus0 #base SCSI code
device ch0 #SCSI media changers
device sd0 #SCSI disks
device st0 #SCSI tapes
device cd0 #SCSI CD-ROMs
device od0 #SCSI optical disk
pseudo-device pty 128 #Pseudo ttys - can go as high as 256
pseudo-device log #Kernel syslog interface (/dev/klog)
pseudo-device ccd 4 #Concatenated disk driver
pseudo-device vn #Vnode driver (turns a file into a device)
controller isa0
controller pci0
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk fd0 at fdc0 drive 0
device lpt0 at isa? port "IO_LPT1" tty irq 7 vector lptintr
device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
options COM_MULTIPORT
device sio2 at isa? port 0x2a0 tty flags 0x501
device sio3 at isa? port 0x2a8 tty flags 0x501
device sio4 at isa? port 0x2b0 tty flags 0x501
device sio5 at isa? port 0x2b8 tty flags 0x501 irq 5 vector siointr
device ep0 at isa? port 0x300 net irq 10 vector epintr
controller ahc0
ccd isn't used yet, I put it in just in case. The system isn't really
_loaded_, but nonetheless busy all the time. It runs lots of small
different small services and is quite essential for our business.
The 1st harddisk (sd0) is a wide device, connected to the 2940 (narrow) with
one of those small adapters. The 2 buses (2 2940, see above) _are_
properly terminated and the cables are of the finest quality. Really ;-)
I suspect it's a hardware issue, but I'd like confirmation or even
a "proof" before throwing money at the problem.
Thanks in advance,
Patrick
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808181542.RAA00725>
