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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-17-05, 03:22 PM   #1
jbaietto
Registered User
 
Join Date: Mar 2004
Location: Fort Lauderdale, Florida
Posts: 12
Default Two video cards, one AWOL (v7676 + 7800GTXs)

I know that the nvidia video driver for Linux does not yet support SLI, but I was still hoping that I could use two video cards to drive a total of three monitors.

Unfortunately, during boot-time PCI discovery (long before the video driver loads) I see the following messages:

PCI: Cannot allocate resource region 0 of device 0000:81:00.0
PCI: Cannot allocate resource region 1 of device 0000:81:00.0
PCI: Cannot allocate resource region 3 of device 0000:81:00.0
PCI: Cannot allocate resource region 5 of device 0000:81:00.0

That's the bus address of my second video card, and I'm pretty sure this is why I am unable to get the X server to successfully initialize the second video card. I also see this in /var/log/messages:

PCI: Device 0000:81:00.0 not available because of resource collisions
NVRM: pci_enable_device failed, aborting
nvidia: probe of 0000:81:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: loading NVIDIA Linux x86_64 NVIDIA Kernel Module 1.0-7676

I've tried FC4 and the latest kernel.org pre-release snapshot (2.6.13-rc6) but I get the same results. Windows can successfully drive three monitors (with SLI disabled) so I'm sure this is a Linux kernel issue. Even still, I've tried playing with many different BIOS configuration settings just in case, but saw no changes.

I'm running 2 7800 GTXs on an H8DCE mobo (dual Opteron 250s).

Any help or advice would be greatly appreciated.

Take care,
Jason
jbaietto is offline   Reply With Quote
Old 08-17-05, 03:35 PM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

This is the problem for sure. Are you sure the second pci-express slot is enabled on simple desktop motherboards it isn't enabled by default (in various cases you also need to play with some small card on the motherboard). Else perhaps the problem is related to the option pnp-os which appears in most bioses. These days I think for linux it can be set to pnp-os too else if it is already at this you can set it to no. Also check if there's a bios update for your motherboard.
Thunderbird is offline   Reply With Quote
Old 08-17-05, 05:16 PM   #3
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

I'm successfully running three display with two 7800GTX cards
in an Asus A8N-SLI Premium (Deluxe also worked), see

http://www.nvnews.net/vbulletin/showthread.php?t=54881

However, during the one week i'm having that setup now, i experienced
two times that UT2004 stopped rendering (there was still sound, and i was
able to restart the X-server with CTRL+ALT+Backspace) and once,
the machine freezed completly while resizing a glxgears window and i
needed to do a power-cycle (pushing the reset button didn't helped).

I guess the 470 + 40 MHz factory setting the Gainward Ultra/3500PCX Golden
Sample comes along is too much. I reflashed the bios with 450+40 a few
minutes ago - maybe that helps. If not, then i will try 430+40. if that doesn't help,
then i'm going to cry :-)

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 08-17-05, 05:35 PM   #4
jbaietto
Registered User
 
Join Date: Mar 2004
Location: Fort Lauderdale, Florida
Posts: 12
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

Quote:
Originally Posted by Thunderbird
This is the problem for sure. Are you sure the second pci-express slot is enabled on simple desktop motherboards it isn't enabled by default (in various cases you also need to play with some small card on the motherboard). Else perhaps the problem is related to the option pnp-os which appears in most bioses. These days I think for linux it can be set to pnp-os too else if it is already at this you can set it to no. Also check if there's a bios update for your motherboard.
I believe that the second PCI-Express card is alive and well because I can drive three monitors (two connected to card 1, one connected to card 2) under Windows successfully (as long as I disable SLI). This isn't exactly apples-to-apples because I'm running XP32 and Linux64.

I've tried changing the PnP-OS setting but it had no effect.

I'm running the latest BIOS available for my board (August 3rd).

Any other possible ideas?

Take care,
Jason
jbaietto is offline   Reply With Quote
Old 08-17-05, 05:40 PM   #5
jbaietto
Registered User
 
Join Date: Mar 2004
Location: Fort Lauderdale, Florida
Posts: 12
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

Bernhard,

Just curious, are you running 32-bit or 64-bit Linux? Maybe my problems are related to 64-bit.

Also, how much memory do you have in your system? I have 4GB.

I've just gone through the README file for v7676 and saw the note about BARs being placed about 4GB. It's quite possible (if not likely) that removing RAM from my system will work around the problem. Of course, I don't want to do that

Take care,
Jason

Last edited by jbaietto; 08-17-05 at 06:07 PM.
jbaietto is offline   Reply With Quote
Old 08-17-05, 07:08 PM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

jbaietto,
I don't know that its safe to assume that just because this works in Windows, this must be a Linux bug. Its possible this is an SBIOS bug that has a workaround in Windows, yet not in Linux.

At any rate, a few things that you might try for debugging purposes are:
0) Reduce your RAM to less than 4GB. There are alot of kernel/BIOS issues with 4+GB, especially on 64bit OS's.
1) Do you have a spare drive or partition to test 32bit FC4?
2) If you remove the primary videocard, such that only the card with PCI ID=81 is left in the system, do you still see the same errors?

thanks,
Lonni
netllama is offline   Reply With Quote
Old 08-17-05, 07:50 PM   #7
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

Quote:
Originally Posted by jbaietto
Just curious, are you running 32-bit or 64-bit Linux?
32-bit FC4 on 2.6.12.

Quote:
Originally Posted by jbaietto
Also, how much memory do you have in your system?
1 GByte.

