Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Mar 1997 19:57:10 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        scsi@FreeBSD.ORG
Subject:   Still SCSI Bus resets with 2940 on FreeBSD-2.2
Message-ID:  <19970307195710.08931@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
Sorry to say this, but I still have serious trouble with my AHA
2940 when dumping data to my QIC Streamer (TDC-4222) and tagged
command queuing is enabled.

My FreeBSD kernel is of yesterday (cvsupped RELENG_2_2)...

Here the last screenfull, hope it's useful:

Ordered Tag queued
sd0(ahc0:0:0): SCB 0x4 - timed out in command phase, SCSISIGI==0xc6
SEQADDR==0x5e
sd0(ahc0:0:0): abort message in message buffer
sd0(ahc0:0:0): SCB7 - Abort Completed
sd0(ahc0:0:0): no longer in timeout
Ordered Tag sent
sd0(ahc0:0:0): SCB 0x4 - timed out in command phase, SCSISIGI==0xc6
SEQADDR==0x5e
sd0(ahc0:0:0): abort message in message buffer
sd0(ahc0:0:0): SCB6 - Abort Completed
sd0(ahc0:0:0): no longer in timeout
sd0(ahc0:0:0): no longer in timeout
DUMP: dumping (Pass IV) [regular files]
sd0(ahc0:0:0): SCB 0x2 - timed out while idle, LASTPHASE==0x1,SCSISIGI==0x0
SEQADDR==0xc
Ordered Tag queued
sd0(ahc0:0:0): SCB 0x2 - timed out while idle, LASTPHASE==0x1,SCSISIGI==0x0
SEQADDR==0x11
sd0(ahc0:0:0): SCB 2: Immediate reset. Flags = 0x241
sd0(ahc0:0:0): no longer in timeout
ahc0: Issued channel A Bus Reset. 2 SCBs aborted.

After that the whole system freezes.

>From dmesg:
ahc0 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 15 on pci0:11
ahc0: aic7870 Single Channel, SCSI Id=7, 16/255 SCBs
ahc0 waiting for scsi devices to settle
ahc0: target 0 Tagged Queuing Device
(ahc0:0:0): "IBM DORS-32160 WA6A" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2063MB (4226725 512 byte sectors)
sd0(ahc0:0:0): with 6703 cyls, 5 heads, and an average 126 sectors/track
ahc0: target 1 Tagged Queuing Device
(ahc0:1:0): "IBM DORS-32160 WA6A" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 2063MB (4226725 512 byte sectors)
sd1(ahc0:1:0): with 6703 cyls, 5 heads, and an average 126 sectors/track
(ahc0:4:0): "TANDBERG  TDC 4222 =07:" type 1 removable SCSI 2
st0(ahc0:4:0): Sequential-Access density code 0x0, 512-byte blocks, write-enabled
(ahc0:6:0): "TOSHIBA CD-ROM XM-3601TA 0725" type 5 removable SCSI 2
cd0(ahc0:6:0): CD-ROM can't get the size

My kernel config file:

machine		"i386"
cpu		"I586_CPU"
ident		BISDN
maxusers	64

options		INET			#Internet communications protocols
options		FFS			#Fast filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"
options		SCSI_DELAY=8		#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow ordinary users to take the 
					# console - this is useful for X.
options        "MAXCONS=4"		# Number of virtual SCO compat consoles

options		"MD5"

options		IPFIREWALL			#firewall
options		IPFIREWALL_VERBOSE		#print information about
options		"IPFIREWALL_VERBOSE_LIMIT=100"	#limit verbosity

options		TELES_HAS_MEMCPYB	# bisdn 0.97

options		SYSVSHM,SYSVSEM,SYSVMSG	# System V shared memory

###options	"IBCS2"			# COFF binary compatibility
options		COMPAT_LINUX		# Linux Binary compatibility

options		SHOW_BUSYBUFS		# busy buffers on shutdown ?

options	AHC_TAGENABLE
options	AHC_SCBPAGING_ENABLE
options	AHC_ALLOW_MEMIO
options		SCSI_REPORT_GEOMETRY

options	DDB
options	KTRACE			#kernel tracing

options		MFS			#Memory File System

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

# my hardwired scsi devices, they have always the same SCSI ID !
controller	ahc0
controller	scbus0 at ahc0
disk		sd0 at scbus0 target 0
disk		sd1 at scbus0 target 1
disk		sd2 at scbus0 target 2
tape		st0 at scbus0 target 4
device		cd0 at scbus0 target 6

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

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		ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr

# Joystick
device		joy0	at isa? port "IO_GAME"

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	bpfilter 4	#Berkeley packet filter
pseudo-device	snp	3	#Snoop device - to look at pty/vty/etc..
pseudo-device	gzip

pseudo-device	vn		#Vnode driver (turns a file into a device)
#pseudo-device	speaker

# SB = SoundBlaster;  PAS = ProAudioSpectrum;  GUS = Gravis UltraSound
# Controls all sound devices
controller	snd0

# SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB)
device sb0	at isa? port 0x220 irq 5 drq 1 vector sbintr

# SoundBlaster 16 DSP driver - for SB16 - requires sb0 device
device sbxvi0	at isa? drq 5

# SoundBlaster 16 MIDI - for SB16 - requires sb0 device
device sbmidi0  at isa? port 0x330

# Yamaha OPL-2/OPL-3 FM - for SB, SB Pro, SB16, PAS
device opl0     at isa? port 0x388

#---------------------------------------------------------------------------
#
#	ISDN - parts of an example config file for bisdn
#	------------------------------------------------
#
#	last edit-date: [Sun May 26 10:35:22 1996]
#
#---------------------------------------------------------------------------

options		IPI_VJ		# Van Jacobsen header compression support
#options	"IPI_DIPA=3"	# send ip accounting packets every 3 seconds

# Teles S0/16.3	###################################################### IRQ  9 ##
controller	tel0 at isa? port 0xd80 net irq 9 vector telintr
pseudo-device	disdn
pseudo-device	isdn
pseudo-device	ipi	4
pseudo-device	itel	2
pseudo-device	ispy	1

-- 
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<



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