d'oh! kernel update make modules
I have been trying to update my kernel without success. I have been following the step laid out in "http : / / w w w. linuxquestions.org/questions/answers/150". I have used my old config files. I have used the one provided in step 6 of the tutorial. I have tried make menuconfig. I can make the bzImage but not the modules. I have no scsi devices. I am trying for kernel 22.214.171.124.
In file included from drivers/message/fusion/mptscsih.c:68:
drivers/message/fusion/linux_compat.h:11: redefinition of `scsi_device_online'
include/scsi/scsi_device.h:192: `scsi_device_online' previously defined here
drivers/message/fusion/linux_compat.h: In function `scsi_device_online':
drivers/message/fusion/linux_compat.h:12: structure has no member named `online'make: *** [drivers/message/fusion/mptscsih.o] Error 1
make: *** [drivers/message/fusion] Error 2
make: *** [drivers/message] Error 2
make: *** [drivers] Error 2
Also, possibly related, I can't apply the patch I get an error:
[root@localhost linux-126.96.36.199]# bzip2 -dc patch-188.8.131.52.bz2|patch -p1
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file fs/nfs/file.c
Reversed (or previously applied) patch detected! Assume -R? [n] r
Apply anyway? [n] y
Hunk #1 FAILED at 72.
Hunk #2 FAILED at 89.
2 out of 2 hunks FAILED -- saving rejects to file fs/nfs/file.c.rej
Any help would be apprreciated.
PS when creating a new thread, in the box of smilies, what is the bottom left one doing? (:tisk: )
What version of the kernel source are you applying patch 184.108.40.206 to? It should be applied to a 2.6.8 kernel. That patch was to fix a problem with nfs. If you don't use nfs you may as well leave it at 2.6.8. If you get any .rej files you shouldn't (in my opinion) go ahead and build. The kernel is quite important. If it doesn't work properly your whole system could...
ahh. I was trying to apply the 220.127.116.11 patch to the 18.104.22.168 kernel. So the 22.214.171.124 patch should go with the 2.6.8 kernel?
OK I am making some progress. I have reached the make install step. Then:
[root@localhost linux-126.96.36.199]# make install
make: `arch/i386/kernel/asm-offsets.s' is up to date.
Kernel: arch/i386/boot/bzImage is ready
sh /home/src/kernel/linux-188.8.131.52/arch/i386/boot/install.sh 184.108.40.206 arch/i386/boot/bzImage System.map ""
No module mptbase found for kernel 220.127.116.11
make: *** [install] Error 1
make: *** [install] Error 2
presumably the mptbase error you got at make install was from the earlier fusion error
Device Drivers > turn off Fusion MPT
save it, make, etc should work now
Note that 'make install' runs the script arch/i386/boot/install.sh, which doesn't add a new entry in /etc/lilo.conf. You should add the entry before you run make install.
I had to edit modules.conf and modprobe.conf removing any mention of mptxxx before running make install.
|All times are GMT -5. The time now is 06:04 PM.|