EXT4-fs (mmcblk0): Cannot load crc32c driver. VFS: Cannot open root device "mmcblk0" or unknown-block(179,0): error -80 Please append a correct "root=" boot option; here are the available partitions: 1f00 131072 mtdblock0 (driver?) 1f01 32768 mtdblock1 (driver?) b300 32768 mmcblk0 driver: mmcblk Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0) CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.0-rc1+ #1 Hardware name: ARM-Versatile Express [<8010f334>] (unwind_backtrace) from [<8010b08c>] (show_stack+0x10/0x14) [<8010b08c>] (show_stack) from [<8083f2a4>] (dump_stack_lvl+0x40/0x4c) [<8083f2a4>] (dump_stack_lvl) from [<8083b210>] (panic+0xf8/0x2f4) [<8083b210>] (panic) from [<80b0175c>] (mount_block_root+0x178/0x200) [<80b0175c>] (mount_block_root) from [<80b01bac>] (prepare_namespace+0x150/0x18c) [<80b01bac>] (prepare_namespace) from [<8084384c>] (kernel_init+0x10/0x124) [<8084384c>] (kernel_init) from [<80100130>] (ret_from_fork+0x14/0x24) Exception stack(0x8108bfb0 to 0x8108bff8) bfa0: ???????? ???????? ???????? ???????? bfc0: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ???????? bfe0: ???????? ???????? ???????? ???????? ???????? ???????? ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0) ]---
On Thu, Aug 25, 2022 at 04:41:38PM +0800, Gaosheng Cui wrote:
The CRYPTO_CRC32C is using functions provided by CRYPTO_MANAGER,Why exactly does it need CRYPTO_MANAGER?
otherwise the following error will occur:
EXT4-fs (mmcblk0): Cannot load crc32c driver.
So select CRYPTO_MANAGER when enable CRYPTO_CRC32C.
Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx>
---
crypto/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/crypto/Kconfig b/crypto/Kconfig
index b1ccf873779d..7f124604323b 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -641,6 +641,7 @@ config CRYPTO_CRC32C
tristate "CRC32c CRC algorithm"
select CRYPTO_HASH
select CRC32
+ select CRYPTO_MANAGER
help
Castagnoli, et al Cyclic Redundancy-Check Algorithm. Used
by iSCSI for header and data digests and by others.
Cheers,