Jump to content

Problem with Nvidia driver install [solved]


kristi
 Share

Recommended Posts

MDK10.1 fresh install - this is my 3rd attempt with this driver - same issue

/usr/src/linux-2.6.8.1-12mdk

/root/NVIDIA-Linux-x86-1.0-6629-pkg1.run

 

install goes fine but warns me about conflict with riva, so I dutifully commented out a bunch of lines in 3 lib/modules/ ...

 

I look in xorg.cong and change nv to nvidia.

reboot

 

If I use init 5 it flashes console stuff at me 3 times and then says "cannot open master raw device /dev/rawctl no such file or folder.

 

It i use kde I get tons of lines to Xorg.0.log, but the escense is

(II) Setting vga for screen 0.

(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32

(==) NVIDIA(0): RGB weight 888

(==) NVIDIA(0): Default visual is TrueColor

(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)

(--) NVIDIA(0): Linear framebuffer at 0xD0000000

(--) NVIDIA(0): MMIO registers at 0xE4000000

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

(EE) NVIDIA(0):  *** Aborting ***

(II) UnloadModule: "nvidia"

(EE) Screen(s) found, but none have a usable configuration.

 

Fatal server error:

 

xorg.conf:

# File generated by XFdrake.

 

# **********************************************************************

# Refer to the XF86Config man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

    # Multiple FontPath entries are allowed (they are concatenated together)

    # By default, Mandrake 6.0 and later now use a font server independent of

    # the X server to render fonts.

    FontPath "unix/:-1"

EndSection

 

Section "ServerFlags"

    #DontZap # disable <Crtl><Alt><BS> (server abort)

    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

    AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work

EndSection

 

Section "Module"

    Load "dbe" # Double-Buffering Extension

    Load "v4l" # Video for Linux

    Load "extmod"

    Load "type1"

    Load "freetype"

    Load "glx" # 3D layer

EndSection

 

Section "InputDevice"

    Identifier "Keyboard1"

    Driver "keyboard"

    Option "XkbModel" "pc105"

    Option "XkbLayout" "en_US"

    Option "XkbOptions" ""

EndSection

 

Section "InputDevice"

    Identifier "Mouse1"

    Driver "mouse"

    Option "Protocol" "ExplorerPS/2"

    Option "Device" "/dev/mouse"

    Option "ZAxisMapping" "4 5"

EndSection

 

Section "Monitor"

    Identifier "monitor1"

    VendorName "ViewSonic"

    ModelName "ViewSonic A75f"

    HorizSync 30-70

    VertRefresh 50-180

   

    # Sony Vaio C1(X,XS,VE,VN)?

    # 1024x480 @ 85.6 Hz, 48 kHz hsync

    ModeLine "1024x480"    65.00 1024 1032 1176 1344  480  488  494  563 -hsync -vsync

   

    # Dell D800 and few Inspiron (16/10) 1280x800

    ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848

   

    # Dell D800 and few Inspiron (16/10) 1680x1050

    ModeLine "1680x1050"  214.51  1680 1800 1984 2288  1050 1051 1054 1103

   

    # Dell D800 and few Inspiron (16/10) 1920x1200

    ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync

   

    # TV fullscreen mode or DVD fullscreen output.

    # 768x576 @ 79 Hz, 50 kHz hsync

    ModeLine "768x576"    50.00  768  832  846 1000  576  590  595  630

   

    # 768x576 @ 100 Hz, 61.6 kHz hsync

    ModeLine "768x576"    63.07  768  800  960 1024  576  578  590  616

EndSection

 

Section "Device"

    Identifier "device1"

    VendorName "nVidia"

    BoardName "NVIDIA GeForce4 (generic)"

    Driver "nv"

    Option "DPMS"

EndSection

 

Section "Screen"

    Identifier "screen1"

    Device "device1"

    Monitor "monitor1"

    DefaultColorDepth 24

   

    Subsection "Display"

        Depth 8

        Virtual 1024 768

    EndSubsection

   

    Subsection "Display"

        Depth 15

        Virtual 1024 768

    EndSubsection

   

    Subsection "Display"

        Depth 16

        Virtual 1024 768

    EndSubsection

   

    Subsection "Display"

        Depth 24

        Virtual 1024 768

    EndSubsection

EndSection

 

Section "ServerLayout"

    Identifier "layout1"

    InputDevice "Keyboard1" "CoreKeyboard"

    InputDevice "Mouse1" "CorePointer"

    Screen "screen1"

EndSection

(( I changed the "nvidia" back to "nv" so I could send this.)))

 

 

