Skip to contentSkip to conversation

New: amdgpu problems loading 2 firmwares on multi-smp system

Bug 194559 [email protected] 1 participant 14 messages Feb 12, 2017 – Mar 16, 2017

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=194559

            Bug ID: 194559
           Summary: amdgpu problems loading 2 firmwares on multi-smp
                    system
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.4.9
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 254705
--> https://bugzilla.kernel.org/attachment.cgi?id=254705&action=edit
dmesg.txt, lspci.txt and .config

System: opteron 2876 (*2), 128GB ram, x86_64.
VGA1: SI, cape verde pro.
VGA2: R9 nano.
VGA3: onboard mgag200.
Distribution: gentoo.
kernel: vanilla-sources-4.9.9.
kernel loader: lilo 24
firmware: linux-firmware-20170126.
bug: amdgpu loading on the system causes a reboot. even when disabling panic, the kernel does not wait for me to reset the system. the issue occurs even when booting the system with init=/bin/bash and then modprobe amdgpu. solutions:
1) removing /lib/firmware/radeon.
2) removing /lib/firmware/amdgpu.
3) boot the kernel with nosmp.
Each of these solutions works, but causes hardware not to be initialized Tried without success:
1) using the radeon module instead of amdgpu.
2) using amdgpu-pro.
3) using a different kernel version (4.4.39).
4) boot with iommu=soft.
5) first load drm (works), then load amdgpu (crashes).

I suspect a nonsafe threaded kernel bug in drm.

In attachment:
1) dmesg of noSMP boot.
2) lspci output.
3) config of current 4.9.9 kernel.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

https://bugzilla.kernel.org/show_bug.cgi?id=194559

Janpieter Sollie ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Kernel Version|4.4.9 |4.9.9

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from [email protected] ---

Stock kernels have very little amdgpu code, see kernel.org and click diff. Use the command:
git clone -b drm-next-4.11-wip git://people.freedesktop.org/~agd5f/linux

The kernel configuration file of Debian Official kernel are available in /boot, named after the kernel release. Copy the .config file to the linux directory. Connect all your devices and run the command: make localmodconfig. You can use the command make defconfig too for creating initial .config file.

Use the command: make xconfig and check that you have enabled: Reroute Broken IRQ, Virtualization KVM and 300Hz CPU timer, I also disabled Swap, Kernel Debug, CPU Freq scaling , Cpu handling in Acpi, Used Bios to control CPU and devices. In the drivers->graphics->amdgpu enable cik support for a gcn 1.1 gpu and si support for a gcn 1.0 gpu.

Create debian kernel package:
export CONCURRENCY_LEVEL=4
fakeroot make-kpkg --initrd kernel_image

Install the kernel package with Gdebi. To make a custom kernel to boot, add a line to /etc/initramfs-tools/modules:
unix
And run: sudo update-initramfs
Reboot.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

--- Comment #2 from Janpieter Sollie ([email protected]) --- Dear fin4478,
thank you for the tips, I will try them asap,
but I am confused: I have nothing with debian, and the system is headless (running as OpenCL accelerator). Does this matter to you?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

--- Comment #3 from Janpieter Sollie ([email protected]) --- it works! attached my config file of your drm-next kernel
I don't know what needs to be done for you developers to integrate drm-next into the mainline kernel, but thank you!!!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

--- Comment #4 from Janpieter Sollie ([email protected]) --- Created attachment 254741
--> https://bugzilla.kernel.org/attachment.cgi?id=254741&action=edit
config of working drm-next kernel

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

Janpieter Sollie ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |PATCH_ALREADY_AVAILABLE
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

--- Comment #5 from [email protected] ---
(In reply to Janpieter Sollie from comment #3)

Quoted 3 lines

it works! attached my config file of your drm-next kernel
I don't know what needs to be done for you developers to integrate drm-next into the mainline kernel, but thank you!!!

Amd should warn not use stock kernels and tell how to use use ~agd5f wip kernel and latest mesa git. Here is the page for you, dear Amd:
http://support.amd.com/en-us/download/linux

This and many other amdgpu bug reports prove my point.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

--- Comment #6 from Michel Dänzer ([email protected]) --- (In reply to fin4478 from comment #5)

Quoted 1 line

This and many other amdgpu bug reports prove my point.

Your bug report comments like this one rather indicate that you don't understand how the kernel development process works.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

--- Comment #7 from [email protected] ---
(In reply to Michel Dänzer from comment #6)

Quoted 5 lines

(In reply to fin4478 from comment #5)

Quoted 1 line

This and many other amdgpu bug reports prove my point.

Your bug report comments like this one rather indicate that you don't understand how the kernel development process works.

You do not see how agd5f wip kernel solved this and many other problems.

Amd should warn not use stock kernels and tell how to use use ~agd5f wip kernel and latest mesa git. Here is the page for you, dear Amd:
http://support.amd.com/en-us/download/linux

You clearly want bad reputation for Amd gpus so I stop giving this info.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#10 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

Christian König ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Christian König ([email protected]) --- (In reply to fin4478 from comment #7)

Quoted 1 line

You clearly want bad reputation for Amd gpus so I stop giving this info.

Well as an AMD employee I can only advise you to stop giving incorrect informations.

Alex branches only contain additional features not upstream yet, so they are way more unstable than the upstream kernel driver.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#11 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

--- Comment #9 from Janpieter Sollie ([email protected]) --- additional comment:
works on 4.10-rc8, so necessary patch is already integrated

thank you kernel developers!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#12 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

Janpieter Sollie ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugzilla.kernel.org
                   |                            |/show_bug.cgi?id=194731
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#13 lore raw

[Bug 194559] amdgpu problems loading 2 firmwares on multi-smp system

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=194559

Janpieter Sollie ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

           See Also|                            |https://bugzilla.kernel.org
                   |                            |/show_bug.cgi?id=194899
Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel