Hello J. R.
On Tue, May 12, 2009 at 8:06 PM, <[email protected]> wrote:
>
> Hello Joonwoo,
>
> Joonwoo Park:
>> The problem that I encountered was ubifs set_page_dirty() assertion
>> failure when mmap-ing to aufs filesystem which has branch as ubifs
>> filesystem.
>> I had a quick aufs hacking and I've inclined that aufs should have
>> handled page_mkwrite of vm_operation. =A0The current version of aufs2 is
>> registering only aufs_fault.
>> Please find attached patch file aufs-mmap-fault.patch and correct me
>> if I'm wrong.
>
> I will read ubifs and try your test program, but it will take some time.
> Just to make sure, your kernel is plain linux-2.6.27, isn't it?
Yes, actually I'm using 2.6.27.8 but there was same problem on 2.6.29.x
> And where can I get ubiattach and ubimkvol tools?
You could install mtd-utils package with your system's package software.
Otherwise please try clone git://git.infradead.org/mtd-utils.git directly.
>
> While I am not sure this is related to your problem, but mwr.c needs
> fixing.
Thanks for that, unfortunately it's not related to my problem I guess.
Actually I found this problem while running another application which
is doing mmap.
This simple application which is taken from googling is just for
debugging purpose.
Thanks,
Joonwoo
>
> /* Now write int's to the file as if it were memory (an array of ints).
> */
> for (i = 1; i <=NUMINTS; ++i) {
> map[i] = 2 * i;
> }
>
> 'i' must be less than NUMINTS.
> I guess you want to do,
> for (i = 0; i < NUMINTS; ...
>
>
> J. R. Okajima
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com