Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Feb 1998 11:02:39 +0100
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        gibbs@plutotech.com
Cc:        scsi@FreeBSD.ORG
Subject:   cam driver: Timedout SCP handeled by another timeout
Message-ID:  <19980222110239.52637@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
Hi Justin !

First of all, thanks for your work in the cam driver it really
looks very promising and it solved the write append error with
my TDC 4222, 'though I still don't have amanda running, but
that's another story ;-)

I made the following observations with the cam driver (980103 Snapshot)
on a -current from exactly that date:

On system halt or reboot it happens, that the following
message is printed on the console multiple times:

Timedout SCB handeled by another timeout.
Timedout SCB handeled by another timeout.
Timedout SCB handeled by another timeout.
...

When the system comes up, then about 10 or 20 files will be deleted
from fsck -p. I think these are only tmp files.

My machine is a SMP machine.

I have two SCSI controllers:

	T- ahc0	- ID 0 - IBM DORS 32160
	ahc0	- ID 4 - TDC 4222
	ahc0	- ID 6 - CD-ROM - T

	T- ahc1	- ID 1 - IBM DORS 32160		ccd 0
	ahc1	- ID 2 - IBM DORS 32160 -T	- 3

Here what dmesg tells about my system:
Additionally I have strange problems with my Tandberg SCSI streamer.
mt status only tells one density.

Present Mode:   Density = 0x00         Blocksize = 512 bytes
---------available modes---------
Mode 0:         Density = 0x00         Blocksize = 512 bytes
Mode 1:         Density = 0x00         Blocksize = 512 bytes
Mode 2:         Density = 0x00         Blocksize = 512 bytes
Mode 3:         Density = 0x00         Blocksize = 512 bytes

