Messages in this thread | | | Date | Tue, 19 Oct 2004 18:23:07 +0100 | From | Johan Groth <> | Subject | Re: Dma problems with Promise IDE controller |
| |
Ross Biro wrote: [snip]
> > The drive still has a bad sector. You are having trouble because the > error recover in the Linux ide code is not the same as Windows and > most drive vendors care about Windows, not the ATA-Spec. On top of > that Linux switches out of DMA mode once it hits a bad sector, so the > drive will be very slow from the on. > > The only way you are going to fix the problem is if your drive has > some spare sectors still available, and you do a write with out a read > to the bad sector.
Ok, I pretty sure it has spare sectors. How do I write to that sector without a read and how do I find which sector is bad?
Sorry for all these questions but this is the first time I've had these kind of problems ever. SCSI disks fix bad blocks by themselves so you don't have to do anything.
Regards, Johan - 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/
| |