Messages in this thread Patch in this message | | | Date | Thu, 02 Sep 2004 13:05:59 +0400 | From | Brad Campbell <> | Subject | Re: Crashed Drive, libata wedges when trying to recover data |
| |
Greg Stark wrote:
> Any clue what I need to do to achieve this? Is this a bug because this isn't a > well-travelled code-path? (Dead drives not being something you can conjure up > on demand)? Or is this indicative of more problems than just a crashed drive? > > This is on a stock 2.6.6 kernel tree, btw. >
Known issue, fixed in 2.6.9-rc1. Apply this to 2.6.6 and your good to go.
Regards, Brad
brad@srv:/usr/src$ diff -u temp/linux-2.6.8.1/drivers/scsi/libata-scsi.c linux-2.6.8.1/drivers/scsi/libata-scsi.c --- temp/linux-2.6.8.1/drivers/scsi/libata-scsi.c 2004-08-14 14:55:19.000000000 +0400 +++ linux-2.6.8.1/drivers/scsi/libata-scsi.c 2004-08-18 01:04:11.000000000 +0400 @@ -213,6 +213,7 @@
ap = (struct ata_port *) &host->hostdata[0]; ap->ops->eng_timeout(ap); + host->host_failed--;
DPRINTK("EXIT\n"); return 0; T - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |