From: Richard <rick47(a)adelphia.net>
Date: Sat, 30 Aug 2003 07:54:16 -0700
Subject: Re: [SLE] hptraid module building
On Sat August 30 2003 5:35 am, Ken Schneider spake
> I am trying to build a module to run an
HPT372N chip. <snip> I
version and autoconf files from /boot to my
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
> ...tainted kernel warning and I don't
want to trust my system to
> that message.
Yes, though indirectly. I had to re-build the kernel to remove HPT
did make cloneconfig, make config, removed the potentially offending
make dep, then make bzImage, then copied to /boot, edited and ran lilo.
"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
the hpt module completely, and started over "after" doing the kernel
above. This gave me an hpt37x2.o module that the system would accept
insmod but still with a "tainted" message. Is the "make dep" step
when the module I am trying to build is not in the source tree? Would
(more) effective to copy it to the source tree and re-run make dep?
for your assistance. Richard
You don't do a "make dep" in the directory where the module is, you
that in /usr/src/linux.