All of lore.kernel.org
 help / color / mirror / Atom feed
* More 2.6.0-test1-ac2 issues / nvidia kernel module
@ 2003-07-18 15:49 Ralf Hildebrandt
  2003-07-19  3:13 ` Ian Hastie
  0 siblings, 1 reply; 4+ messages in thread
From: Ralf Hildebrandt @ 2003-07-18 15:49 UTC (permalink / raw)
  To: linux-kernel

Yes, please: nvidia taints the kernel - so flame at your will - but
this is a more general question regarding module loading:

If I load the nvidia kernel module like this:

% modprobe nvidia NVreg_Mobile=2  NVreg_SoftEDIDs=0

and start kdm afterwards, it works as in 2.4 -- I get a two screen
setup with one screen on my laptop TFT and one on my external TFT
screen.

If I use this /etc/modules.conf:

... snip ...
### update-modules: start processing /etc/modutils/nvidia-kernel
alias /dev/nvidia* nvidia
alias char-major-195 nvidia

### update-modules: end processing /etc/modutils/nvidia-kernel

### update-modules: start processing /etc/modutils/nvidia-options
options nvidia NVreg_Mobile=2 NVreg_SoftEDIDs=0

### update-modules: end processing /etc/modutils/nvidia-options
... snap ...

the X11 will barf upon start -- but the module will be loaded. From
Xfree.0.log:

...
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
        compiled for 4.2.1.1, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
        compiled for 4.0.2, module version = 1.0.4363
        Module class: XFree86 Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.2.1.1, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.3
(II) NVIDIA XFree86 Driver  1.0-4363  Sat Apr 19 17:49:42 PDT 2003
(II) NVIDIA Unified Driver for all NVIDIA GPUs
...
(**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(1): RGB weight 888
(==) NVIDIA(1): Default visual is TrueColor
(==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(1): Option "ConnectedMonitor" "CRT,DFP"
(**) NVIDIA(1): ConnectedMonitor string: "CRT,DFP"
(--) NVIDIA(1): Linear framebuffer at 0xEC000000
(--) NVIDIA(1): MMIO registers at 0xFD000000
(EE) NVIDIA(1): Failed to initialize the NVIDIA kernel module!
(EE) NVIDIA(1):  *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt@charite.de
Charite Campus Mitte                            Tel.  +49 (0)30-450 570-155
Referat V a - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
AIM: ralfpostfix

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More 2.6.0-test1-ac2 issues / nvidia kernel module
  2003-07-18 15:49 More 2.6.0-test1-ac2 issues / nvidia kernel module Ralf Hildebrandt
@ 2003-07-19  3:13 ` Ian Hastie
  2003-07-19  5:07   ` Ralf Hildebrandt
  2003-07-19 12:05   ` Michael Kristensen
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Hastie @ 2003-07-19  3:13 UTC (permalink / raw)
  To: linux-kernel

On Friday 18 Jul 2003 16:49, Ralf Hildebrandt wrote:
> Yes, please: nvidia taints the kernel - so flame at your will - but
> this is a more general question regarding module loading:
>
> If I load the nvidia kernel module like this:
>
> % modprobe nvidia NVreg_Mobile=2  NVreg_SoftEDIDs=0
>
> and start kdm afterwards, it works as in 2.4 -- I get a two screen
> setup with one screen on my laptop TFT and one on my external TFT
> screen.
>
> If I use this /etc/modules.conf:

And that's the problem.  The new modprobe uses /etc/modprobe.conf rather than 
/etc/modules.conf.  In Debian you now need to put the component files into 
/etc/modprobe.d instead of /etc/modutils.  However the syntax appears to be 
mostly the same so the configuration files you already have should still 
work.

-- 
Ian.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More 2.6.0-test1-ac2 issues / nvidia kernel module
  2003-07-19  3:13 ` Ian Hastie
@ 2003-07-19  5:07   ` Ralf Hildebrandt
  2003-07-19 12:05   ` Michael Kristensen
  1 sibling, 0 replies; 4+ messages in thread
From: Ralf Hildebrandt @ 2003-07-19  5:07 UTC (permalink / raw)
  To: linux-kernel

* Ian Hastie <ianh@iahastie.clara.net>:

> And that's the problem.  The new modprobe uses /etc/modprobe.conf
> rather than /etc/modules.conf.  In Debian you now need to put the
> component files into /etc/modprobe.d instead of /etc/modutils.

Thanks for the enlightenment!

> However the syntax appears to be mostly the same so the configuration
> files you already have should still work.

So a cp will do. I'll try that.

-- 
Ralf Hildebrandt (Im Auftrag des Referat V a)   Ralf.Hildebrandt@charite.de
Charite Campus Mitte                            Tel.  +49 (0)30-450 570-155
Referat V a - Kommunikationsnetze -             Fax.  +49 (0)30-450 570-916
AIM: ralfpostfix

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: More 2.6.0-test1-ac2 issues / nvidia kernel module
  2003-07-19  3:13 ` Ian Hastie
  2003-07-19  5:07   ` Ralf Hildebrandt
@ 2003-07-19 12:05   ` Michael Kristensen
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Kristensen @ 2003-07-19 12:05 UTC (permalink / raw)
  To: Ian Hastie; +Cc: Linux Kernel Mailing List

* Ian Hastie <ianh@iahastie.clara.net> [2003-07-19 12:22:06]:
> And that's the problem.  The new modprobe uses /etc/modprobe.conf rather than 
> /etc/modules.conf.  In Debian you now need to put the component files into 
> /etc/modprobe.d instead of /etc/modutils.  However the syntax appears to be 
> mostly the same so the configuration files you already have should still 
> work.

Oh! Thanks for this info. I have had problems figuring out why my
aliases in /etc/modutils/aliases and other stuff didn't work... Now even
ALSA runs perfectly on my system. Thank you very much.

-- 
Med Venlig Hilsen/Best Regards/Mit freundlichen Grüßen
Michael Kristensen <michael@wtf.dk>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-19 11:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18 15:49 More 2.6.0-test1-ac2 issues / nvidia kernel module Ralf Hildebrandt
2003-07-19  3:13 ` Ian Hastie
2003-07-19  5:07   ` Ralf Hildebrandt
2003-07-19 12:05   ` Michael Kristensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.