That is an stress test, resulting in a failure:
In command console, three big files are mounted with uloop, mount gets locked
showing the following message:
ulobdev: ulobdev.c:53: store: Assertion `start + size <= uloop->cache_size'
failed
Command sequence:
mkdir /tmp/f
ulobdev -b /tmp/b -c /tmp/c /dev/loop5
/home/live/testing-personal/pcqjordi.squashfs
mount -t squashfs /dev/loop5 /tmp/f
mount: block device /dev/loop5 is write-protected, mounting read-only
mkdir /tmp/g
ulobdev -b /tmp/d -c /tmp/e /dev/loop6
/home/live/testing-personal/pcquim.squashfs
mount -t squashfs /dev/loop6 /tmp/g
mount: block device /dev/loop6 is write-protected, mounting read-only
ulobdev: ulobdev.c:53: store: Assertion `start + size <=
uloop->cache_size'
failed.
El Tuesday 13 May 2008 18:21:21 Jordi Pujol va escriure:
> > > A little problem:
> > > that Live OS is configured with four squashfs compressed files, that
> > > are mounted into aufs,
> > > uloop only succeeds for the first file, at the second file the mount
> > > command gets locked.
> > > That is not really a problem because the goal is to cache only the main
> > > and biggest file, and the live-initramfs code is modified to do that.
> >
> > That is strange.
> > How did you mount the second one?
> > Will you show me your startup script?
>
> yes , that is an schematic command sequence,
> (from the bash debug)
> if is needed the complete code of my own version of the live-initramfs
> package I can post it here, or in the debian-live list.
>
> + sysdev=/block/loop0
> + modprobe -qb uloop
> + tmpdir=/uloop-filesystem-lzma.squashfs
> + mkdir -p /uloop-filesystem-lzma.squashfs
> + mount -t tmpfs tmpfs /uloop-filesystem-lzma.squashfs
> +
> ulobdev -b /uloop-filesystem-lzma.squashfs/b -c
> /uloop-filesystem-lzma.squashfs/c /dev/loop0
> /live/image/JPLivePersonal/filesystem-lzma.squashfs + mkdir -p
> /filesystem-lzma.squashfs
> + mount -t squashfs -o ro,noatime /dev/loop0 /filesystem-lzma.squashfs
> *** next mount is the same, with some different parameters,
> *** next is not from debug, i write that by hand
> + sysdev=/block/loop1
> + modprobe -qb uloop
> + tmpdir=/uloop-tws.squashfs
> + mkdir -p /uloop-tws.squashfs
> + mount -t tmpfs tmpfs /uloop-tws.squashfs
> ulobdev -b /uloop-tws.squashfs/b -c /uloop-tws.squashfs/c /dev/loop1
> /live/image/JPLivePersonal/tws.squashfs + mkdir -p /tws.squashfs
> + mount -t squashfs -o ro,noatime /dev/loop1 /tws.squashfs
> **** here the process is locked and do not continue,
>
> Regards,
>
> Jordi Pujol
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/