Posts: 339 | Thanked: 407 times | Joined on Jul 2007
#1
These two modules enable dm-loop:

http://my.arava.co.il/~matan/770/dm-mod.ko
http://my.arava.co.il/~matan/770/dm-loop.ko


To use it you need dmsetup package which is available from debfarm repository. After installing the package add a symlink from dmlosetup to dmsetup, and run something like:

dmlosetup 0 /z/debian.img

Then mount /dev/dm-0 /opt


In my (very unscientific) tests it is about 4 times faster than loop, and very close to direct access speed.
 

The Following 21 Users Say Thank You to Matan For This Useful Post:
qole's Avatar
Moderator | Posts: 5,223 | Thanked: 4,148 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#2
Matan,

you rock.
__________________
qole.org
 
qole's Avatar
Moderator | Posts: 5,223 | Thanked: 4,148 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#3
Originally Posted by Matan View Post
....run something like:

dmlosetup 0 /z/debian.img
Just a slight correction, the 0 is wrong, it should be loop0 instead:

Code:
dmlosetup loop0 /media/mmc1/debian.img
Originally Posted by Matan View Post
In my (very unscientific) tests it is about 4 times faster than loop, and very close to direct access speed.
OpenOffice loads at least 2x as fast, which is a huge improvement.

Thanks so much! I've already incorporated the Matan TurboLoop (c) into my next version of Easy Debian...
__________________
qole.org
 

The Following User Says Thank You to qole For This Useful Post:
Stskeeps's Avatar
Posts: 637 | Thanked: 1,740 times | Joined on Jun 2008 @ Warsaw, Poland
#4
Matan: Can I probe what patch you used for the 2.6.21 kernel to get this compiled?, as it's not part of the 2.6.21 kernel by default. Reason is that I would like to compile some .o's that would follow kernel updates for Deblet.

Your work is immensely useful both for qole's Easy Debian and for my "Deblet-in-a-file" (I've just managed to compile dmsetup.static, may be interesting as well for qole), where I make a Deblet system boot entirely from a file on a vfat partition.
__________________
maemo.org distmaster & Mer lead developer

If you like this post, thank me (*point to button*). It makes me feel I'm doing something worthwhile people likes using [i'm a karma whore, i know..]
 

The Following 2 Users Say Thank You to Stskeeps For This Useful Post:
Posts: 339 | Thanked: 407 times | Joined on Jul 2007
#5
I'm using iodine in an airport, so I won't include a link, but dm-loop project has patches for 2.6.20 which apply cleanly to 2.6.21-omap1.
 

The Following 2 Users Say Thank You to Matan For This Useful Post:
qole's Avatar
Moderator | Posts: 5,223 | Thanked: 4,148 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#6
Originally Posted by Matan View Post
I'm using iodine in an airport...
Yikes. Now there's a man who likes his free wi-fi, no matter how slow.
__________________
qole.org
 
Stskeeps's Avatar
Posts: 637 | Thanked: 1,740 times | Joined on Jun 2008 @ Warsaw, Poland
#7
Deblet-in-a-file now also uses dm-loop thanks for the great work Matan.
__________________
maemo.org distmaster & Mer lead developer

If you like this post, thank me (*point to button*). It makes me feel I'm doing something worthwhile people likes using [i'm a karma whore, i know..]
 

The Following 3 Users Say Thank You to Stskeeps For This Useful Post:
qole's Avatar
Moderator | Posts: 5,223 | Thanked: 4,148 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#8
Matan: Do you think you could build these modules for the Maemo 5 kernel?
__________________
qole.org
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 339 | Thanked: 407 times | Joined on Jul 2007
#9
I am usually not interested in software without hardware to run on, so I do not expect to install Maemo 5 SDK until (and if) a Maemo 5 tablet is available.

There are patches that should apply to modern kernel, see here:

http://osdir.com/ml/linux.kernel.dev.../msg00038.html

I believe that anyone who has the SDK installed can easily patch and compile the kernel.
 

The Following 3 Users Say Thank You to Matan For This Useful Post:
qole's Avatar
Moderator | Posts: 5,223 | Thanked: 4,148 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#10
I discovered last night that the lack of a dm-loop in Fremantle is the least of my problems. I am finding it very difficult to test my Easy Debian scripts in the SDK when there's not even a "mount" command...
__________________
qole.org
 
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 08:22 PM.