All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arno Steffen <arno.steffen@googlemail.com>
To: dedekind1@gmail.com
Cc: linux-mtd@lists.infradead.org, twebb <taliaferro62@gmail.com>
Subject: Re: error!: "/dev/ubi0" is not a character device ?!?
Date: Mon, 23 Aug 2010 16:13:19 +0200	[thread overview]
Message-ID: <AANLkTinqAT=aCYFBi8Nri72L898U0k6dTk3z90OJOpRc@mail.gmail.com> (raw)
In-Reply-To: <1282566891.24044.32.camel@localhost>

2010/8/23 Artem Bityutskiy <dedekind1@gmail.com>:
> On Mon, 2010-08-16 at 13:27 +0200, Arno Steffen wrote:
>> Sorry for delay, have been out of office.
>> Haven't found neither /etc/udev nor /lib/udev on my embedded system.
>> udev is not mention in dmesg | grep udev
>> But after creating /etc/udev/rules/10-udev.rules I could see this in
>>  cat /dev/udev/rules.d/10-udev.rules
>> As I don't have any idea what rule I have to write in I left it blank.
>> So no success with this method
>
> OK, anyway, I believe this is not related to UBI. I gave you several
> other ideas, cannot help more than that.
>
>> ubimkvol /dev/ubi0 -N test -m
>> Set volume size to 9805824UBI error: ubi_io_write: error -5 while
>> writing 512 bytes to PEB 81:512, written 0 bytes
>>
>> UBI warning: ubi_eba_write_leb: failed to write VID header to LEB
>> 2147479551:0, PEB 81
>
> This is independent problem, I think. Your driver returns EIO when UBI
> writes to the flash. Looks like you have issues in the driver or HW
> level.
>
> Did you run mtd tests? Please run and validate your flash. Take a look
> here, for reference:
>
> http://www.linux-mtd.infradead.org/doc/ubifs.html#L_how_send_bugreport
>
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)
>
>

My results are: (other will follow next day)

[root@or:/opt/configs]# insmod mtd_nandecctest.ko
mtd_nandecctest: ok - nand-ecc-256
mtd_nandecctest: ok - nand-ecc-512
[root@Visor:/opt/configs]# insmod mtd_oobtest.ko

=================================================
mtd_oobtest: MTD device: 0
mtd_oobtest: MTD device size 262144, eraseblock size 131072, page size
2048, count of eraseblocks 2, pages per eraseblock 64, OOB size 64
mtd_oobtest: scanning for bad eraseblocks
mtd_oobtest: scanned 2 eraseblocks, 0 are bad
mtd_oobtest: test 1 of 5
mtd_oobtest: erasing whole device
mtd_oobtest: error -30 while erasing EB 0
mtd_oobtest: error -30 occurred
=================================================
insmod: cannot insert 'mtd_oobtest.ko': Read-only file system
[root@or:/opt/configs]# insmod mtd_pagetest.ko

=================================================
mtd_pagetest: MTD device: 0
mtd_pagetest: MTD device size 262144, eraseblock size 131072, page
size 2048, count of eraseblocks 2, pages per eraseblock 64, OOB size
64
mtd_pagetest: scanning for bad eraseblocks
mtd_pagetest: scanned 2 eraseblocks, 0 are bad
mtd_pagetest: erasing whole device
mtd_pagetest: error -30 while erasing EB 0
mtd_pagetest: error -30 occurred
=================================================
insmod: cannot insert 'mtd_pagetest.ko': Read-only file system
[root@or:/opt/configs]# insmod mtd_readtest.ko

=================================================
mtd_readtest: MTD device: 0
mtd_readtest: MTD device size 262144, eraseblock size 131072, page
size 2048, count of eraseblocks 2, pages per eraseblock 64, OOB size
64
mtd_readtest: scanning for bad eraseblocks
mtd_readtest: scanned 2 eraseblocks, 0 are bad
mtd_readtest: testing page read
uncorrectable error :
uncorrectable error :
uncorrectable error :
mtd_readtest: error: read failed at 0x0
uncorrectable error :
uncorrectable error :
uncorrectable error :
uncorrectable error :
mtd_readtest: error: read failed at 0x800
uncorrectable error :

  reply	other threads:[~2010-08-23 14:13 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 12:00 error!: "/dev/ubi0" is not a character device ?!? Arno Steffen
2010-07-26 13:14 ` Artem Bityutskiy
2010-07-26 13:49   ` Arno Steffen
2010-07-27 15:25     ` Artem Bityutskiy
2010-07-28 11:04       ` Arno Steffen
2010-07-30  6:35         ` Artem Bityutskiy
2010-08-05 11:55           ` Arno Steffen
2010-08-05 13:23             ` twebb
2010-08-05 13:36             ` Artem Bityutskiy
     [not found]             ` <AANLkTikkRNqnEX0PkHigv=zT+Z36J52DEtoVeMGbBExf@mail.gmail.com>
2010-08-16 11:27               ` Arno Steffen
2010-08-23 12:34                 ` Artem Bityutskiy
2010-08-23 14:13                   ` Arno Steffen [this message]
2010-08-23 14:41                     ` Artem Bityutskiy
2010-08-24  8:32                       ` Arno Steffen
2010-08-24  8:53                         ` Artem Bityutskiy
2010-08-24  9:19                           ` Arno Steffen
2010-08-24  9:33                             ` Artem Bityutskiy
2010-07-30  6:23     ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTinqAT=aCYFBi8Nri72L898U0k6dTk3z90OJOpRc@mail.gmail.com' \
    --to=arno.steffen@googlemail.com \
    --cc=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=taliaferro62@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.