Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43271 - Requested for evms2 in gs-sources
Summary: Requested for evms2 in gs-sources
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Bob Johnson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-29 04:18 UTC by Antonio
Modified: 2004-04-17 01:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
os2lvm_vge.c patch for gs-sources-2.4.25_pre7-r2 (os2lvm.patch,462 bytes, patch)
2004-04-17 00:36 UTC, Dustin D
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-02-29 04:18:18 UTC
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.
Comment 1 Antonio 2004-04-09 13:45:24 UTC
In new kernel gentoo-sources-2.4.25 evms2 is OK
Comment 2 Dustin D 2004-04-16 23:05:53 UTC
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 
Comment 3 Dustin D 2004-04-17 00:36:58 UTC
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.