New: Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp
https://bugs.freedesktop.org/show_bug.cgi?id=103284
Bug ID: 103284
Summary: Unable to handle kernel NULL pointer dereference on
4.13.0-1-sparc64-smp
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: theholyettlz-gM/[email protected]
QA Contact: [email protected]
Created attachment 134850
--> https://bugs.freedesktop.org/attachment.cgi?id=134850&action=edit
dmesg with oops
dmesg output attached.
I'll admit this is a somewhat bizarre hardware combination (PC GeForce 210 card in a Sun Ultra 45), but it probably shouldn't Oops on a null pointer.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): bug-103284-8800-V0hAGp6uBxMKqLRl/[email protected]/
[Bug 103284] Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp
https://bugs.freedesktop.org/show_bug.cgi?id=103284
--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Looks like if we error out somewhere we never have before, and the attempt to clean things up ends up using something that hasn't been initialized yet. Can you try booting with nouveau.debug=trace to see where we end up going wrong, which should hopefully point out the bad piece of code wrt error recovery?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103284] Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103284
--- Comment #2 from James <theholyettlz-gM/[email protected]> --- Created attachment 134875
--> https://bugs.freedesktop.org/attachment.cgi?id=134875&action=edit
debug.trace output from modprobe nouveau
Requested info attached -- taken from manually doing modprobe nouveau debug=trace.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103284] Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103284
--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- OK, so looks like it very successfully creates a GT214_DISP object, and then proceeds to call nv50_display_create. This then does not trigger *any* further traces, and errors out. It errors out before the dmac is initialized, and I think something in the list head thing fails.
Now, as I recall, SPARC has 8k pages. You could try bumping some of those 4096 values up to 8192 and see if that magically makes it work, at least a little (like the nouveau_bo_new).
If you're sufficiently interested, you could add a lot more prints throughout that file to see exactly what fails, and then try to resolve it.
It might be an uphill battle though - a bunch of stuff is tied to 4K pages, I think.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103284] Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103284
--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> ---
https://github.com/skeggsb/nouveau/commit/0f6081089699b9f882def35ebe2b1649e77b7688
I believe this patch should fix your crash, but won't help you get the board running. If you want to do that, you'll need to figure out which thing is failing.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103284] Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103284
--- Comment #5 from James <theholyettlz-gM/[email protected]> --- OK -- I'll try giving that a go some time this week. To be honest I'm no too bothered about actually getting this card working on an Ultra 45...
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 103284] Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=103284
Martin Peres <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #6 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/375.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau