bugzilla-daemon at freedesktop.org
2010-Jun-20 16:26 UTC
[Nouveau] [Bug 28626] New: Oops: kernel NULL pointer dereference in nouveau_connector_get_modes
https://bugs.freedesktop.org/show_bug.cgi?id=28626
Summary: Oops: kernel NULL pointer dereference in
nouveau_connector_get_modes
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: albrt at gmx.net
QAContact: xorg-team at lists.x.org
Created an attachment (id=36380)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36380)
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.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Jun-20 16:29 UTC
[Nouveau] [Bug 28626] Oops: kernel NULL pointer dereference in nouveau_connector_get_modes
https://bugs.freedesktop.org/show_bug.cgi?id=28626 --- Comment #1 from Albert Damen <albrt at gmx.net> 2010-06-20 09:29:17 PDT --- Created an attachment (id=36381) View: https://bugs.freedesktop.org/attachment.cgi?id=36381 Review: https://bugs.freedesktop.org/review?bug=28626&attachment=36381 Suggested patch -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Jun-20 16:29 UTC
[Nouveau] [Bug 28626] Oops: kernel NULL pointer dereference in nouveau_connector_get_modes
https://bugs.freedesktop.org/show_bug.cgi?id=28626
Albert Damen <albrt at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #36380|application/octet-stream |text/plain
mime type| |
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Jun-21 10:43 UTC
[Nouveau] [Bug 28626] Oops: kernel NULL pointer dereference in nouveau_connector_get_modes
https://bugs.freedesktop.org/show_bug.cgi?id=28626
Francisco Jerez <currojerez at riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Francisco Jerez <currojerez at riseup.net> 2010-06-21
03:43:19 PDT ---
(In reply to comment #0)> 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.
Thanks, that's the right thing to do, pushed.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Apparently Analagous Threads
- [PATCH] drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
- [PATCH v2] drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
- [PATCH v3] drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
- [PATCH] drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes
- [PATCH] drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes