From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from nz-out-0506.google.com ([64.233.162.233]) by canuck.infradead.org with esmtp (Exim 4.63 #1 (Red Hat Linux)) id 1HDtp8-0001HI-7Z for linux-mtd@lists.infradead.org; Sun, 04 Feb 2007 21:43:22 -0500 Received: by nz-out-0506.google.com with SMTP id i11so2386264nzi for ; Sun, 04 Feb 2007 18:43:15 -0800 (PST) Date: Mon, 5 Feb 2007 10:43:14 +0800 From: "xun" To: "linux-mtd@lists.infradead.org" References: Subject: Re: Re: jffs2, program can't run Message-ID: <200702051043121404211@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >Date: Sun, 4 Feb 2007 05:26:21 -0800 (PST) >From: Doug Kehn >Subject: Re: jffs2, program can't run >To: linux-mtd >Message-ID: <116087.21586.qm@web51908.mail.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Hi, > >--- "xun.global" wrote: > >> I use jffs2 on my at91rm9200 board with >> dataflash, but i find sometimes the program (auto >> run after mount the filesystem) dies when it open a >> file on dataflash, even if i reboot the system. But >> when the program dies, it can run by hand start it. >> Could someone can help me. Thank you. >> > >How does the program die? Segment Fault or failure to >load a library needed by the program? > >What kernel version are you using? > >Are your observations similar to those reported in: > >http://lists.infradead.org/pipermail/linux-mtd/2007-January/017252.html > >Regards, >...doug > > > > >____________________________________________________________________________________ >TV dinner still cooling? >Check out "Tonight's Picks" on Yahoo! TV. >http://tv.yahoo.com/ My kernel is 2.6.16.16 with AT45DB642 dataflash The program isn't dies always, but it return none message, when it dies, such as segment Fault or failure to load a library. But it can run well if I run ./filename when it dies. It dies when open a file but not return anything. I heard someone say when jffs2 mount successful, don't open file to read or write immediately, just wait 30-40 seconds, Maybe it scan the flash after mount. Is that right? Regards