Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-14-06, 07:48 AM   #1
ericfenderson
Registered User
 
Join Date: Jun 2006
Posts: 9
Default NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

Hello everyone,

I'm getting the error in the subject line when attempting to load Xorg 6.8.1 with the nvidia driver. My system is running Slackware 10.1 with linux kernel 2.6.16.20. It's an Athlon XP 2500+ with a GeForce4 Ti 4400.

Xorg logs the following message:
(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.
(EE) NVIDIA(0): Failed to initialize the NVIDIA graphics device!

The README doesn't really contain any useful information relating to this error message - just notes on permissions of /dev/nvidia*. All of those files are 0666, so I'm seeing something else.

Here is the output of dmesg, always the same numbers:
NVRM: RmInitAdapter failed! (0x12:0x2b:1577)
NVRM: rm_init_adapter(0) failed


I've tried a number of different kernels and different configurations. I tried 2.6.13.5, after reading some posts about better behavior before hi-res timers merged. It behaves the same way.


I've tried booting with noapic, acpi=off, and pci=conf1. None of these have any effect on the video, though my motherboard's onboard NIC doesn't work without ACPI.

I have verified I am running the newest stable BIOS for my motherboard (asus a7v8x-x). nvidia-bug-report output is attached, though I'm currently running under nv, as nvidia isn't working.



The only really strange thing - originally, I was running a modified -rt kernel, based on 2.6.15.1-rt16. For kicks, I tried on this kernel and X11 sucessfully loads! However, the system does three or four lockups of about three seconds before X totally freezes. dmesg shows a number of oopses and a bunch of warnings about interrupt problems.
ericfenderson is offline   Reply With Quote
Old 06-14-06, 08:37 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

The README does mention this error message in the Common Problems chapter, see http://download.nvidia.com/XFree86/L...hapter-05.html; aside from the suggestions listed there, it might be worthwhile to try a kernel < Linux 2.6.13.
zander is offline   Reply With Quote
Old 06-15-06, 12:23 AM   #3
ericfenderson
Registered User
 
Join Date: Jun 2006
Posts: 9
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

Aha - I just grepped for Frequently Asked questions and didn't notice
the othe section.

Unfortunatly, none of those options have had any effect on my
situation. I also have built and tried 2.6.12.6, but again, no
difference.

I played around with some BIOS settings - in particular, I tried
fixing the AGP to 2X or 4X, but neither made any difference in
outcome. Fixing to 2X makes agpgart give some warnings about legacy
mode.

I tried with and witout the via_agp driver and it seems to have no bearing on the situation either.

Finally, I have noticed one anomoly. When I load the nvidia kernel module, the following message appears in dmesg:

ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16

However, my /proc/interrupts does not list this:

ross@turalyon:~$ cat /proc/interrupts
CPU0
0: 972330 IO-APIC-edge timer
1: 5737 IO-APIC-edge i8042
9: 0 IO-APIC-level acpi
12: 20373 IO-APIC-edge i8042
14: 1093 IO-APIC-edge ide0
15: 1099 IO-APIC-edge ide1
16: 9160 IO-APIC-level ide2, ide3
17: 5 IO-APIC-level ide5
19: 3764 IO-APIC-level eth0
NMI: 0
LOC: 972348
ERR: 0
MIS: 0


As you can see in this output, I've disabled the modules for devices that were sharing, but I cannot disable the remaining IDE interfaces, as they have my data one them.

Is that a reasonable state?
ericfenderson is offline   Reply With Quote
Old 06-15-06, 05:42 AM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

Yes, that looks fine; also, interrupt sharing as such isn't a problem. Can you post the complete dmesg output for 2.6.15.1-rt16 and the current kernel (if possible, including the output generated by the attempt to start X)?
zander is offline   Reply With Quote
Old 06-16-06, 12:20 AM   #5
ericfenderson
Registered User
 
Join Date: Jun 2006
Posts: 9
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

Ok, I rebooted into 2.6.15.1-rt16:

1) I have the full dmesg output after modprobing the nvidia driver.

