Re: 2.4.1ac17 hang on mounting loopback fs

Pete Toscano (pete.lkml@toscano.org)
Sat, 17 Feb 2001 19:19:30 -0500


--uAKRQypu60I7Lcqm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hmmm... I've been trying to play with GRUB on my 2.4.2-pre4 system. For
safety's sake, I wanted to make a bookdisk with mkbootdisk. After
reading this, I see now why mkbootdisk was locking in the D state with
the loop mounted... Would this also explain not being able to seek
forward while writing a floppy? =20

I was trying to make the GRUB boot disk by writing the stage 1 and 2
loaders to the floppy (as per the GRUB docs) with dd:

[root@bubba grub]# dd of=3D/dev/fd0 if=3Dstage1 bs=3D512 count=3D1
1+0 records in
1+0 records out
[root@bubba grub]# dd of=3D/dev/fd0 if=3Dstage2 bs=3D512 seek=3D1
dd: advancing past 1 blocks in output file `/dev/fd0': Permission denied

With 2.4.1, I get a different error message, but, AFAICT, the same
result.

pete

Alan Cox writes:
> > # mount -t ext2 -o loop /spare/i486-linuxaout.img /spare/mnt
> > loop: enabling 8 loop devices
>=20
> Loop does not currently work in 2.4. It might partly work by luck
> but thats it. This will change as and when the new loop patches go
> in. Until then if you need loop use 2.2

--uAKRQypu60I7Lcqm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6jxUSsMikd2rK89sRAqg8AJsFBPOsOCJcQOiW8Oc0IGeirElzlQCdHXnL
5zrlakll6HG4bIPDBIn6HJ4=
=NMW5
-----END PGP SIGNATURE-----

--uAKRQypu60I7Lcqm--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/