Subject: Re: isp driver issues
To: Thomas T. Thai <tom@minnesota.com>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 11/10/2004 16:31:56
[ On Wednesday, November 10, 2004 at 14:27:35 (-0600), Thomas T. Thai wrote: ]
> Subject: isp driver issues
>
> -current/i386 qlogic 2200 fibre card

It's not quite the same but I've got a client running an AlphaServer
ES40 with a pair of Qlogic 2340 cards each connected to one half of an
Apple Xserve RAID array and when running NetBSD/alpha 1.6.x it works
just fine with the exception of the weird "bad execution throttle"
warning during boot:

isp0 at pci0 dev 3 function 0: QLogic Dual Port FC-AL and 2Gbps Fabric HBA
isp0: interrupting at dec 6600 irq 16
isp0: bad execution throttle of 0- using 16
scsibus2 at isp0: 256 targets, 8 luns per target

isp1 at pci1 dev 2 function 0: QLogic Dual Port FC-AL and 2Gbps Fabric HBA
isp1: interrupting at dec 6600 irq 28
isp1: bad execution throttle of 0- using 16
scsibus3 at isp1: 256 targets, 8 luns per target

sd2 at scsibus2 target 1 lun 0: <APPLE, Xserve RAID, 1.21> SCSI2 0/direct fixed
sd2: 1402 GB, 179526 cyl, 128 head, 128 sec, 512 bytes/sect x 2941353984 sectors

sd3 at scsibus3 target 1 lun 0: <APPLE, Xserve RAID, 1.21> SCSI2 0/direct fixed
sd3: 1402 GB, 179526 cyl, 128 head, 128 sec, 512 bytes/sect x 2941353984 sectors


        # dd if=/dev/rsd3c of=/dev/null bs=2m count=1000
        1000+0 records in
        1000+0 records out
        2097152000 bytes transferred in 43.177 secs (48571044 bytes/sec)

        # dd if=/dev/zero of=/dev/rsd2c bs=2m count=1000 
        1000+0 records in
        1000+0 records out
        2097152000 bytes transferred in 53.708 secs (39047292 bytes/sec)


However prior to removing the ohci (and pciide) driver from my kernel
(neither of which I really need to use on the ES40 anyway), I was seeing
very similar problems:

	scsibus2: waiting 2 seconds for devices to settle...
	stray 6600 irq 16
	stray 6600 irq 16
	stray 6600 irq 16
	stray 6600 irq 16
	stray 6600 irq 16; stopped logging
	isp0: Interrupting Mailbox Command (0x69) Timeout
	isp0: Mailbox Command 'GET FW STATE' failed (TIMEOUT)
	isp0: Interrupting Mailbox Command (0x69) Timeout
	isp0: Mailbox Command 'GET FW STATE' failed (TIMEOUT)
	[[ and so on... ]]

(note IRQ 16 is the one claimed by isp0 in the working config)

so it may be you've got some kind of interrupt conflict in your system too.

Or maybe there's something more fundamentally wrong with the way the ISP
driver claims its interrupts and it's not actually a problem on the Alpha!

(There are other ES40 owners who have had similar problems with the
ohci driver and interrupts, but maybe they don't have any isp devices...)


-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>