Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Passing arguments to builtin kernel module
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cygon
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2006
Posts: 115
Location: Germany

PostPosted: Wed Jan 07, 2009 8:40 pm    Post subject: Passing arguments to builtin kernel module Reply with quote

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
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Wed Jan 07, 2009 8:53 pm    Post subject: Reply with quote

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... ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum