On Thu, Dec 24, 2009 at 10:36 PM, Carlos Konstanski < [email protected]> wrote:
> On Thu, 24 Dec 2009, Mark Phillips wrote: > > > Date: Thu, 24 Dec 2009 22:30:05 -0700 > > From: Mark Phillips <[email protected]> > > Reply-To: "General Linux/UNIX discussion and help; civil and on-topic" > > <[email protected]> > > To: Phoenix Linux Users <[email protected]>, > > Portland Linux Users Group <[email protected]> > > 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)? > I just downloaded the module source, the kernel headers etc. and used make to build and install the module. I did not rebuild the whole kernel. I think I have to learn about the blacklist file under modprobe.d Thanks! Mark > > Carlos > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
