lkml.org 
[lkml]   [1998]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectv2.1.113: loop device oddities
Hi!

There may be a fault in the loop device and/or
the mount/umount stuff.

I am using kernelv 2.1.113 and mount/unmount v2.8

The effect: mounting a loop device is ok, umount
(seems to) work fine. Remounting is also ok, but
this time the next loop device will be used. umounting
(seems to work) again. A third remount of the loop device
fails, cause there could be no free loop device found!!!
I find no way of getting rid of that mount. I have to
reboot!!! And more bad: The harddisk device, where the
corresponding file resides cannot be umounted cleanly due
to the "hanging" connection to the loop. An fschk-run
is the result.

To clearify the situation, I have added the log of the
mount/umount "session".

Sometimes I recognize this "hanging" or "not forgetting" of
previously mounted & later umounted devices also with my
syquest-EZFlyer drive.

Fault in the kernel? My fault?

Any help is welcome! Thank you very much in advance!

(please cc also to me directly, cause I have again
problems with the kernel mailing list. Every weekend....)

KEEP HACKING!
meino


---THE LOG--------------------------

solfire: /root/getting/tomsrtbt-1.6.73 > cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 tty
5 tty
7 vcs
9 st
10 misc
14 sound
Block devices:
7 loop
8 sd

solfire: /root/getting/tomsrtbt-1.6.73 > mount -o loop tomsrtbt-1.6.73.raw fl
solfire: /root/getting/tomsrtbt-1.6.73 > cat /proc/mounts
/dev/root / ext2 rw 0 0
/dev/sda4 /home ext2 rw 0 0
/dev/sda3 /usr ext2 rw 0 0
/dev/sdb5 /home/development ext2 rw 0 0
/dev/sdb7 /home/sdb7 ext2 rw 0 0
/dev/sdb8 /home/sdb8 ext2 rw 0 0
/dev/sdb9 /home/data ext2 rw 0 0
none /proc proc rw 0 0
/dev/loop0 fl minix rw 0 0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
solfire: /root/getting/tomsrtbt-1.6.73 > umount /dev/loop0
solfire: /root/getting/tomsrtbt-1.6.73 > cat /proc/mounts
/dev/root / ext2 rw 0 0
/dev/sda4 /home ext2 rw 0 0
/dev/sda3 /usr ext2 rw 0 0
/dev/sdb5 /home/development ext2 rw 0 0
/dev/sdb7 /home/sdb7 ext2 rw 0 0
/dev/sdb8 /home/sdb8 ext2 rw 0 0
/dev/sdb9 /home/data ext2 rw 0 0
none /proc proc rw 0 0
solfire: /root/getting/tomsrtbt-1.6.73 > mount -o loop tomsrtbt-1.6.73.raw fl
solfire: /root/getting/tomsrtbt-1.6.73 > cat /proc/mounts
/dev/root / ext2 rw 0 0
/dev/sda4 /home ext2 rw 0 0
/dev/sda3 /usr ext2 rw 0 0
/dev/sdb5 /home/development ext2 rw 0 0
/dev/sdb7 /home/sdb7 ext2 rw 0 0
/dev/sdb8 /home/sdb8 ext2 rw 0 0
/dev/sdb9 /home/data ext2 rw 0 0
none /proc proc rw 0 0
/dev/loop1 fl minix rw 0 0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
solfire: /root/getting/tomsrtbt-1.6.73 > 19Pumountr/dev/loop1bt-1.6.73.raw fl
solfire: /root/getting/tomsrtbt-1.6.73 > catu/proc/mounts1
/dev/root / ext2 rw 0 0
/dev/sda4 /home ext2 rw 0 0
/dev/sda3 /usr ext2 rw 0 0
/dev/sdb5 /home/development ext2 rw 0 0
/dev/sdb7 /home/sdb7 ext2 rw 0 0
/dev/sdb8 /home/sdb8 ext2 rw 0 0
/dev/sdb9 /home/data ext2 rw 0 0
none /proc proc rw 0 0
solfire: /root/getting/tomsrtbt-1.6.73 > mount -o loop tomsrtbt-1.6.73.raw fl
mount: could not find any free loop device !!!!!!!!!!!!!!!!!!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


----------------------------------
E-Mail: Meino Christian Cramer <root@solfire.ludwigsburg.netsurf.de>
Date: 02-Aug-98
Time: 06:41:04
This message was sent by XFMail
----------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [from the cache]
©2003-2011 Jasper Spaans