Reply
Thread Tools
Posts: 36 | Thanked: 2 times | Joined on Jan 2006
#121
Is everyone who is using SDHC cards using the kernel from post #73? I can't seem to write over 2GB even though the card is recognized as being 7+GB. I have two AData 8GB cards.

I also broke one by trying to reformat it to use smaller sectors using mkfs.vfat and now I can't seem to make a vfat filesystem that is both 8GB and recognized by the N800. Best I can do is 2GB. Any ideas appreciated.
 
brendan's Avatar
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#122
vfat has a size limitation of 2GB. you need to format it in fat32 or ext2/ext3 to get a single partition over 2GB.

alternatively, you can create multiple 2GB vfat partitions to use all the space on the card
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
 
Posts: 36 | Thanked: 2 times | Joined on Jan 2006
#123
I think that FAT has a 2GB limit and VFAT under linux includes support for FAT32 and up to 8TB.
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#124
anyone tried new kernel from http://intr.overt.org/blog/ ?
I wonder if 4GB transcend 150x is faster with this kernel. It includes high speed (50Mhz bus speed) SD mode needed to fully use 150x mode of this card. could anyone with this card post output of
Code:
time dd if=/dev/mmcblkX of=/dev/null bs=16384 count=10000
?

Thanks.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#125
Just flashed it...

/dev/mmcblk0 is the internal slot with 128Mb Nokia mini-SD
/dev/mmcblk1 is the external slot with 4Gb SanDisk SDHC

Code:
/home/user # uname -a
Linux Nokia-N800-51 2.6.18-omap1 #3 Tue Feb 6 22:30:15 PST 2007 armv6l unknown

/home/user # df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock4            2048      2036        12  99% /mnt/initfs
none                       512        64       448  13% /mnt/initfs/tmp
/dev/mtdblock4          257536     89892    167644  35% /
none                       512        64       448  13% /tmp
none                      1024        60       964   6% /dev
/dev/mmcblk1p1         3971584       192   3971392   0% /media/mmc1
/dev/mmcblk0p1          122742    114688      8054  93% /media/mmc2
/home/user # time dd if=/dev/mmcblk0 of=/dev/null bs=16384 count=10000
7688+0 records in
7688+0 records out
real    0m 16.32s
user    0m 0.00s
sys     0m 0.75s
/home/user # time dd if=/dev/mmcblk1 of=/dev/null bs=16384 count=10000
10000+0 records in
10000+0 records out
real    0m 21.03s
user    0m 0.00s
sys     0m 0.42s
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#126
the test reads 160MB so with 128MB card it ends earlier. But both speeds are around 7.5-8MB/s.

I wonder if Transcend 150x 4GB SD or Kingston 2GB mmcmobile is faster. Kernel contains also high speed and wider bus feature for mmcmobile cards so Kingston one should be definitely faster than before and similar in speed with 150x SD cards.
 
Posts: 11 | Thanked: 0 times | Joined on Jan 2007
#127
Originally Posted by tjb View Post
I think that FAT has a 2GB limit and VFAT under linux includes support for FAT32 and up to 8TB.
I can't recall off the top of my head what the default kernel settings are but it's possible that large file support isn't turned on which would cause you this issue. That's not to say that you couldn't write multiple 2Gb files to your SDHC card or is that what you're saying?
 
Posts: 36 | Thanked: 2 times | Joined on Jan 2006
#128
I flashed the new kernel but things are not much better for me. I've got 4.8GB on my 8GB card by scp'ing video files over. But whenever I try to turn swap on to that card, I get errors

[31025.502105] FAT: Filesystem panic (dev mmcblk0p1)
[31025.502136] fat_bmap_cluster: request beyond EOF (i_pos 117353478)

and the filesystem is put into readonly mode. I have to reboot to get it back.

It's like the swap applet doesn't understand partitions >2GB but when I use scp to copy a file over, it works file. Like part of the OS is >2GB aware but not all.

Is all this stuff working for others? Maybe my card is corrupt or something but there doesn't seem to be anyway to fsck it. I can't find fsck.vfat.
 
Posts: 36 | Thanked: 2 times | Joined on Jan 2006
#129
OK, so I removed the video files and got the filesystem under 2GB of data. I then could add a swap file. Strange which apps can write over the 2GB filesystem boundary and which can't. I know scp has no problems.
 
Posts: 10 | Thanked: 0 times | Joined on Oct 2006
#130
ok, again, i am a total newbie and would apprciate some step by step help please? i have absolutely no experience in linux, none, nothing. i know there are alot of peopl out there who are in the same boat as me so maybe a step by step instruction guide could be produced then posted on here as seperate thread?

i have bought the N800 and also have a transcend 4Gb highspeed 150X SD card from mobymemory.

i know i need to flash the kernel, whatever that is, to enable me to use the full amount of the card. I want to use the 4GB card in the internal slot for Music, pics etc but want to use another 4Gb, or 8GB card for hotswapping videos whilst away.

I need to know how to flash the kernel to make this work. Please do not refer me to post 73 as this means nothing to me and is just a window full of symbols.

Thankyou very very much for your patience, i know its frustrating for you all to deal with linux virgins like us! ...thanks.
Jon
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:01.