[LU-858] Support for Linux kernel 3.1 (Fedora 16) Created: 16/Nov/11 Updated: 06/Oct/12 Resolved: 24/Jul/12 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Robert Kennedy | Assignee: | Yang Sheng |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora 16, kernel version 3.1.1-1.fc16.x86_64 |
||
| Rank (Obsolete): | 5772 |
| Description |
|
After pulling the latest master via git, running the autogen.sh, and trying './configure --with-linux=/usr/src/kernels/3.1.1-1.fc16.x86_64', it fails to configure due to module building issues. checking for Linux sources... /usr/src/kernels/3.1.1-1.fc16.x86_64 checking for /usr/src/kernels/3.1.1-1.fc16.x86_64... yes checking for Linux objects dir... /usr/src/kernels/3.1.1-1.fc16.x86_64 checking for /boot/kernel.h... no checking for /var/adm/running-kernel.h... no checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/.config... yes checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/autoconf.h... yes checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/version.h... yes checking if you are running user mode linux for x86_64... no (asm-um missing) checking for /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/namei.h... yes checking if you are using Linux 2.6... yes checking for external module build support... configure: error: unknown; check config.log for details config.log configure:5966: cp conftest.c build && make -d _module_/tmp/lustre-release/build LUSTRE_KERNEL_TEST=conftest.i CC=gcc -f /tmp/lustre-release/build/Makefile LUSTRE_LINUX_CONFIG=/usr/src/kernels/3.1.1-1.fc16.x86_64/.config LINUXINCLUDE= -I/usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include -I/usr/src/kernels/3.1.1-1.fc16.x86_64/include -I/usr/src/kernels/3.1.1-1.fc16.x86_64/include -I/usr/src/kernels/3.1.1-1.fc16.x86_64/include2 -include include/linux/autoconf.h -o tmp_include_depends -o scripts -o include/config/MARKER -C /usr/src/kernels/3.1.1-1.fc16.x86_64 EXTRA_CFLAGS=-Werror-implicit-function-declaration -g -I/tmp/lustre-release/libcfs/include -I/tmp/lustre-release/lnet/include -I/tmp/lustre-release/lustre/include M=/tmp/lustre-release/build
make[1]: Warning: File `/tmp/lustre-release/build/conftest.c' has modification time 12 s in the future
In file included from /usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include/asm/bitops.h:449:0,
from /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/bitops.h:22,
from /usr/src/kernels/3.1.1-1.fc16.x86_64/include/linux/kernel.h:17,
from /tmp/lustre-release/build/conftest.c:27:
/usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include/asm/arch_hweight.h: In function '__arch_hweight64':
/usr/src/kernels/3.1.1-1.fc16.x86_64/arch/x86/include/asm/arch_hweight.h:53:367: error: expected ':' or ')' before 'POPCNT64'
|
| Comments |
| Comment by Robert Read (Inactive) [ 26/Mar/12 ] |
|
I'm seeing this with a 2.6.35 kernel, so I suspect it may be an environment issue. No ideas yet, though. |
| Comment by Yang Sheng [ 24/Jul/12 ] |
|
Any progress of 3.x kernel support will be traced in |
| Comment by Xuezhao Liu [ 24/Jul/12 ] |
|
For the configuration failure, you can test if http://review.whamcloud.com/3396 can fix it. |
| Comment by Xuezhao Liu [ 24/Jul/12 ] |
|
Besides applying patch 3396, it may need do "make kernelrelease; ln -s ../arch/x86/include/generated/asm/ include/asm" in kernel top directory. |
| Comment by Srirangam [ 06/Oct/12 ] |
|
make failes with the following errors now. /root/lustre-release/lustre/llite/file.c:2165:55: error: 'const struct lock_manager_operations' has no member named 'fl_compare_owner' |