Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 1997 22:11:40 +0100
From:      andreas@klemm.gtn.com (Andreas Klemm)
To:        scsi@freebsd.org
Subject:   2.2-gamma: new problems with scsi subsystem
Message-ID:  <19970216221140.YQ26603@klemm.gtn.com>

next in thread | raw e-mail | index | archive | help
When trying to make dumps using dump(8), the system still hangs,
if tagged command queueing is enabled.

Bad news is, that removing every AHC_xxx option doesn't result
in a stable system as well.

My machine sometimes hangs, but unfortunately doesn't panic.
All I can do is write down some of the error messages in the X
console.

sd0(ahc0:0:0) timed out while idle
		LASTPHASE == 0x1, SCSISIGI == 0x0
		SEQADDR == 0x10
ahc0: Issued channel A Bus Reset, 2 SCB's aborted
clearing bus reset
clearing 'in-reset' flag

ahc0:4:0 synchronous at 4.4 MHz offset == 0x8
spe_getpages: I/O read error
vmfault: pager input (probably hardware) error,...

BTW, this is an unmodified 2.2-GAMMA kernel of today.

Copyright (c) 1992-1996 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2-GAMMA #0: Sun Feb 16 21:31:45 MET 1997
    root@klemm.gtn.com:/usr/sys.bisdn/compile/BISDN
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 99468279 Hz, i8254 clock: 1193118 Hz
CPU: Pentium (99.47-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 = 63692800 (62200K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82437FX PCI cache memory controller> rev 2 on pci0:0
chip1 <Intel 82371FB PCI-ISA bridge> rev 2 on pci0:7:0
chip2 <Intel 82371FB IDE interface> rev 2 on pci0:7:1
vga0 <VGA-compatible display device> rev 0 int a irq 12 on pci0:10
ahc0 <Adaptec 2940 SCSI host adapter> rev 3 int a irq 11 on pci0:12
ahc0: aic7870 Single Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(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: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
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 0x300-0x31f irq 10 maddr 0xcc000 msize 16384 on isa
ed0: address 00:00:c0:25:fd:2d, type WD8013EPC (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 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
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
tel0 at 0xd80 irq 9 on isa
tel0: card type Teles S0/16.3
npx0 on motherboard
npx0: INT 16 interface
joy0 at 0x201 on isa
joy0: joystick
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.5>
sbxvi0 at 0x0 drq 5 on isa
sbxvi0: <SoundBlaster 16 4.5>
sbmidi0 at 0x330 on isa
 <SoundBlaster MPU-401>
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>
IP packet filtering initialized, divert disabled, logging limited to 100 packets/entry

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



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