[prev in list] [next in list] [prev in thread] [next in thread]
List: uclinux-dev
Subject: Re: [uClinux-dev] mtd problem
From: "Erwin Authried" <eauth () softsys ! co ! at>
Date: 2003-05-31 6:31:47
[Download RAW message or body]
Hi,
could you please give us a bit more details, like the architecture that
you have, and where it crashes?I have not used jffs2, but with jffs on ARM7TMDI you run into similar
problems because of an odd-aligned access in MTD. The problem is already
solved, I hope the patches will go into the CVS soon.
Regards,
Erwin
> OK, here's an interesting problem for everyone.
>
> I have a 448k MTD partition with jffs2. When I run the script below,
> the machine crashes with a kernel panic sometime during the first
> iteration around the loop. random.txt and random2.txt are from a PC
> and are 12k in size. With 1k files the script works forever, with 4k
> and above it eventually crashes. Could someone with a MTD+JFFS2 setup
> please test this script. /tmp is a ramfs.
>
> thanks,
> Andrew Goodney
> andrew@blueskylabs.com
> ------------------
> www.blueskylabs.com
>
> #!/bin/sh
> while echo 1
> do
> cp random2.txt /var/data
> echo "after first CP"
> rm /var/data/*
> echo "after rm *"
> cp /tmp/random.txt /var/data/random.txt
> echo "after second cp"
> done
>
> _______________________________________________
> 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
_______________________________________________
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic