Re: Dma problems with Promise IDE controller

From: Johan Groth
Date: Tue Oct 19 2004 - 12:36:32 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/