Skip to contentSkip to conversation

Reiser4 and loop device problems

DISCUSSION Thomas Kuther 2 participants 5 messages Nov 15, 2007 – Nov 16, 2007 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

in recent reiser4 it is not possible to loopback mount a file located on a reiser4 partition

* kernel 2.6.24-rc2-git5
* reiser4progs 1.0.6
* reiser4 from 2.6.24-rc2-mm1with following series

sync_sb_inodes-propagate-errors.patch reiser4-sb_sync_inodes.patch reiser4-export-remove_from_page_cache.patch reiser4-export-find_get_pages.patch make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch reiser4.patch jens-broke-reiser4patch-added-to-mm-tree.patch

* filsystem created with

	$ mkfs.reiser4
* mounted with noatime
* no cryptcompress or anything non-default
$ mount -o loop -t iso9660 /tmp/systemrescuecd-x86-0.4.0.iso /mnt/cdrom 
ioctl: LOOP_SET_FD: Invalid argument

Regards,
Tom

#1 lore raw

Can you remember the last kernel that worked?

Thanks

Dushan

Quoted 28 lines · Thomas Kuther

Hi,

in recent reiser4 it is not possible to loopback mount a file located on a reiser4 partition

* kernel 2.6.24-rc2-git5
* reiser4progs 1.0.6
* reiser4 from 2.6.24-rc2-mm1with following series

sync_sb_inodes-propagate-errors.patch reiser4-sb_sync_inodes.patch reiser4-export-remove_from_page_cache.patch reiser4-export-find_get_pages.patch make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch reiser4.patch jens-broke-reiser4patch-added-to-mm-tree.patch

* filsystem created with

        $ mkfs.reiser4
* mounted with noatime
* no cryptcompress or anything non-default
$ mount -o loop -t iso9660 /tmp/systemrescuecd-x86-0.4.0.iso /mnt/cdrom
ioctl: LOOP_SET_FD: Invalid argument

Regards,
Tom

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 5 lines · On Do, 15.11.07 22:49 "Dushan Tcholich" <[email protected]> wrote:

Can you remember the last kernel that worked?

Thanks

Dushan

Unfortunately not for sure. I'm not even sure if it ever worked at all, to be honest. There were some old threads from 2003 saying that loop is not supported (yet). Did that ever change?

Regards,
Tom

Quoted 31 lines
Quoted 29 lines · Thomas Kuther

Hi,

in recent reiser4 it is not possible to loopback mount a file located on a reiser4 partition

* kernel 2.6.24-rc2-git5
* reiser4progs 1.0.6
* reiser4 from 2.6.24-rc2-mm1with following series

sync_sb_inodes-propagate-errors.patch reiser4-sb_sync_inodes.patch reiser4-export-remove_from_page_cache.patch reiser4-export-find_get_pages.patch make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch reiser4.patch jens-broke-reiser4patch-added-to-mm-tree.patch

* filsystem created with

        $ mkfs.reiser4
* mounted with noatime
* no cryptcompress or anything non-default
$ mount -o loop -t
iso9660 /tmp/systemrescuecd-x86-0.4.0.iso /mnt/cdrom ioctl:
LOOP_SET_FD: Invalid argument

Regards,
Tom

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 22 lines · On Fr, 16.11.07 12:02 "Christopher Sawtell" <[email protected]> wrote:
Quoted 9 lines
Quoted 5 lines

Can you remember the last kernel that worked?

Thanks

Dushan

Unfortunately not for sure. I'm not even sure if it ever worked at all, to be honest. There were some old threads from 2003 saying that loop is not supported (yet). Did that ever change?

Yes.

imogen ~ # uname -r
2.6.22.9
imogen ~ # cd /media/Isos/Debian/
imogen Debian # mount -o loop -t iso9660
Debian-Etch-4.0-r1-Binary-1-20070819.iso /mnt/tmp
imogen Debian # ls /mnt/tmp
README.html README.txt debian install md5sum.txt
tools README.mirrors.html autorun.bat dists install.386 pics
README.mirrors.txt autorun.inf doc isolinux pool

Quoted 4 lines

But it's broken for linux-2.6.23.1

If I can be of any further assistance, please do not hesitate to ask.

So which version of reiser4 patch, progs etc do you use?

Edward wrote, it never did. Now.. WTF? :)

Regards,
Tom

A message that is not in the archive (sent off-list or not yet received): [email protected]

#7 lore raw
Quoted 41 lines · On Do, 15.11.07 18:25 "Joe Feise" <[email protected]> wrote:
Quoted 27 lines · Thomas Kuther
Quoted 24 lines · On Fr, 16.11.07 12:02 "Christopher Sawtell" <[email protected]> wrote:
Quoted 9 lines
Quoted 5 lines

Can you remember the last kernel that worked?

Thanks

Dushan

Unfortunately not for sure. I'm not even sure if it ever worked at all, to be honest. There were some old threads from 2003 saying that loop is not supported (yet). Did that ever change?

Yes.

imogen ~ # uname -r
2.6.22.9
imogen ~ # cd /media/Isos/Debian/
imogen Debian # mount -o loop -t iso9660
Debian-Etch-4.0-r1-Binary-1-20070819.iso /mnt/tmp
imogen Debian # ls /mnt/tmp
README.html README.txt debian install md5sum.txt
tools README.mirrors.html autorun.bat dists install.386 pics
README.mirrors.txt autorun.inf doc isolinux pool

But it's broken for linux-2.6.23.1

Quoted 7 lines
Quoted 3 lines

If I can be of any further assistance, please do not hesitate to ask.

So which version of reiser4 patch, progs etc do you use?

Edward wrote, it never did. Now.. WTF? :)

Works here as well on 2.6.22.6:
joe: mkdir mnt
joe: sudo mount -o loop -t iso9660 KnoppMythR5F27.iso mnt
joe: ls -l mnt
total 10

Quoted 8 lines
dr-xr-xr-x  3 root   root   2048 Sep  8 19:39 KNOPPIX/
dr-xr-xr-x  3 root   root   2048 May 29  2006 boot/

Vanilla kernel with reiser4-for-2.6.22-2.patch.gz and reiser4progs-1.0.6.tar.gz

-Joe

Jup, I also tested a plain .22 with namesys patch, and it works fine. Didn't test with cryptcompress though.

So it seems that something between .22 and .23 broke it again. Thanks for helping to answer Dushan's question :)

Regards,
Tom