Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    dm-loop (for qole)

    Reply
    Page 3 of 4 | Prev |   1     2   3   4   | Next
    qole | # 21 | 2009-10-25, 21:51 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by qole; 2009-10-25 at 21:55.

     
    attila77 | # 22 | 2009-10-25, 21:59 | Report

    I'll try and push dmsetup into extras tonight barring some devmapper dependency funk.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to attila77 For This Useful Post:
    lma, qole, qwerty12

     
    attila77 | # 23 | 2009-10-26, 00:24 | Report

    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/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to attila77 For This Useful Post:
    allnameswereout, qole

     
    allnameswereout | # 24 | 2009-10-26, 00:50 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to allnameswereout For This Useful Post:
    qole

     
    qole | # 25 | 2009-10-26, 02:25 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qole | # 26 | 2009-10-26, 03:18 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qole For This Useful Post:
    allnameswereout

     
    attila77 | # 27 | 2009-10-26, 10:43 | Report

    Whoops Knew that softlink shouldn't be in postinst/rm... New package will be on it's way shortly.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to attila77 For This Useful Post:
    allnameswereout, qole

     
    attila77 | # 28 | 2009-10-27, 01:46 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by attila77; 2009-10-27 at 02:17.
    The Following User Says Thank You to attila77 For This Useful Post:
    qole

     
    qole | # 29 | 2009-10-27, 06:45 | Report

    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).

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 30 | 2009-10-27, 08:17 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to qwerty12 For This Useful Post:
    lma

     
    Page 3 of 4 | Prev |   1     2   3   4   | Next
vBulletin® Version 3.8.8
Normal Logout