* mkinitrd problem
@ 2002-07-23 6:29 Daniel Lim
2002-07-23 6:34 ` Thunder from the hill
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Lim @ 2002-07-23 6:29 UTC (permalink / raw)
To: linux-kernel
Hello there,
When I attempted to create the initial ramdisk images it failed with
loopback devices are in use!
# mkinitrd /boot/initrd-2.4.9-34.img 2.4.9-34
All of your loopback devices are in use!
Any idea ?
Much thanks.
Regards,
Daniel
This e-mail message (and attachments) is confidential, and / or privileged and is intended for the use of the addressee only. If you are not the intended recipient of this e-mail you must not copy, distribute, take any action in reliance on it or disclose it to anyone. Any confidentiality or privilege is not waived or lost by reason of mistaken delivery to you. DPWS is not responsible for any information not related to the business of DPWS. If you have received this e-mail in error please destroy the original and notify the sender.
For information on services offered by DPWS, please visit our website at www.dpws.nsw.gov.au
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mkinitrd problem
2002-07-23 6:29 mkinitrd problem Daniel Lim
@ 2002-07-23 6:34 ` Thunder from the hill
2002-07-23 7:45 ` Re[2]: " Andreas Steinmetz
0 siblings, 1 reply; 3+ messages in thread
From: Thunder from the hill @ 2002-07-23 6:34 UTC (permalink / raw)
To: Daniel Lim; +Cc: linux-kernel
Hi,
On Tue, 23 Jul 2002, Daniel Lim wrote:
> # mkinitrd /boot/initrd-2.4.9-34.img 2.4.9-34
> All of your loopback devices are in use!
Yes, if all your loopback devices are in use, you'll have to umount some.
cat /proc/mounts, and there umount some of the filesystems with the loop
option.
Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re[2]: mkinitrd problem
2002-07-23 6:34 ` Thunder from the hill
@ 2002-07-23 7:45 ` Andreas Steinmetz
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Steinmetz @ 2002-07-23 7:45 UTC (permalink / raw)
To: Thunder from the hill, Daniel Lim, linux-kernel
Reminds me that at least in 2.4.16 you have to expicitly release the loop
device after an unmount:
pcast2:/tmp # dd if=/dev/zero of=tst bs=1024 count=1440
1440+0 records in
1440+0 records out
pcast2:/tmp # mke2fs tst
mke2fs 1.26 (3-Feb-2002)
tst is not a block special device.
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
184 inodes, 1440 blocks
72 blocks (5.00%) reserved for the super user
First data block=1
1 block group
8192 blocks per group, 8192 fragments per group
184 inodes per group
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
pcast2:/tmp # mount -o loop /tmp/tst /mnt/tmp
pcast2:/tmp # umount /mnt/tmp
pcast2:/tmp # losetup -d /dev/loop0
pcast2:/tmp # losetup -d /dev/loop0
ioctl: LOOP_CLR_FD: No such device or address
pcast2:/tmp #
Note the two "losetup -d" commands above. The first one succeeds so umount
didn't release the loop device.
On Tue, 23 Jul 2002 00:34:28 -0600 (MDT) Thunder from the hill <thunder@ngforever.de> wrote:
> Hi,
>
> On Tue, 23 Jul 2002, Daniel Lim wrote:
> > # mkinitrd /boot/initrd-2.4.9-34.img 2.4.9-34
> > All of your loopback devices are in use!
>
> Yes, if all your loopback devices are in use, you'll have to umount
> some.
> cat /proc/mounts, and there umount some of the filesystems with the loop
> option.
>
> Regards,
> Thunder
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-23 7:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-23 6:29 mkinitrd problem Daniel Lim
2002-07-23 6:34 ` Thunder from the hill
2002-07-23 7:45 ` Re[2]: " Andreas Steinmetz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®