2) I have the dmesg after starting X11, but before running any OpenGL app.

3) I have the dmesg after running glxinfo.



I haven't tried any of the patches floating around for RT kernels, so I didn't expect this to work. However, given the amount of problems I've hit with vanilla kernels, I'm going to take a swing with one of those patches. We'll see how it goes.
Attached Files
File Type: txt 2.6.15.1-rt16-modprobe.txt (15.1 KB, 144 views)
File Type: txt 2.6.15.1-rt16-post-X11.txt (15.0 KB, 133 views)
File Type: txt 2.6.15.1-rt16-post-glxinfo.txt (15.0 KB, 130 views)
ericfenderson is offline   Reply With Quote
Old 06-16-06, 01:12 AM   #6
ericfenderson
Registered User
 
Join Date: Jun 2006
Posts: 9
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

2.6.16-rt14 with the patch from Jaxxon isn't really workable, but it's better than anything else has been so far. X starts, and it still stutters, but it does it quite a bit less. Each hangup is 3-5 seconds long, so I can be patient and wait it out.

glxgears runs and doesn't crash! 0.167fps baby! ::-)

Also, if I'm patient, I can swap back to a text tty, kill xdm, and reload with nv driver. Makes debugging easier!

Attached are similar dmesg outputs to before.
Attached Files
File Type: txt 2.6.16-rt14-post-glxgears.txt (15.1 KB, 152 views)
File Type: txt 2.6.16-rt14-modprobe.txt (15.1 KB, 134 views)
ericfenderson is offline   Reply With Quote
Old 06-16-06, 05:21 AM   #7
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

Judging from the 2.6.16-rt14-post-glxgears.txt log file, the NVIDIA driver doesn't reliably receive interrupts; does booting with pci=noacpi or pci=routeirq have any impact on this problem?
zander is offline   Reply With Quote
Old 06-16-06, 12:20 PM   #8
ericfenderson
Registered User
 
Join Date: Jun 2006
Posts: 9
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

Yep - the X11 module complains of this fact when I boot on a non-RT kernel.

I just tried booting with pci=noapic and then pci=routeirq. pci=noapic was worse, had to sysRq to reboot. pci=routeirq was just the same as booting normally, seconds long freezes, ~0.1 frames per second.

dmesg is very similar to the last attempt. The Xid lines give differenc counts:

NVRM: Xid (0001:00): 16, Head 00000000 Count 00000122
NVRM: Xid (0001:00): 16, Head 00000000 Count 0000013e
NVRM: Xid (0001:00): 16, Head 00000000 Count 00000143
NVRM: Xid (0001:00): 16, Head 00000000 Count 00000146
NVRM: Xid (0001:00): 16, Head 00000000 Count 0000014d
NVRM: Xid (0001:00): 16, Head 00000000 Count 00000157
NVRM: Xid (0001:00): 16, Head 00000000 Count 0000015b
NVRM: Xid (0001:00): 16, Head 00000000 Count 0000015f
NVRM: Xid (0001:00): 16, Head 00000000 Count 00000172
NVRM: Xid (0001:00): 16, Head 00000000 Count 00000183
NVRM: Xid (0001:00): 1, Channel 00000000 Method 00000000 Data 01014700
ericfenderson is offline   Reply With Quote

Old 07-15-06, 10:01 AM   #9
ericfenderson
Registered User
 
Join Date: Jun 2006
Posts: 9
Default Re: NVRM: RmInitAdapter failed! (0x12:0x2b:1577)

Hello everyone,

It's been a while since I looked at this, but I just sat down and figured the problem out.

As I suspected, the problem was related to IRQ sharing. While it might work in principle, I happen to have a lot of disks and PCI cards in this machine. I moved a Promise Ultra66 IDE interface to a PCI slot that doesn't share IRQs with the AGP slot.

Boom, instantly fixed the problem!
ericfenderson is offline   Reply With Quote
Reply


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Screen freeze NVRM: Xid error ciancaroll NVIDIA Linux 0 06-05-12 01:05 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 03:11 PM.


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