I guess 4 GByte might be a problem. Before physically removing memory,
try appending "mem=1024M" to the kernel boot command line. At least
that helped years ago when i played around with a x86 SGI workstation that
had some Quadro card in it and 1 GByte RAM ("mem=512M" did the trick
those days).

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 08-17-05, 11:26 PM   #8
jbaietto
Registered User
 
Join Date: Mar 2004
Location: Fort Lauderdale, Florida
Posts: 12
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

Thanks for the tips.

So far I've tried the mem=1024M option and that did decrease available RAM to the system, but the same PCI "cannot allocate region" messages were still there.

I'll play more with the hardware config over the weekend.

Take care,
Jason
jbaietto is offline   Reply With Quote

Old 08-18-05, 07:08 AM   #9
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

What does "cat /proc/pci" say? Maybe the conflict is visible, there.

BTW.: did you tried out to change the kernel option

Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
PCI access mode (Any) --->

from "Any" to one of the other three options (BIOS, MMConfig
or Direct)? It sounds like that the BIOS missconfigures the PCI bus
and that there is a workaround in the Windows kernel.

AFAIK, the Linux kernel re-assigns the resources for all regions
using it's own allocation mechanism. Maybe your setup has some
specialities that have not yet been taken into account in the
current kernel? Can you please post your nvidia-bug-report.log
or at least the dmesg output?

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 08-18-05, 08:39 PM   #10
jbaietto
Registered User
 
Join Date: Mar 2004
Location: Fort Lauderdale, Florida
Posts: 12
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

I tried turning CONFIG_PCI_MMCONFIG on and off, but that had no effect.

There is no option to disable CONFIG_PCI_DIRECT. Instead, kconfig simply says:

# x86-64 doesn't support PCI BIOS access from long mode so always go direct.

I've attached a zipped nvidia-bug-report.log to this post for the curious
Attached Files
File Type: zip nvidia-bug-report.zip (23.1 KB, 113 views)
jbaietto is offline   Reply With Quote
Old 08-18-05, 09:55 PM   #11
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

Quote:
/proc/driver/nvidia/cards/0
Video BIOS: 05.70.02.11.02
Updating the Video BIOS might help. Mine is 05.70.02.11.24
(there does also exist a version .25, but i didn't found it).
There is a certain chance that the VGA BIOS of 7800GTX will
work on another 7800GTX brand, especially when checking the
critical parameters such as 2D/3D clock and voltage settings
using NiBiTor before). If it's not working, you can re-flash
the original BIOS (using the second video card). You can find
a VGA BIOS repository at www.mvktech.net.


Quote:
/proc/cmdline
ro root=/dev/sdb2 selinux=0
Did you tried "acpi=off" or "noacpi". ACPI can also have
influence on PCI resource allocation, AFAIK. However,
it might not have an effect on SMP systems. Did you yet
tried a single CPU kernel or "smp=off"?


Quote:
/proc/cpuinfo
model name : AMD Opteron(tm) Processor 254
cpu MHz : 2800.036
Didn't knew these babies are on sale already.


Quote:
/proc/interrupts
NMI: 151 93
Non Maskible Interrupts are typically a bad thing.


Quote:
/proc/pci
PCI devices found:
Bus 1, device 0, function 0:
Class 0300: PCI device 10de:0091 (rev 161).
IRQ 74.
Non-prefetchable 32 bit memory at 0x9a000000 [0x9affffff].
Prefetchable 64 bit memory at 0xa0000000 [0xafffffff].
Non-prefetchable 64 bit memory at 0x99000000 [0x99ffffff].
I/O at 0x7c00 [0x7c7f].
Bus 129, device 0, function 0:
Class 0300: PCI device 10de:0091 (rev 161).
Non-prefetchable 32 bit memory at 0xbc000000 [0xbcffffff].
Prefetchable 64 bit memory at 0xc0000000 [0xcfffffff].
Non-prefetchable 64 bit memory at 0xbd000000 [0xbdffffff].
I/O at 0x0 [0x7f].
Where's the kernel located in a x86_64 system? On mips64,
that would be 0xffffffffc0000000, IIRC. On i386, that's
0xc0000000, so "Prefetchable 64 bit memory at 0xc0000000"
would certainly not work out very well on an 32-bit system.


Quote:
dmesg:
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
Did you tried that? Anyway, i don't think it has an influence.

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 08-18-05, 11:49 PM   #12
jbaietto
Registered User
 
Join Date: Mar 2004
Location: Fort Lauderdale, Florida
Posts: 12
Default Re: Two video cards, one AWOL (v7676 + 7800GTXs)

I have tried "pci=routeirq" but not "noacpi", "acpi=off" or "smp=off". I'll give those a shot tomorrow.

I'm a little scared about updating the video bios as the cards are not cheap. I'll consider that only if nothing else pans out.

Thanks for pointing out the NMIs -- I missed that. I need to understand that as I plan to use the system for some real-time applications.

According to /proc/iomem the kernel is in fairly low physical memory:

00100000-7ffcffff : System RAM
00100000-0035e7ed : Kernel code
0035e7ee-004a0ea7 : Kernel data

Take care,
Jason
jbaietto 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
IOGEAR 3D Complete+ 4-Port HDMI Switcher with 2D/3D Video Processor News Archived News Items 0 06-28-12 05:40 PM
basemosaic on 3 video cards shock32638 NVIDIA Linux 1 06-05-12 07:46 PM
2 Video Cards -- Disable Open GL on single? amites NVIDIA Linux 5 05-30-12 03:51 PM
Two video cards? jc4ever General Hardware 3 08-16-02 09:11 AM

All times are GMT -5. The time now is 05:47 PM.


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