nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Can't get X up under RH7.3 (http://www.nvnews.net/vbulletin/showthread.php?t=121)

idgl 07-29-02 02:39 AM

Can't get X up under RH7.3
 
1 Attachment(s)
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?
:confused:

volt 07-29-02 03:00 AM

have you tried putting:
alias char-major-195 NVdriver into your /etc/module.conf ?

Thunderbird 07-29-02 03:45 AM

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).

idgl 07-29-02 08:56 AM

/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

Thunderbird 07-29-02 09:10 AM

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.

idgl 07-29-02 09:42 AM

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.

Thunderbird 07-29-02 09:48 AM

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.

idgl 07-29-02 12:42 PM

1 Attachment(s)
`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.

Thunderbird 07-29-02 01:22 PM

Can you check the permissions and so on on /dev/nv*? (please paste the output from ls -l /dev/nv* here)

Thunderbird 07-29-02 01:25 PM

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)

idgl 07-30-02 05:25 AM

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?

idgl 07-30-02 05:34 AM

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.


All times are GMT -5. The time now is 02:03 AM.

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