PDA

View Full Version : Geforce4 Mandrake 9.0 Beta 3


soomon
08-24-02, 10:05 AM
Hi,
I installed Mandrake 9.0 Beta 3.
But I can't configure the X-server.
I tried it with the official Readme but I get te following error(s):

hostname: Unknown host

execve failed for /etc/X11/X (errno2)
giving up.
xinit: no such file or dir (errno2): unable to connect to xserver
xinit: no such process (errno3) server error

I used NVIDIA_kernel-1.0-2960.mdk82up.i586
and NVIDIA_GLX-1.0-2960.i386

what does that mean???
help me please.

logan
08-24-02, 02:35 PM
Check what your hostname is, and what's in /etc/hosts.

soomon
08-24-02, 03:49 PM
Hi
I tried it again.
now i get another error message.
Te following lines are from the log file:

NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) (--) NVIDIA(0): Linear framebuffer at 0xC0000000 (--)
NVIDIA(0): MMIO registers at 0xCE000000
(EE)
NVIDIA(0): Failed to initialize the NVdriver kernel module! (EE)
NVIDIA(0): *** Aborting *** (II)
UnloadModule: "nvidia" (II) UnloadModule: "vgahw" (II)
Unloading /usr/X11R6/lib/modules/libvgahw.a (EE) Screen(s) found, but none have a usable configuration.
Fatal server error: no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log". Please report problems to xfree86@xfree86.org.

Can you explain me what that means?
My host name is: Mandrake

logan
08-24-02, 05:36 PM
Try to load up the module first before entering X, see if there's any errors.

insmod NVdriver

leonbrooks
08-24-02, 10:16 PM
9.0 uses kernel 2.4.19, NVidia's RPMs install a module for kernel 2.4.18. You may have to download the SRPM (.src.rpm) and rebuild that (rpm -bb specfile) to get something that works.

soomon
08-25-02, 03:56 AM
insmod NVdriver returns: no module with this name found
and
rpm -bb NVIDIA_kernel-1.0-2960.src.rpm
returns: this file is no specfile
bad :-(
help me please!

rtz
08-25-02, 04:31 AM
Mandrake 9.0 Beta 4:

http://www.linuxcompatible.org/article.php?sid=107

soomon
08-25-02, 04:34 AM
Now I have a new fresh installation.
I didn't boot it and I didn't trie to startx the X-server during the installation.
shall I trie to install the nforce driver?
or the kernel and the glx-files?
but which kernel?
NVIDIA_kernel-1.0-2960.mdk82up.i586.rpm
or
NVIDIA_kernel-1.0-2960.src.rpm
and rpm -bb didn't work !?
what to do now?

rtz
08-25-02, 05:48 AM
You have an nForce motherboard too? Install those drivers first.

Use this instead of RPM's:

http://download.nvidia.com/XFree86_40/nforce/1.0-0241/NVIDIA_nforce-1.0-0241.tar.gz

http://download.nvidia.com/XFree86_40/nforce/1.0-0241/readme_nforce-1.0-0241.txt

Just follow the directions:

http://download.nvidia.com/XFree86_40/1.0-2960/README.txt

http://download.nvidia.com/XFree86_40/1.0-2960/NVIDIA_GLX-1.0-2960.tar.gz

http://download.nvidia.com/XFree86_40/1.0-2960/NVIDIA_kernel-1.0-2960.tar.gz

These are just as easy as the RPM's are.

soomon
08-25-02, 07:04 AM
during the installation of the kernel
i got many error messages.
the i installed the glx driver and startx
returned the same error message I wrote above :-(

srlinuxx
08-25-02, 10:38 AM
Dude, save yourself some grief and just use the tarballs. They can be used for (practically) any linux distro or any linux kernel. I suggest you read the readme and double check that you've edited your XF86Config-4 file correctly.
-s

soomon
08-25-02, 01:55 PM
I edited everything correctly, but the first error appears during the installation.
The tar's produce many error's. The NVidia driver can't be installed I think.
I will trie the Beta 4 now.
But I think I have to wait :-(
If you have other ideas please tell me !!!
Thx

srlinuxx
08-25-02, 02:24 PM
Well, I hate to disagree with you, but I've been running the betas since they hit the mirrors and they install fine here.

I will admit to not getting them to work on redhat's latest beta tho.

But they will work on mandrake. After you freshly install (not upgrade) beta4 (choosing developmental group during package selection), do not boot into X until you get the drivers set up. Use the tarballs, and run make as root.

If it still gives you problems, please post all errors and your config file.


-s

soomon
08-25-02, 03:14 PM
Oh,

I installed beta 4 and I used the vesa driver in 640x480 and 8 bit color depth and it runs, but nothing else worked.

My problem is the eroor during the installation of the rpm's or tar's.
But the end is always the same: he can't install the kernel module.

If i install it again, which grafik card do I have to select during the installation?
which resolution and color depth?

Hard drake 2 detects the right card
geforce4 ti4200 but I can't change the resolution (no device found) :-(
What now?

srlinuxx
08-25-02, 03:44 PM
Choose XFree86-4.2, geforce4 (or whatever your's is) generic, and as close as you can get on your monitor if it's not actually listed. You can pick any resolution you like just about, I run at 1280x1024x24.

You shouldn't have to reinstall os just for this however, log out to init3 (the cli) and as root type: XFdrake --expert --noauto and make the choices as described above.

Please make sure you have your kernel sources installed too.

-s

soomon
08-25-02, 04:06 PM
Well I did it but the error is the same I got before:
can't initialize the NVdriver kernel module though I installed:
the kernel,
the kernel source
and the GLX driver.
The first error comes during the installation of the kernel.
This installation (kernel) always fails.
tar or rpm don't work.

rtz
08-25-02, 07:10 PM
Install the Kernel Headers, then do a "make install" in the Nvidia kernel dir.

It should not report a single error.


When you have been compiling it, has it reported any errors or none?

Download this:

http://www.icculus.org/lgfaq/files/nv_check.sh

and type "bash nv_check.sh"

It can be useful.

soomon
08-26-02, 04:47 AM
I did but I the error os the same:
can't initialie the NVdriver kernel module.
:-(

soomon
08-26-02, 05:07 AM
I did but I get the old error again:

NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) (--) NVIDIA(0): Linear framebuffer at 0xC0000000 (--)
NVIDIA(0): MMIO registers at 0xCE000000
(EE)
NVIDIA(0): Failed to initialize the NVdriver kernel module! (EE)
NVIDIA(0): *** Aborting *** (II)
UnloadModule: "nvidia" (II) UnloadModule: "vgahw" (II)
Unloading /usr/X11R6/lib/modules/libvgahw.a (EE) Screen(s) found, but none have a usable configuration.
Fatal server error: no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log". Please report problems to xfree86@xfree86.org.

Is there another way to install the kernel?
tar's and rpm's always fail :-(

rtz
08-26-02, 02:46 PM
On the first CD, in "/RedHat/RPMS", find the rpm called "glibc-kernheaders-2.4-7.20.i386.rpm"

and install that:

rpm -i glibc-kernheaders-2.4-7.20.i386.rpm

then run "make install" in the Nvidia folder from the tar file. It should compile with 0 errors.

I also had to install "gcc-3.2-1.i386.rpm" and on the second CD, "kernel-source-2.4.18-11.i386.rpm"