From: Artem Bityutskiy <dedekind1@gmail.com>
To: simon widmer <simonxwidmer@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: /dev/ubi{x} MAJOR number enumeration
Date: Thu, 22 Nov 2012 09:29:07 +0200 [thread overview]
Message-ID: <1353569347.2701.16.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <50A3CE88.1080402@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
On Wed, 2012-11-14 at 18:02 +0100, simon widmer wrote:
> hej,
>
> I'm faceing an issue with ubi-enumeration. I am using UBI out of
> mtd-1.5, i hope its more or less recent.
> My issue is as follows. i have 7 ubi partitions. if im detaching every
> partition and try to reattach a single partition, in this case /dev/mtd6
> to /dev/ubi2, there is some issue with the MAJOR nummer. I suppose its
> ubiattach's fault, it tells me to have attached the partition to ubi2
> but in fact it attached it to the first (ubi0). Please consult the log
> below.
> Is it me how is maloperating or is this a bug?
Not sure what is going on. The ubi tools use /sys/class/ubi/ directory
for finding most of the things. I suggest you to clone the latest
mtd-utils, compile UBI tools with -g, and debug with gdb and see what
see what is going on.
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2012-11-22 7:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-14 17:02 /dev/ubi{x} MAJOR number enumeration simon widmer
2012-11-22 7:29 ` Artem Bityutskiy [this message]
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=1353569347.2701.16.camel@sauron.fi.intel.com \
--to=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=simonxwidmer@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.