Skip to content

ldmtool causes kernel trace on shutdown #21

@jkhsjdhjs

Description

@jkhsjdhjs

When running ldmtool create all and then shutting the system down, a trace is printed. The trace is only visible for a fraction of a second, video and picture of the trace can be found here:

Even when running ldmtool remove all before shutting down, the trace is printed.
The warning that is printed is __dma_async_device_channel_unregister called while 2 clients hold a reference, the trace is:

<TASK>
dma_async_device_unregister
ccp_dmaengine_unregister
ccp5_destroy
sp_destroy
pci_device_shutdown
kernel_power_off
__do_sys_reboot
do_syscall
? do_syscall_64
? __s64_sys_rt_sigprocmask
entry_SYSCALL_64_after_hwframe

I encountered this issue with linux 5.15.10, 5.16.1 and 5.16.2. I haven't tested any other version of the kernel.
I'm running Arch Linux, the downstream bug report can be found here: https://bugs.archlinux.org/task/73504

Hardware:
AMD Ryzen 7 2700X
Gigabyte X570 AORUS ELITE Mainboard, F36e firmware

If there's any additional information I can provide, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions