Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434334 - sys-apps/util-linux-2.21.2: stabilize (was: or newer needed for loopback support in stable kernel (/dev/loop-control))
Summary: sys-apps/util-linux-2.21.2: stabilize (was: or newer needed for loopback supp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Keywording and Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2012-09-08 13:46 UTC by Marek Szuba
Modified: 2012-09-30 21:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Szuba archtester gentoo-dev 2012-09-08 13:46:21 UTC
Kernel (or to be specific, gentoo-sources) version currently marked as stable (at least on x86 and amd64) contain updates to loopback-device code which dynamically handles creation and destruction of /dev/loopX devices (see http://lkml.org/lkml/2011/7/26/148). In order for this to be handled by userspace, util-linux version at least 2.21 is required. However, the latest version marked stable (at least on amd64, anyway) is 2.20.1. This makes it impossible to use loopback devices unless 

Reproducible: Always

Steps to Reproduce:
1. Obtain a file containing a file system, e.g. an ISO image
2. modprobe loop (if necessary)
3. mount /path/to/file /mountpoint -o loop
Actual Results:  
Error message:
mount: Could not find any loop device. Maybe this kernel does not know 
        about the loop device? (If so, recompile or `modprobe loop'.)


Expected Results:  
Specified file is mounted as a loopback device.

The problem can be worked around by restoring legacy behaviour of creating /dev/loopX files when the loop module is loaded, by passing the module the max_loop=N option (where N is the number of loop devices to be created).
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-09-10 02:11:56 UTC
I don't see an issue with getting this stabled based on the existing bugs.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-13 01:49:32 UTC
Stable for HPPA.
Comment 3 Agostino Sarubbo gentoo-dev 2012-09-14 14:22:35 UTC
amd64 stable
Comment 4 Markus Meier gentoo-dev 2012-09-16 19:53:56 UTC
arm stable
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2012-09-19 08:56:44 UTC
x86 stable
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2012-09-30 17:51:55 UTC
alpha/ia64/m68k/s390/sh/sparc stable
Comment 7 Anthony Basile gentoo-dev 2012-09-30 21:43:54 UTC
stable ppc ppc64, closing