On Fri, Dec 13, 2002 at 11:32:38AM -0500, rob apodaca wrote:

[...]

> Oliver,
> I don't think that the modules from the stock ltsp kernel will work
> with your custom kernel. Did you actually build the modules for your
> custom kernel? I always do a make modules & make modules_install after
> kernel compilation. That puts them in /lib/modules/<my_kernelmod_dir>.
> Then:$ cp -R /lib/modules/<my_kernelmod_dir>
> /opt/ltsp/i386/lib/modules/<my_kernelmod_dir>

The last step "make modules_install" would copy the modules to
/lib/modules/<my_kernelmod_dir> ON THE COMPUTER THAT DID THE
COMPILATION (in many cases the server). IF you don't run the same
kernel version (e.g. 2.4.19) on the compilating box, then no harm
done, but if you do then your /lib/modules/2.4.19 will be a mess!

Therefore you might want to change the Makefile before you issue "make
modules_install"

The line to change is the definition of $MODLIB:

#MODLIB := $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
MODLIB = /home/hans/misc/ltsp_kernels/modules

(I learned this 5 minutes ago, but it seems to do the job)

-- 
Hans Ekbrand (http://sociologi.cjb.net) <[EMAIL PROTECTED]>
GnuPG key: 1024D/7050614E (currently active subkey 03CE8884)
Fingerprint: 1408 C8D5 1E7D 4C9C C27E  014F 7C2C 872A 7050 614E
Key available at keyserver.kjsl.com   Encrypted emails prefered.

Attachment: msg10260/pgp00000.pgp
Description: PGP signature

Reply via email to