Sometimes a dump doesn't finish.

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Wed Feb 18 23:07:53 CET 1998
    root@titan.klemm.gtn.com:/home/data/sys.bisdn/compile/BISDNSMP
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping=9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 83886080 (81920K bytes)
avail memory = 78897152 (77048K bytes)
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Probing for devices on PCI bus 0:
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
vx0: <3COM 3C900 Etherlink XL PCI> rev 0x00 int a irq 19 on pci0.11.0
utp/aui/bnc[*utp*] address 00:60:97:aa:3a:db
vga0: <Matrox MGA 2064W graphics accelerator> rev 0x01 int a irq 18 on pci0.12.0
ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x00 int a irq 17 on pci0.13.0
ahc0: aic7880 Single Channel, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec 2940 SCSI adapter> rev 0x03 int a irq 16 on pci0.14.0
ahc1: aic7870 Single Channel, SCSI Id=7, 16/255 SCBs
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <4 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 10 maddr 0xd0000 msize 16384 on isa
ed0: address 00:00:c0:5a:98:2a, type WD8013EPC (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 flags 0x20 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
mss_probe: no address supplied, try default 0x530
sb_probe: no address supplied, try defaults (0x220,0x240)
pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
tel0 at 0xd80 irq 9 on isa
tel0: card type Teles S0/16.3
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
joy0 at 0x201 on isa
joy0: joystick
APIC_IO: routing 8254 via 8259 on pin 0
ccd0-3: Concatenated disk drivers
IP packet filtering initialized, divert enabled, default to accept, logging limited to 100 packets/entry
SMP: AP CPU #1 Launched!
sa0 at ahc0 bus 0 target 4 lun 0
sa0: <TANDBERG TDC 4222 =07:> Removable Sequential Access SCSI2 device 
sa0: Serial Number SN42200227
sa0: 4.464MB/s transfers (4.464MHz, offset 8)
changing root device to sd0a
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI2 device 
da0: Serial Number 5U6G6557        
da0: 20.0MB/s transfers (20.0MHz, offset 15), Tagged Queueing Enabled
da0: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da1 at ahc1 bus 0 target 1 lun 0
da1: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI2 device 
da1: Serial Number 5U2N3906        
da1: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da2 at ahc1 bus 0 target 2 lun 0
da2: <IBM DORS-32160 WA6A> Fixed Direct Access SCSI2 device 
da2: Serial Number 5U312691        
da2: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da2: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
WARNING: / was not properly dismounted.
cd0 at ahc0 bus 0 target 6 lun 0
cd0: <TOSHIBA CD-ROM XM-5701TA 3136> Removable CD-ROM SCSI2 device 
cd0: 10.0MB/s transfers (10.0MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present
vx0: selected bnc. (link1)
Assigned: TEI = 0xd9 = 108
(da0:ahc0:0:0:0): tagged openings now 32
(da1:ahc1:0:1:0): tagged openings now 32
(da2:ahc1:0:2:0): tagged openings now 32
(sa0:ahc0:0:4:0): SCB 0x1 - timed out while idle, LASTPHASE == 0x1, SCSISIGI == 0x0
SEQADDR == 0x8
(sa0:ahc0:0:4:0): Queueing a BDR SCB
(sa0:ahc0:0:4:0): Bus Device Reset Message Sent
Bus Device Reset Completed.
(sa0:ahc0:0:4:0): no longer in timeout
ahc0: Bus Device Reset delivered. 1 SCBs aborted
(sa0:ahc0:0:4:0): REWIND. CDB: 1 1 0 0 0 0 
(sa0:ahc0:0:4:0): UNIT ATTENTION asc:29,0
(sa0:ahc0:0:4:0): Power on, reset, or bus device reset occurred


My kernel config file

machine		"i386"
cpu		"I686_CPU"
ident		BISDNSMP
maxusers	64

# SMP Stuff
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

options         USER_LDT                # for Wine

#Debugging
options		DDB
options		KTRACE			#kernel tracing
options         SHOW_BUSYBUFS           # busy buffers on shutdown ?

options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

# Networking
options		INET			#InterNETworking
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

# filesystems
options		FFS			#Berkeley Fast Filesystem
options		QUOTA			#enable disk quotas
options		NFS			#Network File System
options		MFS			#Memory File System
options		PROCFS			#Process filesystem
options		MSDOSFS			#MS DOS File System
options		"CD9660"		#ISO 9660 filesystem
options		NSWAPDEV=3		#Allow this many swap-devices.
options		FDESC			#File descriptor filesystem
options		UMAPFS			#UID map filesystem

# misc options
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		SYSVSHM,SYSVSEM,SYSVMSG	#shared memory (X11)
options		"MD5"
options		COMPAT_LINUX		# Linux Binary compatibility
#options         "VM86"                  

config		kernel root on da1

# ISA and PCI BUS support
controller	isa0
controller	pci0

# PnP Support
controller	pnp0

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

# AHA 2940 PCI Controller
controller	ahc0

# SCSI Devices
controller	scbus0
device		da0			# Harddisk 0 - DOS/FreeBSD SMP
device		da1			# Harddisk 1 - FreeBSD Boot
device		da2			# Harddisk 2 - FreeBSD local
device		worm0 at scbus?		# SCSI worm
device		sa0			# TDC 4222
device		cd0			# TOSHIBA XM-5701TA 3136
options		AHC_TAGENABLE		# tagged command queueing
options		AHC_ALLOW_MEMIO
options		AHC_SCBPAGING_ENABLE
options		SCSI_REPORT_GEOMETRY

# SCO compatible system console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		MAXCONS=4		# number of virtual consoles
options		SC_HISTORY_SIZE=200	# number of history buffer lines

# floating point unit
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr

# serial devices on mainboard
# `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
#
device	sio0	at isa? port "IO_COM1" tty irq 4 flags 0x20 vector siointr
device	sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
options		BREAK_TO_DEBUGGER	#a BREAK on a comconsole goes to DDB,
					#if available.
options		CONSPEED=38400		#default speed for serial console
					#(default 9600)

# parallel device on mainboard
device		lpt0	at isa? port? tty irq 7 vector lptintr

# PS/2 mouse on mainboard
device	psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
options		"PSM_ACCEL=1"	# PS/2 mouse acceleration

# Joystick
device		joy0	at isa? port "IO_GAME"

# Network 3COM PCI
device vx0
device ed0	at isa? port 0x280 net irq 10 iomem 0xd0000 vector edintr

# Soundblaster 16
# SoundBlaster DSP driver - for SB, SB Pro, SB16, PAS(emulating SB)
# SoundBlaster 16 DSP driver - for SB16 - requires sb0 device
# SoundBlaster 16 MIDI - for SB16 - requires sb0 device
# Yamaha OPL-2/OPL-3 FM - for SB, SB Pro, SB16, PAS
# controller	snd0
# device sb0      at isa? port 0x220 irq 5 conflicts drq 1 vector sbintr
# device sbxvi0   at isa? port? irq? drq 5 conflicts
# device sbmidi0  at isa? port 0x330 irq? conflicts
# device opl0     at isa? port 0x388 conflicts
# pcm: PCM audio through various sound cards.
device pcm0 at isa? port ? tty irq 5 drq 1 flags 0x15 vector pcmintr

# Pseudo devices
pseudo-device	loop
pseudo-device	ether
pseudo-device	vn		1	#Vnode driver (turns a file into a dev.)
pseudo-device	tun		1	#user mode ppp
pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	pty		16
pseudo-device	gzip			# Exec gzipped a.out's
pseudo-device	ccd	4		#Concatenated disk driver
pseudo-device	ppp	1		#Point-to-point protocol
options PPP_BSDCOMP			#PPP BSD-compress support
options PPP_DEFLATE			#PPP zlib/deflate/gzip support
options PPP_FILTER			#enable bpf filtering (needs bpfilter)

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

# 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	ispy	4
pseudo-device	itel	2

-- 
Andreas Klemm
powered by ,,symmetric multiprocessor FreeBSD''

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



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