[guardian-dev] Lil' Debi is ready for the Marketplace!

micah anderson micah at riseup.net
Wed Jul 13 12:00:39 EDT 2011


On Mon, 11 Jul 2011 17:23:19 -0400, Hans-Christoph Steiner <hans at at.or.at> wrote:
> 
> On Jul 11, 2011, at 3:33 PM, micah anderson wrote:
> 
> > On Sun, 10 Jul 2011 22:12:22 -0400, Hans-Christoph Steiner <hans at at.or.at 
> > > wrote:
> >>
> >> On Jul 10, 2011, at 2:04 PM, micah anderson wrote:
> >>
> >>> On Sun, 10 Jul 2011 12:53:04 -0400, Hans-Christoph Steiner <hans at at.or.at
> >>>> wrote:
> >>> Non-text part: multipart/alternative
> >>>>
> >>>> And there is info on installing and using it:
> >>>>
> >>>> https://github.com/guardianproject/lildebi/wiki
> >>>
> >>> Thanks, I installed the latest build and laughed at the icon!
> >>>
> >>> I'm trying an install now on my Cyanogen Mod mytouch - I noticed  
> >>> that
> >>> the first thing it showed was "modprobe: module 'ext2' not found"  
> >>> and
> >>> that https://github.com/guardianproject/lildebi/wiki/Supported-Devices
> >>> says:
> >>>
> >>> T-Mobile myTouch 3G (HTC Magic) 	Android 2.2.1 	ext2, ext3
> >>
> >> The modprobe is there for some phones which don't load it by default.
> >> I suppose it shouldn't show the error if the modprobe is not needed.
> >> It was a quick kludge in one of the sh scripts to get it out to
> >> people.  Then we can see how many phones support ext2 and what they
> >> need to support it.  Unfortunately Android is not very standardized,
> >> including the kernel.
> >>
> >>> It did the dd, mke2fs and then it tried to do a losetup:
> >>>
> >>> losetup:
> >>> mount: mounting /dev/block/loop4 on /data/debian failed: Device or
> >>> resource busy
> >>
> >> It should start and run debootstrap next, you should see it
> >> downloading, validating then installing packages.  If the install
> >> fails, you can download a 600MB squeeze barebones image from the
> >> lildebi github site.
> >
> > It doesn't get to the debootstrap stage, I'm guessing because its not
> > able to do the losetup?
> 
> 
> Here's the script in question:
> https://github.com/guardianproject/lildebi/blob/master/assets/create-debian-setup.sh
> 
> In it you can see:
>      losetup $loopdev $imagefile
>      mount -o loop,noatime,errors=remount-ro $loopdev $mnt || exit
> 
> So yeah, if it can't mount the file loopback, it exits.  Can you try  
> the losetup stuff manually?  Maybe on a different device, like /dev/ 
> loop0.  Maybe the script should get the loopback device from `losetup - 
> f`.

I think the problem is that I dont seem to have the loop module
available (unless it is statically built into the kernel, rather than
available as a dynamically loaded kernel module):

localhost sdcard # lsmod |grep loop
localhost sdcard # modprobe loop
modprobe: module 'loop' not found
localhost sdcard # 
localhost sdcard # losetup `losetup -f` /mnt/sdcard/debian.img
losetup: /dev/loop0: No such file or directory
localhost sdcard # ls -l /dev/loop0
ls: /dev/loop0: No such file or directory
localhost sdcard # ls -l /dev/block/loop0 
brw-------    1 root     root        7,   0 Jul 13 11:38 /dev/block/loop0
localhost sdcard # losetup /dev/block/loop0 /mnt/sdcard/debian.img
losetup: /dev/block/loop0: No such file or directory
localhost sdcard # 
localhost sdcard # uname -a
Linux localhost 2.6.32.17-cyanogenmod-g46ca326 #1 PREEMPT Thu Apr 21 20:36:02 EDT 2011 armv6l GNU/Linux

Current ROM: CyanogenMod-7.0.3-Slide

micah


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mayfirst.org/pipermail/guardian-dev/attachments/20110713/4e8f7e2a/attachment.pgp>


More information about the Guardian-dev mailing list