AHA152x driver broken in 1.3.x

Eric Schenk (schenk@cs.toronto.edu)
Mon, 4 Sep 1995 18:14:59 -0400


I've just compiled 1.3.23 to see how the 1.3 series is coming along
and found that the AHA152x driver no longer sees my Archive Viper
tape drive. The following appears in my kernel log for each of the
possible targets (the tape is on target 4):

Sep 4 17:59:19 icebox kernel: issue_SC:
Sep 4 17:59:19 icebox kernel: 0x0020a250: target=5; lun=0; cmnd=( 0x00 00 00 00
00 00
Sep 4 17:59:19 icebox kernel: ); residual=256; buffers=0; phase |not issued|; n
ext=0x00000000
Sep 4 17:59:19 icebox kernel: current_SC:
Sep 4 17:59:19 icebox kernel: none
Sep 4 17:59:19 icebox kernel: disconnected_SC:
Sep 4 17:59:19 icebox kernel:
Sep 4 17:59:19 icebox kernel: waiting: SCSISEQ ( ); SCSISIG ( DATA OUT ); INTST
AT ( hi ); SSTAT ( BUSFREE ); SSTAT ( BUSFREE ); SXFRCTL0 ( CH1 ); SIGNAL ( ); S
ELID ( 00 ), SSTAT2 ( SEMPTY ); SFCNT ( 0 ); FCNT ( 0 ); DMACNTRL0 ( 16BIT PIO R
EAD INTEN );
Sep 4 17:59:19 icebox kernel: enabled interrupts ( ENBUSFREE )
Sep 4 17:59:19 icebox kernel: scsi : aborting command due to timeout : pid 6, s
csi0, channel 0, id 6, lun 0 0x00 00 00 00 00 00
Sep 4 17:59:19 icebox kernel: aha152x: abort(), SCpnt=0x0020a250, QUEUE STATUS:

There is no problem with the 1.2.x series kernels, so this is not a hardware
problem. If disable disconnects when booting the kernel hangs on boot looking
for an active target. I don't have time to familiarize myself with the driver
internals and track this down myself, but if anyone can suggest some things
to look at I'll be happy to help someone else fix this as the 1.3.x series
isn't of much use to me without my backup device being accessable.

-- eric

---------------------------------------------------------------------------
Eric Schenk schenk@cs.toronto.edu
Department of Computer Science, University of Toronto