Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104 - loop device doesn't work properly
Summary: loop device doesn't work properly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 263290
Blocks:
  Show dependency tree
 
Reported: 2002-01-09 17:25 UTC by Jeld The Dark Elf
Modified: 2003-02-04 19:42 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 Jeld The Dark Elf 2002-01-09 17:25:27 UTC
Multiple problems trying to unmount loop device mounts

1. If lock-break support is compiled in, the system freezes instantly if umount
is issued
2. If lock-break is disabled ( either the kernel is not patched or the option is
not activated in config ) umount /dev/loop? gives "device busy" error. umount
/mountpoint seems to work, but actual loop device stays locked and has to be
manualy unlocked using losetup.

The only place I found so far where this is causing real trouble is when trying
to convert system to LVM. The lvmcreate_initrd script fails. Also there might be
some nasty surprises when writing CDs.
Comment 1 Jeld The Dark Elf 2002-01-09 17:27:09 UTC
Sorry, forgot the versions

kernel: 2.4.16 ( preempt, lock-break, XFS and ACPI applied )
glibc, gcc etc. from the current portage tree without any modifications
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-01-18 22:59:15 UTC
Try merging baselayout-1.7.0 (on rsync in 1/2 hr -- we're using a real /etc/mtab
instead of a symlink) and using kernel 2.4.18_pre3 which includes loopback
device fixes.  This should change things dramatically for the better.  I'm
marking this as fixed; resubmit a bug if you still have problems.