[Tfug] Kernel module woes.

Scott Denlinger tfug@tfug.org
Tue Jul 23 11:00:02 2002


I recently set up a 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, 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. If it's too hard to solve via email, is there 
someone who would be willing to help me at the next BYOB meeting?

Thanks in advance for any tips.

Scott Denlinger