Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 1995 04:10:01 -0700
From:      Henrik Vestergaard Draboel <hvd@terry.ping.dk>
To:        freebsd-bugs
Subject:   kern/637: Adaptec 2940w crashed if stressed
Message-ID:  <199507271110.EAA18462@freefall.cdrom.com>
In-Reply-To: Your message of Thu, 27 Jul 1995 12:42:41 %2B0200 <199507271042.MAA01926@terry.ping.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         637
>Category:       kern
>Synopsis:       If used heavily, ahc will crash, with disk timeouts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 27 04:10:00 1995
>Originator:     Henrik Vestergaard Draboel
>Organization:
HVDMYS
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

	90mhz pentium, freebsd current (kernel of 23/7), 
	3 scsi disks, 1 scsi cdrom, 1 scsi tape,
	2 wd's
	
	dmesg (in part) attached.

>Description:

	If the adaptech 2940w is used heavily, the disks will time-
	out, and crash (panic-mode recovery). 

	By "used heavily" I mean; saturating more than one disk's io.

	The time-outs will start to occur after about 60 sec's.
	
	The time out appear to lock the scsi-bus, which is indicated
	by the fact that starting two iozones, (on sd0 and sd1), will
	generate time-out messages for sd[0-2]!

	I have had the 2940w for 2 months, and this problem has existed
	this whole period. (although the driver in other part has
	improved). 

>How-To-Repeat:

	cd /where-ever-scsi-disk-0-is-mounted; iozone 150&
	cd /where-ever-scsi-disk-1-is-mounted; iozone 150&
	cd /where-ever-scsi-disk-2-is-mounted; iozone 150&

>Fix:

	Sorry.

More system info:

FreeBSD 2.2-CURRENT #0: Sun Jul 23 20:33:28 MET DST 1995
    toor@terry.ping.dk:/usr/src/sys/compile/TERRY
CPU: 90-MHz Pentium 735\\90 (Pentium-class CPU)
  Origin = "GenuineIntel"  Id = 0x521  Stepping=1
  Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
avail memory = 39575552 (9662 pages)

...

wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST3283A>
wd0: 233MB (479220 sectors), 978 cyls, 14 heads, 35 S/T, 512 B/S
wdc0: unit 1 (wd1): <Conner Peripherals 540MB - CFA540A>
wd1: 515MB (1056384 sectors), 1048 cyls, 16 heads, 63 S/T, 512 B/S

...

Probing for devices on the pci0 bus:
	configuration mode 1 allows 32 devices.
pci0:0: vendor=0x1039, device=0x406, class=multimedia [no driver assigned]
	map(10): mem32(80000010)
	map(14): mem64(80000010)
	map(18): mem32(80000018)
	map(1c): mem64(80000018)
	map(20): mem32(80000020)
	map(24): mem64(80000020)
pci0:1: vendor=0x1039, device=0x8, class=old [no driver assigned]
pci0:6: vendor=0x1095, device=0x640, class=storage [no driver assigned]

...

ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 10 on pci0:19
ahc0: reading board settings
ahc0: Reading SEEPROM...done.
ahc0: 2940 Wide Channel, SCSI Id=7, aic7870, 16 SCBs
ahc0: Downloading Sequencer Program...Done
ahc0: Probing channel A

ahc0: target 0 synchronous at 4.4MB/s, offset = 0xf
(ahc0:0:0): "IMPRIMIS 94241-7 1275" type 0 fixed SCSI 1
sd0(ahc0:0:0): Direct-Access 317MB (649502 512 byte sectors)

(ahc0:1:0): "WANGTEK 5525ES SCSI REV1 5M" type 1 removable SCSI 1
st0(ahc0:1:0): Sequential-Access density code 0x0, 
st0(ahc0:1:0): Target Busy

st0(ahc0:1:0): Target Busy

st0(ahc0:1:0): Target Busy
 drive empty

ahc0: target 4 synchronous at 10.0MB/s, offset = 0xf
(ahc0:4:0): "IBM OEM 0662S12 3 30" type 0 fixed SCSI 2
sd1(ahc0:4:0): Direct-Access 1003MB (2055035 512 byte sectors)

(ahc0:5:0): "CHINON CD-ROM CDS-535 Q20" type 5 removable SCSI 2
cd0(ahc0:5:0): CD-ROM 
cd0(ahc0:5:0): UNIT ATTENTION asc:28,0
cd0(ahc0:5:0):  Not ready to ready transition, medium may have changed
cd present.[400000 x 2048 byte records]

ahc0: target 6 synchronous at 10.0MB/s, offset = 0xf
(ahc0:6:0): "MAXTOR MXT-540SL H1.2" type 0 fixed SCSI 2
sd2(ahc0:6:0): Direct-Access 521MB (1067740 512 byte sectors)



>Audit-Trail:
>Unformatted:




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507271110.EAA18462>