qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#21
What extra things would be required to add encryption here? Is yet another kernel module needed?

I could see many use-cases for an encrypted file system inside an image file on your mobile device.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2009-10-25 at 21:55.
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#22
I'll try and push dmsetup into extras tonight barring some devmapper dependency funk.
 

The Following 3 Users Say Thank You to attila77 For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#23
Code:
[2009-10-26 02:15:06] Processing package devmapper 1.02.27-4. Uploader: achipa, builder: builder1
[2009-10-26 02:15:11] Building devmapper 1.02.27-4 for target 'maemo-diablo-armel-extras-devel'
[2009-10-26 02:18:03] OK
[2009-10-26 02:18:06] Building devmapper 1.02.27-4 for target 'maemo-diablo-i386-extras-devel'
[2009-10-26 02:20:38] Signing build results
[2009-10-26 02:20:40] devmapper 2:1.02.27-4 has been queued for loading into diablo extras-devel repository
[2009-10-26 02:20:41] You can find more info about this build here: https://garage.maemo.org/builder/diablo/devmapper_1.02.27-4/
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#24
Originally Posted by qole View Post
What extra things would be required to add encryption here? Is yet another kernel module needed?

I could see many use-cases for an encrypted file system inside an image file on your mobile device.
The dependancies I mentioned here. Instead of dmsetup I recommend cryptsetup-luks (aka cryptsetup nowadays) because it only has that one purpose. Just check out each of their manuals...

Together with an Ext2/Ext3 driver this should be compatbile with FreeOTFE, making it possible to even access r/w mode of both the image as well as the filesystem on a little endian machine such as Windows/x86-32. Like TrueCrypt. That means, that for example the image can be put on MicroSD, and a Windows/x86-32 user (most used desktop platform...) can write stuff onto it.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 

The Following User Says Thank You to allnameswereout For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#25
So now, in theory, you can get your own turbo loop in Diablo without needing to install easy chroot. I'll test it out and get back to you...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#26
Agh! post-removal script for dmsetup is broken! Please fix!

(I expected the conflict with easy-chroot; I didn't expect the package to get "jammed" trying to remove!)

Code:
Selecting previously deselected package dmsetup.
Preparing to replace dmsetup 2:1.02.27-4 (using .../dmsetup_2%3a1.02.27-4_armel.deb) ...
Unpacking replacement dmsetup ...
dpkg: error processing /var/cache/apt/archives/dmsetup_2%3a1.02.27-4_armel.deb (--unpack):
 trying to overwrite `/sbin/dmsetup', which is also in package easy-chroot
dpkg (subprocess): unable to execute new post-removal script: Exec format error
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#27
Whoops Knew that softlink shouldn't be in postinst/rm... New package will be on it's way shortly.
 

The Following 2 Users Say Thank You to attila77 For This Useful Post:
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#28
Upon further inspection, this wasn't caused by the softlink... the hacked version of dmsetup in the qole.org repo did not use the udev rules but simply ignored that part of the original package. Now, I fixed the failure and you DO get the udev rule as per the original package (can't be a bad thing, right ?). Yell if this is not what you wanted.

PS. As it's about 2:40 AM here and my eyes are closing, I first uploaded the package to the Fremantle queue by mistake. The fun part is that it actually went through the autobuilder without a hitch, so... we have devmapper in Fremantle

EDIT: If you don't know how to solve the postrm/exec format problem, just do a
Code:
rm /var/lib/dpkg/info/dmsetup.postrm
and all will be well

Last edited by attila77; 2009-10-27 at 02:17.
 

The Following User Says Thank You to attila77 For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#29
Looks like everything installs OK in Diablo. Kernel modules load, dmlosetup works, and I can mount an image just fine.

One little error when installing the new packages:
Code:
Setting up libdevmapper1.02.1 (2:1.02.27-maemo1) ...
ldconfig: /usr/lib/libgailutil.so.18 is not a symbolic link
Just for fun, I tried dmlosetup in Fremantle. It needs the kernel drivers.

So someone still needs to build the drivers for kernel version 2.6.28-omap1 (armv71).
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#30
Originally Posted by qole View Post
So someone still needs to build the drivers for kernel version 2.6.28-omap1 (armv71).
I'm certainly not going to attempt an autobuilder build when the SDK kernel source is out of date compared with what's on the device itself...
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:03.