All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 98417] TTM broken on 4.9-rc2
@ 2016-10-24 18:58 bugzilla-daemon
  2016-10-24 18:59 ` bugzilla-daemon
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-10-24 18:58 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 98417
           Summary: TTM broken on 4.9-rc2
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: krejzi@email.com

Created attachment 127520
  --> https://bugs.freedesktop.org/attachment.cgi?id=127520&action=edit
dmesg

As the title says.

Relevant dmesg output:

[   12.409144] ttm: no symbol version for memcpy
[   12.409146] ttm: Unknown symbol memcpy (err -22)
[   12.409167] ttm: no symbol version for clear_page
[   12.409167] ttm: Unknown symbol clear_page (err -22)
[   12.409178] ttm: no symbol version for copy_page
[   12.409179] ttm: Unknown symbol copy_page (err -22)
[   12.409204] ttm: no symbol version for phys_base
[   12.409205] ttm: Unknown symbol phys_base (err -22)
[   12.409216] ttm: no symbol version for memset
[   12.409216] ttm: Unknown symbol memset (err -22)
[   12.409219] ttm: no symbol version for ___preempt_schedule
[   12.409219] ttm: Unknown symbol ___preempt_schedule (err -22)

Full dmesg output and kernel config are attached.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
@ 2016-10-24 18:59 ` bugzilla-daemon
  2016-10-25  0:55 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-10-24 18:59 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Armin K <krejzi@email.com> ---
Created attachment 127521
  --> https://bugs.freedesktop.org/attachment.cgi?id=127521&action=edit
config

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
  2016-10-24 18:59 ` bugzilla-daemon
@ 2016-10-25  0:55 ` bugzilla-daemon
  2016-10-25  7:54 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-10-25  0:55 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
This looks like a build system / configuration / setup issue, not an amdgpu (or
even ttm) bug.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
  2016-10-24 18:59 ` bugzilla-daemon
  2016-10-25  0:55 ` bugzilla-daemon
@ 2016-10-25  7:54 ` bugzilla-daemon
  2016-10-26 17:57 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-10-25  7:54 UTC (permalink / raw)
  To: dri-devel


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

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

Christian König <deathsimple@vodafone.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Christian König <deathsimple@vodafone.de> ---
Yeah, from the missing symbols I would guess that TTM was compiled with a
different config than the rest of the kernel.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-10-25  7:54 ` bugzilla-daemon
@ 2016-10-26 17:57 ` bugzilla-daemon
  2016-10-26 18:02 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-10-26 17:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Armin K <krejzi@email.com> ---
Well, the same config worked in pre 4.9-rc1 drm-next. The module and kernel
were compiled together. However, this config is, and always has been, building
amdgpu/ttm as a module, and the rest of the drivers (very minimal set, tied to
this machine only) as built-in.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-10-26 17:57 ` bugzilla-daemon
@ 2016-10-26 18:02 ` bugzilla-daemon
  2016-10-26 18:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-10-26 18:02 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
Can you bisect?  I can't reproduce this and there haven't been any changes to
ttm that would cause anything like this that I can see.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-10-26 18:02 ` bugzilla-daemon
@ 2016-10-26 18:03 ` bugzilla-daemon
  2016-11-15  3:01 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-10-26 18:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Armin K <krejzi@email.com> ---
Might be changes to KConfig and deps handling.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-10-26 18:03 ` bugzilla-daemon
@ 2016-11-15  3:01 ` bugzilla-daemon
  2016-11-15  3:26 ` bugzilla-daemon
  2019-11-19  8:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-11-15  3:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Adam J. Richter <adam_richter2004@yahoo.com> ---
Agreeing with the previous comments that this is probably not a TTM problem, I
want to pass along that I have observed what is probably the same problem, but
with many kernel modules unrelated to TTM and graphics.

I think it might be possible to work around the problem by disabling
CONFIG_MODVERSIONS, but just have not had the time to try that yet.

I suspect that this has something to do with the changes in symbol exports that
occurred in linux 4.9-rc1, which you can see if you do something like:

diff -pruN linux-{4.8,4.9-rc1}/arch/x86/lib

The symbols that I have had trouble with, such as memset, are ones that have
had export declarations added to assembler sources (.S files).  I see that the
entry for memset in the generated file Module.symvers is different.

In Linux 4.8, it looks like this:
0xfb578fc5      memset  vmlinux EXPORT_SYMBOL

In Linux 4.9-rc1, it looks like this:
0x00000000      memset  vmlinux EXPORT_SYMBOL

As you can see, the first field, which I believe is some sort of checksum of
the C function declaration, is all zeroes for memset in Linux 4.9-rc1.

I am still looking into this, but I am posting now because I may need to set
this task aside for a day or two and didn't want to delay in passing along
information that I think might be helpful in resolving your problem.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-11-15  3:01 ` bugzilla-daemon
@ 2016-11-15  3:26 ` bugzilla-daemon
  2019-11-19  8:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2016-11-15  3:26 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #8 from Adam J. Richter <adam_richter2004@yahoo.com> ---
FYI, here is a very readable document that explains how kernel symbol
versioning is implemented:
http://tldp.org/HOWTO/Module-HOWTO/basekerncompat.html .

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 98417] TTM broken on 4.9-rc2
  2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-11-15  3:26 ` bugzilla-daemon
@ 2019-11-19  8:11 ` bugzilla-daemon
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:11 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

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

--- Comment #9 from Martin Peres <martin.peres@free.fr> ---
-- 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/drm/amd/issues/112.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-11-19  8:11 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-24 18:58 [Bug 98417] TTM broken on 4.9-rc2 bugzilla-daemon
2016-10-24 18:59 ` bugzilla-daemon
2016-10-25  0:55 ` bugzilla-daemon
2016-10-25  7:54 ` bugzilla-daemon
2016-10-26 17:57 ` bugzilla-daemon
2016-10-26 18:02 ` bugzilla-daemon
2016-10-26 18:03 ` bugzilla-daemon
2016-11-15  3:01 ` bugzilla-daemon
2016-11-15  3:26 ` bugzilla-daemon
2019-11-19  8:11 ` bugzilla-daemon

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.