|
Bugzilla – Full Text Bug Listing |
| Summary: | modprobe wireguard broken on ppc64le | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Petr Vorel <petr.vorel> |
| Component: | Kernel:Networking | Assignee: | Kernel Bugs <kernel-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | hector.oron, msuchanek, petr.pavlu, petr.vorel |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | PowerPC-64 | ||
| OS: | Other | ||
| See Also: |
https://bugzilla.suse.com/show_bug.cgi?id=1217990 https://bugzilla.suse.com/show_bug.cgi?id=1218205 |
||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Petr Vorel
2023-12-15 16:55:25 UTC
Obviously if you do not have a Power10 machine chacha-p10-crypto won't load. A generic fallback chacha module should be available. (In reply to Michal Suchanek from comment #1) > Obviously if you do not have a Power10 machine chacha-p10-crypto won't load. > A generic fallback chacha module should be available. Michal, yes, test is running on POWER8E. "ip link add ltp_v0 type wireguard" fails with "Error: Unknown device type." There is only libchacha loaded by ip (and vmx_crypto, but that was not triggered by ip). Should it work with it or not on this older HW? If the chacha cipher is needed it should work with this one: /lib/modules/6.4.11-lp154.2.g2a5b3f6-default/kernel/crypto/chacha_generic.ko.zst and it should get loaded automatically when chacha-p10-crypto fails to load. The situation is similar on most architectures except for the fact that the hardware-specific module is likely always applicable. That means if the fallback mechanism is broken nobody might have noticed until now: config/arm64/default:CONFIG_CRYPTO_CHACHA20=m config/arm64/default:CONFIG_CRYPTO_CHACHA20POLY1305=m config/arm64/default:CONFIG_CRYPTO_CHACHA20_NEON=m config/arm64/default:CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=m config/arm64/default:CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m config/arm64/default:CONFIG_CRYPTO_LIB_CHACHA=m config/arm64/default:CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m config/armv7hl/default:CONFIG_CRYPTO_CHACHA20=m config/armv7hl/default:CONFIG_CRYPTO_CHACHA20POLY1305=m config/armv7hl/default:CONFIG_CRYPTO_CHACHA20_NEON=m config/armv7hl/default:CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=m config/armv7hl/default:CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m config/armv7hl/default:CONFIG_CRYPTO_LIB_CHACHA=m config/armv7hl/default:CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m config/ppc64le/default:CONFIG_CRYPTO_CHACHA20=m config/ppc64le/default:CONFIG_CRYPTO_CHACHA20POLY1305=m config/ppc64le/default:CONFIG_CRYPTO_CHACHA20_P10=m config/ppc64le/default:CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=m config/ppc64le/default:CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m config/ppc64le/default:CONFIG_CRYPTO_LIB_CHACHA=m config/ppc64le/default:CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m config/s390x/default:CONFIG_CRYPTO_CHACHA20=m config/s390x/default:CONFIG_CRYPTO_CHACHA20POLY1305=m config/s390x/default:CONFIG_CRYPTO_CHACHA_S390=m config/s390x/default:CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=m config/s390x/default:CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m config/s390x/default:CONFIG_CRYPTO_LIB_CHACHA=m config/s390x/default:CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m config/x86_64/default:CONFIG_CRYPTO_CHACHA20=m config/x86_64/default:CONFIG_CRYPTO_CHACHA20POLY1305=m config/x86_64/default:CONFIG_CRYPTO_CHACHA20_X86_64=m config/x86_64/default:CONFIG_CRYPTO_ARCH_HAVE_LIB_CHACHA=m config/x86_64/default:CONFIG_CRYPTO_LIB_CHACHA_GENERIC=m config/x86_64/default:CONFIG_CRYPTO_LIB_CHACHA=m config/x86_64/default:CONFIG_CRYPTO_LIB_CHACHA20POLY1305=m @Michal FYI loading chacha_generic before the test did not help. So is it still a bug with upstream kernel autoload mechanism for some chacha module (or other)? Michal, if I understood correctly wireguard should be working on power8 (or anything older than power10), but autoload mechanism is broken. Do you plan to work on this? Does not work with Linux 6.8.0 either, reported upstream. It's broken since the p10 chacha driver was added, the fallback mechanism is broken. Workaround patch should get into Tumbleweed soon. There is ongoing upstream discussion about the correct solution. Yes, works in build 20240403, thanks! |