It seems that Linus didn't fully merge some stuff from Alan patches.
Try the following patch:
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla/include/linux/genhd.h linux.ac/include/linux/genhd.h
--- linux-2.4.2/include/linux/genhd.h Thu Jan 4 22:50:47 2001
+++ linux/include/linux/genhd.h Tue Feb 20 20:46:28 2001
@@ -222,6 +222,11 @@
}; /* 408 */
#endif /* CONFIG_UNIXWARE_DISKLABEL */
+
+#ifdef CONFIG_MINIX_SUBPARTITION
+# define MINIX_PARTITION 0x81 /* Minix Partition ID */
+# define MINIX_NR_SUBPARTITIONS 4
+#endif /* CONFIG_MINIX_SUBPARTITION */
#ifdef __KERNEL__
extern struct gendisk *gendisk_head; /* linked list of disks */
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk - 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/