View previous topic :: View next topic |
Author |
Message |
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 297
|
Posted: Mon Jul 10, 2023 6:17 pm Post subject: ccp_crypto: Cannot load: there are no available CCPs |
|
|
Before I compiled my new kernel, "lspci -k -nn" returned Code: | 0b:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
Subsystem: ASUSTeK Computer Inc. Starship/Matisse Cryptographic Coprocessor PSPCPP [1043:8808] | The driver was not compiled into the old kernel.
After consultation with Hardware for Linux, I enabled the kernel options CONFIG_CRYPTO, CONFIG_CRYPTO_DEV_CCP and CONFIG_CRYPTO_DEV_CCP_DD CONFIG_PCI. Now, "lspci -k -nn" returns
Code: | 0b:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
Subsystem: ASUSTeK Computer Inc. Starship/Matisse Cryptographic Coprocessor PSPCPP [1043:8808]
Kernel driver in use: ccp |
However, at boot time I get the error Code: | [ 4.282201] ccp 0000:0b:00.1: enabling device (0000 -> 0002)
[ 4.282258] ccp 0000:0b:00.1: ccp: unable to access the device: you might be running a broken BIOS.
[ 4.282273] ccp 0000:0b:00.1: psp enabled
[ 4.282277] ccp_crypto: Cannot load: there are no available CCPs |
What does this error mean? How do I fix it? The error is somewhat annoying, because it interrupts the boot splash screen before X starts and SDDM appears. Should I remove the driver again, if it is broken anyway?
BIOS, board, kernel and CPU info Code: | matthias@matthias-pc /sys/class/dmi/id $ sudo cat bios*
04/27/2022
5.17
American Megatrends Inc.
2803
matthias@matthias-pc /sys/class/dmi/id $ sudo cat board*
Default string
PRIME B550-PLUS
210788487206336
ASUSTeK COMPUTER INC.
Rev X.0x
matthias@matthias-pc /sys/class/dmi/id $ uname -a
Linux matthias-pc 6.4.1-gentoo #2 SMP PREEMPT_DYNAMIC Sun Jul 9 18:29:54 CEST 2023 x86_64 AMD Ryzen 7 5700X 8-Core Processor AuthenticAMD GNU/Linux |
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5362 Location: Bavaria
|
Posted: Mon Jul 10, 2023 7:30 pm Post subject: |
|
|
Have you enabled IOMMU (for AMD) in your kernel configuration ?
Do you have a working ccp (= without any error in dmesg) if you boot with a LiveUbuntu ?
If no, it could be a problem with your BIOS.
If yes, you might do:
1. Save the output from "lspci -k" AND "lsmod" (from Ubuntu),
2. Compare it to your (complete) "lspci -k" AND "lsmod" from your system.
If you find something missing you should update your kernel configuration. If you will need help for this, then:
Give us all 4 outputs AND your latest kernel .config (please use wgetpaste for this). |
|
Back to top |
|
|
musv Advocate
Joined: 01 Dec 2002 Posts: 3368 Location: de
|
Posted: Sat Feb 01, 2025 12:16 pm Post subject: |
|
|
Just compiled Kernel-6.13.0 and found the same message:
dmesg: | Feb 01 13:05:05 nixe kernel: ccp 0000:12:00.2: enabling device (0000 -> 0002)
Feb 01 13:05:05 nixe kernel: ccp 0000:12:00.2: tee enabled
Feb 01 13:05:05 nixe kernel: ccp 0000:12:00.2: psp enabled
Feb 01 13:05:05 nixe kernel: ccp_crypto: Cannot load: there are no available CCPs |
But for some reason it seems to work:
lspci -knn: | 12:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP [1022:1649]
Subsystem: ASUSTeK Computer Inc. Device [1043:8877]
Kernel driver in use: ccp |
Kernel config:
Code: | CONFIG_CRYPTO_DEV_CCP=y
CONFIG_CRYPTO_DEV_CCP_DD=y
CONFIG_CRYPTO_DEV_SP_CCP=y
CONFIG_CRYPTO_DEV_CCP_CRYPTO=y
CONFIG_CRYPTO_DEV_SP_PSP=y |
@nagmat84: Have a look to: https://wiki.gentoo.org/wiki/Gigabyte_X570-UD#CPU
Quote: | The CCP is present but non-functional due to a broken BIOS: |
Code: | [ +0.013766] ccp 0000:0a:00.1: enabling device (0000 -> 0002)
[ +0.000074] ccp 0000:0a:00.1: ccp: unable to access the device: you might be running a broken BIOS.
[ +0.000027] ccp_crypto: Cannot load: there are no available CCPs |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|