sam9-l9260 yet again :)

Finally I consider myself a lucky Olimex sam9-l9260 owner :slight_smile:

There are however some… issues… I cant deal with on my own… yet :confused:

It seams I am still a beginner in terms of embedded linux :confused:

First problem i’ve encountered is related to the default debian installed on the board.

sam9-l9260:/# apt-get update
Get:1 http://ftp.uk.debian.org etch Release.gpg [386B]
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://ftp.uk.debian.org etch Release
Hit http://security.debian.org etch/updates Release
Err http://ftp.uk.debian.org etch Release

Get:3 http://ftp.uk.debian.org etch Release [58.2kB]
Err http://security.debian.org etch/updates Release

Get:4 http://security.debian.org etch/updates Release [37.6kB]
Ign http://ftp.uk.debian.org etch Release
Ign http://security.debian.org etch/updates Release
Get:5 http://security.debian.org etch/updates/main Packages [275kB]
Err http://security.debian.org etch/updates/main Packages
  Sub-process bzip2 returned an error code (100)
Get:6 http://security.debian.org etch/updates/main Sources [47.8kB]
Err http://security.debian.org etch/updates/main Sources
  Sub-process bzip2 returned an error code (100)
Get:7 http://ftp.uk.debian.org etch/main Packages [4155kB]
Err http://ftp.uk.debian.org etch/main Packages
  Sub-process bzip2 returned an error code (100)
Get:8 http://ftp.uk.debian.org etch/main Sources [1217kB]
Err http://ftp.uk.debian.org etch/main Sources
  Sub-process bzip2 returned an error code (100)
Fetched 96.4kB in 5s (16.5kB/s)
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/main/binary-arm/Packages.bz2  Sub-process bzip2 returned an error code (100)
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/main/source/Sources.bz2  Sub-process bzip2 returned an error code (100)
Failed to fetch http://security.debian.org/dists/etch/updates/main/binary-arm/Packages.bz2  Sub-process bzip2 returned an error code (100)
Failed to fetch http://security.debian.org/dists/etch/updates/main/source/Sources.bz2  Sub-process bzip2 returned an error code (100)
Reading package lists... Error!
E: Couldn't make mmap of 12582912 bytes - mmap (22 Invalid argument)
W: Unable to munmap
E: The package lists or status file could not be parsed or opened.

I have no idea how to deal with it :frowning:

i red the but info at https://bugs.launchpad.net/debian/+sour … +bug/24626

but editing /etc/apt/apt.conf.d/30cache doesn’t help at all :confused:

Second problem is with my 2 GB SD card … I am trying to install gentoo on it…

i fount stage3 package for arm, unpacked it on the card. when I tried to emerge some stuff, it came shouting that there is no space left on the device 0_0

sam9-l9260:/karta# fdisk -l

Disk /dev/mmcblk0: 1981 MB, 1981808640 bytes
64 heads, 63 sectors/track, 960 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *           1         823     1659136+  83  Linux
/dev/mmcblk0p2             824         960      276192   82  Linux swap / Solaris
sam9-l9260:/karta# ls
bin   dev  home  lost+found  opt   root  stage3-arm-2008.0.tar.bz2  tmp  var
boot  etc  lib   mnt         proc  sbin  sys                        usr
sam9-l9260:/karta# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mtdblock1        508M  104M  405M  21% /
tmpfs                  30M     0   30M   0% /lib/init/rw
udev                   10M   20K   10M   1% /dev
tmpfs                  30M     0   30M   0% /dev/shm
/dev/mmcblk0p1        1.6G  905M  610M  60% /karta
sam9-l9260:/karta# touch dupa.txt
touch: cannot touch `dupa.txt': No space left on device

Any help will be appreciated :smiley:

Merry Christmas and Happy New Year Everyone !!! :smiley:

problem 2 solved,

number if ‘inds’ for my ext3 file system was too small.

sam9-l9260:~#df -hi /mnt/floppy

 
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sdc1               102K    102K       0  100% /mnt/floppy

creating filesystem with ‘mkfs.ext3 -i 2048’ solved the problem :slight_smile: