From: Paul H. Hargrove (PHHargrove_at_lbl_dot_gov)
Date: Tue Mar 23 2010 - 13:11:08 PDT
Neal, For a 2.6.32 kernel you'll need to apply the following patches to BLCR 0.8.2: https://upc-bugs.lbl.gov/blcr-dist/blcr-0.8.2+kernel-2.6.31.patch01 https://upc-bugs.lbl.gov/blcr-dist/blcr-0.8.2+kernel-2.6.32.patch02 Among them is a change to how the System.map file is "validated" that I suspect addresses your immediate problem. If you still have problems, let me know. I already know that we have both configure-time and compile-time "issues" with 2.6.33. It is possible those same problems may be present in a 2.6.32.9 kernel (either vanilla or Fedora). I do have patches for all the configure-time and compile-time issues in 2.6.33, but the resulting kernel modules hang during "make check" - so I've not released any patches for 2.6.33. So, any configure or compile failure you encounter on 2.6.32.9-fc12 may already have am UNTESTED OR UNSAFE fix available from my development tree. Let me know what you find. -Paul Neal Becker wrote: > I'm trying to build blcr-0.8.2 on fedora 12 x86_64. It's been a while, maybe > I've forgotten a few things. > > checking for Linux kernel build in /usr/src/kernels/2.6.32.9-70.fc12.x86_64... > found version 2.6.32.9-70.fc12.x86_64 > checking for Linux kernel source in > /usr/src/kernels/2.6.32.9-70.fc12.x86_64... found version 2.6.32 > checking directory to install kernel modules... > /lib/modules//2.6.32.9-70.fc12.x86_64//extra/blcr/ (passed via --with-kmod- > dir) > checking for parameters to interface GNU automake with Linux kbuild... > KBUILD_EXTMOD=$(builddir) > checking for flags to compile Linux kernel probes... -nostdinc -isystem > /usr/lib/gcc/x86_64-redhat-linux/4.4.3/include - > I/usr/src/kernels/2.6.32.9-70.fc12.x86_64/include - > I/usr/src/kernels/2.6.32.9-70.fc12.x86_64/arch/x86/include -include > /usr/src/kernels/2.6.32.9-70.fc12.x86_64/include/linux/autoconf.h -D__KERNEL__ > -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno- > common -Werror-implicit-function-declaration -Wno-format-security -fno-delete- > null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel - > funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 > -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous- > unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 > -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration- > after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm - > fconserve-stack -DMODULE -DKBUILD_STR(s)=#s - > DKBUILD_BASENAME=KBUILD_STR(conftest) -DKBUILD_MODNAME=KBUILD_STR(conftest) - > DDEBUG_HASH=50 -DDEBUG_HASH2=61 > checking for Linux kernel symbol table... failed > configure: error: Failed to locate kernel symbol table. Try using --with- > system-map or --with-vmlinux > > I've got: > /usr/src/kernels/2.6.32.9-70.fc12.x86_64/System.map. Isn't that what it was > looking for? > -- Paul H. Hargrove PHHargrove_at_lbl_dot_gov Future Technologies Group Tel: +1-510-495-2352 HPC Research Department Fax: +1-510-486-6900 Lawrence Berkeley National Laboratory