Re: 4GB SanDisk microSD && FAT32 file system

2012-04-12 Thread Matthias Apitz
El día Wednesday, April 11, 2012 a las 09:55:57AM +0300, Timo Juhani Lindfors 
escribió:

> Matthias Apitz  writes:
> > I have had to change 'cut --bytes=3-6 ...' by 'cut -b3-6 ...' and run
> > your script for a 512 MB (which seems to work) and a 4 GB SanDisk;
> > the output is:
> 
> Ok. I added this to
> 
> http://lindi.iki.fi/lindi/openmoko/sd_cards.txt
> 
> as you can see nobody else has reported that particular SD card as
> working :(
> 
> Anyways, you might want to try 2.6.34 kernel. That 2.6.29 is rather old.

I have bought in Amazon a Transcend TS4GUSDHC10 card which is in the
list of the supported cards in our Wiki; it seems to work fine;
I scp'ed ~45.000 OSM tiles to the FR and they are md5 indentically with
their origin;

the dates for your list are below

Thanks

matthias

Hardware revision: 24420350
NOR bootloader: U-Boot 1.3.2-moko12 (May  9 2008 - 10:28:48)
NAND bootloader: Qi Bootloader s3c2442  buildhost 
1.0.2+gitr3b8513d8b3d9615ebda605de4bda18371aa3f359 
Linux version: Linux version 2.6.29-rc3 (shr@opmbuild) (gcc version 4.4.4 (GCC) 
) #1 PREEMPT Fri May 28 00:17:27 CEST 2010
Linux cmdline: loglevel=4 console=tty0 console=ttySAC2,115200 init=/sbin/init 
ro  
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(qi),0x0004(depr-ub-env),0x0080(kernel),0x000a(depr),0x0004(identity-ext2),0x0f6a(rootfs)
  g_ether.host_addr=00:1F:11:01:14:64 g_ether.dev_addr=00:1F:11:01:14:64  
rootfstype=jffs2 root=/dev/mtdblock6 
MMC size: [21474538.215000] mmcblk0: mmc0:b368 USD   3.75 GiB 
MMC date: 01/2012
MMC fwrev: 0x0
MMC hwrev: 0x1
MMC manfid: 0x74
MMC name: USD  
MMC oemid: 0x4a45
first 2 bytes of MMC serial number: 4c70
MMC sequential read of 64M: 27 s

-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 4GB SanDisk microSD && FAT32 file system

2012-04-10 Thread Timo Juhani Lindfors
Matthias Apitz  writes:
> I have had to change 'cut --bytes=3-6 ...' by 'cut -b3-6 ...' and run
> your script for a 512 MB (which seems to work) and a 4 GB SanDisk;
> the output is:

Ok. I added this to

http://lindi.iki.fi/lindi/openmoko/sd_cards.txt

as you can see nobody else has reported that particular SD card as
working :(

Anyways, you might want to try 2.6.34 kernel. That 2.6.29 is rather old.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 4GB SanDisk microSD && FAT32 file system

2012-04-06 Thread Matthias Apitz
El día Friday, April 06, 2012 a las 10:36:26PM +0300, Timo Juhani Lindfors 
escribió:

> Matthias Apitz  writes:
> > And now?
> 
> Can you run
> 
> 
> http://lindi.iki.fi/lindi/openmoko/collect_sd_card_information.sh
> 
> 
> and paste the output?

Hi Timo,

I have had to change 'cut --bytes=3-6 ...' by 'cut -b3-6 ...' and run
your script for a 512 MB (which seems to work) and a 4 GB SanDisk;
the output is:

512MB:

Hardware revision: 24420350
NOR bootloader: U-Boot 1.3.2-moko12 (May  9 2008 - 10:28:48)
NAND bootloader: Qi Bootloader s3c2442  buildhost 
1.0.2+gitr3b8513d8b3d9615ebda605de4bda18371aa3f359 
Linux version: Linux version 2.6.29-rc3 (shr@opmbuild) (gcc version 4.4.4 (GCC) 
) #1 PREEMPT Fri May 28 00:17:27 CEST 2010
Linux cmdline: loglevel=4 console=tty0 console=ttySAC2,115200 init=/sbin/init 
ro  
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(qi),0x0004(depr-ub-env),0x0080(kernel),0x000a(depr),0x0004(identity-ext2),0x0f6a(rootfs)
  g_ether.host_addr=00:1F:11:01:14:64 g_ether.dev_addr=00:1F:11:01:14:64  
rootfstype=jffs2 root=/dev/mtdblock6 
MMC size: [21474538.215000] mmcblk0: mmc0:e624 SU512 483 MiB 
MMC date: 08/2007
MMC fwrev: 0x0
MMC hwrev: 0x8
MMC manfid: 0x03
MMC name: SU512
MMC oemid: 0x5344
first 2 bytes of MMC serial number: 10c1
MMC sequential read of 64M: 27 s

4GB:

Hardware revision: 24420350
NOR bootloader: U-Boot 1.3.2-moko12 (May  9 2008 - 10:28:48)
NAND bootloader: Qi Bootloader s3c2442  buildhost 
1.0.2+gitr3b8513d8b3d9615ebda605de4bda18371aa3f359 
Linux version: Linux version 2.6.29-rc3 (shr@opmbuild) (gcc version 4.4.4 (GCC) 
) #1 PREEMPT Fri May 28 00:17:27 CEST 2010
Linux cmdline: loglevel=4 console=tty0 console=ttySAC2,115200 init=/sbin/init 
ro  
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(qi),0x0004(depr-ub-env),0x0080(kernel),0x000a(depr),0x0004(identity-ext2),0x0f6a(rootfs)
  g_ether.host_addr=00:1F:11:01:14:64 g_ether.dev_addr=00:1F:11:01:14:64  
rootfstype=jffs2 root=/dev/mtdblock6 
MMC size: [21474538.215000] mmcblk0: mmc0:e624 SU04G 3.69 GiB 
MMC date: 09/2010
MMC fwrev: 0x0
MMC hwrev: 0x8
MMC manfid: 0x03
MMC name: SU04G
MMC oemid: 0x5344
first 2 bytes of MMC serial number: 6076
MMC sequential read of 64M: 29 s

Thanks and HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: 4GB SanDisk microSD && FAT32 file system

2012-04-06 Thread Timo Juhani Lindfors
Matthias Apitz  writes:
> And now?

Can you run


http://lindi.iki.fi/lindi/openmoko/collect_sd_card_information.sh


and paste the output?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


4GB SanDisk microSD && FAT32 file system

2012-04-06 Thread Matthias Apitz

Hello,

After my bad experience with the ext3, I took another 4GB microSD
(SanDisk) and used a FAT32 file system.

The FAT32 was created on some FreeBSD laptop and I copied a tree of
48444 OpenStreetMap tiles on it. I verified the tree 3 times with 

$ find . -type f -exec md5 {} \; > md5sums

and compared the resulting output of 'md5sums', two times on the laptop
where the SD was created and once more on another laptop; the files have
been identically and fine on the SD.

Then I took the SD into a FR where the /etc/fstab was prepared to mount
it read-only. Here is what is shows:

root@om-gta02 /media/card/osm # mount | fgrep card
/dev/mmcblk0p1 on /media/card type vfat 
(ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
root@om-gta02 /media/card/osm # df -kh /media/card
FilesystemSize  Used Available Use% Mounted on
/dev/mmcblk0p13.7G  1.5G  2.2G  41% /media/card
root@om-gta02 /media/card/osm # find . -type f | wc -l
48407
root@om-gta02 /media/card/osm # find . -type f | wc -l
find: ./13/4378: Input/output error
find: ./13/4379: Input/output error
find: ./13/4380: Input/output error
find: ./13/2190: Input/output error
find: ./13/4095: Input/output error
find: ./13/4264: Input/output error
find: ./13/4268: Input/output error
find: ./10/543: Input/output error
find: ./10/541: Input/output error
find: ./10/281: Input/output error
find: ./10/489: Input/output error
48126

i.e. the first find(1) sees only 48407 file names, the second even less;

dmesg(1) shows lines like this:

[21629.815000] FAT: Filesystem panic (dev mmcblk0p1)  
[21629.815000] fat_get_cluster: invalid cluster chain (i_pos 0)  

Then I mounted the SD back in the laptop to check it there again and
there are now as well only 48126 files and theses file are md5 identically
with its origin.

And now?

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community