All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vikram Narayanan <vikram186@gmail.com>
To: Dimitar Penev <dpn@switchfin.org>
Cc: linux-mtd@lists.infradead.org, dedekind1@gmail.com
Subject: Re: ubiattach  issue
Date: Fri, 21 Sep 2012 02:07:14 +0530	[thread overview]
Message-ID: <505B7E7A.6070200@gmail.com> (raw)
In-Reply-To: <016601cd9765$38f20a90$2901a8c0@dpn>

Hello Dimitar,

Cc-ing Artem

On 9/21/2012 12:52 AM, Dimitar Penev wrote:
> Hi Vikram,
>
> Thank you for your response.
>
> It is a check out from http://git.infradead.org/?p=mtd-utils.git
> Git signature 36d8de81049c9c908740b690c664b5bd3703ccd6

I tested with this checkout in my nandsim under x86. But couldn't 
reproduce the issue. (But I was on 2.6.38.8 kernel).

Could you also post the corresponding kernel logs when you issued the 
ubiattach command? That should give more hints.

~Vikram

>
> ----- Original Message ----- From: "Vikram Narayanan" <vikram186@gmail.com>
> To: "Dimitar Penev" <dpn@switchfin.org>
> Cc: <linux-mtd@lists.infradead.org>
> Sent: Thursday, September 20, 2012 9:25 PM
> Subject: Re: ubiattach issue
>
>
>> On 9/20/2012 2:14 PM, Dimitar Penev wrote:
>>> Hi Gents,
>>>
>>> I am facing an issue with ubiattach on Linux kernel 3.0.8
>>> On our target we have nand flash with mtd layer on top.
>>> The logs attached below.
>>>
>>> Can you please give me a pointer?
>>>
>>>
>>> /bin # ubinfo -a
>>> UBI version: 1
>>> Count of UBI devices: 0
>>> UBI control device major/minor: 10:62
>>>
>>> /bin # ubiformat /dev/mtd5 -y --vid-hdr-offset="2048"
>>> ubiformat: mtd5 (nand), size 511705088 bytes (488.0 MiB), 3904
>>> eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
>>> libscan: scanning eraseblock 3903 -- 100 % complete
>>> ubiformat: 3904 eraseblocks have valid erase counter, mean value is 3
>>> ubiformat: formatting eraseblock 3903 -- 100 % complete
>>>
>>> /bin # ubiattach /dev/ubi_ctrl --mtdn=5 --devn=0 --vid-hdr-offset="2048"
>>> ubiattach: error!: cannot attach mtd5
>>> error 25 (Inappropriate ioctl for device)
>>
>> Before any pointers, which version of mtd-utils are you using?
>> How to:
>> (http://linux-mtd.infradead.org/faq/general.html#L_compile_mtd)
>>
>> ~Vikram
>>
>> ______________________________________________________
>> Linux MTD discussion mailing list
>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>>
>

  parent reply	other threads:[~2012-09-20 20:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20  8:44 ubiattach issue Dimitar Penev
2012-09-20 10:18 ` Dimitar Penev
2012-09-20 18:25 ` Vikram Narayanan
2012-09-20 19:22   ` Dimitar Penev
2012-09-20 19:40     ` Dimitar Penev
2012-09-20 20:37     ` Vikram Narayanan [this message]
2012-09-21  6:40       ` Dimitar Penev
2012-09-21  8:44         ` Dimitar Penev
2012-09-21  9:05           ` Dimitar Penev

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=505B7E7A.6070200@gmail.com \
    --to=vikram186@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=dpn@switchfin.org \
    --cc=linux-mtd@lists.infradead.org \
    /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.