Bug 82726 - [NV96][NVAC] [Regression] [Bisected] Probe failed with error -12
Summary: [NV96][NVAC] [Regression] [Bisected] Probe failed with error -12
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-17 11:18 UTC by Pierre Moreau
Modified: 2014-09-15 23:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Dmesg with probe fail on NVAC and NV96 (123.32 KB, text/plain)
2014-08-17 11:18 UTC, Pierre Moreau
no flags Details
Dmesg with probe fail on NVAC and prints of start, offset, and size values (113.24 KB, text/plain)
2014-08-17 11:20 UTC, Pierre Moreau
no flags Details
Output of lspci -vv as root (27.32 KB, text/plain)
2014-08-17 11:21 UTC, Pierre Moreau
no flags Details

Description Pierre Moreau 2014-08-17 11:18:50 UTC
Created attachment 104756 [details]
Dmesg with probe fail on NVAC and NV96

Linux version: 3.16.0
Nouveau version: commit 263d1d2 from darktama's tree
Cards: 9400M (NVAC)
       9600M GT (NV96)

First bad commit is:

    commit a6924b68dac60d1f991c7ff63bc061aeac85ac3e
    Author: Ben Skeggs <bskeggs@redhat.com>
    Date:   Mon Aug 11 12:23:23 2014 +1000

        bar: ioremap only the areas that we're actually using

        Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

Starting with this commit, Nouveau probe fails with -ENOMEM. I did some testing, and this error isn't returned by nouveau_barobj_ctor, nor by nouveau_bar_alloc.
Comment 1 Pierre Moreau 2014-08-17 11:20:43 UTC
Created attachment 104757 [details]
Dmesg with probe fail on NVAC and prints of start, offset, and size values
Comment 2 Pierre Moreau 2014-08-17 11:21:25 UTC
Created attachment 104758 [details]
Output of lspci -vv as root
Comment 3 Martin Peres 2014-08-24 16:12:43 UTC
Yep, same problem here on many nv50 cards (if not all).
Comment 4 Pierre Moreau 2014-09-15 23:01:22 UTC
Seems to be fixed with the new version / some new commits (tested using the linux-3.18 branch from Nouveau's repo).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.