**** BEGIN LOGGING AT Wed Oct 25 02:59:57 2006 Oct 25 12:22:30 time to see if this endianness bug is in mdadm or hte driver Oct 25 12:29:04 hmm Oct 25 12:29:35 mdadm just reads the disk into an mdp_superblock_t struct, and magic is defined as __u32 Oct 25 12:30:13 now where the hell is __u32 defined Oct 25 12:33:13 and __u32 on x86 is unsigned int Oct 25 12:34:45 I am *definitely* going to test rebuilding an array that was created on x86 on arm32 big endian... on a test array, not the one with all my shit on it :-) Oct 25 12:36:17 and mdadm 2.5.4 (oe uses 1.8.0) has a big endian fix Oct 25 12:37:53 cool Oct 25 12:38:12 that's quite some difference Oct 25 12:38:20 I guess it's time to update mdadm Oct 25 12:40:12 __u32 magic; /* MD_SB_MAGIC: 0xa92b4efc - little endian */ Oct 25 12:40:17 ok good Oct 25 12:40:30 now to see if there are shitloads of le32_to_cpu in the new code :-) Oct 25 12:42:42 only in the superblock reads and writes Oct 25 12:42:45 that's good news Oct 25 12:42:57 I should be able to patch 1.8.0 instead of trying to get 2.5.5 to work Oct 25 12:43:07 or is it better to try and get 2.5.5 into OE? Oct 25 12:49:40 Dunno what the differences between 1.8.x and 2.5.x are Oct 25 12:50:00 it's probably not a bad idea getting 2.5.5 working imho Oct 25 12:52:41 NAiL: quite a number of differences actually, a big change in how the code was written Oct 25 12:52:47 I'll see what I can do. :-) Oct 25 12:55:58 great :-D Oct 25 12:57:35 ok mdadm-2.5.5 built without a single patch or hitch Oct 25 12:57:47 when I get home I'll have to try it :-) Oct 25 12:58:00 cool Oct 25 12:58:06 just update make/mdadm.mk for the new version (1.8.0 -> 2.5.5) Oct 25 12:58:09 that's it Oct 25 12:58:12 nice Oct 25 12:58:24 Give us a nice status report on how you fare :) Oct 25 13:01:55 * NAiL goes home Oct 25 13:10:23 tzanger: koen org.oe.dev * rcd214025... / (1 packages/mdadm/mdadm_2.5.5.bb packages/mdadm/mdadm.inc): mdadm: update to 2.5.5, which should work a bit better on BE systems Oct 25 13:11:02 koen: nice, now how the hell do I get that? :-) Oct 25 13:12:44 poke nail to put it in the feeds :) Oct 25 13:12:59 :-) I built my own ipk of it I think Oct 25 13:13:53 hmm nope it didn't build an ipk Oct 25 13:14:00 it built the app but not package Oct 25 13:15:58 ahh there we go Oct 25 13:16:02 make mdadm-ipk Oct 25 13:46:44 is there a standard .config that ppl use to update the kernel on the nslu2 .. mine doesnt wanna give me an ip after i update ...openslug firmware running gentoo Oct 26 01:53:07 ! Oct 26 02:34:08 pwd **** ENDING LOGGING AT Thu Oct 26 02:59:57 2006