New: BUG() in dmesg after loading nouveau module
https://bugzilla.kernel.org/show_bug.cgi?id=120591
Bug ID: 120591
Summary: BUG() in dmesg after loading nouveau module
Product: Drivers
Version: 2.5
Kernel Version: 4.7-rc3
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Video(DRI - non Intel)
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCreated attachment 220561
--> https://bugzilla.kernel.org/attachment.cgi?id=220561&action=edit
dmesg
OS: Arch Linux
Video adapter: GeForce GTX 780 Ti
xf86-nouveau: 1.0.12
I blacklisted nouveau module for full OS initialisation before reproducing, then issued:
# modprobe nouveau debug=trace
After that screen becomes black and in dmesg appears:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000210
Bug is not reproducible with 4.7-rc2 or earlier mainline.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
https://bugzilla.kernel.org/show_bug.cgi?id=120591
--- Comment #1 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 220571
--> https://bugzilla.kernel.org/attachment.cgi?id=220571&action=edit
kernel config
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
Ilia Mirkin <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Ilia Mirkin <[email protected]> --- Looks like
commit f045f459d925138fe7d6193a8c86406bda7e49da
Author: Ben Skeggs <[email protected]> Date: Thu Jun 2 12:23:31 2016 +1000
drm/nouveau/fbcon: fix out-of-bounds memory accesses
does not properly deal with disabled fbdev emulation.
Can you add a
if (fbcon->helper.fbdev)
before that added line in nouveau_fbcon_init? I assume that will resolve your issue.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
--- Comment #3 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 220611
--> https://bugzilla.kernel.org/attachment.cgi?id=220611&action=edit
fix
Suggested by Ilia Mirkin
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
--- Comment #4 from Dmitrii Tcvetkov <[email protected]> --- Thanks, that change helped, nouveau loaded successfully, Xorg started normally.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
--- Comment #5 from Dmitrii Tcvetkov <[email protected]> --- Created attachment 220621
--> https://bugzilla.kernel.org/attachment.cgi?id=220621&action=edit
dmesg with patched kernel
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
Dmitrii Tcvetkov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIXSignature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
--- Comment #6 from Ilia Mirkin <[email protected]> --- Dmitrii, you should mail that patch (as a proper commit) to [email protected] and/or [email protected] . If you're not sure how to do that, I can take care of that for you.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
--- Comment #7 from Dmitrii Tcvetkov <[email protected]> --- Thank you for advice, I've sent the patch, mail awaits moderation.
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 120591] BUG() in dmesg after loading nouveau module
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=120591
Dmitrii Tcvetkov <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #8 from Dmitrii Tcvetkov <[email protected]> --- commit 52dfcc5ccfbb6697ac3cac7f7ff1e712760e1216
Author: Dmitrii Tcvetkov <[email protected]> Date: Mon Jun 20 13:52:14 2016 +0300
drm/nouveau: fix for disabled fbdev emulation
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel