After upgrading to 6.8.5, mount command always fails for me, even if with a new blank ext4 image.
Reproduce:
$ dd if=/dev/zero of=a.img bs=1M count=100
$ mkfs.ext4 a.img
$ mkdir mp
$ sudo mount a.img mp
mount: /path/to/mp:
/dev/loop0 already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
$ echo $?
32
dmesg is: (only this line added after mount)
[ 622.633122] loop0: detected capacity change from 0 to 204800
As hinted to in your other thread:
I can do this no problem with kernel66 or kernel515
But with kernel68 it does end in this error for me, too.
… something with that kernel version ain’t right - I’d avoid it
It would help to know that you can switch to other version to avoid this problem (though I knew this before thanks to @Nachlese ).
I just see existing bug reports of kernel 6.8.5 are about ntfs mount error, so I report it, a simple ext4 mount error. Hopefully it will help others.
(In fact, I met this problem by mounting an erofs image originally. And I found that it’s a mount error, neither an unsupported filesystem error nor a broken image file).
but that is quite another matter - you topic title says ext4?
ntfs is a a foreign filesystem - there is not gurarantee that is doable - especially if the ntfs filesystem is not clealy unmounted in windows - hibernation or windows fast startup - don’t rely on ntfs with Linux - warning - icebergs ahead …
$ ls -lah /dev/loop0
ls: cannot access '/dev/loop0': No such file or directory
$ sudo ls -lah /dev/loop0
ls: cannot access '/dev/loop0': No such file or directory
$ losetup -f
losetup: cannot find an unused loop device: Permission denied
$ sudo losetup -f
/dev/loop0
$ sudo mount a.img mp # the first mount since booted
mount: /path/to/mp: /dev/loop0 already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
$ ls -lah /dev/loop0
brw-rw---- 1 root disk 7, 0 Apr 23 09:31 /dev/loop0
$ losetup -f
/dev/loop0