Help!!! :furious3: (you have nice smilies on this forum!

 

tia!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Kristi

Edited by kristi
Link to comment
Share on other sites

Try this:

Login as your regular user

su to root

 

modprobe raw

<<hit ctrl-D>>

startx

 

If that works, then you need to add 'raw' (no quotes) to /etc/modprobe.preload

 

Nope. Just to be clear, I changed nv to nvidia, changed 5 to 3, rebooted and logged in to kristi, did su and password, did modprobe raw and hit enter (got prompt immediately), did <<ctrl-D>> (got "exit"), did startx and got the same problem.

 

Thanks anyway!

Kristi :help:

Link to comment
Share on other sites

Those are not truly files, but device nodes, so they will appear to be empty. I think it is more a permissions problem then.

Can you post the contents of your /etc/security/console.perms file? Also the output of

 

ls -l /dev/raw/rawctl

and

ls -l /dev/rawctl

Link to comment
Share on other sites

install goes fine but warns me about conflict with riva, so I dutifully commented out a bunch of lines in 3 lib/modules/ ...
If I use init 5 it flashes console stuff at me 3 times and then says "cannot open master raw device /dev/rawctl no such file or folder.
exactly what did you edit? There's no need to go into /lib/anything

can you undo whatever you did? or uninstall and reinstall the driver? The installer will run depmod -a (? I think) or you can do it.

Link to comment
Share on other sites

By the way, I'm in root when I do all of this...

 

/etc/security/console.perms :

# /etc/security/console.perms

#

# This file determines the permissions that will be given to priviledged

# users of the console at login time, and the permissions to which to

# revert when the users log out.

 

# format is:

#  <class>=list of regexps specifying consoles or globs specifying files

#  file-glob|<class> perm dev-regex|<dev-class> \

#    revert-mode revert-owner[.revert-group]

# the revert-mode, revert-owner, and revert-group are optional, and default

# to 0600, root, and root, respectively.

#

# For more information:

# man 5 console.perms

 

# file classes -- these are regular expressions

<console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]

<xconsole>=:[0-9]\.[0-9] :[0-9]

 

# device classes -- these are shell-style globs

<serial>=/dev/ttyS* /dev/rfcomm* /dev/ircomm*

<floppy>=/dev/fd[0-1]* \

  /dev/floppy/* /mnt/floppy*

<sound>=/dev/dsp* /dev/audio* /dev/midi* \

/dev/mixer* /dev/sequencer* \

/dev/sound/* /dev/snd/* /dev/beep \

        /dev/admm* \

/dev/adsp* /dev/aload* /dev/amidi* /dev/dmfm* \

/dev/dmmidi* /dev/sndstat

<cdrom>=/dev/cdrom* /dev/rdvd /dev/ide/*/*/*/*/cd /dev/scsi/*/*/*/*/cd /dev/sr*

<pilot>=/dev/pilot

<jaz>=/mnt/jaz*

<zip>=/mnt/pocketzip* /mnt/zip*

<ls120>=/dev/ls120 /mnt/ls120*

<scanner>=/dev/scanner /dev/usb/scanner* /dev/parport*

<rio500>=/dev/usb/rio500

<camera>=/mnt/camera* /dev/usb/dc2xx* /dev/usb/mdc800* /dev/raw1394

<memstick>=/mnt/memstick*

<flash>=/mnt/flash*

<diskonkey>=/mnt/diskonkey*

<rem_ide>=/mnt/microdrive*

<fb>=/dev/fb /dev/fb[0-9]* \

    /dev/fb/*

<kbd>=/dev/kbd

<joystick>=/dev/js[0-9]* /dev/input/js[0-9]*

<misc>=/dev/nvram

<v4l>=/dev/video* /dev/radio* /dev/winradio* /dev/vtx* /dev/vbi* \

      /dev/video/* /dev/vttuner /dev/rtc

<gpm>=/dev/gpmctl

<dri>=/dev/nvidia* /dev/3dfx* /dev/dri/card*

<mainboard>=/dev/apm_bios

<burner>=/dev/scd* /dev/sg* /dev/pcd* /dev/pg* /dev/cdwriter /dev/scsi/*/*/*/*/generic

<usb>=/dev/usb/dabusb* /dev/usb/mdc800* /dev/usb/rio500 /dev/ttyUSB* \

      /proc/bus/usb/[0-9][0-9][0-9]/[0-9][0-9][0-9]

 

# permission definitions

<console>  0600 <fb>        0600 root

<console>  0600 <joystick>  0600 root

<console>  0600 <kbd>        0600 root

<console>  0600 <mainboard>  0600 root

<console>  0660 <pilot>      0660 root.uucp

<console>  0660 <sound>      0660 root.audio

<console>  0400 <misc>      0600 root

<console>  0660 <burner>    0660 root.cdwriter

<console>  0660 <camera>    0660 root.usb

<console>  0660 <cdrom>      0660 root.cdrom

<console>  0660 <diskonkey>  0660 root.disk

<console>  0660 <flash>      0660 root.disk

<console>  0660 <floppy>    0660 root.floppy

<console>  0660 <jaz>        0660 root.disk

<console>  0660 <ls120>      0660 root.disk

<console>  0660 <memstick>  0660 root.disk

<console>  0660 <rem_ide>    0660 root.disk

<console>  0660 <scanner>    0660 root.usb

<console>  0660 <serial>    0660 root.uucp

<console>  0660 <usb>        0660 root.usb

<console>  0660 <v4l>        0660 root.video

<console>  0660 <zip>        0660 root.disk

<console>  0700 <gpm>      0700 root

 

<console> 0600 /dev/console  0600 root.root

<console> 0660 <dri>      0660 root.video

 

 

ls -l /dev/raw/rawctl

and

ls -l /dev/rawctl

[root@h00301b24a03f kristi]# ls -l /dev/raw/rawctl

lrwxrwxrwx  1 root root 9 Feb 14 01:25 /dev/raw/rawctl -> ../rawctl

[root@h00301b24a03f kristi]# ls -l /dev/rawctl

crw-------  1 root root 162, 0 Feb 14 01:25 /dev/rawctl

[root@h00301b24a03f kristi]#

 

Kristi uhoh - this was all listed under a 5 nv system so I can run kde - do you need me to go back to 3 nvidia and get that info? Not a prob if you do.

Edited by kristi
Link to comment
Share on other sites

If I use init 5 it flashes console stuff at me 3 times and then says "cannot open master raw device /dev/rawctl no such file or folder.
exactly what did you edit? There's no need to go into /lib/anything

can you undo whatever you did? or uninstall and reinstall the driver? The installer will run depmod -a (? I think) or you can do it.

 

There is a doc'ed conflict between rivafb and Nvidia - the 2 drivers can not be accessing the same card at the same time per Nvidia. Modules where lines containing riva were commented out:

/lib/modules/2.6.8.1-12mdk/modules.alias , .dep, .pcimap

 

Uninstall? I suppose I could - I've already done 3 MDK10.1 installs trying to get past this prob (mostly my own screwups!!!) (20 min each including changes to inittab and xorg.conf)

It installed just fine after it got and compiled the interface. It just gave me the warnings. I thought since this was the 3rd time I'd just remove them. Only took about 2 minutes.

 

Kristi

Edited by kristi
Link to comment
Share on other sites

I mean, uninstall the nvidia driver

sh NVIDIA blablabla --uninstall

or just install again and it'll remove it.

 

The confict? Well, I've never done anything and never had a problem. I supose if you have a card that will attempt to use the rivafb (is that the nvidia video card you have?) then you would have to do something about it. I never have.

Link to comment
Share on other sites

no change.  I'll use Xandros since it comes with 2269 driver.  maybe mdk10.2 will have it.

Kristi

 

 

add nvidia to mod.preload. B)

# /etc/modprobe.preload: kernel modules to load at boot time.

#

# This file should contain the names of kernel modules that are

# to be loaded at boot time, one per line.  Comments begin with

# a `#', and everything on the line after them are ignored.

# this file is for module-init-tools (kernel 2.5 and above) ONLY

# for old kernel use /etc/modules

raw

cx8800

nvidia-agp

it was/is

Kristi

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...