To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

http://justlinux.com/   Fri, 03-Sep-2010 14:36:01 GMT
         internet.com

Go Back   JustLinux Forums > Community Help: Check the Help Files, then come here to ask! > Kernels and Modules

Kernels and Modules What's popping under the hood? Visit this forum to learn all about making your kernel hum along with maximum efficiency.

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-13-2005, 05:59 PM
MartinCz MartinCz is offline
Registered User
 
Join Date: Apr 2005
Posts: 27
NVIDIA GeForce4 TI 4200

Hi,

I am quite new to Linux. I have installed Mandrake 10.1 Community. Then installed Kernel Source and then I installed NVIDIA NForce drivers (For motherboard).

Then I installed the NVIDIA Graphics Drivers 1.0-7174. The readme says I have to do some changes in the /etc/X11/xorg.conf file. The most important change is "nv" --> "nvidia". I have made it.

The problem is I cant run the XWindow (KDE) anymore. In the log file I can find this error output:

"(EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
(EE) NVIDIA(0): interrupts generated by the NVIDIA graphics device.
(EE) NVIDIA(0): Please see the FREQUENTLY ASKED QUESTIONS section in the
(EE) NVIDIA(0): README for additional information."

There were some generic drivers installed by the installer of Mandrake 10.1 nut the 3d hardware acceleration was not running (glxinfo). For example the TuxRacer was like "MS Powerpoint" ). That is why I decided to change the drivers for the original from NVIDIA. Now I am stuck at this point and dont know what to do.

I know that you were solving a similar problem but I did not understand it much, so - please - could somebody help me - step by step.

The readme file says this error can occure because of many reasons and that I should set some boot parameters but I dont know where to make these changes.

Regards,
MartinCz.
Reply With Quote
  #2  
Old 04-13-2005, 06:52 PM
je_fro's Avatar
je_fro je_fro is offline
Moderator
 
Join Date: Oct 2002
Location: Republic of Texas
Posts: 5,837
first things first

make sure you go into your bios and DISABLE plug-and-play OS.
Then with a text editor (as root) edit /boot/grub/grub.conf

and add "acpi=off" to your kernel line...ie, the line that says something like:
kernel (hd0,1)/boot/bzImage-gaming root=/dev/hda3 video=vesa:ywrap,mtrr vga=0x31A hdd=ide-scsi acpi=off
__________________
Need help in realtime? Visit us at #linuxn00b on irc.freenode.net <-yes, those are zeros. http://www.linux.com/article.pl?sid=07/04/14/0631220
Please follow the JL posting guidelines. || Put those spare cycles to use! Join the Justlinux folding@home team! Team #36480 Join Now! || Link to some of my config files and a few howto's.

Few of us will do as much for our fellow man as he has done.
--Andrew Morton on RMS
Reply With Quote
  #3  
Old 04-13-2005, 06:57 PM
JamminJoeyB's Avatar
JamminJoeyB JamminJoeyB is offline
Psychotic Platypus
 
Join Date: Dec 2002
Posts: 1,088
I don't think your nvidia module is loaded. Follow the instructions below and make sure it's being loaded.

From the read me.

Q: Where should I start when diagnosing display problems?

A: One of the most useful tools for diagnosing problems is the X
log file in /var/log (the file is named: "/var/log/XFree86.<#>.log" or
"/var/log/Xorg.<#>.log" where "<#>" is the server number -- usually 0).
Lines that begin with "(II)" are information, "(WW)" are warnings, and
"(EE)" are errors. You should make sure that the correct config file
(ie the config file you are editing) is being used; look for the line
that begins with: "(==) Using config file:". Also check that the
NVIDIA driver is being used, rather than the 'nv' or 'vesa' driver;
you can look for: "(II) LoadModule: "nvidia"", and lines from the
driver should begin with: "(II) NVIDIA(0)".
__________________
Check out my ebay auction for my signature space on JLC.

Hey if people can sell advertising space on thier bodies, I figure I can make $.02 on my signature space.
Reply With Quote
  #4  
Old 04-13-2005, 07:13 PM
bwkaz bwkaz is offline
Moderator
 
Join Date: Apr 2001
Location: SF Bay Area, CA
Posts: 14,950
Re: NVIDIA GeForce4 TI 4200

Quote:
Originally posted by MartinCz
"(EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
(EE) NVIDIA(0): interrupts generated by the NVIDIA graphics device.
(EE) NVIDIA(0): Please see the FREQUENTLY ASKED QUESTIONS section in the
(EE) NVIDIA(0): README for additional information."
From the cited FREQUENTLY ASKED QUESTIONS section in the README (/usr/share/doc/NVIDIA_GLX-1.0/README):

Quote:
Q: My X server fails to start, and my X log file contains the error:

"(EE) NVIDIA(0): The NVIDIA kernel module does not appear to be receiving
(EE) NVIDIA(0): interrupts generated by the NVIDIA graphics device.
(EE) NVIDIA(0): Please see the FREQUENTLY ASKED QUESTIONS section in the
(EE) NVIDIA(0): README for additional information."

A: This can be caused by a variety of problems, such as PCI IRQ routing
errors, I/O APIC problems or conflicts with other devices sharing
the IRQ (or their drivers).

If possible, configure your system such that your graphics card does
not share its IRQ with other devices (try moving the graphics card
to another slot (if applicable), unload/disable the driver(s) for the
device(s) sharing the card's IRQ, or remove/disable the device(s)).

Depending on the nature of the problem, one of (or a combination of)
these kernel parameters might also help:

pci=noacpi (don't use ACPI for PCI IRQ routing)
pci=biosirq (use PCI BIOS calls to retrieve the IRQ routing table)
noapic (don't use I/O APICs present in the system)
acpi=off (disable ACPI)
First, I'd try doing a cat /proc/interrupts and see which IRQ "nvidia" is listed on. If it's sharing with anything else, I'd try moving the card that it's sharing with over to another PCI slot (if applicable).

If it isn't sharing, or if I can't move the other card (for example, because it's an onboard device), then I'd start trying those kernel parameters.
__________________
"Quando omni flunkus moritati" -- Possum Lodge motto -- Loose translation: "When all else fails, play dead."

Registered Linux User #219692
Please take a look at the Posting Guidelines, to help us help you!
Reply With Quote
  #5  
Old 04-14-2005, 01:53 AM
MartinCz MartinCz is offline
Registered User
 
Join Date: Apr 2005
Posts: 27
OK. I'll try these and post my results. Thank you all.
Reply With Quote
  #6  
Old 04-14-2005, 02:15 AM
MartinCz MartinCz is offline
Registered User
 
Join Date: Apr 2005
Posts: 27
Well,

1. where I can find if the nvidia module is loaded? I tried

modeprobe -l nvidia

and it found one think.

2. I made a change according to the readme file - i added "nvidia" to the modprobe.conf or how it is called. The log file "/var/log/XFree86.<0>.log says it is using /etc/X11/xorg.conf and it loaded the driver at boot time then tried to initialize and failed. So it unloaded it back.

3. When I look to /proc/interrupts I can see no nvidia entry there

4. I have LILO insteda of GRUB and could not find the config files for it. In /boot/ there are configs for grub but I cant see lilo there. I will have to take a look in another folder...

5. When I put "nv" at the place of the edited "nvidia" back, the KDE starts ok after startx.

Thank you for your help.

Regards,
MartinCz.
Reply With Quote
  #7  
Old 04-14-2005, 09:15 AM
je_fro's Avatar
je_fro je_fro is offline
Moderator
 
Join Date: Oct 2002
Location: Republic of Texas
Posts: 5,837
yeah...

when I was using my nforce board, I quite often had to pass noapic and acpi=off at the grub kernel line or things would freeze. At least with the default kernels from Debian and Slackware. I don't know how you'd do it in lilo, but lilo.conf is the place to look.
__________________
Need help in realtime? Visit us at #linuxn00b on irc.freenode.net <-yes, those are zeros. http://www.linux.com/article.pl?sid=07/04/14/0631220
Please follow the JL posting guidelines. || Put those spare cycles to use! Join the Justlinux folding@home team! Team #36480 Join Now! || Link to some of my config files and a few howto's.

Few of us will do as much for our fellow man as he has done.
--Andrew Morton on RMS
Reply With Quote
  #8  
Old 04-14-2005, 01:03 PM
MartinCz MartinCz is offline
Registered User
 
Join Date: Apr 2005
Posts: 27
I found the lilo.conf file. It is /etc/lilo.conf.

There are the choices which lilo shows. I created a new kernel profile in lilo.conf and i put there all these:

pci=noacpi (don't use ACPI for PCI IRQ routing)
pci=biosirq (use PCI BIOS calls to retrieve the IRQ routing table)
noapic (don't use I/O APICs present in the system)
acpi=off (disable ACPI)

then I ran lilo to apply changes. It did not help.

When I want to start windows x, still the same EError

Maybe this is imporatant: When i boot, it writes something like:

"Could not find rawctl somewhere. No such file or directory".

I dont know whats going on here but hope somebody of you gurus can help me. I am looking foreward to playing TuxRacer )

Regards,
MartinCz.
Reply With Quote
  #9  
Old 04-14-2005, 09:31 PM
bwkaz bwkaz is offline
Moderator
 
Join Date: Apr 2001
Location: SF Bay Area, CA
Posts: 14,950
Quote:
Originally posted by MartinCz
3. When I look to /proc/interrupts I can see no nvidia entry there
Well, I would start there. If you've done an /sbin/modprobe nvidia as root and it still doesn't show up, then something isn't giving your card an IRQ line.

If that is the case, then go into your BIOS setup program and turn on "assign IRQ to VGA" or whatever it's called.
__________________
"Quando omni flunkus moritati" -- Possum Lodge motto -- Loose translation: "When all else fails, play dead."

Registered Linux User #219692
Please take a look at the Posting Guidelines, to help us help you!
Reply With Quote
  #10  
Old 04-15-2005, 02:29 PM
MartinCz MartinCz is offline
Registered User
 
Join Date: Apr 2005
Posts: 27
The command:

/sbin/modprobe nvidia

writes down a line, some path of a file with a .ko extension.

In BIOS, the "Assign IRG to VGA" IS ENABLED.

So, well, erm... I am not sure what the modprobe command does in fact, and I dont know if it is good or not if modprobe nvidia prints anything, so what should be the next steps?

In BIOS I found a ACPI enable / disable option. I originally had enabled, but I also tried disabled, with no success.

Please, hope I dont have to buy a new VGA card ) In Windows everything is OK, and the original "nv" driver in Mandrake was also ok, exept there was no hardware accleration at all (using glxinfo).

Regards,
MartinCz.

PS: I think there could be some problem with the "could not load rawctl" at boot time. When I try to startx i get those errors above mentioned and when rebooting or poweroffing computer, alsa can not be stopped and I must do hard reset or poweroff.
Reply With Quote
  #11  
Old 04-15-2005, 02:58 PM
je_fro's Avatar
je_fro je_fro is offline
Moderator
 
Join Date: Oct 2002
Location: Republic of Texas
Posts: 5,837
modprobe

Do this:
man modprobe
man man
in a terminal.
The fact that "/sbin/modprobe nvidia" returns ANYTHING is a sign of an error.
What is the output from
modprobe nvidia
lsmod
lspci
?
__________________
Need help in realtime? Visit us at #linuxn00b on irc.freenode.net <-yes, those are zeros. http://www.linux.com/article.pl?sid=07/04/14/0631220
Please follow the JL posting guidelines. || Put those spare cycles to use! Join the Justlinux folding@home team! Team #36480 Join Now! || Link to some of my config files and a few howto's.

Few of us will do as much for our fellow man as he has done.
--Andrew Morton on RMS
Reply With Quote
  #12  
Old 04-15-2005, 03:05 PM
Rinias's Avatar
Rinias Rinias is offline
Registered User
 
Join Date: Jun 2004
Location: Washington, DC
Posts: 378
Hey-

if you do a modprobe nvidia you need to do it in the CLI (text part- black and white). Then you need to try your startx or display manager (gdm or kdm, according to which is installed).

If you want to see if you loaded the module, type lsmod |grep nv

lsmod lists the modules that are currently loaded.

| (a "pipe" above the enter on an american keyboard) tells the result of the command to be "piped" into another command

grep is a command that searches for a certain string- here we are searching for the string nv

normally if you installed everything correctly (nforce also) you should see nvidia, nvnet and nvsound.

Otherwise, heed the advice already given to you. I had the GF4ti4200 and MDK 10.1 RC, and I never had any problem with it...

Maybe its something else? did you try reinstalling the driver? Do you have your kernel sources etc installed?

good luck!

@+
__________________
Di mi se mai fu fatta alcuna cosa || Vivir con miedo, es como vivir a medias

If Linux doesn't have the solution, you have the wrong problem.

-- mdwatts, Grand Master, >> 40000 posts
RIP: August 25, 2004

***Funky stars and monkey bars***
Reply With Quote
  #13  
Old 04-15-2005, 03:10 PM
Rinias's Avatar
Rinias Rinias is offline
Registered User
 
Join Date: Jun 2004
Location: Washington, DC
Posts: 378
Re: modprobe

Quote:
Originally posted by je_fro

The fact that "/sbin/modprobe nvidia" returns ANYTHING is a sign of an error.
I agree with the rest of what you said, but this is not always true... In the case of Nvidia, modrpobe can often give a warning about nvidia modules tainting the kernel. And in this case that's exactly what we'd like...

@ +
__________________
Di mi se mai fu fatta alcuna cosa || Vivir con miedo, es como vivir a medias

If Linux doesn't have the solution, you have the wrong problem.

-- mdwatts, Grand Master, >> 40000 posts
RIP: August 25, 2004

***Funky stars and monkey bars***
Reply With Quote
  #14  
Old 04-15-2005, 03:27 PM
MartinCz MartinCz is offline
Registered User
 
Join Date: Apr 2005
Posts: 27
Hi. Thank you all much for your help. I'll try all of what you've written tommorow and let you know the results.
Reply With Quote
  #15  
Old 04-16-2005, 02:59 PM
MartinCz MartinCz is offline
Registered User
 
Join Date: Apr 2005
Posts: 27
OK.

I think it should be good to sum my problem up.

1. I am using LILO. I have edited /etc/lilo.conf so it now contains this start item which is defined as follows:

image=/boot/vmlinuz
label="linux-noacpi"
root=/dev/hda3
initrd=/boot/initrd.img
append="noapic acpi=off splash=silent pci=noacpi"
vga=788
read-only

The bold text is what I have edited, the rest is a copy of an item which already was in the .conf file.

2. My distro is Mandrake 10.1 community version. There is no gdm or kdm. I am not sure what this is, but mandrake provides mcc (media control center).

3. I have installed drivers for motherboard (nforce) and vga (nvidia). Before this i had to install kernel-source which was without any problem. I have tried to reinstall the drivers (both nforce and nvidia) with no success.

4. When linux is waking up, it says it cant find some master raw device in /dev/ravctl or something like that. I cant find it in /var/boot.log so I am not sure, it is quickly out of scope.

5. modprobe nvidia says nothing

6. the nvidia module is probably loaded at the linux-load time, i have added line:

nvidia

to the /etc/modprobe.preload file and it makes no problem.

This is, when I run

lsmod | grep nvidia

it says:

nvidia-agp 5788 1
nvidia 3915452 0
agpgart 27752 nvidia-agp, nvidia

Which means that the module is loaded ok.

7. During the installation of Mandrake on my system, I selected Geforce 4 (generic) driver, which was functioning ok but without the 3d acceleration support. In /etc/X11/xorg.conf i have made one change:

in Section "Device" i have changed

Driver "nv" to Driver "nvidia"
This make me not able to startx. When i put back nv, it is ok.

8. When I was in one of my previous posts saying that modprobe says someting with .ko extantion I was not right. I meant
modprobe -l nvidia, which seams to be quite similar to lsmod nvidia.

9. When I try to startx, the screen is black for about 8 seconds, then it comes back to text mode and writes the error I have written in my first post. It also writes some message coming from syslogd. It says disabling IRQ #11.

10. I have tried to switch off ACPI (or APIC?? not sure) in BIOS, then PnP in BIOS... no success.

11. The nvnet and nvsound are not printed out by lsmod | grep nv, because I dont use them, I have SB Audigy 2 for sound and Realtec NIC. But hope that the rest of the motherboard drivers is alive and kicking ) (like fast IDE and whatever it should be there).

12. now to lspci:

00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (revc1)
00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
00:01.0 ISA bridge: nVidia Corporation nForce 2 ISA Bridge (rev a4)
00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:04.0 Ethernet Controller: nVidia Corporation nForce 2 Ethernet Controller (rev a1)
00:08.0 PCI Bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
00:1e.0 PCI Bridge: nVidia Corporation nForce2 AGP (rev c1)
01:06.0 Multimedia audio controller: Creative Labs SB Audigi (rev 04)
01:06.1 Input device controller: Creative Labs SB Audigi MIDI/Game port (rev 04)
01:06.2 (IEEE 1394): Creative Labs SB Audigi FireWire Port (rev 04)
01b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:0d.0 FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 61)
02:00.0 VGA compatible: nVidia Corporation NV25 [GeForce Ti 4200] (rev a3)

Uffff. I had to rewrite lspci from my big computer's crt to my notebook.

I think - the last line of this pintout (lspci) looks good - it knows that I have GF TI 4200 )

SO, gurus, please ... hope this is not the case of wrong problem

Thank you for your ideas and suggestions.

Regards,
MartinCz.

Last edited by MartinCz; 04-16-2005 at 03:09 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:36 AM.

Help File Library
Compiling Kernels
Troubleshooting
Booting Your OS
Audio Hardware
Shells
More



internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
Free Newsletter
Server Daily


More Free Newsletters




internet.commerce
Be a Commerce Partner












Linux is a trademark of Linus Torvalds.

Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.