Bug 82726

Summary: [NV96][NVAC] [Regression] [Bisected] Probe failed with error -12
Product: xorg Reporter: Pierre Moreau <pierre.morrow>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: blocker    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Dmesg with probe fail on NVAC and NV96
none
Dmesg with probe fail on NVAC and prints of start, offset, and size values
none
Output of lspci -vv as root none

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.