[NTLUG:Discuss] Kernel module woes.
Scott Denlinger
sbd at dakotacom.net
Tue Jul 23 13:16:02 CDT 2002
I recently set up a Debian Woody box using the 2.4 kernel boot flavor
specified in the setup disks. I have a QIC tape drive in this, so I
thought I would install Ftape, and compile and install it as a kernel
module. It appears that in order to do this, it was necessary for me to
recompile my kernel, so I did that, and now there are a lot of modules
that don't get loaded when I boot. Here is the process I went through.
1. I installed the kernel sources via dselect, so the sources are in
/usr/src/kernel-source-2.4.18
2. I used 'make xconfig' to create a .config file. In the process of
doing that, I realized I could just configure ftape support in the
kernel without messing with ftape as a standalone program, so that's
what I did.
3. I then used Debian's kernel-package tool to create a .deb file.
Specifically, I used 'make-kpkg kernel_image', which resulted in a .deb
file. I installed this using 'dpkg -i <file>.deb
4. I let this go ahead and make modifications to lilo, and rebooted
Lilo successfully booted up the new kernel, but now there are a lot of
messages about modprobe not being able to find any modules. The result
of this is that I am not connected to the net on this box, since the
modules for my NIC cards aren't loaded.
What step did I miss in the above process? Doesn't the kernel_image
which the make-kpkg creates also create and install the modules?
Obviously I'm in over my head here, but I suspect there is a simple
solution to my problem. Thanks in advance for any tips.
Scott Denlinger
More information about the Discuss
mailing list