On Wednesday July 6, maximkoz@xxxxxxxxxxxxxxxx wrote: > Hi! > I'm getting problems with raid1 creation using new superblock format. > Kernel used is 2.6.12.2 (with drivers/md and include/linux/raid taken from > 2.6.13-rc1 to have a support for bitmaps and bug correction of md > failing when starting resync), all compiled together. > > For mdadm I tried both mdadm-2.0-devel-1 and mdadm-2.0-devel-1a. > Compiles only if -Werror is removed from the Makefile, otherwise > /usr/include/asm/byteorder.h:6:2: #warning using private kernel header; include <endian.h> instead! Hmmm... I don't get that. I must have different header files. And my <endian.h> doesn't provide the needed functionality :-( Anyway, try http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-2.0-devel-2.tgz (and remove -Werror). It works for me with the command line that you give. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html