Closed Evanshenf closed 5 months ago
But the write and read operations work normally with my custom-written nvme driver.
In normal cases, mkfs.ext4 should work fine.
Could you add some more details about how you have encountered this error? Have you tried mkfs.ext4 right after insmod?
JBD2: no valid journal superblock found [ 449.510702] EXT4-fs (nvme1n1): error loading journal
I am using Ubuntu 20.04 under VMware, with kernel version 5.15-0-58. After compiling with make, insmod has no problems. However, after executing mkfs.ext4 /dev/nvme1n1, I encounter this error when attempting to mount.
Then I uninstalled nvme again and ran modprobe nvme, and the following error occurred.
[ 726.076392] nvme nvme1: I/O 0 QID 0 timeout, disable controller [ 726.276816] nvme nvme1: Identify Controller failed (-4) [ 726.276822] nvme nvme1: Removing after probe failure status: -5