[LU-3609] trying to compile the Lustre kernel. Created: 17/Jul/13 Updated: 22/Jul/13 Resolved: 22/Jul/13 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Ron Croonenberg | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
RHEL 6 |
||
| Severity: | 3 |
| Rank (Obsolete): | 9156 |
| Description |
|
trying to compile the kernel-2.6.32-358.6.2.el6_lustre.g230b174.src.rpm (by extracting the kernel, configure it and make it) I get the following msgs: ERROR: "ipmi_smi_probe_complete" [drivers/char/ipmi/ipmi_si.ko] undefined! any ideas? thanks, Ron |
| Comments |
| Comment by Bob Glossman (Inactive) [ 17/Jul/13 ] |
|
Suspect you may have configured your kernel badly with respect to IPMI options. I note that all our regular configs for el6 have IPMI_SI as a built-in, not a module; CONFIG_IPMI_SI=y. Your errors suggest you may have config'ed it as a module. If not that specific one, still may be some other IPMI config setting. |
| Comment by Ron Croonenberg [ 18/Jul/13 ] |
|
Hi Bob, yes CONFIG_IPMI_SI was set to m, I set it to y and trying again. Is there a config file that is best used? thanks, Ron |
| Comment by Bob Glossman (Inactive) [ 18/Jul/13 ] |
|
One of the configs kept in lustre/kernel_patches/kernel_configs might be a good place to start. |
| Comment by Ron Croonenberg [ 18/Jul/13 ] |
|
So for example 'config-x86_64-generic-rhel' would probably a good one to use? |
| Comment by Bob Glossman (Inactive) [ 18/Jul/13 ] |
|
Ron, I'm not too familiar with the example configs in the kernel source tree. I have the vague impression they leave a lot of settings that require manual update and can be set wrong or badly. That's why I recommend starting with one of the configs in the lustre source tree. I know we use those and they work for us. |
| Comment by Bob Glossman (Inactive) [ 18/Jul/13 ] |
|
another good starting point might be the .config from /usr/src/kernel/<kernel-version> |
| Comment by Ron Croonenberg [ 18/Jul/13 ] |
|
Hi Bob, yes I noticed that previously, about the configs that come with the kernel. I just extracted the source rpm, with cpio. (lustre-2.4.0-2.6.32_358.6.2.el6_lustre.g230b174.x86_64_gd3f91c4.src.rpm) but I don't see any kernel configs in there? (if it is elsewhere, do you have a URL?) thanks, Ron |
| Comment by Bob Glossman (Inactive) [ 18/Jul/13 ] |
|
Ron, I was referring to the .config in the root /usr/src/kernel tree that is part of the kernel-devel rpm. As far as I know you must have the kernel-devel rpm installed in your build environment in order to build any add on kernel modules, including those that are in lustre. |
| Comment by Ron Croonenberg [ 18/Jul/13 ] |
|
Hi Bob, I do have kernel-devel etc installed. I did extract the lustre kernel in a different directory though... but I don't think that is the issue. it is compiling.. I'll see if it gets past the IPMI stuff. |
| Comment by Bob Glossman (Inactive) [ 18/Jul/13 ] |
|
As a specific example you can copy the .config from the installed linux-devel, for example /usr/src/kernels/2.6.32-358.14.1.el6.x86_64/.config, into the top dir of your extracted kernel. Then you can use that as the starting point to make manual changes using for example 'make menuconfig'. You can do the same with a config from the lustre tree, for example lustre/kernel_patches/kernel_configs/kernel-2.6.32-2.6-rhel6-x86_64.config |
| Comment by Ron Croonenberg [ 18/Jul/13 ] |
|
Hello Bob, thanks! I am trying to compile the kernel using the config from the lustre tree Ron |
| Comment by Ron Croonenberg [ 18/Jul/13 ] |
|
ok .. it all seemed to work. thanks! |