[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: Re: [uClinux-dev] Problems with 2GB FAT16 SD/CF cards - resolved
From: Greg Ungerer <gerg () snapgear ! com>
Date: 2008-06-26 6:53:50
Message-ID: 48633CFE.7000307 () snapgear ! com
[Download RAW message or body]
Hi Wolfgang,
Wolfgang Mües wrote:
> DSLINUX (www.dslinux.org) is using mostly SD cards for file system
> storage. With the advent of 2 GByte SD cards with FAT16 and 32KByte
> clustersize, many user have reported problems (data aborts while
> traversing directories).
>
> I have found that busybox needs more stack space to fix this problem.
> This was a hard-to-nail-down error, because with directory traversal
> problems, network scripts fail, gdbserver fails, etc.
Any chance you can try the newest busybox version in the
latest uClinux-dist-test-20080620?
According to the comments in its Makefile.flags:
# Busybox is a stack-fatty so make sure we increase default size
# TODO: use "make stksizes" to find & fix big stack users
# (we stole scripts/checkstack.pl from the kernel... thanks guys!)
# Reduced from 20k to 16k in 1.9.0.
FLTFLAGS += -s 16000
So they have reduced its stack size even further. If this proves
to be too small I'll increase before releasing...
Regards
Greg
> --- trunk/user/busybox/Rules.mak 2007-10-25 18:45:33 UTC (rev
> 2027)
> +++ trunk/user/busybox/Rules.mak 2007-10-26 17:19:23 UTC (rev
> 2028)
> @@ -47,7 +47,8 @@
> # MAKEFILES = $(TOPDIR).config
> endif
>
> -FLTFLAGS += -s 20000
> +# Note that 20K stack space is too low if we use 2GB SD cards
> +FLTFLAGS += -s 30000
>
> # What OS are you compiling busybox for? This allows you to include
> # OS specific things, syscall overrides, etc.
>
>
>
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg@snapgear.com
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic