Summary: | Unable to handle kernel NULL pointer dereference on 4.13.0-1-sparc64-smp | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | James <theholyettlz> | ||||||
Component: | Driver/nouveau | Assignee: | Nouveau Project <nouveau> | ||||||
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | ||||||||
Version: | unspecified | ||||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
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? Created attachment 134875 [details]
debug.trace output from modprobe nouveau
Requested info attached -- taken from manually doing modprobe nouveau debug=trace.
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. 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. 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... -- 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. |
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 134850 [details] 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.