[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

automatic loading of kernel modules



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've got a question concerning automatic loading of kernel modules.
If there is a better mailing-list than this, please point me towards it,
 I thought the people on this list would know best about kernel modules.

Okay, this is my scenario:
I'm using kernel 2.6.18 for xen, which ships the module bnx2 for the
broadcom network card.
Unfortunately this driver has a bug and doesn't work in bridging mode.

I have compiled the new driver from broadcom, now here's my question:

How do I make sure this new module gets loaded instead of the old one?
So far I've overwritten the kernel module with my own one, but that is
not a nice solution.

The kernel's bnx2 module is under
/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/net.

If I place the new module (same name: bnx2) e.g. under
/lib/modules/2.6.18-6-xen-amd64/kernel/drivers/misc,
how do I tell the kernel to load this module instead of the old one?

Kind regards,
- --
 .''`.   Philipp Hübner <debalance@arcor.de>
: :'  :  http://qa.debian.org/developer.php?login=debalance%40arcor.de
`. `'`   HP: http://debalance.funpic.de, Skype: philipp-huebner
  `-     ICQ: 235-524-440, Jabber: der_schakal@jabber.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkjpv4IACgkQFhl05MJZ4OhOjACfZiE4RLa7EpvEVEmZU1npoCXh
72gAnj5VYSk+KXXOMnUqI9wlx/NtklvJ
=iz3n
-----END PGP SIGNATURE-----


Reply to: