Jump to content

File system check error


aze
 Share

Recommended Posts

Hi all! I had the following error while trying to run quake3:

 

Error: Could not open /dev/nvidiactl because the permissions

are too restrictive.  Please see the FREQUENTLY ASKED QUESTIONS

section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps

to correct.

So I follow the isntructions...

 

/usr/share/doc/NVIDIA_GLX-1.0/README

 

***

 

Q: OpenGL applications exit with the following error message:

 

        Error: Could not open /dev/nvidiactl because the permissions

        are too restrictive.  Please see the FREQUENTLY ASKED QUESTIONS

        section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps

        to correct.

 

A: It is likely that a security module for the PAM system may be

changing the permissions on the NVIDIA device files.  In most cases

this security system works, but it can get confused.  To correct this

problem it is recommended that you disable this security feature.

Different Linux distributions have different files to control this;

please consult with your distributor for the correct method of

disabling this security feature.  As an example, if your system has

the file

        /etc/security/console.perms

then you should edit the file and remove the line that starts with

"<dri>" (we have also received reports that additional references to

<dri> in console.perms must be removed, but this has not been verified

by NVIDIA).

 

So I did that and when I restart the X could not login again. The system return no error messages. Just could not login again in any desktop.

Then I restarted (not reseted) the PC:

No such file or directory while tring to open /dev/hda9

 

*** An error ocurred during the file system check

*** Dropping you to a shell; the system will reboot

*** when you leave the shell

:(

What should I do to fix it?

Thank you guys!

Link to comment
Share on other sites

There is 2 lines with a <dri> in it in /etc/security/console.perms. Here they are:

 

....

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

....

#<xconsole> 0600 <dri>      0600 root

 

So when you are droped in a shell, double check that you commented out the '<xconsole> 0600 <dri> 0600 root' as well !!

 

You should also do as root:

 

chmod 0666 /dev/nvidia* chown root /dev/nvidia*

 

Then reboot and see if that solved the problem.

 

Hope this help

 

MOttS

Link to comment
Share on other sites

# chmod 0666 /dev/nvidia* chown root /dev/nvidia* 

chmod: failed to get attributes of `chown': No such file or directory

chmod: failed to get attributes of `root': No such file or directory

 

 

# /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*

<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

<pilot>=/dev/pilot

<jaz>=/mnt/jaz*

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

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

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

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

<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]*

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

      /dev/video/* /dev/vttuner

<gpm>=/dev/gpmctl

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

<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/usb/[0-9][0-9][0-9]/[0-9][0-9][0-9]

 

# permission definitions

<console>  0660 <serial>  0660 root.tty

<console>  0660 <floppy>  0660 root.floppy

<console>  0600 <sound>      0600 root.audio

<console>  0600 <cdrom>      0660 root.cdrom

<console>  0600 <pilot>      0660 root.uucp

<console>  0600 <jaz>        0660 root.disk

<console>  0600 <zip>        0660 root.disk

<console>  0600 <ls120>      0660 root.disk

<console>  0600 <scanner>    0600 root

<console>  0600 <camera>  0600 root

<console>  0600 <memstick> 0600 root

<console>  0600 <flash>      0600 root

<console>  0600 <diskonkey>  0660 root.disk

<console>  0600 <rem_ide>    0660 root.disk

<console>  0600 <fb>      0600 root

<console>  0600 <kbd>        0600 root

<console>  0600 <joystick> 0600 root

<console>  0600 <v4l>        0600 root.sys

<console>  0700 <gpm>      0700 root

<console>  0600 <mainboard>  0600 root

<console>  0660 <burner>  0660 root.cdwriter

<console>  0600 <usb>        0660 root.usb

 

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

# <xconsole> 0600 <dri>      0600 root

 

Now the startup is ok but the permissions still "too restrictive"

:(

Link to comment
Share on other sites

You should have those files ..

 

[gd@localhost gd]$ ls -l /dev/nvidia*

crw-rw-rw-    1 root  root  195, 0 Dec 31  1969 /dev/nvidia0

crw-rw-rw-    1 root  root  195, 255 Dec 31  1969 /dev/nvidiactl

 

'chmod 666 /dev/nvidia*' make the files to be read/write accessible by everyone using the computer. And you have to 'chown' and 'chmod' AS ROOT.

 

MOttS

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