Re: SCSI deadlock

Roland Hautz (roland@evosys.net)
Mon, 23 Mar 1998 14:22:47 +0100 (MET)


On Sun, 22 Mar 1998, Doug Ledford wrote:

> Roland Hautz wrote:
>
> > logs, again reading "kernel: (scsi0:0:0) Target busy". The nmi-oops
> ^^^^^^^^^^^^^^^^^^^^^^
>
> Didn't you say this drive is a Barracuda? If so, that message is
> troublesome. I never see Barracuda drives cause that message unless they

Not exactly. It's a Cheetah 4.3 GB :
Vendor: SEAGATE Model: ST34501W Rev: 0018

> have a sector that is so badly damaged that it hoses the Barracuda's drive
> firmware. You may end up having to low level format. In any case, I would

The drive is only 2 weeks old. And there would be a couple of damaged
sectors, because it happens while reading at different locations.

> change the tar command to tar -cvf - . so that it prints the file names as

Thank you, I'll try it.

> it processes them and then see if it always hangs on the same file. FWIW,
> this may not be a case of a hard lock, it may be an interrupt flood from
> repeated BUSY target status messages. There is suppossed to be a wait
> machanism in the aic7xxx 5.0.x driver to combat this situation but I haven't
> verified it under 2.1.x so I don't know if the timer routines are working

So it is not worth trying a 5.0.x driver version with kernel 2.1.90?

> properly. When I get the 5.1.x aic7xxx patches out the door, they will be
> geared specifically for 2.1.x kernels, but that's still going to be a few
> weeks at least anyway as I need to finish up a few things in the 5.0.x
> series.
>

I just had a system lockup with a new message on the console:

Kernel panic aic7xxx: (aic7xxx-queue) Couldn't find a free SCB.

That line came 3 times. Should I try different compile time options for
the aic7xxx driver?

newsfeed:/var/log # cat /proc/scsi/aic7xxx/0
Adaptec AIC7xxx driver version: 4.1/3.2
Compile Options:
AIC7XXX_RESET_DELAY : 15
AIC7XXX_TAGGED_QUEUEING: Enabled
AIC7XXX_PAGE_ENABLE : Disabled
AIC7XXX_PROC_STATS : Disabled

Adapter Configuration:
SCSI Adapter: Adaptec AIC-7880 Ultra SCSI host adapter
(AIC-788x chipset)
Host Bus: Wide
Base IO: 0xd000
Base IO Memory: 0xe2000000
IRQ: 10
SCBs: Used 8, HW 16, Page 16
Interrupts: 25730
Serial EEPROM: True
Extended Translation: Enabled
SCSI Bus Reset: Enabled
Ultra SCSI: Enabled
Disconnect Enable Flags: 0xffff

--
Dipl.-Phys. Roland Hautz			Evolution Systems GmbH
Network Administration				Mobil-Oil-Str. 42
mailto:rh@evosys.net	http://www.esib.net/	D-84539 Ampfing
Tel.:(49)(8636)9830-32				Fax: (49)(8636)9830-99

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu