View Single Post
Posts: 5 | Thanked: 0 times | Joined on Jan 2007
#43
Originally Posted by fanoush View Post
Can be issue with USB mass storage implementation in N800 (remember they support only 2GB officially) or with specific format (FAT16/32, specific cluster size), try to reformat the card either in N800 or on PC. Or try the copy via ssh/scp.

Also check kernel log when the card is inserted via 'dmesg' in osso-xterm if 4G size is reported and also if there are any errors when the copy fails. It is very unlikely this is specific to card maker unless there are I/O errors reported in kernel log.
After having bought two Transcend 4GB SD cards (TS4GSDC) and having a lot of problems with data disappearing from my Nokia N800 (Mostly on the internal SD card on which the SWAP fs resides) I did some digging and followed your advice on the dmesg logs.


Nokia N800 Full Boot:
BusyBox v1.1.3 (Debian 3:1.1.3-3.osso17) Built-in shell (ash)

Enter 'help' for a list of built-in commands.

/ $ dmesg

1: cover is now closed
[ 3.557281] menelaus: Setting voltage 'VMEM' to 1500 mV (reg 0x0a, va l 0x78)
[ 3.589202] menelaus: Setting voltage 'VIO' to 2500 mV (reg 0x0a, val 0x78)
[ 3.722229] mmcblk0: mmc0:b368 SDC 3921920KiB
[ 3.722534] mmcblk0: p1
[ 3.725280] menelaus: Setting voltage 'VDCDC3' to 3300 mV (reg 0x07, val 0x39)
[ 3.730743] tcm825x_find_size(): size 3
[ 3.730773] tcm825xsensor_try_format(): isize = 3 num_capture = 2
[ 3.730804] tcm825xsensor_try_format(): format = 0x50424752
[ 3.730834] Sensor is TCM825x
[ 3.761108] menelaus: Setting voltage 'VIO' to 0 mV (reg 0x0a, val 0x 70)
[ 3.792327] menelaus: Setting voltage 'VMEM' to 0 mV (reg 0x0a, val 0 x70)
[ 3.816375] menelaus: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)
[ 3.913421] Empty flash at 0x0019bba4 ends at 0x0019c000
[ 3.917022] VFS: Mounted root (jffs2 filesystem).
[ 3.917358] Freeing init memory: 108K
[ 3.975585] mmcblk1: mmc1:b368 SDC 3921920KiB
[ 3.975952] mmcblk1: p1
[ 5.126708] umac: module license 'Proprietary' taints kernel.
[ 5.293334] CX3110x chip variant: STLC4550
[ 5.374847] CX3110x: firmware version: 2.13.0.0.a.22.1
[ 5.390533] Loaded CX3110x driver, version 0.8
[ 7.927337] tahvo: Registering interrupt 7 for device
[ 7.927825] retu: Registering interrupt 8 for device
[ 7.928710] retu: Registering interrupt 1 for device
[ 7.929107] tahvo: Registering interrupt 1 for device
[ 16.672698] MMU: OMAP dsp MMU initialized (HW v1.0)
[ 16.672882] MMU: mapping in ARM MMU, v=0xe0fff000, p=0x86b2b000, sz=0 x1000
[ 16.672943] MMU: mapping in ARM MMU, v=0xe0fce000, p=0x48008000, sz=0 x1000
[ 16.673004] MMU: mapping in ARM MMU, v=0xe0fe2000, p=0x48094000, sz=0 x1000
[ 16.673034] MMU: mapping in ARM MMU, v=0xe0fdc000, p=0x4807c000, sz=0 x1000
[ 16.673095] MMU: mapping in ARM MMU, v=0xe0fdd000, p=0x4807e000, sz=0 x1000
[ 16.673126] MMU: mapping in ARM MMU, v=0xe0fde000, p=0x48080000, sz=0 x1000
[ 16.673187] MMU: mapping in ARM MMU, v=0xe0fdf000, p=0x48082000, sz=0 x1000
[ 16.673217] MMU: mapping in ARM MMU, v=0xe0fe0000, p=0x48090000, sz=0 x1000
[ 16.673278] MMU: mapping in ARM MMU, v=0xe0fd9000, p=0x48068000, sz=0 x1000
[ 16.673339] MMU: mapping in ARM MMU, v=0xe0fb0000, p=0x54000000, sz=0 x1000
[ 16.673370] MMU: mapping in ARM MMU, v=0xe0fb1000, p=0x54001000, sz=0 x1000
[ 16.673431] MMU: mapping in ARM MMU, v=0xe0fb2000, p=0x54002000, sz=0 x1000
[ 16.673492] MMU: mapping in ARM MMU, v=0xe0fb3000, p=0x54003000, sz=0 x1000
[ 16.673553] MMU: mapping in ARM MMU, v=0xe0fb4000, p=0x54004000, sz=0 x1000
[ 16.735137] MMU: unmapping in ARM MMU, v=0xe0fce000, sz=0x1000
[ 16.735168] MMU: unmapping in ARM MMU, v=0xe0fe2000, sz=0x1000
[ 16.735229] MMU: unmapping in ARM MMU, v=0xe0fdc000, sz=0x1000
[ 16.735260] MMU: unmapping in ARM MMU, v=0xe0fdd000, sz=0x1000
[ 16.735290] MMU: unmapping in ARM MMU, v=0xe0fde000, sz=0x1000
[ 16.735321] MMU: unmapping in ARM MMU, v=0xe0fdf000, sz=0x1000
[ 16.735351] MMU: unmapping in ARM MMU, v=0xe0fe0000, sz=0x1000
[ 16.735382] MMU: unmapping in ARM MMU, v=0xe0fd9000, sz=0x1000
[ 16.735443] MMU: unmapping in ARM MMU, v=0xe0fb0000, sz=0x1000
[ 16.735473] MMU: unmapping in ARM MMU, v=0xe0fb1000, sz=0x1000
[ 16.735504] MMU: unmapping in ARM MMU, v=0xe0fb2000, sz=0x1000
[ 16.735534] MMU: unmapping in ARM MMU, v=0xe0fb3000, sz=0x1000
[ 16.735565] MMU: unmapping in ARM MMU, v=0xe0fb4000, sz=0x1000
[ 16.735595] MMU: unmapping in ARM MMU, v=0xe0fff000, sz=0x1000
[ 16.736663] MMU: OMAP dsp MMU initialized (HW v1.0)
[ 16.736816] MMU: mapping in ARM MMU, v=0xe0fff000, p=0x86b2b000, sz=0 x1000
[ 16.736877] MMU: mapping in ARM MMU, v=0xe0fce000, p=0x48008000, sz=0 x1000
[ 16.736938] MMU: mapping in ARM MMU, v=0xe0fe2000, p=0x48094000, sz=0 x1000
[ 16.736968] MMU: mapping in ARM MMU, v=0xe0fdc000, p=0x4807c000, sz=0 x1000
[ 16.737030] MMU: mapping in ARM MMU, v=0xe0fdd000, p=0x4807e000, sz=0 x1000
[ 16.737335] MMU: mapping in ARM MMU, v=0xe0fde000, p=0x48080000, sz=0 x1000
[ 16.737365] MMU: mapping in ARM MMU, v=0xe0fdf000, p=0x48082000, sz=0 x1000
[ 16.737426] MMU: mapping in ARM MMU, v=0xe0fe0000, p=0x48090000, sz=0 x1000
[ 16.737457] MMU: mapping in ARM MMU, v=0xe0fd9000, p=0x48068000, sz=0 x1000
[ 16.737518] MMU: mapping in ARM MMU, v=0xe0fb0000, p=0x54000000, sz=0 x1000
[ 16.737579] MMU: mapping in ARM MMU, v=0xe0fb1000, p=0x54001000, sz=0 x1000
[ 16.737609] MMU: mapping in ARM MMU, v=0xe0fb2000, p=0x54002000, sz=0 x1000
[ 16.737670] MMU: mapping in ARM MMU, v=0xe0fb3000, p=0x54003000, sz=0 x1000
[ 16.737731] MMU: mapping in ARM MMU, v=0xe0fb4000, p=0x54004000, sz=0 x1000
[ 16.765838] MMU: mapping in ARM MMU, v=0xe0028000, p=0x86b84000, sz=0 x1000
[ 16.766113] MMU: mapping in ARM MMU, v=0xe0100000, p=0x86400000, sz=0 x100000
[ 16.766296] MMU: mapping in ARM MMU, v=0xe0200000, p=0x86500000, sz=0 x100000
[ 16.766601] MMU: mapping in ARM MMU, v=0xe0400000, p=0x86600000, sz=0 x100000
[ 16.766754] MMU: mapping in ARM MMU, v=0xe0500000, p=0x86b90000, sz=0 x10000
[ 16.766815] MMU: mapping in ARM MMU, v=0xe0510000, p=0x86ba0000, sz=0 x10000
[ 16.766906] MMU: mapping in ARM MMU, v=0xe0520000, p=0x86bb0000, sz=0 x10000
[ 16.766967] MMU: mapping in ARM MMU, v=0xe0530000, p=0x86bc0000, sz=0 x10000
[ 16.767028] MMU: mapping in ARM MMU, v=0xe0540000, p=0x86bd0000, sz=0 x10000
[ 16.767089] MMU: mapping in ARM MMU, v=0xe0550000, p=0x86be0000, sz=0 x10000
[ 16.767181] MMU: mapping in ARM MMU, v=0xe0560000, p=0x86bf0000, sz=0 x10000
[ 16.767242] MMU: mapping in ARM MMU, v=0xe0570000, p=0x86700000, sz=0 x10000
[ 17.175476] omapdsp: IPBUF configuration
[ 17.175476] 512 words * 16 lines at 0xe0200000.
[ 17.175659] omapdsp: found 5 task(s)
[ 17.175872] omapdsp: task 0: name pcm3
[ 17.176330] omapdsp: taskdev pcm3 enabled.
[ 17.184997] omapdsp: task 1: name pcm_rec1
[ 17.185516] omapdsp: taskdev pcm_rec1 enabled.
[ 17.194702] omapdsp: task 2: name pcm1
[ 17.195190] omapdsp: taskdev pcm1 enabled.
[ 17.204010] omapdsp: task 3: name audiopp
[ 17.204498] omapdsp: taskdev audiopp enabled.
[ 17.210571] omapdsp: task 4: name pcm0
[ 17.211090] omapdsp: taskdev pcm0 enabled.
[ 18.008514] EAC mode: play enabled, rec enabled
[ 18.310394] omapdsp: mmap info: vmadr = 40000000, padr = 86630000, le n = 2000
[ 18.947204] g_file_storage gadget: File-backed Storage Gadget, versio n: 28 November 2005
[ 18.947296] g_file_storage gadget: Number of LUNs=2
[ 18.949981] drivers/usb/musb/tusb6010.c musb_platform_enable: dma not reactivated
[ 20.617370] EAC mode: play disabled, rec disabled
[ 22.215728] Loading 3826.arm firmware
[ 22.457794] (c)opyright 2004 Conexant
[ 22.457855]
[ 22.457855] build info: PRISM SoftMAC
[ 22.457855] creator: [kvalo]
[ 22.457885] date: [06/11/28-15:03]
[ 22.457916]
[ 22.464782] CX3110x: MAC address 00:19:4f:9e:96:2a
[ 22.473663] No power saving
[ 22.766967] Adding 129780k swap on /media/mmc2/.swap. Priority:-1 ex tents:134 across:158464k
[ 26.775604] EAC mode: play enabled, rec enabled
[ 26.991851] Scan complete, scanned 13 channels
[ 27.016113] Full PSM
[ 27.044799] No power saving
[ 28.882629] Scan complete, scanned 13 channels
[ 28.907623] Full PSM
[ 28.928192] No power saving
[ 31.082000] Dynamic PSM
[ 31.082061] PSM timeout 4000 ms
[ 31.834472] Dynamic PSM
[ 31.834564] PSM timeout 1000 ms
[ 32.011535] ERROR in pdlp_calculate_stats(): o[j-1].timestamp is < 12 8
[ 34.396026] EAC mode: play disabled, rec disabled
[ 42.852447] EAC mode: play enabled, rec enabled
[ 42.949584] omapdsp: mmap info: vmadr = 4000c000, padr = 86610000, le n = 2000
[ 45.254119] EAC mode: play disabled, rec disabled
[ 51.567077] EAC mode: play enabled, rec enabled
/ $
(My apologies for the layout)

As you can see both the 4GB SDC are recognized as 3921920KiB.

As seen here:
[ 3.722229] mmcblk0: mmc0:b368 SDC 3921920KiB
[ 3.722534] mmcblk0: p1
and here:
[ 3.975585] mmcblk1: mmc1:b368 SDC 3921920KiB
[ 3.975952] mmcblk1: p1
The only difference, in what I can find, is the voltage on the 2 cards.
I am not sure if it has something do with things, but here they are:
[ 3.725280] menelaus: Setting voltage 'VDCDC3' to 3300 mV (reg 0x07, val 0x39)
and:
[ 3.816375] menelaus: Setting voltage 'VDCDC3' to 2800 mV (reg 0x07, val 0x29)
So far my little "research".

I will continue testing with larger files on the SD cards but strange enough I haven't had any of the symptoms again since I formatted and wrote over the empty space and data on both of the cards.

Too bad I did not do a dmesg before while there were still problems.

The one thing are the different voltages (3300mV over 2800mV)