Summary: |
Oops: kernel NULL pointer dereference in nouveau_connector_get_modes |
Product: |
xorg
|
Reporter: |
Albert Damen <albrt> |
Component: |
Driver/nouveau | Assignee: |
Nouveau Project <nouveau> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
Xorg Project Team <xorg-team> |
Severity: |
major
|
|
|
Priority: |
medium
|
|
|
Version: |
git | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
|
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.
Created attachment 36380 [details] dmesg with the oops Booting with nouveau/linux-2.6 from git results in a kernel oops: [ 3.817681] BUG: unable to handle kernel NULL pointer dereference at 0000000000000060 [ 3.818051] IP: [<ffffffffa01128b0>] nouveau_connector_get_modes+0x180/0x410 [nouveau] Please see attached dmesg for the full oops. System environment: -- chipset: intel PM965 + G86 [GeForce 8400M GT] -- system architecture: 64-bit -- xf86-video-nouveau: git, db98ad2363 (20 June) -- xserver: 1.7.5 -- libdrm: 2.4.20 -- kernel: 2.6.34 + nouveau/linux from git: 48f4092e87 -- Machine: laptop, Sony Vaio FZ21-M -- Display connector: LVDS (1280x800) + HDMI (1680x1050) Reverting commit "drm/nouveau: move LVDS detection back to connector detect() time" solved the oops. Further debugging showed nv_encoder was NULL in nouveau_connector_get_modes. Attached patch solves the problem for me.