View previous topic :: View next topic |
Author |
Message |
Cygon Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 Feb 2006 Posts: 115 Location: Germany
|
Posted: Wed Jan 07, 2009 8:40 pm Post subject: Passing arguments to builtin kernel module |
|
|
Hi!
I'm using Gentoo for my home server. Whenever network load peaks (eg. during a LAN party) I find a lot of messages like "eth0: too many iterations (6) in nv_nic_irq." in my /var/log/messages.
Some googling revealed that this is apparently a problem in the NVidia network driver (forcedeth). The recommended workaround until it's fixed is to pass an argument to the forcedeth module through modprobe.conf like this:
Code: | options forcedeth max_interrupt_work=10 |
However, I've compiled the NVidia driver module into my kernel image. Now I seem unable to figure out how to pass the argument to the driver instead.
Should I specify it as a boot parameter on the kernel command line through GRUB?
Or will modprobe.conf work anyway? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yabbadabbadont Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/13361939844cd4b5d53ebe4.jpg)
Joined: 14 Mar 2003 Posts: 4791 Location: 2 exits past crazy
|
Posted: Wed Jan 07, 2009 8:53 pm Post subject: |
|
|
From: /usr/src/linux/Documentation/kernel-parameters.txt
Code: | Module parameters for loadable modules are specified only as the
parameter name with optional '=' and value as appropriate, such as:
modprobe usbcore blinkenlights=1
Module parameters for modules that are built into the kernel image
are specified on the kernel command line with the module name plus
'.' plus parameter name, with '=' and value if appropriate, such as:
usbcore.blinkenlights=1
|
When in doubt, read the docs... ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|