All of lore.kernel.org
 help / color / mirror / Atom feed
From: "modream" <xitron@modream.co.kr>
To: <mtd@infradead.org>
Subject: help me --- end_request: I/O error, dev 1f:02 (mtdblock), sector 32768
Date: Tue, 1 May 2001 00:47:22 +0900	[thread overview]
Message-ID: <00ac01c0d18c$dd6abb40$fd01a8c0@jun0001> (raw)

[-- Attachment #1: Type: text/plain, Size: 3009 bytes --]

Hello.
I am JUN from seoul Korea

I have any question for using flash filesystem(ext2).
 
I use intel assabet board.
and I used    kernel-2.4.1 
.                   patch-2.4.1-rmk1
.                   diff-2.4.1-rmk1-np2

and "make xconfig" checked
   Memory Technology Devices (MTD) 
         --->    Memory Technology Device (MTD) support  (*)               ----> check
                   and   other item check....

  File systems  
   Journalling Flash File System (JFFS) support (EXPERIMENTAL) (*)      ---->check
            -----------  this item is not relation to ext2 filesystem.

and kernel source modified.  
 linux/init/main.c                
 #ifdef CONFIG_MTD
  { "mtdblock", 0x1f00 },
  { "mtd2", 0x1f02 },               -------------------> add
 #endif

 linux/drivers/mtd/sa1100-flash.c
 static struct mtd_partition assabet_partitions[] = {
  { offset: 0,   size: 0x00040000,  },
  { offset: MTDPART_OFS_APPEND, size: 0x007c0000,  },           ------------->  modify
  { offset: MTDPART_OFS_APPEND, size: MTDPART_SIZ_FULL  }
 };

next, I compiled kernel
"make dep"
"make zImage"
"make modules"
"make modules_install"
 
and download kernel & ramdisk
after booting,  I try make filesystem.
 
"cat /proc/mtd"
      dev:    size   erasesize  name
      mtd0: 00040000 00040000 "<NULL>" 
      mtd1: 007c0000 00040000 "<NULL>"
      mtd2: 01800000 00040000 "<NULL>"
"mknod /dev/mtd2 b 31 2"
"mke2fs /dev/mtd2"

But not made filesystem with error.
message when make filesystem is:
 
#mke2fs /dev/mtd2
mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
6144 inodes, 24576 blocks
1228 blocks (5.00%) reserved for the super user
First data block=1
3 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks: 
8193

Writing inode tables: 0/31/32/3done                            
Writing superblocks and filesystem accounting information: 

mtdblock: erase of region [0x840000, 0x40000] on "<NULL>" failed
end_request: I/O error, dev 1f:02 (mtdblock), sector 32768
mtdblock: erase of region [0x840000, 0x40000] on "<NULL>" failed
end_request: I/O error, dev 1f:02 (mtdblock), sector 32776
.                                               .
.                                               .
.                                               .
.                                               .
mtdblock: erase of region [0x840000, 0x40000] on "<NULL>" failed
end_request: I/O error, dev 1f:02 (mtdblock), sector 32784
mtdblock: erase of region [0x840000, 0x40000] on "<NULL>" failed
end_request: I/O error, dev 1f:02 (mtdblock), sector 32792
 
What is problem?
I try kernel compile, modified and downloading in the last 4days.
But I don't making flash filesystem. 

please Help me.

I am sorry that my poor english.

Thank you for read this mail.
Best regard JUN.

[-- Attachment #2: Type: text/html, Size: 7676 bytes --]

             reply	other threads:[~2001-04-30 15:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-30 15:47 modream [this message]
2001-04-30 16:05 ` help me --- end_request: I/O error, dev 1f:02 (mtdblock), sector 32768 David Woodhouse

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='00ac01c0d18c$dd6abb40$fd01a8c0@jun0001' \
    --to=xitron@modream.co.kr \
    --cc=mtd@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.