[pkg-fso-maint] [Fwd: Error installing Debian on neo freerunner]

Timo Jyrinki timo.jyrinki at gmail.com
Fri Mar 9 15:36:02 UTC 2012


Hi Rafael,

The partitioning / fdisk problems are documented at
http://wiki.debian.org/DebianOnFreeRunner#Which_distro_to_install_from.3F
- my first guess would be that the partitions are created wrong, and
therefore the space runs out.

Could you either try QtMoko, or if you don't want to reflash your NAND
distro make a SD card partitioning (simply for example one partition
filling the whole SD card) and formatting (mkfs.ext2 /dev/mmcblk0p0)
manually and then run eg. QI=true SINGLE_PART=true ./install.sh mount
debian apt fso configuration tasks kernel cleanup unmount ?

You may find other interesting information on the wiki page as well,
but feel also free to ask more questions on mailing list or IRC.

-Timo

> ---------- Edelleenlähetetty viesti ----------
> From: Rafael Gonzalez <rafaelgonza at gmail.com>
> To: nomeata at debian.org
> Cc:
> Date: Fri, 9 Mar 2012 14:27:52 +0100
> Subject: Error installing Debian on neo freerunner
>
>
> Hello, we are two computer engineering students who are making our final project on the Neo Freerunner. We have over a month trying to install Debian on the device using your script. We have conducted many tests, we bought two microSD cards 100% compatible with the device and we always find the same error, but not always at the same point in the script. We tested with two different devices and in both we find the same error. The following shows the output of the terminal:
>
> root at om-gta02 ~ #  sh install.sh all
> Running all stages
> I: Running all stages with these settings:
> I: hostname set to debian-gta02
> I: microSD card device at /dev/mmcblk0
> I: ext2 as filesystem for the first microSD card partition
> I: installing into '/mnt/debian'
> I: using Debian mirror at http://ftp2.de.debian.org/debian
> I: APT recommends set to false
> I: dash as default /bin/sh set to true
>
> I: Testing system setup
>  * microSD card device: /dev/mmcblk0 present
>  * network running
> I: Testing system setup - done - looks good
> Fetching time from ntp.fu-berlin.de with rdate
> I: Time is now Fri Mar  9 13:09:09 GMT 2012
> I: Partitioning SD
> Starting to partition the microSD card
>
> ***********
> * WARNING *
> ***********
>
> This will destroy all the data on the microSD card!!!
>
> Press any key within 5 seconds to quit
>  * Clearing MBR of SD.
> Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
> Building a new DOS disklabel with disk identifier 0x8575d32c.
> Changes will remain in memory only, until you decide to write them.
> After that, of course, the previous content won't be recoverable.
>
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
> Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
> Building a new DOS disklabel with disk identifier 0x09c26cfb.
> Changes will remain in memory only, until you decide to write them.
> After that, of course, the previous content won't be recoverable.
>
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
>
> Command (m for help): Command action
>    e   extended
>    p   primary partition (1-4)
> Partition number (1-4, default 1): First sector (2048-15556607, default 2048): Using default value 2048
> Last sector, +sectors or +size{K,M,G} (2048-15556607, default 15556607):
> Command (m for help): Selected partition 1
> Hex code (type L to list codes):
> Command (m for help): Command action
>    e   extended
>    p   primary partition (1-4)
> Partition number (1-4, default 2): First sector (18432-15556607, default 18432): Using default value 18432
> Last sector, +sectors or +size{K,M,G} (18432-15556607, default 15556607):
> Command (m for help): Partition number (1-4): Hex code (type L to list codes):
> Command (m for help): The partition table has been altered!
>
> Calling ioctl() to re-read partition table.
> Syncing disks.
> Partitioning was successful.
>  * Waiting for partitions to appear
> I: Partitioning SD - done - Partition table created
> I: Formatting SD
> Starting to format the microSD card
>
> ***********
> * WARNING *
> ***********
>
> This will destroy all the data on the microSD card!!!
>
> Press any key within 5 seconds to quit
>  * Formatting ext2 on /dev/mmcblk0p1
> mke2fs 1.41.9 (22-Aug-2009)
> Filesystem label=
> OS type: Linux
> Block size=1024 (log=0)
> Fragment size=1024 (log=0)
> 2048 inodes, 8192 blocks
> 409 blocks (4.99%) reserved for the super user
> First data block=1
> Maximum filesystem blocks=8388608
> 1 block group
> 8192 blocks per group, 8192 fragments per group
> 2048 inodes per group
>
> Writing inode tables: done
> Writing superblocks and filesystem accounting information: done
>
> This filesystem will be automatically checked every 32 mounts or
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
>  * Formatting ext3 on /dev/mmcblk0p2
> mke2fs 1.41.9 (22-Aug-2009)
> Filesystem label=
> OS type: Linux
> Block size=1024 (log=0)
> Fragment size=1024 (log=0)
> 28112 inodes, 112320 blocks
> 5616 blocks (5.00%) reserved for the super user
> First data block=1
> Maximum filesystem blocks=67371008
> 14 block groups
> 8192 blocks per group, 8192 fragments per group
> 2008 inodes per group
> Superblock backups stored on blocks:
>     8193, 24577, 40961, 57345, 73729
>
> Writing inode tables: done
> Creating journal (4096 blocks): done
> Writing superblocks and filesystem accounting information: done
>
> This filesystem will be automatically checked every 33 mounts or
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
> I: Formatting SD - done - microSD card ready
> I: Mounting the newly created system
> I: Mounting the newly created system - done - microSD card partitions mounted
> I: Install a basic Debian system
> I: /etc/hosts copied from this machine
>  * Downloading bootstrapper package 'cdebootstrap-static_0.5.8+b1_armel.deb'
> Connecting to ftp2.de.debian.org (137.226.34.42:80)
> debootstrapOrCdeboot 100% |**************************************************************************************************************|   663k 00:00:00 ETA
> I: Successfully extracted files from bootstrapper's .deb.
> I: Successfully extracted binaries for bootstapper.
>  * Running 'cdebootstrap' to install the system (might take a while)
> I: Can't find keyring debian-archive-keyring.gpg
> P: Retrieving Release
> P: Retrieving Release.gpg
> W: Couldn't validate Release!
> P: Parsing Release
> P: Retrieving Packages.gz
> P: Validating Packages.gz
> P: Parsing Packages
> P: Retrieving libc-bin
> P: Validating libc-bin
> P: Retrieving gcc-4.6-base
> P: Validating gcc-4.6-base
> P: Retrieving multiarch-support
> P: Validating multiarch-support
> P: Retrieving libgcc1
> P: Validating libgcc1
> P: Retrieving libc6
> P: Validating libc6
> P: Retrieving libbz2-1.0
> P: Validating libbz2-1.0
> P: Retrieving libselinux1
> P: Validating libselinux1
> P: Retrieving zlib1g
> P: Validating zlib1g
> P: Retrieving libattr1
> P: Validating libattr1
> P: Retrieving libacl1
> P: Validating libacl1
> P: Retrieving coreutils
> P: Validating coreutils
> P: Retrieving liblzma5
> P: Validating liblzma5
> P: Retrieving xz-utils
> P: Validating xz-utils
> P: Retrieving dpkg
> P: Validating dpkg
> P: Retrieving readline-common
> P: Validating readline-common
> P: Retrieving libtinfo5
> P: Validating libtinfo5
> P: Retrieving libreadline6
> P: Validating libreadline6
> P: Retrieving libusb-0.1-4
> P: Validating libusb-0.1-4
> P: Retrieving gpgv
> P: Validating gpgv
> P: Retrieving gnupg
> P: Validating gnupg
> P: Retrieving debian-archive-keyring
> P: Validating debian-archive-keyring
> P: Retrieving libstdc++6
> P: Validating libstdc++6
> P: Retrieving apt
> P: Validating apt
> P: Retrieving mawk
> P: Validating mawk
> P: Retrieving base-files
> P: Validating base-files
> P: Retrieving base-passwd
> P: Validating base-passwd
> P: Retrieving sensible-utils
> P: Validating sensible-utils
> P: Retrieving debianutils
> P: Validating debianutils
> P: Retrieving dash
> P: Validating dash
> P: Retrieving bash
> P: Validating bash
> P: Retrieving bsdutils
> P: Validating bsdutils
> P: Retrieving diffutils
> P: Validating diffutils
> P: Retrieving e2fslibs
> P: Validating e2fslibs
> P: Retrieving perl-base
> P: Validating perl-base
> P: Retrieving debconf
> P: Validating debconf
> P: Retrieving libpam0g
> P: Validating libpam0g
> P: Retrieving libsepol1
> P: Validating libsepol1
> P: Retrieving libustr-1.0-1
> P: Validating libustr-1.0-1
> P: Retrieving libsemanage-common
> P: Validating libsemanage-common
> P: Retrieving libsemanage1
> P: Validating libsemanage1
> P: Retrieving libdb5.1
> P: Validating libdb5.1
> P: Retrieving libpam-modules-bin
> P: Validating libpam-modules-bin
> P: Retrieving libpam-modules
> P: Validating libpam-modules
> P: Retrieving passwd
> P: Validating passwd
> P: Retrieving libuuid1
> P: Validating libuuid1
> P: Retrieving libblkid1
> P: Validating libblkid1
> P: Retrieving libcomerr2
> P: Validating libcomerr2
> P: Retrieving libss2
> P: Validating libss2
> P: Retrieving lsb-base
> P: Validating lsb-base
> P: Retrieving tzdata
> P: Validating tzdata
> P: Retrieving ucf
> P: Validating ucf
> P: Retrieving sysvinit-utils
> P: Validating sysvinit-utils
> P: Retrieving insserv
> P: Validating insserv
> P: Retrieving sysv-rc
> P: Validating sysv-rc
> P: Retrieving initscripts
> P: Validating initscripts
> P: Retrieving libncurses5
> P: Validating libncurses5
> P: Retrieving libslang2
> P: Validating libslang2
> P: Retrieving util-linux
> P: Validating util-linux
> P: Retrieving e2fsprogs
> P: Validating e2fsprogs
> P: Retrieving findutils
> P: Validating findutils
> P: Retrieving grep
> P: Validating grep
> P: Retrieving gzip
> P: Validating gzip
> P: Retrieving hostname
> P: Validating hostname
> P: Retrieving libpam-runtime
> P: Validating libpam-runtime
> P: Retrieving login
> P: Validating login
> P: Retrieving libmount1
> P: Validating libmount1
> P: Retrieving mount
> P: Validating mount
> P: Retrieving ncurses-base
> P: Validating ncurses-base
> P: Retrieving ncurses-bin
> P: Validating ncurses-bin
> P: Retrieving sed
> P: Validating sed
> P: Retrieving sysvinit
> P: Validating sysvinit
> P: Retrieving tar
> P: Validating tar
> P: Extracting libc-bin
> P: Extracting gcc-4.6-base
> P: Extracting libc6
> P: Extracting multiarch-support
> P: Extracting libgcc1
> P: Extracting libselinux1
> P: Extracting zlib1g
> P: Extracting libattr1
> P: Extracting libacl1
> P: Extracting libbz2-1.0
> P: Extracting liblzma5
> P: Extracting xz-utils
> P: Extracting dpkg
> P: Extracting coreutils
> P: Extracting libtinfo5
> P: Extracting libstdc++6
> P: Extracting mawk
> P: Extracting base-files
> P: Extracting base-passwd
> P: Extracting sensible-utils
> P: Extracting debianutils
> P: Extracting dash
> P: Extracting bash
> tar: write error: No space left on device
> P: Extracting bsdutils
> tar: write error: No space left on device
> P: Extracting diffutils
> tar: write error: No space left on device
> P: Extracting e2fslibs
> tar: write error: No space left on device
> P: Extracting perl-base
> tar: write error: No space left on device
> P: Extracting debconf
> tar: write error: No space left on device
> P: Extracting libpam0g
> tar: write error: No space left on device
> P: Extracting libsepol1
> tar: write error: No space left on device
> P: Extracting libpam-modules-bin
> tar: write error: No space left on device
> P: Extracting libdb5.1
> tar: write error: No space left on device
> P: Extracting libpam-modules
> tar: write error: No space left on device
> P: Extracting libustr-1.0-1
> tar: write error: No space left on device
> P: Extracting libsemanage-common
> tar: can't make dir ./etc/selinux: No space left on device
> tar: can't create directory './etc/selinux': No space left on device
> tar: can't open './etc/selinux/semanage.conf': No such file or directory
> P: Extracting libsemanage1
> tar: write error: No space left on device
> P: Extracting passwd
> tar: write error: No space left on device
> P: Extracting libuuid1
> tar: can't make dir ./usr/share/doc/libuuid1: No space left on device
> tar: can't create directory './usr/share/doc/libuuid1': No space left on device
> tar: can't open './usr/share/doc/libuuid1/changelog.Debian.gz': No such file or directory
> P: Extracting libblkid1
> tar: can't make dir ./usr/share/doc/libblkid1: No space left on device
> tar: can't create directory './usr/share/doc/libblkid1': No space left on device
> tar: can't open './usr/share/doc/libblkid1/changelog.Debian.gz': No such file or directory
> P: Extracting libcomerr2
> tar: write error: No space left on device
> P: Extracting libss2
> tar: write error: No space left on device
> P: Extracting lsb-base
> tar: can't make dir ./etc/lsb-base: No space left on device
> tar: can't make dir ./usr/share/doc/lsb-base: No space left on device
> tar: can't create directory './usr/share/doc/lsb-base': No space left on device
> tar: can't open './usr/share/doc/lsb-base/README.Debian.gz': No such file or directory
> P: Extracting tzdata
> tar: can't make dir ./usr/share/zoneinfo: No space left on device
> tar: can't create directory './usr/share/zoneinfo': No space left on device
> tar: can't open './usr/share/zoneinfo/Eire': No such file or directory
> P: Extracting sysvinit-utils
> tar: write error: No space left on device
> P: Extracting insserv
> tar: can't make dir ./etc/insserv: No space left on device
> tar: can't create directory './etc/insserv': No space left on device
> tar: can't make dir ./etc/insserv/overrides: No such file or directory
> tar: write error: No space left on device
> P: Extracting sysv-rc
> tar: can't make dir ./var/lib/update-rc.d: No space left on device
> tar: can't make dir ./var/lib/insserv: No space left on device
> tar: write error: No space left on device
> P: Extracting ucf
> tar: write error: No space left on device
> P: Extracting initscripts
> tar: write error: No space left on device
> P: Extracting libncurses5
> tar: can't make dir ./usr/share/doc/libncurses5: No space left on device
> tar: can't create directory './usr/share/doc/libncurses5': No space left on device
> tar: can't open './usr/share/doc/libncurses5/TODO.Debian': No such file or directory
> P: Extracting libslang2
> tar: write error: No space left on device
> P: Extracting util-linux
> tar: can't make dir ./etc/init.d: No space left on device
> tar: can't create directory './etc/init.d': No space left on device
> tar: can't open './etc/init.d/hwclockfirst.sh': No such file or directory
> P: Extracting e2fsprogs
> tar: write error: No space left on device
> P: Extracting findutils
> tar: write error: No space left on device
> P: Extracting grep
> tar: write error: No space left on device
> P: Extracting gzip
> tar: can't make dir ./usr/share/doc/gzip: No space left on device
> tar: can't create directory './usr/share/doc/gzip': No space left on device
> tar: can't open './usr/share/doc/gzip/changelog.Debian.gz': No such file or directory
> P: Extracting hostname
> tar: write error: No space left on device
> P: Extracting libpam-runtime
> tar: write error: No space left on device
> P: Extracting login
> tar: write error: No space left on device
> P: Extracting libmount1
> tar: can't make dir ./usr/share/doc/libmount1: No space left on device
> tar: can't create directory './usr/share/doc/libmount1': No space left on device
> tar: can't open './usr/share/doc/libmount1/changelog.Debian.gz': No such file or directory
> P: Extracting mount
> tar: write error: No space left on device
> P: Extracting ncurses-base
> tar: can't make dir ./lib/terminfo: No space left on device
> tar: can't create directory './lib/terminfo': No space left on device
> tar: can't make dir ./lib/terminfo/d: No such file or directory
> tar: can't create directory './lib/terminfo/': No space left on device
> tar: can't open './lib/terminfo/': Is a directory
> P: Extracting ncurses-bin
> tar: can't make dir ./usr/share/man/man7: No space left on device
> tar: can't create directory './usr/share/man/man7': No space left on device
> tar: can't open './usr/share/man/man7/term.7.gz': No such file or directory
> P: Extracting sed
> tar: write error: No space left on device
> P: Extracting sysvinit
> tar: write error: No space left on device
> P: Extracting tar
> tar: write error: No space left on device
> E: Internal error: install
> root at om-gta02 ~ #
>
> Please need help, we wish we would guide on how to solve this problem. Thank you very much, look forward to your response.
>
> --
> Rafael González Manzano
>
> _______________________________________________
> pkg-fso-maint mailing list
> pkg-fso-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-fso-maint



More information about the pkg-fso-maint mailing list