Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 143044

Summary: mount -o loop fails because loop0 is busy without being used by mount.
Product: Gentoo Linux Reporter: Stephan Sokolow <only_bugzilla_automail.era.ssokolow>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stephan Sokolow 2006-08-06 20:28:34 UTC
mount -o loop fails because loop0 is busy without being used by mount. It needs to fail over to loop1 (or higher) as necessary.

This happens even immediately after booting. However, using losetup manually on loop1 and mounting it will work properly.
Comment 1 Stephan Sokolow 2006-08-06 20:29:35 UTC
Oh, I almost forgot. Here's my emerge --info:

Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r4, 2.6.16-gentoo-r9-20060701 i686)
=================================================================
System uname: 2.6.16-gentoo-r9-20060701 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.tucdemonic.org/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://gentoo.agsn.ca/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://gentoo.mirrored.ca/ ftp://gentoo.mirrored.ca/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://gentoo.cs.lewisu.edu/gentoo/ ftp://linux.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ http://lug.mtu.edu/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_CA.UTF-8"
LINGUAS="en ja ko"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--bwlimit=280"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi adns aim alsa amuled apache2 apm asf audacious audiofile avi bash-completion berkdb bidi bitmap-fonts bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cjk cli crypt cscope css ctype cups curl curlwrappers cvs daap dba dbus dga directfb discard-path dlloader doc dri dts dvd dvdr dvdread emboss encode esd examples exif expat fam fastcgi fbcon ffmpeg firefox flac flash flatfile fltk fluidsynth foomaticdb force-cgi-redirect fortran fpx ftp gcj gd gdbm ggi gif glut gmp gnutls gphoto2 gpm graphviz gs gtk gtk2 guile hal howl iconv icq idn imagemagick imap imlib immqt-bc inifile innodb ipv6 isdnlog jabber jack javascript jbig joystick jpeg kde kdeenablefinal kerberos kig-scripting kipi kqemu krb4 ladcca lcms ldap leim lesstif libcaca libg++ libgda libvisual libwww live lm_sensors lua lzo mad mailwrapper matroska md5sum mdnsresponder-compat memlimit mhash migemo mikmod mime ming mmap mmx mng mod modplug mozilla mozsvg mp3 mp4 mpeg mpi mplayer msn mule musepack musicbrainz mysql mysqli nas ncurses net nis nls nodrm nptl numeric nvidia offensive ogg oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl php pic png portaudio posix postgres ppds pppd python qt qt3 qt4 quicktime readline reflection rtc rtsp ruby samba sasl scanner screen sdl session sharedext shorten sid simplexml skey skins slang slp sndfile snmp soap sockets socks5 sox speex spell spl sql sqlite sse sse2 ssl subversion svg svga sysfs sysvipc tcltk tcpd tetex theora threads tidy tiff timidity tokenizer truetype truetype-fonts type1-fonts unicode usb utf8 vcd vorbis win32codecs wma wmf wxwindows xattr xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xprint xsl xv xvid xvmc yaepg yahoo yaz zeroconf zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_ja linguas_ko userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
Comment 2 SpanKY gentoo-dev 2006-08-07 16:44:57 UTC
it already does fall back to other loop devices

no idea what you're trying to do exactly here so i cant really investigate further

post your `mount` commands and /etc/fstab entries
Comment 3 Stephan Sokolow 2006-08-07 16:58:44 UTC
It looks like one of the updates I did in the last few weeks fixed it. I'm not sure whether it was a kernel update or a userspace update that did it though.

I'll come back with logs if the problem crops up again.
Comment 4 Stephan Sokolow 2006-08-07 17:00:09 UTC
I forgot to mention... I said "last few weeks" because I forget what my reboot schedule was, but i know I built and set up the new kernel almost immediately every time one was emerged.