The evms in gs-sources-2.4.25_pre7-r2 is old and evms2 do not work. Also in gentoo-sources-2.4.22-r7 evms is eliminated Because ???? It is possible to upgrade the kernel ??? Thank's Reproducible: Always Steps to Reproduce: 1. 2. 3.
In new kernel gentoo-sources-2.4.25 evms2 is OK
I too seem to be having some difficulties with evms, more specifically with the the OS2 module, originating from os2lvm_vge.c:2391. The particular error is "structure has no member named 'b_inode'" After digging through os2lvm_vge.c I found the b_inode reference in Clone_Bufferhead(struct buffer_head *Source, struct buffer_head *Child); in the very last lines of the function: Child->b_inode = NULL; Child->b_inode_buffers.next = NULL; Child->b_inode_buffers.prev = NULL; A quick search on buffer_head lead me to ./include/linux/fs.h Lo and behold struct buffer_head has no b_inode reference. So I'm lead to believe the offending line: Child->b_inode = NULL; Should instead be: Child->b_inode_buffers = NULL; Hope it helps. -Dustin
Created attachment 29475 [details, diff] os2lvm_vge.c patch for gs-sources-2.4.25_pre7-r2 Silly bug really. It looks like someone was trying to NULL out b_inode_buffers, and instead keyed in: Child->b_node = NULL; Or maybe b_node actually exists in some other branch of the source tree in file ./include/linux/fs.h (struct buffer_head). Either way applying this diff to ./drivers/evms/os2lvm_vge.c fixes breakage that occurs if CONFIG_EVMS_OS2=m.