I just built a fresh CentOS 5.1 system, i'm going to try two different methods. First will be to build DRBD against a kernel patched via the RPM. If there are any problems there then I will try a custom kernel with lustre built completely from source (again on a fresh system). I'll keep an eye out for the 'struct_module warning.
> -----Original Message----- > From: [email protected] [mailto:lustre-discuss- > [email protected]] On Behalf Of Adam Gandelman > Sent: Friday, 17 April 2009 11:15 AM > To: [email protected] > Subject: [Lustre-discuss] DRBD modules compiled against Lustre kernel > source, no version for "struct_module" found: kernel tainted. > > Hi- > > I've been running into this kernel message every time I've built DRBD > modules against Lustre's patched kernel and source. I've just tried it > again with Lustre 1.6.7.1 and it's still showing up. DRBD compiles and > functions without error, however, upon loading the module I see: > > drbd: no version for "struct_module" found: kernel tainted. > > >From what I understand, this message is warning that the module being > inserted was compiled against sources for another kernel. I'm using > RHEL5 Lustre RPMs on both RHEL5 and CentOS 5.2 systems. I'm wondering > if it is safe ignore these messages and attribute them to Lustre's > kernel sources being packaged in a non-Redhat fashion. As I said, DRBD > seems to be working just fine and I haven't noticed any performance > issues or any other scary kernel messages. > > To get DRBD to find uts_releases, modpost, etc. and compile correctly, > I > needed to prepare the source as follows: > > Edit the EXTRAVERSION parameters in the kernel Makefile to point to the > correct directory in /lib/modules (EXTRAVERSION = > -92.1.17.el5_lustre.1.6.7.1custom -> EXTRAVERSION = > -92.1.17.el5_lustre.1.6.7.1smp) > /usr/src/linux-2.6.18-92.1.17.el5_lustre.1.6.7.1/make oldconfig && make > prepare && make modules_prepare && make mrproper > /usr/src/ linux-2.6.18-92.1.17.el5_lustre.1.6.7.1-obj/make prepare && > make modules_prepare > > Again, aside from the tainted kernel message everything seems to be > working fine but I'd love to get rid of the message or know for sure > that it is nothing to worry about. > > Thanks, > Adam > > Posted to lustre-discuss and drbd-user. > > _______________________________________________ > Lustre-discuss mailing list > [email protected] > http://lists.lustre.org/mailman/listinfo/lustre-discuss _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
