Here's my ./emsecondstage log. My rootfs is actually the .crossd package that I built and ./emsecondstaged. It had an error because the video group didn't exist and I didn't bother adding the group and trying again, I just wrote that to NAND and am using it to try and get the .gpe package built in an SD Card.
I added several devices before copying to SD card: fb0, mmcblks, mtdblocks and console. I also added the video and sudo groups. The ./emsecondstage fails to complete properly and I'm looking for pointers about what I've missed or, if its not my fault, letting you guys know there's a problem ;) /mnt # mount -t ext3 /dev/mmcblock0p1 /mnt/sd kjournald starting. Commit interval 5 seconds EXT3 FS on mmcblk0p1, internal journal EXT3-fs: mounted filesystem with ordered data mode. /mnt # cd /mnt/sd /mnt/sd # ls 0x97BB3B58.txt dev linuxrc sbin bin emsecondstage lost+found sys boot etc mnt tmp datestring home proc usr debootstrap lib root var /mnt/sd # echo $PATH /usr/sbin:/bin:/usr/bin:/sbin:/usr/local/sbin:/usr/sbin /mnt/sd # echo $TZ America/Vancouver /mnt/sd # ./emsecondstage Setting approximate time of 102404272007 Wed Oct 24 04:27:00 PDT 2007 Running ldconfig in /mnt/sd ... Configuring cdebconf Unknown localized field: Choices-fr: slushdot, spoiledmeat, leenoox dawt cawm, leenox tuday, leenox dwat org, lewn Unknown localized field: Description-fr: This is my demo progress bar title in French (yeah, right) Unknown localized field: Description-fr: We like progress in French Unknown localized field: Description-fr: This is my demo title in French (yeah, right) Unknown localized field: Description-fr: This is my demo info in French (yeah, right) Configuring ... Setting up gpe-othello (0.2-3em1) ... Setting up gpe-question (0.04-3em1) ... Setting up mktemp (1.5-5em2) ... Setting up libxdmcp6 (1:1.0.2-2em1) ... Setting up esound-common (0.2.36-3em1) ... Setting up libqofexpensesobjects0 (0.1.4-1em1) ... Setting up libfreetype6 (2.3.5-1em1) ... Setting up debianutils (2.28.2em1) ... Setting up makedev (2.3.1-84em1) ... Setting up libxml2 (2.6.30.dfsg-3em1) ... Setting up gpgv (1.4.6-2em1) ... Setting up libdbus-1-3 (1.1.2-1em1) ... Setting up libmimedir-gnome0.4 (0.4.2-1em1) ... Setting up module-init-tools (3.3-pre11-4em1) ... Configuration for arm not found, trying arm.generic Architecture-specific config file not found Setting up libcairo2 (1.4.10-1em1) ... Setting up libgcrypt11 (1.2.4-2em1) ... Setting up libxinerama1 (1:1.0.2-1em1) ... Setting up libuuid1 (1.40.2-1em1) ... Setting up libtasn1-3 (0.3.10-1em1) ... Setting up lsb-base (3.1-24em1) ... Setting up libjpeg62 (6b-14em1) ... Setting up libqof-backend-sqlite0 (0.7.3-1em1) ... Setting up gpe-contacts (0.47-1em1) ... Setting up libpopt0 (1.10-3em1) ... Setting up libgpepimc0 (0.9-1em1) ... Setting up libgpg-error0 (1.4-2em1) ... Setting up libxsettings-client0 (0.17-2em1) ... Setting up gpe-gallery (0.97-3em1) ... Setting up ncurses-bin (5.6+20071103-1em1) ... Setting up sysv-rc (2.86.ds1-38.1em1) ... Setting up libmatchbox1 (1.9-1em1) ... Setting up apt (0.7.11em2) ... Setting up rxvt (1:2.6.4-12em1) ... Setting up libcontactsdb0 (0.5-3em1) ... Setting up libdbus-glib-1-2 (0.74-1em1) ... Setting up libhandoff0 (0.1-3em1) ... Setting up whiptail (0.52.2-11.1em1) ... Setting up libsepol1 (2.0.3-1em1) ... Setting up tzdata (2007k-1em1) ... User defined timezone, leaving /etc/localtime unchanged. date: invalid date `Wed Oct 24 11:28:25 UTC 2007' Setting up libfontconfig1 (2.4.91-1em3) ... Setting up libglade2-0 (1:2.6.2-1em1) ... Setting up libxext6 (1:1.0.3-2em1) ... Setting up liblzo2-2 (2.02-3em1) ... Setting up libxrender1 (1:0.9.4-1em1) ... Setting up ttf-bitstream-vera (1.10-7em2) ... Setting up dbus (1.1.2-1em1) ... /usr/sbin/invoke-rc.d: /usr/sbin/invoke-rc.d: 274: /sbin/runlevel: not found Starting system message bus: dbusstart-stop-daemon: unknown user name: messagebus invoke-rc.d: initscript dbus, action "start" failed. dpkg: error processing dbus (--configure): subprocess post-installation script returned error exit status 1 Setting up libthai0 (0.1.9-2em1) ... Setting up libgtk2.0-0 (2.12.3-2em1) ... Removing generated module files coming from the previous Gtk binary version... Setting up libthai-data (0.1.9-2em1) ... Setting up libxpm4 (1:3.5.7-1em1) ... Setting up libgpeschedule0 (0.17-2em1) ... Setting up zlib1g (1:1.2.3.3.dfsg-8em1) ... Setting up gpe-lights (0.13-3em1) ... Setting up gpe-todo (0.56-2em1) ... Setting up libxrandr2 (2:1.2.2-1em1) ... Setting up gpe-edit (0.25-1.1em1) ... Setting up libdisplaymigration0 (0.28-7em1) ... Setting up libgcc1 (1:4.2.2-3em1) ... Setting up libxcomposite1 (1:0.3.2-1em1) ... Setting up libgpewidget1 (0.115-3em1) ... Setting up debconf-shell (1.5.17em1) ... Unknown localized field: Choices-fr: slushdot, spoiledmeat, leenoox dawt cawm, leenox tuday, leenox dwat org, lewn Unknown localized field: Description-fr: This is my demo progress bar title in French (yeah, right) Unknown localized field: Description-fr: We like progress in French Unknown localized field: Description-fr: This is my demo title in French (yeah, right) Unknown localized field: Description-fr: This is my demo info in French (yeah, right) Setting up base-files (4.0.2em1) ... Setting up libreadline5 (5.2-3em3) ... Setting up libncurses5 (5.6+20071103-1em1) ... Setting up matchbox-panel (0.9.3-2em1) ... Setting up libtododb0 (0.11-1em1) ... Setting up matchbox-desktop (0.9.1-4em1) ... Setting up libexpat1 (1.95.8-4em1) ... Setting up gpe-go (0.05-3em1) ... Setting up libpango1.0-0 (1.18.3-1em2) ... Setting up libxi6 (2:1.1.3-1em1) ... Setting up xinit (1.0.7-1em1) ... Setting up sed (4.1.5-5em1) ... Setting up libgtk2.0-common (2.12.3-2em1) ... Setting up gpe-calendar (0.91-2em2) ... Setting up libtiff4 (3.8.2-7em1) ... Setting up libaudiofile0 (0.2.6-7em1) ... Setting up libfakekey0 (0.1-1em1) ... Setting up base-passwd (3.5.17em2) ... update-passwd has found some differences between your system accounts and the current Debian defaults. It is advisable to allow update-passwd to change your system; without those changes some packages might not work correctly. For more documentation on the Debian account policies please see /usr/share/doc/base-passwd/README. The list of proposed changes is: Adding group "dialout" (20) Adding group "fax" (21) Adding group "voice" (22) Adding group "cdrom" (24) Adding group "floppy" (25) Adding group "tape" (26) Adding group "dip" (30) Adding group "www-data" (33) Adding group "backup" (34) Adding group "operator" (37) Adding group "list" (38) Adding group "irc" (39) Adding group "src" (40) Adding group "gnats" (41) Adding group "shadow" (42) Adding group "sasl" (45) Adding group "plugdev" (46) Adding group "staff" (50) Adding group "games" (60) Adding group "users" (100) Adding group "nogroup" (65534) Adding user "man" (6) Adding user "lp" (7) Adding user "uucp" (10) Adding user "proxy" (13) Adding user "www-data" (33) Adding user "backup" (34) Adding user "list" (38) Adding user "irc" (39) Adding user "gnats" (41) Would commit 30 changes It is highly recommended that you allow update-passwd to make these changes (a backup file of modified files is made with the extension .org so you can always restore the current settings). Okay, I am going to make the necessary updates now Adding group "dialout" (20) Adding group "fax" (21) Adding group "voice" (22) Adding group "cdrom" (24) Adding group "floppy" (25) Adding group "tape" (26) Adding group "dip" (30) Adding group "www-data" (33) Adding group "backup" (34) Adding group "operator" (37) Adding group "list" (38) Adding group "irc" (39) Adding group "src" (40) Adding group "gnats" (41) Adding group "shadow" (42) Adding group "sasl" (45) Adding group "plugdev" (46) Adding group "staff" (50) Adding group "games" (60) Adding group "users" (100) Adding group "nogroup" (65534) Adding user "man" (6) Adding user "lp" (7) Adding user "uucp" (10) Adding user "proxy" (13) Adding user "www-data" (33) Adding user "backup" (34) Adding user "list" (38) Adding user "irc" (39) Adding user "gnats" (41) 30 changes have been made, rewriting files Writing passwd-file to /etc/passwd Writing group-file to /etc/group Setting up libsqlite0 (2.8.17-4em1) ... Setting up libcomerr2 (1.40.2-1em1) ... Setting up gnupg (1.4.6-2em1) ... Setting up libnewt0.52 (0.52.2-11.1em1) ... Setting up x11-common (1:7.3+6em1) ... fgrep: invalid option -- x BusyBox v1.1.3 (Debian 1:1.1.3-5em3) multi-call binary No help available. /var/lib/dpkg/info/x11-common.postinst: /var/lib/dpkg/info/x11-common.postinst: 924: cannot create /var/lib/x11/Xwrapper.config.roster: Directory nonexistent dpkg: error processing x11-common (--configure): subprocess post-installation script returned error exit status 2 Setting up libxfixes3 (1:4.0.3-2em1) ... Setting up libgpelaunch0 (0.14-3em1) ... Setting up libdebian-installer4 (0.53em1) ... Setting up libxdamage1 (1:1.1.1-3em1) ... Setting up libstartup-notification0 (0.9-1em1) ... Setting up libslang2 (2.0.7-5em1) ... Setting up libdatrie0 (0.1.2-2em1) ... Setting up libavahi-common-data (0.6.21-4em1) ... Setting up libxft2 (2.1.12-2em1) ... Setting up gpe-timesheet (0.32-2em1) ... Setting up libx11-6 (2:1.0.3-7em1) ... fgrep: invalid option -- x BusyBox v1.1.3 (Debian 1:1.1.3-5em3) multi-call binary No help available. Setting up matchbox-keyboard (0.1-1em1) ... Setting up libsoup2.2-8 (2.2.104-1em1) ... Setting up libqof1 (0.7.3-1em1) ... Setting up gpe-expenses (0.1.4-1em1) ... Setting up libatk1.0-0 (1.20.0-1em1) ... Setting up libsoundgen0 (0.6-2em1) ... Setting up libavahi-common3 (0.6.21-4em1) ... Setting up gpe-taskmanager (0.20-4em1) ... Setting up debian-archive-keyring (2007.07.31em1) ... gpg: key 2D230C5F: "Debian Archive Automatic Signing Key (2006) <[EMAIL PROTECTED]>" not changed gpg: /etc/apt/trustdb.gpg: trustdb created gpg: key 6070D3A1: public key "Debian Archive Automatic Signing Key (4.0/etch) <[EMAIL PROTECTED]>" imported gpg: key ADB11277: public key "Etch Stable Release Key <[EMAIL PROTECTED]>" imported gpg: key BBE55AB3: public key "Debian-Volatile Archive Automatic Signing Key (4.0/etch)" imported gpg: key 97BB3B58: public key "Emdebian Archive Signing Key" imported gpg: Total number processed: 5 gpg: imported: 4 gpg: unchanged: 1 gpg: no ultimately trusted keys found Setting up galculator (1.3.1-2em1) ... Setting up dpkg (1.14.7em1) ... Setting up libpcre3 (7.3-2em1) ... Setting up gpe-icons (0.20-1.1em1) ... Setting up libeventdb2 (0.90-1em1) ... Setting up libgpevtype1 (0.50-3em1) ... Setting up matchbox-window-manager (1.2-1em1) ... Setting up libavahi-client3 (0.6.21-4em1) ... Setting up matchbox-common (0.9.1-3em1) ... Setting up libvolume-id0 (0.114-2em1) ... Setting up sysvinit-utils (2.86.ds1-38.1em1) ... Setting up fontconfig-config (2.4.91-1em3) ... dpkg: error processing fontconfig-config (--configure): subprocess post-installation script returned error exit status 10 Setting up libxtst6 (2:1.0.3-1em1) ... Setting up libice6 (2:1.0.4-1em1) ... Setting up libesd0 (0.2.36-3em1) ... Setting up libcupsys2 (1.3.5-1em1) ... Setting up libx11-data (2:1.0.3-7em1) ... Setting up libselinux1 (2.0.15-2em1) ... Setting up cdebconf (0.125em2) ... Setting up matchbox (1:3em1) ... Setting up libc6 (2.7-4em1) ... /usr/sbin/invoke-rc.d: /usr/sbin/invoke-rc.d: 274: /sbin/runlevel: not found /var/lib/dpkg/info/libc6.postinst: /var/lib/dpkg/info/libc6.postinst: 387: stat: not found BusyBox v1.1.3 (Debian 1:1.1.3-5em3) multi-call binary Usage: init Init is the parent of all processes. Setting up libsm6 (2:1.0.3-1em1) ... Setting up xdemineur (2.1.1-11em1) ... Setting up libpng12-0 (1.2.15~beta5-3em1) ... Setting up udev (0.114-2em1) ... /sys/class/net/ is not available, persistent interface names not saved. /var/lib/dpkg/info/udev.postinst: /var/lib/dpkg/info/udev.postinst: 236: stat: not found udev requires a mounted sysfs, not started. Setting up iptables (1.3.8.0debian1-1em1) ... Setting up util-linux (2.13-12em1) ... Setting up libkrb53 (1.6.dfsg.3~beta1-2em1) ... Setting up libxcursor1 (1:1.1.9-1em1) ... Setting up libopencdk10 (0.6.5-1em1) ... Setting up libstdc++6 (4.2.2-3em1) ... Setting up busybox (1:1.1.3-5em3) ... //bin/addgroup -> busybox //bin/adduser -> busybox //bin/ash -> busybox //bin/cat -> busybox //bin/chgrp -> busybox //bin/chmod -> busybox //bin/chown -> busybox //bin/cp -> busybox //bin/cpio -> busybox //bin/date -> busybox //bin/dd -> busybox //bin/delgroup -> busybox //bin/deluser -> busybox //bin/df -> busybox //bin/dmesg -> busybox //bin/dumpkmap -> busybox //bin/echo -> busybox //bin/egrep -> busybox //bin/false -> busybox //bin/fgrep -> busybox //bin/getopt -> busybox //bin/grep -> busybox //bin/gunzip -> busybox //bin/gzip -> busybox //bin/hostname -> busybox //bin/ip -> busybox //bin/ipaddr -> busybox //bin/iplink -> busybox //bin/iproute -> busybox //bin/iptunnel -> busybox //bin/kill -> busybox //bin/ln -> busybox //bin/login -> busybox //bin/ls -> busybox //bin/mkdir -> busybox //bin/mknod -> busybox //bin/mktemp -> busybox //bin/more -> busybox //bin/mount -> busybox //bin/mt -> busybox //bin/mv -> busybox //bin/netstat -> busybox //bin/nice -> busybox //bin/pidof -> busybox //bin/ping -> busybox //bin/ping6 -> busybox //bin/ps -> busybox //bin/pwd -> busybox //bin/rm -> busybox //bin/rmdir -> busybox //bin/rpm -> busybox //bin/run-parts -> busybox //bin/sed -> busybox //bin/sh -> busybox //bin/sleep -> busybox //bin/stty -> busybox //bin/su -> busybox //bin/sync -> busybox //bin/tar -> busybox //bin/touch -> busybox //bin/true -> busybox //bin/umount -> busybox //bin/uname -> busybox //bin/uncompress -> busybox //bin/usleep -> busybox //bin/vi -> busybox //bin/watch -> busybox //bin/zcat -> busybox //linuxrc -> bin/busybox //sbin/adjtimex -> ../bin/busybox //sbin/getty -> ../bin/busybox //sbin/halt -> ../bin/busybox //sbin/hwclock -> ../bin/busybox //sbin/ifconfig -> ../bin/busybox //sbin/ifdown -> ../bin/busybox //sbin/ifup -> ../bin/busybox //sbin/init -> ../bin/busybox //sbin/insmod -> ../bin/busybox //sbin/klogd -> ../bin/busybox //sbin/loadkmap -> ../bin/busybox //sbin/logread -> ../bin/busybox //sbin/losetup -> ../bin/busybox //sbin/lsmod -> ../bin/busybox //sbin/modprobe -> ../bin/busybox //sbin/nameif -> ../bin/busybox //sbin/poweroff -> ../bin/busybox //sbin/reboot -> ../bin/busybox //sbin/rmmod -> ../bin/busybox //sbin/route -> ../bin/busybox //sbin/start-stop-daemon -> ../bin/busybox //sbin/sulogin -> ../bin/busybox //sbin/swapoff -> ../bin/busybox //sbin/swapon -> ../bin/busybox //sbin/switch_root -> ../bin/busybox //sbin/syslogd -> ../bin/busybox //sbin/udhcpc -> ../bin/busybox //usr/bin/[ -> ../../bin/busybox //usr/bin/[[ -> ../../bin/busybox //usr/bin/ar -> ../../bin/busybox //usr/bin/arping -> ../../bin/busybox //usr/bin/awk -> ../../bin/busybox //usr/bin/basename -> ../../bin/busybox //usr/bin/bunzip2 -> ../../bin/busybox //usr/bin/bzcat -> ../../bin/busybox //usr/bin/cal -> ../../bin/busybox //usr/bin/chvt -> ../../bin/busybox //usr/bin/clear -> ../../bin/busybox //usr/bin/cmp -> ../../bin/busybox //usr/bin/cut -> ../../bin/busybox //usr/bin/dc -> ../../bin/busybox //usr/bin/deallocvt -> ../../bin/busybox //usr/bin/dirname -> ../../bin/busybox //usr/bin/dos2unix -> ../../bin/busybox //usr/bin/du -> ../../bin/busybox //usr/bin/dumpleases -> ../../bin/busybox //usr/bin/env -> ../../bin/busybox //usr/bin/expr -> ../../bin/busybox //usr/bin/find -> ../../bin/busybox //usr/bin/fold -> ../../bin/busybox //usr/bin/free -> ../../bin/busybox //usr/bin/fuser -> ../../bin/busybox //usr/bin/head -> ../../bin/busybox //usr/bin/hexdump -> ../../bin/busybox //usr/bin/hostid -> ../../bin/busybox //usr/bin/id -> ../../bin/busybox //usr/bin/killall -> ../../bin/busybox //usr/bin/last -> ../../bin/busybox //usr/bin/length -> ../../bin/busybox //usr/bin/loadfont -> ../../bin/busybox //usr/bin/logger -> ../../bin/busybox //usr/bin/logname -> ../../bin/busybox //usr/bin/md5sum -> ../../bin/busybox //usr/bin/mkfifo -> ../../bin/busybox //usr/bin/nc -> ../../bin/busybox //usr/bin/nslookup -> ../../bin/busybox //usr/bin/od -> ../../bin/busybox //usr/bin/openvt -> ../../bin/busybox //usr/bin/passwd -> ../../bin/busybox //usr/bin/patch -> ../../bin/busybox //usr/bin/printf -> ../../bin/busybox //usr/bin/readlink -> ../../bin/busybox //usr/bin/realpath -> ../../bin/busybox //usr/bin/renice -> ../../bin/busybox //usr/bin/reset -> ../../bin/busybox //usr/bin/rpm2cpio -> ../../bin/busybox //usr/bin/rx -> ../../bin/busybox //usr/bin/setkeycodes -> ../../bin/busybox //usr/bin/sha1sum -> ../../bin/busybox //usr/bin/sort -> ../../bin/busybox //usr/bin/strings -> ../../bin/busybox //usr/bin/tail -> ../../bin/busybox //usr/bin/tee -> ../../bin/busybox //usr/bin/test -> ../../bin/busybox //usr/bin/tftp -> ../../bin/busybox //usr/bin/time -> ../../bin/busybox //usr/bin/top -> ../../bin/busybox //usr/bin/tr -> ../../bin/busybox //usr/bin/traceroute -> ../../bin/busybox //usr/bin/tty -> ../../bin/busybox //usr/bin/uniq -> ../../bin/busybox //usr/bin/unix2dos -> ../../bin/busybox //usr/bin/unzip -> ../../bin/busybox //usr/bin/uptime -> ../../bin/busybox //usr/bin/uudecode -> ../../bin/busybox //usr/bin/uuencode -> ../../bin/busybox //usr/bin/wc -> ../../bin/busybox //usr/bin/wget -> ../../bin/busybox //usr/bin/which -> ../../bin/busybox //usr/bin/who -> ../../bin/busybox //usr/bin/whoami -> ../../bin/busybox //usr/bin/xargs -> ../../bin/busybox //usr/bin/yes -> ../../bin/busybox //usr/sbin/chroot -> ../../bin/busybox //usr/sbin/fbset -> ../../bin/busybox //usr/sbin/rdate -> ../../bin/busybox //usr/sbin/udhcpd -> ../../bin/busybox Setting up udhcpc (0.9.8cvs20050303-2em1) ... Setting up udhcpd (0.9.8cvs20050303-2em1) ... Setting up libglib2.0-0 (2.14.4-2em1) ... Setting up readline-common (5.2-3em3) ... Setting up matchbox-panel-manager (0.1-3em1) ... Setting up libgnutls13 (2.0.4-1em1) ... Setting up libxau6 (1:1.0.3-2em1) ... Errors were encountered while processing: dbus x11-common fontconfig-config /mnt/sd # -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

