Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2000 20:43:49 -0800
From:      Dave Tweten <tweten@nas.nasa.gov>
To:        freebsd-stable@FreeBSD.ORG
Subject:   4.2 Beta Broke ahc Support for AHA2842
Message-ID:  <200011130443.eAD4hoG00697@gilmore.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
This is a multipart MIME message.

--==_Exmh_-12806190630
Content-Type: text/plain; charset=us-ascii

My old kernel, vintage 4.1.1, works fine with my three old Adaptec SCSI host 
bus adapters, two AHA1742A's and an AHA2842VL (yes, it's an old motherboard).  
I've cvsupped 4.2 a couple of times (most recently November 9, 14:26 PST), 
built world, built kernel, installed kernel, and tried to reboot.  The 
following behavior happened both times:

Early boot output looks like:

	ahb0: <Adaptec 174x SCSI host adapter> at 0x1c00-0x1cff, irq 11 (level)
	ahb0: on disa0 slot 1
	ahb0: AHA1742A Single Ended SCSI Adapter, FW Rev. E   , ID=7, 64 ECBs
	ahb1: <Adaptec 174x SCSI host adapter> at 0x2c00-0x2cff, irq 12 (level)
	ahb1: on eisa0 slot 2
	ahb1: AHA1740A Single Ended SCSI Adapter, FW Rev. E   , ID=6, 64 ECBs
	ahc0: <Adaptec 284X SCSI Adapter> at 0x8c00-0x8cff, irq 10 (edge)
	ahc0: on eisa0 slot 8
	aic7770: Single Channel A, SCSI Id=7, 4/255 SCBs

which corresponds to the output from a 4.1.1 kernel.  Later, however, comes:

	ahc0: brkadrint, Illegal Sequencer Address referenced at seqaddr = 0x3
	SCB count = 10
	Waiting Queue Entries:
	Disconnected Queue Entries:
	QOUTFIFO entries:
	Sequencer Free SCB List: 0 1 2 3
	Pending list:
	Kernel Free SCB list: 8 7 6 5 4 3 2 1 0
	Waiting 5 seconds for SCSI devices to settle.
	ahb0: SCSI Bus Reset Delivered
	ahb1: SCSI Bus Reset Delivered

followed, after a pause, by perpetual repetition of:

	ahc0: brkadrint, Illegal Sequencer Address referenced at seqaddr = 0x1
	SCB count = 10
	QINFIFO entries:
	Waiting queue entries:
	Disconnected Queue entries:
	QOUTFIFO entries:
	Sequencer free SCB List: 0 1 2 3
	Pending list:
	Kernel Free SCB list: 3 4 5 6 7 8 9 1 0

which leads me to conclude that ahc support for the 2842 has become broken in 
FreeBSD 4.2 Beta.  My kernel config file is attached.  Can anyone help?

--==_Exmh_-12806190630
Content-Type: text/plain ; name="GILMORE"; charset=us-ascii
Content-Description: GILMORE

#
# GILMORE --Gilmore.nas.nasa.gov configuration
#

machine		i386
cpu		I486_CPU
ident		GILMORE
maxusers	64

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
options 	NFS			#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=5000		#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options		SHMMAXPGS=4096		#16 meg reputed to be required by Gimp
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extentions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies

device		isa
device		eisa

# Floppy drives
device		fdc0		at isa? port IO_FD1 irq 6 drq 2
device		fd0		at fdc0 drive 0
device		fd1		at fdc0 drive 1

# SCSI Controllers
device		ahb0
device		ahb1
device		ahc0

# SCSI peripherals
device		scbus0		at ahb0
device		scbus1		at ahb1
device		scbus2		at ahc0
device		da0		at scbus0 target 0
device		da1		at scbus0 target 1
device		da2		at scbus2 target 0
device		da3		at scbus1 target 1
device		sa		# Sequential Access (tape etc)
device		cd		# CD

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0		at isa? port IO_KBD
device		atkbd0		at atkbdc? irq 1

device		vga0		at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0		at isa?

# Floating point support - do not disable.
device		npx0		at nexus? port IO_NPX irq 13

# Serial (COM) ports
device		sio0		at isa? port IO_COM1 flags 0x10 irq 4
device		sio1		at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0		at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		ppi		# Parallel port interface device

# ISA Ethernet NICs.
device		ed0		at isa? port 0x280 irq 9 iomem 0xd0000

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	pty	64	# Pseudo-ttys (telnet etc)

--==_Exmh_-12806190630
Content-Type: text/plain; charset=us-ascii

M/S 258-5                     | 1024-bit PGP fingerprint: | tweten@nas.nasa.gov
NASA Ames Research Center     |  41 B0 89 0A  8F 94 6C 59 |      (650) 604-4416
Moffett Field, CA  94035-1000 |  7C 80 10 20  25 C7 2F E6 | FAX: (650) 604-4377
We each earn what freedom of speech we defend for those who most offend us.

--==_Exmh_-12806190630--




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




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