All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 96836] New: Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
@ 2016-07-07  2:23 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-07  2:23 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1441 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

            Bug ID: 96836
           Summary: Kernel unaligned access at TPC[105d9fb4]
                    nvkm_instobj_wr32+0x14/0x20 [nouveau]
           Product: xorg
           Version: unspecified
          Hardware: SPARC
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org

When attempting to use Nouveau driver with Xorg on my SunBlade 2500 running the
latested build from Debian-9.0 Sid SPARC64 CPU 0 runs up to 100% and then
eventually the Xorg session shuts down. It appears that it's timing out on a
GPU lock. A bunch of messages appears in the Xorg.0.log indicating fifo:
CACH_ERROR also with in the messages log there are several repeating errors.

log_unaligned: 598 callbacks suppressed
Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]

Eventually the Xorg session gives up and times out.

I'll try and attach some more logs but it appears to have something to do with
the iowrite32_native macro on SPARC V9 systems.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2737 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2016-07-07  2:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-08 23:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-07  2:51 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 310 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
What GPU is this? Is Sparc64 a BE system? Are you using 4K pages? (if not, use
4K pages)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1122 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2016-07-07  2:51   ` [Bug 96836] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-08 23:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-08 23:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-08 23:18 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #2 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
So Sparc64 is a big endian archetecutre. The request to use 4K huge pages is
not possible on Sarc64 as the smallest it supports is 8K (which is what my
system is currently using.)

The card is a GeForce FX5200 128MB DDR PCI

The GPU I am currently testing is a bit of a fossil, but I had great success on
this SPARC system in the past managed to get full hardware acceleration
working, sometime early 2015.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1469 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2016-07-07  2:51   ` [Bug 96836] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-08 23:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-08 23:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-08 23:34 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1174 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Hmmm... maybe with nv3x the 4K pages aren't such a hard requirement. Definitely
people on PPC64 with 64K pages had trouble with nv4x though.

But, if it worked before, it can work again. Since this isn't exactly *the*
most common setup, you're going to have to do a bit more of the work. Try more
kernels. Nouveau got a huge rewrite in kernel 4.3, try 4.2 maybe? That rewrite
ended up breaking BE briefly, but I fixed it up again and it was working
semi-recently on my FX5200 in a G5 (PPC64, also BE).

iowrite32_native is used all over the place to write to the card's MMIO space
in one of the BARs (can never remember which).

The specific error seems to indicate that we did a wr32 on an instobj to a
non-32-bit-aligned address. This would be very surprising. Please boot with

nouveau.debug=trace

and attach a full log of the result. (It should be large.)

Also, please try several kernels, including both pre- and post-4.3 ones.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1986 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2016-07-08 23:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:23   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:14 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 650 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #4 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 124978
  --> https://bugs.freedesktop.org/attachment.cgi?id=124978&action=edit
Message log while nouveau.debug=trace

So I enabled the debug trace and I let it run for sometime, roughly 15 minutes,
though it looks like it didn't get terribly far. I am going to try and
collected more information by having it run for several hours, but I figured
I'd upload this in case it's at all useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1636 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2016-07-10  2:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:23   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:23 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 991 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to Kieron Gillespie from comment #4)
> Created attachment 124978 [details]
> Message log while nouveau.debug=trace
> 
> So I enabled the debug trace and I let it run for sometime, roughly 15
> minutes, though it looks like it didn't get terribly far. I am going to try
> and collected more information by having it run for several hours, but I
> figured I'd upload this in case it's at all useful.

Hm, something bad is going on. It's supposed to work much more gracefully.

First off ... where are all the init messages from nouveau loading?

Do you have a digital screen you can connect? It looks like something keeps
trying to get the scanout position but can't (see the error returned by
nv04_disp_scanoutpos), which in turn floods the logs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2120 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (4 preceding siblings ...)
  2016-07-10  2:23   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:26 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 733 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #6 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to Kieron Gillespie from comment #4)
> Created attachment 124978 [details]
> Message log while nouveau.debug=trace
> 
> So I enabled the debug trace and I let it run for sometime, roughly 15
> minutes, though it looks like it didn't get terribly far. I am going to try
> and collected more information by having it run for several hours, but I
> figured I'd upload this in case it's at all useful.

Also, looks like your Xorg is in a restart loop, perhaps logs from that could
be interesting.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1862 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (5 preceding siblings ...)
  2016-07-10  2:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:36 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #7 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
So it is actually connected to a display, and I can get a console with nouveau,
I'll try to get a better Xorg output, I think the driver is still having
trouble auto-detecting the device.

Also I am going to connect one of my serial cables so I can get a cleaner
output, I think that messages is missing some of the very early boot messsages.
Not sure but would like to rule it out.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1443 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (6 preceding siblings ...)
  2016-07-10  2:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:38 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #8 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
The constant restarting of Xorg is coming from the lightdm service. It's
constantly trying over and over again.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1167 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (7 preceding siblings ...)
  2016-07-10  2:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:48 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 868 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #9 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 124979
  --> https://bugs.freedesktop.org/attachment.cgi?id=124979&action=edit
messages forcing BusID in Xorg config

So this time I logged into the box remotely and stop the lightdm service I then
ran "Xorg -config xorg.conf.broke -verbose 6" I'll also attach the Xorg.0.log
and the config file.

The Xorg log almost makes it look like it is working, though all I am left with
on the screen is a blank screen with a single non-blinking cursor in the top
left corner of the monitor, alsmost like it switched to the virtual terminal
but didn't actually clear the screen and didn't start to draw anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1864 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (8 preceding siblings ...)
  2016-07-10  2:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:49 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 368 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #10 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 124980
  --> https://bugs.freedesktop.org/attachment.cgi?id=124980&action=edit
