[PLUG] Question About Module Loading

Carlos Konstanski ckonstanski at pippiandcarlos.com
Fri Dec 25 05:36:26 UTC 2009


On Thu, 24 Dec 2009, Mark Phillips wrote:

> Date: Thu, 24 Dec 2009 22:30:05 -0700
> From: Mark Phillips <mark at phillipsmarketing.biz>
> Reply-To: "General Linux/UNIX discussion and help;	civil and on-topic"
>     <plug at lists.pdxlinux.org>
> To: Phoenix Linux Users <plug-discuss at lists.plug.phoenix.az.us>,
>     Portland Linux Users Group <plug at lists.pdxlinux.org>
> Subject: [PLUG] Question About Module Loading
> 
> I just installed Debian stable (2.6-amd64 kernel) on a machine. I had to
> remove the kernel module for the Ethernet card and add a different one. The
> new module compiled etc and works. However, I had a problem preventing the
> old module from loading. There was no modprobe.conf file, but instead a
> directory modprobe.d with a lot of files in it. However, I could not find
> the expected alias line with the bad module's name. I finally googled a
> solution, and I am curious if this is the new way to disabling a kernel
> module:
> I created a file in /etc/modprobe.d/ called 00local. That file has one line:
> install r8169 /bin/true. This prevented the module r8169 from being loaded.
> I grepped all of /etc/ looking for r8169 and could not find where it was
> being loaded. I am so confused....
>
> G'night and Happy Holidays to everyone!
>
> Mark

Did you customize the kernel and rebuild it? Then why not remove the
bad module from the kernel config entirely, and recompile. Then it
could not possible load. Or am I misunderstanding how debian works?
Did you need to rebuild your kernel to get the new nic driver, or did
you install the module via some other means (apt)?

Carlos



More information about the PLUG mailing list