> (scsi0:6:0) cannot abort running or disconnected command
> 
> followed by an Oops (NULL pointer) and hard lockup.  EIP=c01c3892 points
> inside internal_done as you can see from this piece of System.map:
> 
> c01c386c T aha152x_queue
> c01c3888 T internal_done
> c01c38a4 T aha152x_command
> c01c3910 T aha152x_abort
> 
> This is a hard lockup (followed by a few minutes of fsck...) so the Oops

Aha - try

--- drivers/scsi/aha152x.c~     Tue Apr  3 17:55:01 2001
+++ drivers/scsi/aha152x.c      Sun Jun 10 19:54:02 2001
@@ -1494,7 +1494,7 @@
 
        DPRINTK(debug_eh, INFO_LEAD "internal_done called\n", CMDINFO(SCpnt));
 #endif
-       if(SCSEM(SCpnt))
+       if(SCDATA(SCpnt) && SCSEM(SCpnt))
                up(SCSEM(SCpnt));
 }


It doesnt explain why you got a hang - maybe IRQ problems for one, but it 
does explain the oops. The abort freed the host scribble buffer and then
said it failed. internal_done was called as the command completed and tried
to check a dead semaphore.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to