Xorg.0.log using xorg.conf.broke

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1345 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (9 preceding siblings ...)
  2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:49 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #11 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 124981
  --> https://bugs.freedesktop.org/attachment.cgi?id=124981&action=edit
xorg.conf.broke

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1294 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (10 preceding siblings ...)
  2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:51 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 376 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #12 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 124982
  --> https://bugs.freedesktop.org/attachment.cgi?id=124982&action=edit
lspci output from the system in question

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1369 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (11 preceding siblings ...)
  2016-07-10  2:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  2:58   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:57 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1077 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #13 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
So I tried unplugging the monitor just to see what would happen, welp...

Message from syslogd@celestia at Jul  9 22:55:21 ...
 kernel:[ 2211.347894] Kernel panic - not syncing: Irrecoverable deferred error
trap.

Message from syslogd@celestia at Jul  9 22:55:21 ...
 kernel:[ 2211.347894] 

Message from syslogd@celestia at Jul  9 22:55:21 ...
 kernel:[ 2213.461991] Press Stop-A (L1-A) to return to the boot prom

Message from syslogd@celestia at Jul  9 22:55:21 ...
 kernel:[ 2213.534081] ---[ end Kernel panic - not syncing: Irrecoverable
deferred error trap.

Message from syslogd@celestia at Jul  9 22:55:21 ...
 kernel:[ 2213.534081] 

Message from syslogd@celestia at Jul  9 22:55:54 ...
 kernel:[ 2246.560543] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s!
[Xorg:3774]

Well now I know what happens! :P

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1922 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (12 preceding siblings ...)
  2016-07-10  2:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  2:58   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  3:02   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  2:58 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 630 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #14 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
OK, well let's start small. One source of problems is that we have

drivers/gpu/drm/nouveau/nouveau_bios.h:#define ROM16(x) le16_to_cpu(*(u16
*)&(x))

Which can only work on aligned pointers x, but it gets called with unaligned
offsets in nouveau_bios.c

Can you try changing that to

#define ROM16(x) get_unaligned_le16(&(x))

I'm guessing that will help with the first group of unaligned traps.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1451 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (13 preceding siblings ...)
  2016-07-10  2:58   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  3:02   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  3:08   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  3:02 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 828 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #15 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
(In reply to Ilia Mirkin from comment #14)
> OK, well let's start small. One source of problems is that we have
> 
> drivers/gpu/drm/nouveau/nouveau_bios.h:#define ROM16(x) le16_to_cpu(*(u16
> *)&(x))
> 
> Which can only work on aligned pointers x, but it gets called with unaligned
> offsets in nouveau_bios.c
> 
> Can you try changing that to
> 
> #define ROM16(x) get_unaligned_le16(&(x))
> 
> I'm guessing that will help with the first group of unaligned traps.

Oh, and same treatment for ROM32 of course (and ROM64 while you're at it, but
that never gets called from what I can tell).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1756 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (14 preceding siblings ...)
  2016-07-10  3:02   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  3:08   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-10  4:07   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  3:08 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 571 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #16 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
Created attachment 124983
  --> https://bugs.freedesktop.org/attachment.cgi?id=124983&action=edit
panic_console.out

So now that I am logging directly from the seiral terminal I appear to be
getting more information.

There are times when the system boots the nouveau driver it's self crashes. I
was able to catch it this time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1518 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (15 preceding siblings ...)
  2016-07-10  3:08   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-10  4:07   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-07-27 23:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2019-12-04  9:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-10  4:07 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 992 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #17 from Kieron Gillespie <ciaran.gillespie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
(In reply to Ilia Mirkin from comment #15)
> (In reply to Ilia Mirkin from comment #14)
> > OK, well let's start small. One source of problems is that we have
> > 
> > drivers/gpu/drm/nouveau/nouveau_bios.h:#define ROM16(x) le16_to_cpu(*(u16
> > *)&(x))
> > 
> > Which can only work on aligned pointers x, but it gets called with unaligned
> > offsets in nouveau_bios.c
> > 
> > Can you try changing that to
> > 
> > #define ROM16(x) get_unaligned_le16(&(x))
> > 
> > I'm guessing that will help with the first group of unaligned traps.
> 
> Oh, and same treatment for ROM32 of course (and ROM64 while you're at it,
> but that never gets called from what I can tell).

Alright I'll give that a shot and let you know, thanks for the help!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2019 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (16 preceding siblings ...)
  2016-07-10  4:07   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-07-27 23:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2019-12-04  9:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-07-27 23:20 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 537 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

--- Comment #18 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
I believe these two patches should be relevant to your situation:

https://lists.freedesktop.org/archives/nouveau/2016-July/025683.html
https://lists.freedesktop.org/archives/nouveau/2016-July/025688.html

Whether it resolves anything ... who knows. Should at least get rid of all the
unaligned access errors.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1516 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

* [Bug 96836] Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau]
       [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (17 preceding siblings ...)
  2016-07-27 23:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2019-12-04  9:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2019-12-04  9:15 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 871 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=96836

Martin Peres <martin.peres-GANU6spQydw@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #19 from Martin Peres <martin.peres-GANU6spQydw@public.gmane.org> ---
-- 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/273.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2502 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2019-12-04  9:15 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-07  2:23 [Bug 96836] New: Kernel unaligned access at TPC[105d9fb4] nvkm_instobj_wr32+0x14/0x20 [nouveau] bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-96836-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2016-07-07  2:51   ` [Bug 96836] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-08 23:18   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-08 23:34   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:23   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:26   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:38   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:48   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:51   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  2:58   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  3:02   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  3:08   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-10  4:07   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-07-27 23:20   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04  9:15   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.