On Sat August 30 2003 5:35 am, Ken Schneider spake thusly: <snip>
I am trying to build a module to run an HPT372N chip. <snip> I copied version and autoconf files from /boot to my source files in /usr/src/linux but still get the same errors.
Did you do a make dep after copying the file? This builds that dependencies required to properly build the module.
I assume I could modprobe with --force but that always warns with the ...tainted kernel warning and I don't want to trust my system to ignoring that message. <snip>
Yes, though indirectly. I had to re-build the kernel to remove HPT support, did make cloneconfig, make config, removed the potentially offending options, make dep, then make bzImage, then copied to /boot, edited and ran lilo. A "make dep" in the directory where the module for the hpt is returns a message, "..no rule to make target 'dep'..". I tried removing the files for the hpt module completely, and started over "after" doing the kernel things above. This gave me an hpt37x2.o module that the system would accept with insmod but still with a "tainted" message. Is the "make dep" step effective when the module I am trying to build is not in the source tree? Would it be (more) effective to copy it to the source tree and re-run make dep? Thanks for your assistance. Richard