public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git
@ 2012-08-24 19:39 David Clark
  2012-08-31 12:27 ` Artem Bityutskiy
  0 siblings, 1 reply; 6+ messages in thread
From: David Clark @ 2012-08-24 19:39 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

Artem,



Thanks for the help on upgrading out linux 2.6.33 kernel with the latest UBIFS updates.  I managed to merge the UBI/UBIFS specific code from the link you gave me (I took the latest and greatest) and I have a kernel that now compiles successfully.  Now we get the following error when the UBIFS file system is mounted:



UBI: attaching mtd18 to ubi0

UBI error: io_init: bad write buffer size 0 for 1 min. I/O unit

ubiattach: error!: cannot attach mtd18

           error 22 (Invalid argument)

UBIFS error (pid 916): ubifs_get_sb: cannot open "ubi0:tntvar", error -19

mount: mounting ubi0:tntvar on /usr/local/tntvar failed: No such device



We are suspecting now that this may be because we need to update the ubifs tools (or create the ubifs with different cmd args) so that they are in sync with the latest kernel.  If you have any ideas on this it would be great - right now I will be researching if our hypothesis is true and how to resolve it.



Thanks Dave


[-- Attachment #2: Type: text/html, Size: 3602 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git
  2012-08-24 19:39 FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git David Clark
@ 2012-08-31 12:27 ` Artem Bityutskiy
  2012-08-31 22:18   ` Brian Norris
  0 siblings, 1 reply; 6+ messages in thread
From: Artem Bityutskiy @ 2012-08-31 12:27 UTC (permalink / raw)
  To: David Clark; +Cc: linux-mtd@lists.infradead.org

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

Hi,

On Fri, 2012-08-24 at 12:39 -0700, David Clark wrote:
> UBI error: io_init: bad write buffer size 0 for 1 min. I/O unit

This means your NOR driver should be fixed and it should return
_correct_ write buffer size, not 0.


-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git
  2012-08-31 12:27 ` Artem Bityutskiy
@ 2012-08-31 22:18   ` Brian Norris
  2012-09-02 10:57     ` Artem Bityutskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Norris @ 2012-08-31 22:18 UTC (permalink / raw)
  To: dedekind1, David Clark; +Cc: linux-mtd@lists.infradead.org

On Fri, Aug 31, 2012 at 5:27 AM, Artem Bityutskiy <dedekind1@gmail.com> wrote:
> Hi,
>
> On Fri, 2012-08-24 at 12:39 -0700, David Clark wrote:
>> UBI error: io_init: bad write buffer size 0 for 1 min. I/O unit
>
> This means your NOR driver should be fixed and it should return
> _correct_ write buffer size, not 0.

I'm guessing that you're using m25p80, which is missing this mainline
patch in the backport tree:

commit b54f47c8bcfc5f766bf13ec31bd7dd1d4726d33b
Author: Brian Norris <computersforpeace@gmail.com>
Date:   Tue Jan 31 00:06:03 2012 -0800

    mtd: m25p80: set writebufsize

Artem,

There was a series of 'writebufsize' fixes that may be missing from
multiple backport trees. I can help you track them down, if you'd like
the help.

Brian

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git
  2012-08-31 22:18   ` Brian Norris
@ 2012-09-02 10:57     ` Artem Bityutskiy
  2012-09-03  6:05       ` Brian Norris
  0 siblings, 1 reply; 6+ messages in thread
From: Artem Bityutskiy @ 2012-09-02 10:57 UTC (permalink / raw)
  To: Brian Norris; +Cc: David Clark, linux-mtd@lists.infradead.org

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

On Fri, 2012-08-31 at 15:18 -0700, Brian Norris wrote:
> There was a series of 'writebufsize' fixes that may be missing from
> multiple backport trees. I can help you track them down, if you'd like
> the help.

Sure, go ahead, I can them put them to the backport trees.
-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git
  2012-09-02 10:57     ` Artem Bityutskiy
@ 2012-09-03  6:05       ` Brian Norris
  2012-09-04  7:47         ` Artem Bityutskiy
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Norris @ 2012-09-03  6:05 UTC (permalink / raw)
  To: dedekind1; +Cc: David Clark, linux-mtd@lists.infradead.org

