Public bug reported:

I have a Haswell-based Optimus laptop.  Trying to initialize the NVIDIA
driver fails:
[   58.885456] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:03:00.0 on 
minor 1
[   58.885462] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  334.23  Sun Mar  
9 21:06:05 PDT 2014
[   58.886183] vgaarb: this pci device is not a vga device
[   58.887550] nvidia 0000:03:00.0: irq 69 for MSI/MSI-X
[   58.894206] NVRM: failed to copy vbios to system memory.
[   58.896770] NVRM: RmInitAdapter failed! (0x30:0xffffffff:720)
[   58.896777] NVRM: rm_init_adapter failed for device bearing minor number 0
[   58.896796] NVRM: nvidia_frontend_open: minor 0, module->open() failed, 
error -5

This is fixed by cherry-picking the following kernel commit:

commit 11b88ee275ec8590a373396888c2460ee89364d6
Author: Rafael J. Wysocki <rafael.j.wyso...@intel.com>
Date:   Mon Sep 9 23:07:47 2013 +0200

    ACPI / bind: Prefer device objects with _STA to those without it
    
    As reported at https://bugzilla.kernel.org/show_bug.cgi?id=60829,
    there still are cases in which do_find_child() doesn't choose the
    ACPI device object it is "expected" to choose if there are more such
    objects matching one PCI device present.  This particular problem may
    be worked around by making do_find_child() return device obejcts witn
    _STA whose result indicates that the device is enabled before device
    objects without _STA if there's more than one device object to choose
    from.
    
    This change doesn't affect the case in which there's only one
    matching ACPI device object per PCI device.
    
    References: https://bugzilla.kernel.org/show_bug.cgi?id=60829
    Reported-by: Peter Wu <lekenst...@gmail.com>
    Tested-by: Felix Lisczyk <felix.lisc...@gmail.com>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wyso...@intel.com>

 drivers/acpi/glue.c |   35 ++++++++++++++++++++++++-----------
 1 file changed, 24 insertions(+), 11 deletions(-)

Ubuntu 13.10 is also affected, while the 14.04 beta works since it
includes the above commit.

# lsb_release -rd
Description:    Ubuntu 12.04.4 LTS
Release:        12.04
# apt-cache policy linux-image-3.11.0-18-generic
linux-image-3.11.0-18-generic:
  Installed: 3.11.0-18.32~precise1
  Candidate: 3.11.0-18.32~precise1
  Version table:
 *** 3.11.0-18.32~precise1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 
Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 
Packages
        100 /var/lib/dpkg/status

** Affects: linux-lts-saucy (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1292563

Title:
  nvidia driver fails to initialize on Haswell without upstream kernel
  patch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-saucy/+bug/1292563/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to