What can be done to get the Linux 2.6.39.4 kernel patched with Reiser4 to build ?. The i586 build fails and the x86_64 build passes.
Hello,
I am finding problems in trying to compile a linux 2.6.39.4 kernel patched with Reiser4-for-2.6.39.patch.gz
The i586 build failed[2], whereas the x86_64 build passes.[3] What do I need to adjust so i586 builds properly.
Has anyone else successfully built the with the i586 architecture ? Is so, what does your .config list ?
My .config listing starts at line 3341 in [2]
Thanks Glenn.
fail[2]
https://build.opensuse.org/package/rawlog?arch=i586&package=kernel-reiser4&project=home%3Adoiggl&repository=openSUSE_11.4
pass[3]
https://build.opensuse.org/package/rawlog?arch=x86_64&package=kernel-reiser4&project=home%3Adoiggl&repository=openSUSE_11.4
Project/package listing
https://build.opensuse.org/package/show?package=kernel-reiser4&project=home%3Adoiggl
The following thread located at [0] is background I asked earlier from the opensuse-kernel team. [0]http://lists.opensuse.org/opensuse-kernel/2011-11/msg00041.html
Quoted 3 lines · Michal Hocko
Quoted 2 lines · On Wed 16-11-11 23:59:41, [email protected] wrote:
Hello,
What can be done to get the i585 packages to build in a patched kernel
in
Quoted 4 lines
Quoted 4 lines
this project [1].
The i586 builds failed, whereas thex86_64succeeded.Does a flag need to be set to 'N' in the .config file. If not, what
needs
Quoted 6 lines
Quoted 6 lines
to be changed so i586 packages compile ?
Thanks Glenn[1]
package
https://build.opensuse.org/package/show?package=kernel-reiser4&project=home%3Adoiggl
Quoted 4 lines
Quoted 4 lines
The failed i586 build logs show[2]:
[2]
Quoted 3 lines
Quoted 3 lines
LD
drivers/net/built-in.o
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/drivers/net/niu.c:
Quoted 2 lines
Quoted 2 lines
In function '
niu_add_ethtool_tcam_entry':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/drivers/net/niu.c:7510:33:
Quoted 8 lines
Quoted 5 lines
warning: 'class' may be used uninitialized in this function
LDdrivers/built-in.o
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
error: Bad exit status from/var/tmp/rpm-tmp.ioWHAW(%build)The real error is earlier in the output:
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:
Quoted 2 lines
In function '
check_struct_bnode':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:801:2:
Quoted 2 lines
error: implicit declaration of function '
ext2_test_bit'
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:
Quoted 2 lines
In function '
search_one_bitmap_forward':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:923:7:
Quoted 2 lines
error: implicit declaration of function '
ext2_find_next_zero_bit'
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:
Quoted 2 lines
In function '
apply_dset_to_commit_bmap':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:1343:3:
Quoted 2 lines
error: implicit declaration of function '
ext2_clear_bit'
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:
Quoted 2 lines
In function '
reiser4_pre_commit_hook_bitmap':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:1409:5:
Quoted 21 lines
error: implicit declaration of function '
ext2_set_bit'I have no idea why reiserfs uses ext2 aliases but their current definition should be something like:
#define ext2_set_bit __test_and_set_bit_le #define ext2_clear_bit __test_and_clear_bit_le #define ext2_test_bit test_bit_le#define
ext2_find_first_zero_bitfind_first_zero_bit_le
#defineext2_find_next_zero_bitfind_next_zero_bit_leSo you can either replace them by the proper definition or force
fs/ext2/ext2.hinclusion (which sounds really hackish).Regards
Signature · 6 lines
Michal Hocko SUSE Labs SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic
Quoted 4 lines · On 11/17/2011 04:49 PM, [email protected] wrote:
Hello,
I am finding problems in trying to compile a linux 2.6.39.4 kernel patched with Reiser4-for-2.6.39.patch.gz
The i586 build failed[2], whereas thex86_64build passes.[3]
Hello.
Fixed. Please try reiser4-for-2.6.39-1.patch.gz I have just uploaded:
https://sourceforge.net/projects/reiser4/files/reiser4-for-linux-2.6/
Thanks,
Edward.
Quoted 105 lines
What do I need to adjust so i586 builds properly.
Has anyone else successfully built the with the i586 architecture ? Is so, what does your .config list ?
My .config listing starts at line 3341 in [2]
Thanks Glenn.fail[2]
https://build.opensuse.org/package/rawlog?arch=i586&package=kernel-reiser4&project=home%3Adoiggl&repository=openSUSE_11.4
pass[3]
https://build.opensuse.org/package/rawlog?arch=x86_64&package=kernel-reiser4&project=home%3Adoiggl&repository=openSUSE_11.4Project/package listing
https://build.opensuse.org/package/show?package=kernel-reiser4&project=home%3AdoigglThe following thread located at [0] is background I asked earlier from the opensuse-kernel team. [0]http://lists.opensuse.org/opensuse-kernel/2011-11/msg00041.html
Quoted 3 lines · Michal Hocko
Quoted 2 lines · On Wed 16-11-11 23:59:41, [email protected] wrote:
Hello,
What can be done to get the i585 packages to build in a patched kernelin
Quoted 4 lines
Quoted 4 lines
this project [1].
The i586 builds failed, whereas thex86_64succeeded.Does a flag need to be set to 'N' in the .config file. If not, what
needs
Quoted 6 lines
Quoted 6 lines
to be changed so i586 packages compile ?
Thanks Glenn[1]
packagehttps://build.opensuse.org/package/show?package=kernel-reiser4&project=home%3Adoiggl
Quoted 4 lines
Quoted 4 lines
The failed i586 build logs show[2]:
[2]Quoted 3 lines
Quoted 3 lines
LD
drivers/net/built-in.o
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/drivers/net/niu.c:Quoted 2 lines
Quoted 2 lines
In function '
niu_add_ethtool_tcam_entry':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/drivers/net/niu.c:7510:33:Quoted 8 lines
Quoted 5 lines
warning: 'class' may be used uninitialized in this function
LDdrivers/built-in.o
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
error: Bad exit status from/var/tmp/rpm-tmp.ioWHAW(%build)The real error is earlier in the output:
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:Quoted 2 lines
In function '
check_struct_bnode':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:801:2:Quoted 2 lines
error: implicit declaration of function '
ext2_test_bit'
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:Quoted 2 lines
In function '
search_one_bitmap_forward':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:923:7:Quoted 2 lines
error: implicit declaration of function '
ext2_find_next_zero_bit'
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:Quoted 2 lines
In function '
apply_dset_to_commit_bmap':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:1343:3:Quoted 2 lines
error: implicit declaration of function '
ext2_clear_bit'
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:Quoted 2 lines
In function '
reiser4_pre_commit_hook_bitmap':
/usr/src/packages/BUILD/kernel-reiser4-2.6.39/linux-2.6.39.4/fs/reiser4/plugin/space/bitmap.c:1409:5:Quoted 13 lines
error: implicit declaration of function '
ext2_set_bit'I have no idea why reiserfs uses ext2 aliases but their current definition should be something like:
#define ext2_set_bit __test_and_set_bit_le #define ext2_clear_bit __test_and_clear_bit_le #define ext2_test_bit test_bit_le#define
ext2_find_first_zero_bitfind_first_zero_bit_le
#defineext2_find_next_zero_bitfind_next_zero_bit_leSo you can either replace them by the proper definition or force
fs/ext2/ext2.hinclusion (which sounds really hackish).Quoted 8 lines
Regards
--
Michal Hocko
SUSE Labs
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html