public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: Жека <vortexx@ukr.net>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Ubifs
Date: Wed, 10 Dec 2008 13:04:52 +0200	[thread overview]
Message-ID: <1228907092.13686.252.camel@sauron> (raw)
In-Reply-To: <003401c95aa6$078be750$3503200a@head.local>

On Wed, 2008-12-10 at 11:02 +0200, Жека wrote:
> Hi all,
> I wanna have a try ubifs on nand, and do as written on
> http://www.linux-mtd.infradead.org/faq/ubifs.html
> 1. compile, install and boot the kernel (2.6.26-rc3)
> the configuration option for ubi and nand is default on as module.
> 2. make the mtd-utils.
> 3. create a ubi when I got the error
> 
> # ubiattach /dev/ubi_ctrl -m 0
> UBI device number 0, total 2048 LEBs (31457280 bytes, 30.0 MiB), available
> 2024
> LEBs (31088640 bytes, 29.6 MiB), LEB size 15360 bytes (15.0 KiB)
> # ubinfo
> UBI version:                    1
> Count of UBI devices:           1
> UBI control device major/minor: 10:63
> Present UBI devices:            ubi0
> # ubimkvol /dev/ubi0 -N test -s 30MiB
> ubimkvol: error!: "/dev/ubi0" is not an UBI device node

Hi, please check this:

cat /sys/class/ubi/ubi0_0/dev
and
ls -l /dev/ubi0_0
Major/minor should match. E.g., on my system I have:

[dedekind@gollum /]$ cat /sys/class/ubi/ubi0_0/dev
252:1
[dedekind@gollum /]$ ls -l /dev/ubi0_0
crw-rw---- 1 root root 252, 1 2008-12-08 17:11 /dev/ubi0_0

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

  reply	other threads:[~2008-12-10 11:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-10  9:02 Ubifs Жека
2008-12-10 11:04 ` Artem Bityutskiy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-10 11:44 Ubifs Жека
2008-12-10 11:55 ` Ubifs Artem Bityutskiy
2008-12-10 12:51 ` Ubifs Artem Bityutskiy
2008-12-10 13:50 Ubifs Жека

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=1228907092.13686.252.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vortexx@ukr.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox