Messages in this thread | | | Date | Fri, 23 Jul 1999 18:23:13 -0700 (PDT) | From | Benjamin Lewis <> | Subject | re: Oops in 2.2.10 with AHA-2940U2W SCSI, Yamaha 4416s CDRW |
| |
On Fri, 23 Jul 1999, Tim Ricketts wrote:
> On Tue, 20 Jul 1999, Benjamin Lewis wrote: > > > (gdb) l *0xc01c6fc3 > > 0xc01c6fc3 is in aic7xxx_handle_scsiint (aic7xxx.c:6197). > > 6192 * we get a reset since this abort just failed. > > 6193 */ > > 6194 cmd->result = 0; > > 6195 scb = NULL; > > Seeing as we've already checked scb isn't NULL, my guess is that the line > above is getting executed. > > > 6196 } > > 6197 if (scb->cmd == p->dev_dtr_cmnd[TARGET_INDEX(scb->cmd)]) > > So this oopses. Will this solve the problem? It certainly can't cause > any more problems: *snip*
Thanks. This does indeed seem to prevent the oopses and subsequent system freezeup. Now I just get into an infinite loop of bus resets. At least now I can shut my system down safely.
(More info on my problem can be found at http://kernelnotes.org/lnxlists/linux-kernel/lk_9907_03/msg00969.html if anyone else is interested in helping me in my predicament :)
Here's the relevent part of the kernel log. In this case, a "mount" generated several of the timeouts, but then appeared to be successful. The rest of the errors were generated after a "find ." from the root of the cdrom.
Jul 23 17:42:46 eusa kernel: scsi : aborting command due to timeout : pid 17, scsi0, channel 0, id 3, lun 0 Test Unit Ready 00 00 00 00 00 Jul 23 17:43:16 eusa kernel: scsi : aborting command due to timeout : pid 17, scsi0, channel 0, id 3, lun 0 Test Unit Ready 00 00 00 00 00 Jul 23 17:43:54 eusa kernel: scsi : aborting command due to timeout : pid 34, scsi0, channel 0, id 3, lun 0 Prevent/Allow Medium Removal 00 00 00 00 00 Jul 23 17:45:17 eusa kernel: scsi : aborting command due to timeout : pid 35, scsi0, channel 0, id 3, lun 0 Test Unit Ready 00 00 00 00 00 Jul 23 17:45:47 eusa kernel: scsi : aborting command due to timeout : pid 36, scsi0, channel 0, id 3, lun 0 Read TOC 00 00 00 00 00 00 00 0c 00 Jul 23 17:46:17 eusa kernel: scsi : aborting command due to timeout : pid 36, scsi0, channel 0, id 3, lun 0 Read TOC 00 00 00 00 00 00 00 0c 00 Jul 23 17:47:16 eusa kernel: scsi : aborting command due to timeout : pid 47, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 1d 00 00 08 00 Jul 23 17:47:46 eusa kernel: scsi : aborting command due to timeout : pid 47, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 1d 00 00 08 00 Jul 23 17:48:53 eusa kernel: scsi : aborting command due to timeout : pid 49, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 25 00 00 08 00 Jul 23 17:49:23 eusa kernel: scsi : aborting command due to timeout : pid 49, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 25 00 00 08 00 Jul 23 17:50:02 eusa kernel: scsi : aborting command due to timeout : pid 62, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 a6 00 00 08 00 Jul 23 17:50:32 eusa kernel: scsi : aborting command due to timeout : pid 62, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 a6 00 00 08 00 Jul 23 17:50:49 eusa kernel: scsi : aborting command due to timeout : pid 108, scsi0, channel 0, id 3, lun 0 Prevent/Allow Medium Removal 00 00 00 00 00 Jul 23 17:52:08 eusa kernel: scsi : aborting command due to timeout : pid 109, scsi0, channel 0, id 3, lun 0 Test Unit Ready 00 00 00 00 00 Jul 23 17:52:38 eusa kernel: scsi : aborting command due to timeout : pid 109, scsi0, channel 0, id 3, lun 0 Test Unit Ready 00 00 00 00 00 Jul 23 17:53:17 eusa kernel: scsi : aborting command due to timeout : pid 126, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 a6 00 00 08 00 Jul 23 17:53:47 eusa kernel: scsi : aborting command due to timeout : pid 126, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 a6 00 00 08 00 Jul 23 17:54:19 eusa kernel: scsi : aborting command due to timeout : pid 168, scsi0, channel 0, id 3, lun 0 Read (10) 00 00 00 00 87 00 00 08 00 Jul 23 17:54:19 eusa kernel: (scsi0:0:3:-1) Unexpected busfree, LASTPHASE = 0xe0, SEQADDR = 0x14f Jul 23 17:54:50 eusa kernel: SCSI host 0 abort (pid 168) timed out - resetting Jul 23 17:54:50 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:54:50 eusa kernel: (scsi0:0:3:0) Invalid SCB ID 0 is active, SCB flags = 0x4. Jul 23 17:54:50 eusa kernel: SCSI host 0 channel 0 reset (pid 168) timed out - trying harder Jul 23 17:54:50 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:55:21 eusa kernel: SCSI host 0 abort (pid 168) timed out - resetting Jul 23 17:55:21 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:55:23 eusa kernel: SCSI host 0 channel 0 reset (pid 168) timed out - trying harder Jul 23 17:55:23 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:55:23 eusa kernel: (scsi0:0:3:0) Performing Domain validation. Jul 23 17:55:54 eusa kernel: SCSI host 0 abort (pid 168) timed out - resetting Jul 23 17:55:54 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:55:54 eusa kernel: (scsi0:0:3:0) Successfully completed Domain validation. Jul 23 17:55:55 eusa kernel: SCSI host 0 channel 0 reset (pid 168) timed out - trying harder Jul 23 17:55:55 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:56:26 eusa kernel: SCSI host 0 abort (pid 168) timed out - resetting Jul 23 17:56:26 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:56:28 eusa kernel: SCSI host 0 channel 0 reset (pid 168) timed out - trying harder Jul 23 17:56:28 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:56:59 eusa kernel: SCSI host 0 abort (pid 168) timed out - resetting Jul 23 17:56:59 eusa kernel: SCSI bus is being reset for host 0 channel 0. Jul 23 17:57:00 eusa kernel: SCSI host 0 channel 0 reset (pid 168) timed out - trying harder Jul 23 17:57:00 eusa kernel: SCSI bus is being reset for host 0 channel 0.
... ad infinitum
-- Benjamin Lewis
...the Soviets have the capability to try big projects. If there is a goal, such as when Gorbachev states that they are going to have nuclear-powered aircraft carriers, the case is closed -- that is it. They will concentrate on the problem, do a bad job, and later pay the price. They really don't care what the price is. -- Victor Belenko, MiG-25 fighter pilot who defected in 1976 "Defense Electronics", Vol 20, No. 6, pg. 100
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |