All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind1@gmail.com>
To: Arno Steffen <arno.steffen@googlemail.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 15:34:51 +0300	[thread overview]
Message-ID: <1282566891.24044.32.camel@localhost> (raw)
In-Reply-To: <AANLkTim6U4uO_2yf-VyoL+4j9-yDkouTQdP_aszpEXwW@mail.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 (Артём Битюцкий)

  reply	other threads:[~2010-08-23 12:36 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 [this message]
2010-08-23 14:13                   ` Arno Steffen
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=1282566891.24044.32.camel@localhost \
    --to=dedekind1@gmail.com \
    --cc=arno.steffen@googlemail.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.