Re: UBIFS fails & crashes on SheevaPlug

2009-08-08 Thread Artem Bityutskiy
On 07/26/2009 06:35 PM, Erno Kuusela wrote: There was one more error (for benefit of anyone else hitting the same problem): mkfs.ubifs -e 129024 parameter from http://www.plugcomputer.org/plugwiki/index.php/Enabling_UBIFS#Make_ubi_image_out_of_the_ubifs didn't work for me (got "validate_sb: LEB s

Re: UBIFS fails & crashes on SheevaPlug

2009-07-26 Thread Erno Kuusela
On Fri, Jul 24, 2009 at 05:38:27PM +0300, Artem Bityutskiy wrote: > On 07/24/2009 04:12 PM, Erno Kuusela wrote: >> So workaround would be to disable CONFIG_MTD_NAND_VERIFY_WRITE or to >> follow the "ignore sub pages" entry from the faq... >> >> Indeed the latter seems to work, if I give --vid-hdr-o

Re: UBIFS fails & crashes on SheevaPlug

2009-07-26 Thread Artem Bityutskiy
On 07/24/2009 04:12 PM, Erno Kuusela wrote: Also, ubiformat mentioned 1400+ "bad" eraseblocks, what should I make of that? Is it really failed flash cells, just some blocks reserved for u-boot and stuff, or blocks traumatized from my earlier misadventures with ubiformat parameters? Oh, I've jus

Re: UBIFS fails & crashes on SheevaPlug

2009-07-24 Thread Nicolas Pitre
On Thu, 23 Jul 2009, e...@gulp.u--3.com wrote: > I also get messages like this on boot: > > [4.42] uncorrectable error : <3>uncorrectable error : > <3>end_request: I/O error, dev mtdblock0, sector 0 > [4.43] Buffer I/O error on device mtdblock0, logical block 0 > [4.44] u

Re: UBIFS fails & crashes on SheevaPlug

2009-07-24 Thread Artem Bityutskiy
On 07/24/2009 04:12 PM, Erno Kuusela wrote: Ah, ok. I did google for that error message but searching for "ubi_io_write: error -5" doesn't yield anything useful for the first screenful of results.. So workaround would be to disable CONFIG_MTD_NAND_VERIFY_WRITE or to follow the "ignore sub pages"

Re: UBIFS fails & crashes on SheevaPlug

2009-07-24 Thread Erno Kuusela
On Fri, Jul 24, 2009 at 08:53:00AM +0300, Artem Bityutskiy wrote: > On 07/23/2009 09:59 PM, e...@gulp.u--3.com wrote: >> [ 191.69] UBI error: ubi_io_write: error -5 while writing 512 bytes >> to PEB 4051:512, written 0 bytes >> [ 191.70] UBI warning: ubi_eba_write_leb: failed to write VID

Re: UBIFS fails & crashes on SheevaPlug

2009-07-23 Thread Artem Bityutskiy
On 07/23/2009 09:59 PM, e...@gulp.u--3.com wrote: Hello, I installed Debian on my SheevaPlug following instructions at and everything seemed to work fine until... I wanted to try UBIFS on the built-in flash and followed the instructions for f

Re: UBIFS fails & crashes on SheevaPlug

2009-07-23 Thread erno
On Thu, Jul 23, 2009 at 11:28:01PM +0200, Corentin Chary wrote: > Can you give us the exact commands you used ? Straight copy-paste (except for the -r removal) from http://www.plugcomputer.org/plugwiki/index.php/Enabling_UBIFS - so: 94 cd /var/tmp/ 95 mkfs.ubifs -m 2048 -e 129024 -c 4096

Re: UBIFS fails & crashes on SheevaPlug

2009-07-23 Thread Corentin Chary
On Thu, Jul 23, 2009 at 10:08 PM, Adrian Hunter wrote: > e...@gulp.u--3.com wrote: >> >> Hello, >> >> I installed Debian on my SheevaPlug following instructions at >> and everything seemed to >> work fine until... >> >> I wanted to try UBIFS on th

Re: UBIFS fails & crashes on SheevaPlug

2009-07-23 Thread Adrian Hunter
e...@gulp.u--3.com wrote: Hello, I installed Debian on my SheevaPlug following instructions at and everything seemed to work fine until... I wanted to try UBIFS on the built-in flash and followed the instructions for formatting the internal

UBIFS fails & crashes on SheevaPlug

2009-07-23 Thread erno
Hello, I installed Debian on my SheevaPlug following instructions at and everything seemed to work fine until... I wanted to try UBIFS on the built-in flash and followed the instructions for formatting the internal flash at http://www.plugcomp