Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-29-02, 02:39 AM   #1
idgl
Registered User
 
Join Date: Jul 2002
Location: Johannesburg, South Africa
Posts: 8
Question Can't get X up under RH7.3

I purchased an ASUS A7N266-VM motherboard with a 1.2 GHz AMD Athlon processor. This motherboard has an nVidia 220D GeForce MX integrated GPU.

startx gives the dreaded message:

(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!

I upgraded my RedHat 7.3 kernel from 2.4.18-3 to 2.4.18-5 successfully.

I installed the rpms NVIDIA_kernel-1.0-2960.rh73up.athlon.rpm and
NVIDIA_GLX-1.0-2960.i386.rpm as recommended by NVchooser.sh
Both compiled and installed without error.

nv_check.sh runs successfully.

/var/log/messages has the following lines after running startx:

Jul 29 08:25:47 laing2 modprobe: modprobe: Can't locate module char-major-10-134
Jul 29 08:25:47 laing2 kernel: nvidia: loading NVIDIA NVdriver Kernel Module 1.0-2960 Tue May 14 07:41:42 PDT 2002
Jul 29 08:25:47 laing2 kernel: NV0: RmInitAdapter failed

RmInitAdapter comes as part of the object file Module-nvkernel, i.e no source to look at.

Where do I go for more information?
Attached Files
File Type: txt xf86config-4.txt (1.9 KB, 147 views)
__________________
Douglas Laing
idgl is offline   Reply With Quote
Old 07-29-02, 03:00 AM   #2
volt
 
Join Date: Jul 2002
Location: /dev/null
Posts: 1,556
Default

have you tried putting:
alias char-major-195 NVdriver into your /etc/module.conf ?
volt is offline   Reply With Quote
Old 07-29-02, 03:45 AM   #3
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Each new linux kernel version you install requires a new NVdriver. NVdriver needs to be recompiled for the new kernel. You can't use the kernel module from the rh 7.3 rpms since that one was compiled for 2.4.18-3. (you can use the rh 7.3 glx rpm)

You will need to compile the tar.gz / src.rpm version of the kernel module.

On the other hand you confuse me a little since you are saying:
I installed the rpms NVIDIA_kernel-1.0-2960.rh73up.athlon.rpm and
NVIDIA_GLX-1.0-2960.i386.rpm as recommended by NVchooser.sh
Both compiled and installed without error.

That last line is the line that confuses me. You are saying that you used the rh7.3 rpms but on the other hand you say that you compiled the rpms. If you compiled them you won't have rh7.3 rpms (I mean rpms named NVIDIA_kernel-1.0-2960.rh73up.athlon.rpm).
Thunderbird is offline   Reply With Quote
Old 07-29-02, 08:56 AM   #4
idgl
Registered User
 
Join Date: Jul 2002
Location: Johannesburg, South Africa
Posts: 8
Default /etc/modules.conf

I have 'alias char-major-195 NVdriver' in my /etc/modules.conf
I don't understand the message "modprobe: Can't locate module char-major-10-134" in /var/log/messages
__________________
Douglas Laing
idgl is offline   Reply With Quote
Old 07-29-02, 09:10 AM   #5
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Don't look at that "char-major-10-134" line it is not related to the NVdriver.

Are you really using a NVdriver compiled for 2.4.18-5? I don't think you did.
Thunderbird is offline   Reply With Quote
Old 07-29-02, 09:42 AM   #6
idgl
Registered User
 
Join Date: Jul 2002
Location: Johannesburg, South Africa
Posts: 8
Default

Sorry Thunderbird, I misled you. After buiding the 2.4.18-5 kernel of course I installed the source rpms for NVIDIA_kernel-1.0-2960 and NVIDIA_GLX-1.0-2960 - these both installed without any make errors. Sorry I forgot that - tried too many things one after the other till I got confused.
The NVdriver module inserts fine with no unresolved symbol messages but when I startx I get the `Failed to initialize the NVdriver kernel module!' message and the system log has the RmInitAdapter failed message.
I am wondering if some of my kernel options could be the cause of the problem.
__________________
Douglas Laing
idgl is offline   Reply With Quote
Old 07-29-02, 09:48 AM   #7
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Perhaps something else is related to it then. The next step would be to check if /dev/nvidiactl, /dev/nvidia0 .. exist. Likely they don't exist.
Thunderbird is offline   Reply With Quote
Old 07-29-02, 12:42 PM   #8
idgl
Registered User
 
Join Date: Jul 2002
Location: Johannesburg, South Africa
Posts: 8
Default

`ls /dev/nv*` yields:

/dev/nvidia0 /dev/nvidia1 /dev/nvidia2 /dev/nvidia3 /dev/nvidiactl

I attach my kernel config file just in case my problem lies there. Any suggestions gratefully received.
Attached Files
File Type: txt config.txt (18.2 KB, 131 views)
__________________
Douglas Laing
idgl is offline   Reply With Quote

Old 07-29-02, 01:22 PM   #9
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Can you check the permissions and so on on /dev/nv*? (please paste the output from ls -l /dev/nv* here)
Thunderbird is offline   Reply With Quote
Old 07-29-02, 01:25 PM   #10
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default

Another thing did you already try to use RH's own official 2.4.18-5 kernel? If so does it have the same problems? (it looks like you build one from source)
Thunderbird is offline   Reply With Quote
Old 07-30-02, 05:25 AM   #11
idgl
Registered User
 
Join Date: Jul 2002
Location: Johannesburg, South Africa
Posts: 8
Default

Quote:
Originally posted by Thunderbird
Can you check the permissions and so on on /dev/nv*? (please paste the output from ls -l /dev/nv* here)
crw-rw-rw- 1 root root 195, 0 Jul 29 15:58 /dev/nvidia0
crw-rw-rw- 1 root root 195, 1 Jul 29 15:58 /dev/nvidia1
crw-rw-rw- 1 root root 195, 2 Jul 29 15:58 /dev/nvidia2
crw-rw-rw- 1 root root 195, 3 Jul 29 15:58 /dev/nvidia3
crw-rw-rw- 1 root root 195, 255 Jul 29 15:58 /dev/nvidiactl

Looks OK?
__________________
Douglas Laing
idgl is offline   Reply With Quote
Old 07-30-02, 05:34 AM   #12
idgl
Registered User
 
Join Date: Jul 2002
Location: Johannesburg, South Africa
Posts: 8
Default

Quote:
Originally posted by Thunderbird
Another thing did you already try to use RH's own official 2.4.18-5 kernel? If so does it have the same problems? (it looks like you build one from source)
Yes I did build the 2.4.18-5 kernel from source.
I have installed the kernel-2.4.18-5.athlon.rpm and booted the /boot/vmlinuz-2.4.18-5 that came with it and insmod NVdriver fails with unresolved symbols.
When I reboot with my compiled 2.4.18-5 kernel the
NVdriver module inserts fine.
__________________
Douglas Laing
idgl is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
RH7.3 + nForce 420-D + startx = FROZEN ctaggart NVIDIA Linux 7 10-04-02 01:48 AM
RH7.3, 3123, was working, now it isn't phips NVIDIA Linux 2 10-03-02 02:08 PM
RH7.3 2.4.18-10 and 3d drivers Blade NVIDIA Linux 3 09-11-02 04:06 PM
RH7.3 & GeForce2MX drivers: no more X window! sT3N0x NVIDIA Linux 2 09-07-02 06:20 AM
Rh7.3 & Nforce k0fcc NVIDIA Linux 10 08-11-02 06:10 PM

All times are GMT -5. The time now is 08:51 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.