Re: Error mounting root fs on 72:01 using Promise FastTrak TX2000(PDC20271)

From: Walt H
Date: Sat Dec 20 2003 - 14:46:25 EST


Hello,

Is the Promise raid configured as a raid0 stripe? If so, can you see in the boot
messages if, when the ataraid driver detects the drives it is only detecting one
of the drives? Have you recently added or replaced one of the drives?

If the ataraid driver only detects one of the drives in a raid0 array, you might
try this patch:

--- /usr/src/temp/linux-2.4.21/drivers/ide/raid/pdcraid.c 2003-06-13
07:51:34.000000000 -0700
+++ pdcraid.c 2003-07-18 06:54:25.000000000 -0700
@@ -361,7 +361,8 @@
if (ideinfo->sect==0)
return 0;
- lba = (ideinfo->capacity / (ideinfo->head*ideinfo->sect));
+/* lba = (ideinfo->capacity / (ideinfo->head*ideinfo->sect));
lba = lba * (ideinfo->head*ideinfo->sect);
- lba = lba - ideinfo->sect;
+ lba = lba - ideinfo->sect; */
+ lba = ideinfo->capacity - ideinfo->sect;

return lba;

I diffed it against 2.4.21 but it should still apply. HTH,

-Walt


-
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/