Messages in this thread | | | From | "Mike Black" <> | Subject | Re: SCSI medium errors | Date | Mon, 30 Nov 1998 09:36:04 -0500 |
| |
I had a similar problem....I assume your root disk is also SCSI??
There was some discussion about SCSI timeouts and looping but I don't see any SCSI resets in your log.
I took a look in drivers/scsi/sd.c (I'm running 2.1.130) and I see:
if (SCpnt->sense_buffer[2] == MEDIUM_ERROR) { printk("scsi%d: MEDIUM ERROR on channel %d, id %d, lun %d, CDB: ", SCpnt->host->host_no, (int) SCpnt->channel, (int) SCpnt->target, (int) SCpnt->lun); print_command(SCpnt->cmnd); print_sense("sd", SCpnt); SCpnt = end_scsi_request(SCpnt, 0, block_sectors); requeue_sd_request(SCpnt); return; }
If you can repeat this error at will (and it sounds like you can) how about commenting out the "requeue_sd_request". It looks like that should allow it to continue...but you may get a large stream of errors after that...
It would seem to me that requeing is a hopeless cause in this situation...
________________________________________ Michael D. Black Principal Engineer mblack@csi.cc 407-676-2923,x203 http://www.csi.cc Computer Science Innovations http://www.csi.cc/~mike My home page FAX 407-676-2355
- 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/
| |