mkraid exits after device print-out and refuses to create an array when permanent super-block turned on. The cause is that in raid_io.c is on AMD64 used wrong _llseek function, lseek is the good one. more information is here: http://www.usenetlinux.com/archive/index.php/t-188311.html Reproducible: Always Steps to Reproduce:
Created attachment 59628 [details] added __x86_64__ I don't know if this file is good location for this modification. All I did is that I added __x86_64__ to those two ifdefs to force using lseek instead of _llseek
why the __PIC__ ? I think that might break other archs.
the patch he posted is an updated one of the PIC we use currently ... it's outdated ... with newer linux headers we shouldnt need the PIC check anymore ... anyways, added the x86_64 check to the patch, thanks