guardianproject/lildebi — Issue #11: lilDebi install fails - NookColor CM7.1
Author: mailman1175
Created: 2012-02-08 15:24:12+00:00
State: open

Nook Color
Mod version: CyanogenMod-7.1.0-encore
Kernel: 2.6.32.9 erik@myhost #151
Build number GWK74

Below is some data that I hope will be helpful. First, is the device filesystem compatible?

# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev cgroup
nodev tmpfs
nodev binfmt_misc
nodev debugfs
nodev sockfs
nodev usbfs
nodev pipefs
nodev anon_inodefs
nodev inotifyfs
nodev devpts
ext3
ext2
ext4
nodev ramfs
vfat
msdos
nodev cifs
nodev oprofilefs

Next, is wget broken?

# wget http://google.com -O /dev/null; if [ $? -gt 0 ]; then echo "broken"; else echo "okay"; fi
Connecting to google.com (74.125.227.51:80)
Connecting to www.google.com (74.125.227.51:80)
null 100% |*******************************| 12198 0:00:00 ETA
okay

So we know the device supports ext2 and that wget is working as expected.

Now, when I run lilDebi, it fails. Below is the logcat from ddms:

02-08 08:20:30.437: I/LilDebi(25251): cd /data/data/info.guardianproject.lildebi/app_bin
02-08 08:20:30.437: I/LilDebi(25251): ./start-debian.sh /data/data/info.guardianproject.lildebi/app_bin /mnt/sdcard /mnt/sdcard/debian.img /data/debian && chroot /data/debian /bin/bash -c "/etc/init.d/ssh start"
02-08 08:20:30.700: E/su(25579): sudb - Opening database
02-08 08:20:30.700: E/su(25579): sudb - Database opened
02-08 08:20:30.702: E/su(25579): sudb - Database closed
02-08 08:20:30.708: D/su(25579): 10151 info.guardianproject.lildebi executing 0 /system/bin/sh using shell /system /bin/sh : sh
02-08 08:20:31.618: I/LilDebi(25251): Done!

I haven't been able to figure out (yet) how to access the output from lilDebi in a way that allows me to copy/paste it in full here. ./app_log is empty after running the app. Here's a ![screencap][https://picasaweb.google.com/lh/photo/VIY1CFHuGzEHezP3IfoTPJ1Pzeh8EJQl3qDslPEytxI?feat=directlink]

![lilDebi-screencap-NookColor][https://picasaweb.google.com/lh/photo/VIY1CFHuGzEHezP3IfoTPJ1Pzeh8EJQl3qDslPEytxI?feat=directlink]

Just to see if there's anything mounted at /data/debian, per @eighthave

# mount
mount
mount: not found

but if I:

# busybox mount
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
/dev/block/mmcblk0p2 on /rom type vfat (rw,noatime,nodiratime,uid=1000,gid=1000,fmask=0117,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/mmcblk1p2 on /system type ext4 (ro,relatime,barrier=1,data=ordered)
/dev/block/mmcblk1p3 on /data type ext4 (rw,nosuid,nodev,noatime,barrier=1,data=ordered,noauto_da_alloc)
/dev/block/mmcblk0p7 on /cache type ext4 (rw,nosuid,nodev,noatime,barrier=1,data=ordered)
/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)
** etc **

There is a *lot* more output from that command, but nothing shows as mounted on /data/debian.

If there's any other testing I can do, lmk.