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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-19-06, 12:00 PM   #1
Johannes G
Registered User
 
Join Date: Jun 2006
Posts: 4
Default "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

Hi,
so far I failed to get a GeForce 7900 GTX (actually two of them for SLI...) running with XFree 4.3 on a Debian system. I already installed the latest driver 1.0-8762 and the kernel module is loaded.

However, starting the XServer aborts with:
Quote:
(EE) NVIDIA(0): Unable to allocate DMA memory
(EE) NVIDIA(0): Push buffer DMA allocation failed
(EE) NVIDIA(0): *** Aborting ***
(EE) NVIDIA(0): Failed to allocate DMA push buffer
(EE) NVIDIA(0): *** Aborting ***
Also dmesg shows some errors:
Quote:
NVRM: nv_kern_mmap: invalid offset: 0x00010000 @ 0x000000005a770000 (PCI)
NVRM: nv_kern_mmap: invalid offset: 0x00010000 @ 0x000000005acbf000 (PCI)
I attached the log from nvidia-bug-report.sh:
nvidia-bug-report.log


Any hints how to proceed?

Thanks in advance.
Johannes G is offline   Reply With Quote
Old 06-19-06, 02:04 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

Do the cards work if driven individually, i.e. is the problem SLI specific?
zander is offline   Reply With Quote
Old 06-20-06, 10:48 AM   #3
Johannes G
Registered User
 
Join Date: Jun 2006
Posts: 4
Default Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

I did not expect SLI to be the problem, at least not at this early point of failure.
Nevertheless, I followed your hint and tried only one card -- without success. Also with only one card the XServer failed to start with the same error message (DMA push buffer)
Johannes G is offline   Reply With Quote
Old 06-20-06, 10:55 AM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

Please generate and attach an updated nvidia-bug-report.log file after trying to start X with only one of the GPUs.
zander is offline   Reply With Quote
Old 06-22-06, 08:42 AM   #5
Johannes G
Registered User
 
Join Date: Jun 2006
Posts: 4
Default Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

OK, here it comes: nvidia-bug-report.log
Johannes G is offline   Reply With Quote
Old 06-22-06, 10:41 AM   #6
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

It looks like you're using a 32-bit X server on the 64-bit system and that the DMA push buffer's address is being truncated in the 32-bit NVIDIA X driver. Does the problem go away if you boot with e.g. mem=2G? If so, can you try if the attached workaround helps (w/o mem=??)? To apply the workaround and install the updated driver, please use:

# sh /path/to/NVIDIA-Linux-x86_64-1.0-8762-pkg2.run --extract-only
# cd NVIDIA-Linux-x86_64-1.0-8762-pkg2
# patch -p0 < /path/to/NVIDIA_kernel-1.0-8762-1476108.diff.txt
# cd usr/src/nv
# make clean install
This problem should be resolved in future NVIDIA Linux graphics driver releases.
Attached Files
File Type: txt NVIDIA_kernel-1.0-8762-1476108.diff.txt (361 Bytes, 196 views)
zander is offline   Reply With Quote
Old 06-24-06, 08:53 AM   #7
Johannes G
Registered User
 
Join Date: Jun 2006
Posts: 4
Thumbs up Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

Quote:
It looks like you're using a 32-bit X server on the 64-bit system
True.

Quote:
Does the problem go away if you boot with e.g. mem=2G?
Yes, the XServer started then.
Also after using your workaround by patching the driver everything worked fine -- even after reinstalling the second card.
Thanks a lot for your help!

Just a small question. Can you confirm that it is not possible to use TwinView and SLI at the same time?
If yes, is this a hardware limitation (e.g. there is only one compositing unit) or a lacking feature of the current drivers?
Johannes G is offline   Reply With Quote
Old 08-02-06, 08:20 PM   #8
nsheridan
Registered User
 
Join Date: Aug 2006
Posts: 1
Default Re: "Failed to allocate DMA push buffer" on 2.6.16.19 amd64 with 1.0-8762

Hm, I have a similar problem. While booting with mem=2G fixes it, the supplied patch does not. Any suggestions greatly received.
bug-report attached.
Attached Files
File Type: log nvidia-bug-report.log (96.1 KB, 134 views)
nsheridan 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 07:47 PM

All times are GMT -5. The time now is 03:57 AM.


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