Linux Debian support - options in modules.conf not used?

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > March 2005 > options in modules.conf not used?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author options in modules.conf not used?
Per Olesen

2005-03-23, 7:45 am

Hi,

I have a problem with loading the module for the nvidia video driver. I have
to load the module with some specific options, to avoid a problem with
distorted screen. I'm perfectly able to do this manually, like this:

modprobe nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=0

but I would like these options to be set automatically at boot time. So, I
updated the "/etc/modutils/nvidia-kernel-nkc" file, to read this (the alias
line was already there):

alias char-major-195 nvidia
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=0

And "/etc/modules.conf" was updated appropriately. But, I still have my
problems with distorted screen. It seems like these options are not used,
even though they are in modules.conf.

How can I check which options a module was loaded with?
Why are the options from modules.conf not applied?

It works fine, if I then manually rmmod the module and then modprobes the
module with the options again.

?

Any help appreciated!

/Per

Andreas Janssen

2005-03-23, 5:46 pm

Hello

Per Olesen (<polesen@nordija.com> ) wrote:

> I have a problem with loading the module for the nvidia video driver.
> I have to load the module with some specific options, to avoid a
> problem with distorted screen. I'm perfectly able to do this manually,
> like this:
>
> modprobe nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=0
>
> but I would like these options to be set automatically at boot time.
> So, I updated the "/etc/modutils/nvidia-kernel-nkc" file, to read this
> (the alias line was already there):
>
> alias char-major-195 nvidia
> options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=0
>
> And "/etc/modules.conf" was updated appropriately. But, I still have
> my problems with distorted screen. It seems like these options are not
> used, even though they are in modules.conf.


This sounds like you either

- didn't unload and reload the nvidia module, or reboot
- are using kernel 2.6. If that is the case,
edit /etc/modprobe.d/nvidia-kernel-... instead

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Per Olesen

2005-03-26, 7:45 am


Andreas Janssen wrote:

[snip]
> This sounds like you either
>
> - didn't unload and reload the nvidia module, or reboot
> - are using kernel 2.6. If that is the case,
> edit /etc/modprobe.d/nvidia-kernel-... instead
>


Yes I'm running 2.6 kernel and editing /etc/modprobe.d/nvidia-kernel-...
instead did the trick.

Greatly appreciate it!

Regards, Per

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com