All of lore.kernel.org
 help / color / mirror / Atom feed
* Commit d5fd456c88aba4fcf77d35fe38024a8d5c814686 - "loopdev: use LOOP_CONFIG ioctl" broke loop on x86-64 w/ 32 bit userspace
@ 2021-07-27 21:53 Krzysztof Olędzki
  2021-07-27 22:39 ` Krzysztof Olędzki
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Olędzki @ 2021-07-27 21:53 UTC (permalink / raw)
  To: Sinan Kaya, Karel Zak; +Cc: util-linux

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-28 18:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 21:53 Commit d5fd456c88aba4fcf77d35fe38024a8d5c814686 - "loopdev: use LOOP_CONFIG ioctl" broke loop on x86-64 w/ 32 bit userspace Krzysztof Olędzki
2021-07-27 22:39 ` Krzysztof Olędzki
2021-07-27 22:56   ` Krzysztof Olędzki
2021-07-28  1:24     ` Jens Axboe
2021-07-28  5:46       ` Krzysztof Olędzki
2021-07-28  9:14         ` Karel Zak
2021-07-28 18:00           ` Sinan Kaya

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.