All of lore.kernel.org
 help / color / mirror / Atom feed
From: "SHIKUILIANG" <klshi_163@163.net>
To: linux-mtd@lists.infradead.org
Cc: mtd@imladris.demon.co.uk;, David.Woodhouse@mvhi.com;
Subject: nflt_format and fdisk ???
Date: Thu, 15 Nov 2001 22:45:52 +0800 (CST)	[thread overview]
Message-ID: <3BF3D520.04135@bjapp6.163.net> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]

Useing a doc2000 device (32Mb) and a kernel v2.4.14.

After insert some MTD modules :
mtdcore docecc doc2000 mtdchar mtdblock and nftl;
I run nflt_format to format my doc2000 chip;
but it complain :Erasesize not 8Kb - I'm confused!

For someone's advice I skip the erasesize check in nftl_format.c.
so nftl_format works well.
but when I run fdisk on /dev/nftla.
it's say :
You will not be able to write partition table.
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel Building a new DOS disklabel.Changes will remain in memory only,until
you decide to write them.After that, of course,the previous content won't be
recoverable.

Command (m for help):

Even if I created a partition and enter "w",the partition also can not be writed
into /dev/nftla.

run nftldump on /dev/mtd0:
NFTL Media Header found at offset 0x00000000:
NumEraseUnits: 2048
FirstPhysicalEUN:0
Formatted Size:33488896
UnitSizeFactor: 0xff
Second NFTL Media Header found at offset 0x00004000
Unit 0 is free
Unit 1 is free
...
...










¼Óн£¬ÉýÖ°ÃÜóÅ
http://www.englishtown.com/master/home/courseoverview.asp?etag=TOCN&ctr=cn



===============================================
 
ÊÖ»úºÅÂëÊǵçÓÊ£¬´Ó´Ë½»·Ñ²»ÓóһºÅÔÚÊÖ¡°ËæÉíÓÊ¡±
 
¡ª¡ª 163¡°ËæÉíÓÊ¡±ÊÖ»úÓÊÏä ¡ª¡ª
¡ò ÊÖ»úºÅÂë¾ÍÊǵç×ÓÓÊÏ䵨ַ£¬·½±ã¼ÇÒä
¡ò ²»ÓÃÉÏÍø£¬Í¸¹ýÊÖ»ú¶ÌÐÅ£¬ËæÊ±ÕÆÎÕÓʼþµÄ½ÓÊÕÇé¿ö
¡ò ¾ö²»´í¹ýÈκÎÉÌÒµÁ¼»ú
¡ò ·½±ãµÄ°´ÔÂÊÕ·Ñ·½Ê½£¬×îµÍÿÔÂÖ»Ðè5Ôª
 
ÏêÇéÇëä¯ÀÀ
http://vip.163.net/mobile/mobile.htm
 
===============================================

                 reply	other threads:[~2001-11-15 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3BF3D520.04135@bjapp6.163.net \
    --to=klshi_163@163.net \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mtd@imladris.demon.co.uk \
    /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.