I have been working this problem off and on for some time. There are two different problems
The first problem seems to be with the vfat format of the CF card. If you reformat the CF with a EXT2 format
some of the problems will go away.

However the Segmentation fault seems to be a problem with the current kernel on the gumstix.
I found the only build where Python does not give a Seg Fault is to go back to release 773.
Then Python works without a  problem.

Peter Beblo

On 5/25/06, Dave Hylands <dhylands@gmail.com> wrote:
Hi Iavn,

On 5/25/06, Ivan Curtis <Ivan.Curtis@keyworks.com.au> wrote:
> I am having problems when trying to execute python scripts from a
> mounted compact flash card. Specifically, I get Illegal Instruction,
> Segmentation Fault and just plain hangs when running initially after
> mounting. If I re-run the command several times, eventually all works.

It probably works because it's been cached into RAM.

James Steward discovered a problem with CF and was able to make things
work by unrolling a recent patch in the kernel.

Perhaps James will detail exactly which patch he unrolled.

Dave Hylands
Vancouver, BC, Canada

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
gumstix-users mailing list