On 09/02/2012 03:57 AM, Artem Bityutskiy wrote:
> On Fri, 2012-08-31 at 15:18 -0700, Brian Norris wrote:
>> There was a series of 'writebufsize' fixes that may be missing from
>> multiple backport trees. I can help you track them down, if you'd like
>> the help.
>
> Sure, go ahead, I can them put them to the backport trees.

OK, I just put up my own github backport tree, with branches for v2.6.32 
through v3.3. I think your v3.4+ repos are fine. URL:

   git://github.com/computersforpeace/UBIFS-backports.git
   https://github.com/computersforpeace/UBIFS-backports.git

Branches:

   ubifs-v2.6.32
   ubifs-v2.6.33
   ubifs-v2.6.34
   ubifs-v2.6.35
   ubifs-v2.6.36
   ubifs-v2.6.37
   ubifs-v2.6.38
   ubifs-v2.6.39
   ubifs-v3.0
   ubifs-v3.1
   ubifs-v3.2
   ubifs-v3.3

Each branch should have some version (amended when necessary) of the 
following commits. Note that docg3 wasn't merged until v3.2. Also, 
spear_smi wasn't merged until v3.4 and was already fixed in the 
appropriate backports, so it is omitted from this list.

Brian

---

[ In 'git log' order ]

commit c4cc625ea5958d065c21cc0fcea29e9ed8f3d2bc
Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Date:   Fri Feb 3 10:16:50 2012 +0200

     mtd: sst25l: initialize writebufsize

commit fcc44a07dae0af16e84e93425fc8afe642ddc603
Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Date:   Fri Feb 3 09:53:28 2012 +0200

     mtd: lart: initialize writebufsize

commit 82c4c58d6f1a78e8de875272a19ab9220b8066aa
Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Date:   Fri Feb 3 09:44:32 2012 +0200

     mtd: docg3: initialize writebufsize

commit 71f60fbebf0f18dd4e855335a009efda251b1697
Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Date:   Fri Feb 3 09:43:14 2012 +0200

     mtd: doc2001plus: initialize writebufsize

commit cca84b569ebe3372b28949e00b0a3a17f87e2970
Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Date:   Fri Feb 3 09:42:39 2012 +0200

     mtd: doc2001: initialize writebufsize

commit cd1986a3c111f7ed597619705290fa52a975014f
Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Date:   Fri Feb 3 09:38:43 2012 +0200

     mtd: doc2000: initialize writebufsize

commit b604387411ec6a072e95910099262616edd2bd2f
Author: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Date:   Fri Feb 3 09:32:44 2012 +0200

     mtd: block2mtd: initialize writebufsize

commit b54f47c8bcfc5f766bf13ec31bd7dd1d4726d33b
Author: Brian Norris <computersforpeace@gmail.com>
Date:   Tue Jan 31 00:06:03 2012 -0800

     mtd: m25p80: set writebufsize

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git
  2012-09-03  6:05       ` Brian Norris
@ 2012-09-04  7:47         ` Artem Bityutskiy
  0 siblings, 0 replies; 6+ messages in thread
From: Artem Bityutskiy @ 2012-09-04  7:47 UTC (permalink / raw)
  To: Brian Norris; +Cc: David Clark, linux-mtd@lists.infradead.org

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

On Sun, 2012-09-02 at 23:05 -0700, Brian Norris wrote:
> On 09/02/2012 03:57 AM, Artem Bityutskiy wrote:
> > On Fri, 2012-08-31 at 15:18 -0700, Brian Norris wrote:
> >> There was a series of 'writebufsize' fixes that may be missing from
> >> multiple backport trees. I can help you track them down, if you'd like
> >> the help.
> >
> > Sure, go ahead, I can them put them to the backport trees.
> 
> OK, I just put up my own github backport tree, with branches for v2.6.32 
> through v3.3. I think your v3.4+ repos are fine. URL:
> 
>    git://github.com/computersforpeace/UBIFS-backports.git
>    https://github.com/computersforpeace/UBIFS-backports.git

Thanks Brian, pulled all the branches.

-- 
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-04  7:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-24 19:39 FW: UBIFS tools and latest 2.6.33 kernel from http://git.infradead.org/users/dedekind/ubifs-v2.6.33.git David Clark
2012-08-31 12:27 ` Artem Bityutskiy
2012-08-31 22:18   ` Brian Norris
2012-09-02 10:57     ` Artem Bityutskiy
2012-09-03  6:05       ` Brian Norris
2012-09-04  7:47         ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox