rebuilding kernel modules issues
I have a Tyan S3870 (K855A) motherboard which I would like to perform a
burn in test with. lm_sensors needs a kernel module compiled to be support this motherboard's sensors. The instructions, for compiling the module, by tyan (ftp://ftp.tyan.com/software/lms/3870.sensors.conf) match closely with the instructions I found here (http://www.howtoforge.com/kernel_compilation_centos). I simply installed the kernel source (yum install kernel-devel) and tried the first basic step, cleaning (which is probably not needed at this point), but it threw the first of many errors I have run into. # uname -a Linux fwtest 2.6.18-53.1.21.el5 #1 SMP Tue May 20 09:34:18 EDT 2008 i686 athlon i386 GNU/Linux # cd /usr/src/kernels/2.6.18-53.1.21.el5-i686 # make clean && make mrproper scripts/Makefile.clean:17: /usr/src/kernels/2.6.18-53.1.21.el5-i686/drivers/infiniband/hw/amso1100/Makefile: No such file or directory make[3]: *** No rule to make target `/usr/src/kernels/2.6.18-53.1.21.el5-i686/drivers/infiniband/hw/amso1100/Makefile'. Stop. make[2]: *** [drivers/infiniband/hw/amso1100] Error 2 make[1]: *** [drivers/infiniband] Error 2 make: *** [_clean_drivers] Error 2 I then proceed to the next step of "make menuconfig". I select the driver "i2c-piix4" and then save, exit, and attempt to compile the modules. [root@fwtest 2.6.18-53.1.21.el5-i686]# make modules CHK include/linux/version.h CHK include/linux/utsrelease.h make[1]: *** No rule to make target `arch/i386/kernel/msr.c', needed by `arch/i386/kernel/msr.o'. Stop. make: *** [arch/i386/kernel] Error 2 I tried deselecting the "i2c-piix4" driver, and tried again with the same results. I also tried grabbing the .config file from /boot/ (cp /boot/config-`uname -r` ./.config) with the exact same results. This is a clean, newly installed, fully updated system. Shouldn't I be able to do this without error? Am I missing another package to be able to compile the kernel modules as is? Thanks for any help, Kenneth _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
rebuilding kernel modules issues
On Thu, Jun 12, 2008 at 8:53 AM, Kenneth Burgener
<kenneth@mail1.ttak.org> wrote: > I have a Tyan S3870 (K855A) motherboard which I would like to perform a burn > in test with. lm_sensors needs a kernel module compiled to be support this > motherboard's sensors. > > The instructions, for compiling the module, by tyan > (ftp://ftp.tyan.com/software/lms/3870.sensors.conf) match closely with the > instructions I found here > (http://www.howtoforge.com/kernel_compilation_centos). If you must rebuild the kernel or kernel module, I recommend you do it the "CentOS way" by following the CentOS wiki articles: http://wiki.centos.org/HowTos/Custom_Kernel and http://wiki.centos.org/HowTos/BuildingKernelModules Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
rebuilding kernel modules issues
On 6/12/2008 10:11 AM, Akemi Yagi wrote:
On Thu, Jun 12, 2008 at 8:53 AM, Kenneth Burgener <kenneth@mail1.ttak.org> wrote: I have a Tyan S3870 (K855A) motherboard which I would like to perform a burn in test with. lm_sensors needs a kernel module compiled to be support this motherboard's sensors. If you must rebuild the kernel or kernel module, I recommend you do it the "CentOS way" by following the CentOS wiki articles: http://wiki.centos.org/HowTos/Custom_Kernel and http://wiki.centos.org/HowTos/BuildingKernelModules Akemi Thank you. Your suggestion showed me the errors of my way. Turns out I was missing a package. I needed the "full kernel source" (kernel-2.6.18-53.el5.src.rpm). :-) Kenneth _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos |
| All times are GMT. The time now is 01:11 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.