From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20592 invoked by alias); 7 Oct 2003 17:57:51 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 20580 invoked from network); 7 Oct 2003 17:57:49 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 7 Oct 2003 17:57:49 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1A6w5k-0006Ef-00; Tue, 07 Oct 2003 19:57:48 +0200 Date: Tue, 07 Oct 2003 17:57:00 -0000 To: Thomas Koeller Cc: ecos-discuss@sources.redhat.com Message-ID: <20031007175748.GW8466@lunn.ch> Mail-Followup-To: Thomas Koeller , ecos-discuss@sources.redhat.com References: <1065524219.5485.43.camel@famine> <1065532608.5999.8.camel@famine> <20031007134301.GC15932@lunn.ch> <200310071845.57157.thomas.koeller@baslerweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310071845.57157.thomas.koeller@baslerweb.com> User-Agent: Mutt/1.5.4i From: Andrew Lunn Subject: Re: [ECOS] Stress testing JFFS2 X-SW-Source: 2003-10/txt/msg00114.txt.bz2 On Tue, Oct 07, 2003 at 06:45:57PM +0200, Thomas Koeller wrote: > I also wrote a test program (attached) that runs on my target > hardware as well as the synth target. The only thing that's special > about it is that main() must be called from initialization context, > it wants to start the scheduler itself. What do you mean by this last bit? Also, you said this works for synth? Its segment faulting for me..... Round #14 Opened existing file '/jffs2/file_0008' Checking contents...OK Overwriting existing file '/jffs2/file_0008' with 11654 data bytes Duration = 0 seconds Round #15 Creating new file '/jffs2/file_0006' of size 3714 Wrote 3714 bytes to file '/jffs2/file_0006' Duration = 0 seconds Round #16 Creating new file '/jffs2/file_0007' of size 30091 Wrote 30091 bytes to file '/jffs2/file_0007' Duration = 0 seconds Round #17 Creating new file '/jffs2/file_0000' of size 235667 iput called for used inode iput called for used inode iput called for used inode iput called for used inode iput called for used inode iput called for used inode iput called for used inode Wrote 235667 bytes to file '/jffs2/file_0000' Duration = 0 seconds Round #18 Creating new file '/jffs2/file_0005' of size 60276 read_cache_page Program received signal SIGSEGV, Segmentation fault. 0x0101fd12 in rb_erase (elm=0x380097, head=0x2029968) at /home/lunn/eCos/anoncvs/packages/compat/linux/current/src/rbtree.c:281 281 elm = left; Now this assignment looks strange. I don't see how this can cause a sigfault. Please could you run it with the latest CVS on your synth target. Im wondering if i have a compiler problem. I've got gcc 3.3.2 installed on my Debian-testing system. Thanks Andrew -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss