New: nouveau_fence.c kernel BUG and recursive faults
http://bugs.freedesktop.org/show_bug.cgi?id=22756
Summary: nouveau_fence.c kernel BUG and recursive faults
Product: xorg
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Created an attachment (id=27647)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27647)
Xorg log
Nouveau, KMS enabled and working fine, NV28 card.
DRM modules from nouveau/linux-2.6 git, v2.6.31-rc2-65-g7525cc6, branch master-compat, commit 7525cc6ddc45772f78aa40fe0a767f512f2ae1ed "Clarify nouveau/DEPENDS file.". This branch is up-to-date with master branch commit "drm/nouveau: allow celcius on nv20". The host kernel is 2.6.28-gentoo-r5.
When trying to start X, screen blinks, goes black, kernel hits BUGs, but the machine does not hang. SysRq can unlock the keyboard, but I do not get the console back, screen stays black. The kernel recommends a reboot after the recursive fault.
Attaching X.org log (nothing really interesting), and the kernel log with drm debug=1, except all debug messages starting in nouveau_hw.h disabled (they overflow the kernel message buffer and I hear they make I2C/DDC fail).
I'm guessing a way to reproduce this would be to remove e.g. NVxxTCL object from the list of allowed grobjs, and then starting X. Missing NV11TCL was how I first hit this kind of bug, but adding that did not fix everything. Probably something wrong in the nouveau DRM error paths.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
A message that is not in the archive (sent off-list or not yet received): bug-22756-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 22756] nouveau_fence.c kernel BUG and recursive faults
http://bugs.freedesktop.org/show_bug.cgi?id=22756
--- Comment #1 from Pekka Paalanen <[email protected]> 2009-07-13 14:28:57 PST --- Created an attachment (id=27648)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27648)
kernel log
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 22756] nouveau_fence.c kernel BUG and recursive faults
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22756
--- Comment #2 from David <[email protected]> 2009-07-16 04:09:17 PST --- Created an attachment (id=27759)
--> (http://bugs.freedesktop.org/attachment.cgi?id=27759)
kernel log
The same happens with NV18.
Removing the patch:
drm/nouveau: protect fence pending list with Spinlock
commit: ed6cc42c377ed125e6b95e0808883a8a47f137c2
this works.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 22756] nouveau_fence.c kernel BUG and recursive faults
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22756
--- Comment #3 from David <[email protected]> 2009-07-17 03:08:38 PST ---
It already works well, I think it's because:
drm/nouveau: fix BUG_ON() on UP systems, spin_is_locked() always returns 0
commit: f248e95a848d3e70be395862fdf512ffdfcecd51
thanks
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 22756] nouveau_fence.c kernel BUG and recursive faults
In reply to a message not in the archivehttp://bugs.freedesktop.org/show_bug.cgi?id=22756
Pekka Paalanen <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #4 from Pekka Paalanen <[email protected]> 2009-07-19 08:58:44 PST --- (In reply to comment #3)
Quoted 7 lines
It already works well, I think it's because:
drm/nouveau: fix
BUG_ON()on UP systems,spin_is_locked()always returns 0
commit:f248e95a848d3e70be395862fdf512ffdfcecd51thanks
Yup, confirmed here, too. Latest DRM works just fine.
Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.