Comment 50 for bug 97655

Revision history for this message
Oli (oli) wrote :

I've got 900gigs of data trapped in a [fake]RAID5 array. I've been following this thread for months because I'm really itching to get off Windows and onto Linux. This is my final deal-breaking hurdle.

I've tried pactching and compiling the latest patch from Heinz but when compiling I hit:
  CC [M] drivers/md/raid10.o
  CC [M] drivers/md/dm-raid1.o
In file included from drivers/md/dm-raid1.c:9:
drivers/md/dm-io.h:84: warning: ‘struct io_control’ declared inside parameter list
drivers/md/dm-io.h:84: warning: its scope is only this definition or declaration, which is probably not what you want
drivers/md/dm-io.h:84: error: conflicting types for ‘dm_io’
drivers/md/dm-io.h:77: error: previous declaration of ‘dm_io’ was here
drivers/md/dm-raid1.c: In function ‘do_write’:
drivers/md/dm-raid1.c:820: warning: passing argument 1 of ‘dm_io’ from incompatible pointer type
drivers/md/dm-raid1.c:820: error: too many arguments to function ‘dm_io’
make[3]: *** [drivers/md/dm-raid1.o] Error 1
make[2]: *** [drivers/md] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.22'
make: *** [debian/stamp-build-kernel] Error 2

So yes another error for yet another day. Hoorah. Does anybody know enough about all this to see why that's fouling up so bad? This is my first kernel compile (I tried it twice in case it was me following instructions wrong) so I'm way out of my depth =)

I'm on 2.6.22-14-generic if that makes any difference.

And Zach, did you have any luck? If you did I'd *REALLY* appreciate a kick in the right direction (or a step-by-step). Cheers.