Commit d5fd456c88aba4fcf77d35fe38024a8d5c814686 - "loopdev: use LOOP_CONFIG ioctl" broke loop on x86-64 w/ 32 bit userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have a number of (older) systems that are still based on 32 bit userspace but are running a relatively modern 64 bit kernel - 5.4-stable, where BTW - LOOP_CONFIGURE is not yet available.

I noticed that starting with util-linux-2.37 it is no longer possible to mount images using loop:

# mount /usr/install/iso/systemrescue-8.04-amd64.iso /mnt/cdrom
mount: /mnt/cdrom: failed to setup loop device for /usr/install/iso/systemrescue-8.04-amd64.iso.

Reverting d5fd456c88aba4fcf77d35fe38024a8d5c814686 fixes the problem:

/tmp/util-linux-2.37# ./mount /usr/install/iso/systemrescue-8.04-amd64.iso /mnt/cdrom
mount: /mnt/cdrom: WARNING: source write-protected, mounted read-only.

I have not tested if 32 bit kernel + 32 bit userspace is also affected, but 64 bit kernel + 64 bit userspace works.

Thanks,
 Krzysztof



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux