Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Nvidia kernel module

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  I am having trouble with CVSup  
Author Message
Coma One

External


Since: Jul 29, 2004
Posts: 1



(Msg. 1) Posted: Thu Jul 29, 2004 11:39 am
Post subject: Nvidia kernel module
Archived from groups: comp>unix>bsd>freebsd>misc (more info?)

Hello,

After some bad experiences with Linux (it was definitely me, not the
software), I decided to move back to FreeBSD 4.10, where I feel the most
comfortable. At this point, I have a full desktop setup and it works
superbly. It is the only operating system I use now.

I was wondering if anyone would be able to help me with my kernel module
loading problem. I have the Nvidia driver installed and a properly
configured kernel. At startup, I can login as root and do a `kldload
nvidia` and it loads the module correctly. I've been trying to load it
automatically, but have really hit a wall. Last night, I spent numerous
hours with the FreeBSD Handbook, as well as the man pages for things
such as loader.conf. For the life of me, I can't figure this one out.

Any help you can offer is greatly appreciated.

-Mick Beaver

 >> Stay informed about: Nvidia kernel module 
Back to top
Login to vote
Reed Loefgren

External


Since: Dec 18, 2003
Posts: 4



(Msg. 2) Posted: Thu Jul 29, 2004 6:11 pm
Post subject: Re: Nvidia kernel module [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Coma One wrote in message ...
> Hello,
>
> After some bad experiences with Linux (it was definitely me, not the
> software), I decided to move back to FreeBSD 4.10, where I feel the most
> comfortable. At this point, I have a full desktop setup and it works
> superbly. It is the only operating system I use now.
>
> I was wondering if anyone would be able to help me with my kernel module
> loading problem. I have the Nvidia driver installed and a properly
> configured kernel. At startup, I can login as root and do a `kldload
> nvidia` and it loads the module correctly. I've been trying to load it
> automatically, but have really hit a wall. Last night, I spent numerous
> hours with the FreeBSD Handbook, as well as the man pages for things
> such as loader.conf. For the life of me, I can't figure this one out.
>
> Any help you can offer is greatly appreciated.
>
> -Mick Beaver


I had this problem too; the boot kept freezing. I think this is caused
by the nvidia module being loaded too early in the boot process (or
whatever.) My fix was to write a script to do it and put it in
/usr/local/etc/rc.d/ so it loads late in the process. Problem gone.
Don't forget to take it out of /etc/rc.conf if it's in there. AND,
this ain't linux, but YMMV.


r

 >> Stay informed about: Nvidia kernel module 
Back to top
Login to vote
Torfinn Ingolfsen

External


Since: Jan 23, 2004
Posts: 43



(Msg. 3) Posted: Thu Jul 29, 2004 10:34 pm
Post subject: Re: Nvidia kernel module [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Coma One wrote:

> such as loader.conf. For the life of me, I can't figure this one out.
>
> Any help you can offer is greatly appreciated.

Generally, for a module, you put the following statement in
/boot/loader.conf:

module_name_load="YES"

examples:
radeon_load="YES"
snd_ich_load="YES"

HTH
--
Torfinn Ingolfsen,
Norway
 >> Stay informed about: Nvidia kernel module 
Back to top
Login to vote
wally

External


Since: Jul 27, 2004
Posts: 5



(Msg. 4) Posted: Thu Jul 29, 2004 10:34 pm
Post subject: Re: Nvidia kernel module [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Torfinn Ingolfsen wrote:

> Coma One wrote:
>
>> such as loader.conf. For the life of me, I can't figure this one out.
>>
>> Any help you can offer is greatly appreciated.
>
> Generally, for a module, you put the following statement in
> /boot/loader.conf:
>
> module_name_load="YES"
>
> examples:
> radeon_load="YES"
> snd_ich_load="YES"
>
> HTH

yes... that will definately work

The NVIDIA Drivers also are able to configure that for you autmatically
by running "make setup"
it will load the module
edit your loader so it auto loads
edit your X setup so that the nvidia driver is used instead of nv, and to add openGL
support to the device.
and some more stuff you would otherwise have to do manually. read the NVIDIA drivers
readme.
 >> Stay informed about: Nvidia kernel module 
Back to top
Login to vote
Jason Bourne

External


Since: Feb 18, 2005
Posts: 6



(Msg. 5) Posted: Thu Jul 29, 2004 10:34 pm
Post subject: Re: Nvidia kernel module [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Torfinn Ingolfsen wrote:

> Coma One wrote:
>
>> such as loader.conf. For the life of me, I can't figure this one out.
>>
>> Any help you can offer is greatly appreciated.
>
> Generally, for a module, you put the following statement in
> /boot/loader.conf:
>
> module_name_load="YES"
>
> examples:
> radeon_load="YES"
> snd_ich_load="YES"
>
> HTH
Greetings:

I haven't looked at it in a while, but IIRC you needed to load the
linux module first in /boot/loader.conf. The other problem was centered
around either the agp module, or using the NVidia built in. Also, whenever
doing a make buildworld and a new kernel the NVidia module needs rebuilding
too. The easiest way is just to let the port do all the work, then do a
"make deinstall + make reinstall". You did install using the port, right?

-Jason

--

PGP Fingerprint:  CA481E501CCDAEA6DC28940488833E0887E064D7
 >> Stay informed about: Nvidia kernel module 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
kernel - Hii!! In the chapter "9.3 Building and installing a custom kernel" of the freebsd handbook it's written that MYKERNEL is an example but I don't know how I can find that. In fact I don't know what MYKERNEL represents. Thanks for your help. XAV...

building the 5.1 kernel - I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a guide. I am running freebsd 5.1 and as fyi have been building suse and redhat kernels for a while without problems. But this is my first time building the freebsd kernel) This i...

Kernel Panic - After some years without problems, last week I had finally the possibility to upgrade my wireless network from WEP to WPA. I've followed the instuctions in the FreeBSD Handbook: 1) /etc/rc.conf ifconfig_ath0="WPA DHCP" 2) /etc/wpa_supplicant...

Nvidia -

FreeBSD Kernel Recompile, Does not exclude modules - Hey, Reading from the FreeBSD Handbook I have compiled a new kernel that works fine. In my config file I commented out a few things I don't need eg USB etc. But for some reason when it booted back up into the new kernel, from ps aux it shows....
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]