All of lore.kernel.org
 help / color / mirror / Atom feed
* latest MTD snapshot
@ 2003-08-29 13:28 Luca Contini
  2003-08-29 13:47 ` J.D. Bakker
  2003-08-29 13:58 ` David Woodhouse
  0 siblings, 2 replies; 9+ messages in thread
From: Luca Contini @ 2003-08-29 13:28 UTC (permalink / raw)
  To: linux-mtd-request@lists.infradead.org

Hi,
I've downloaded the latest snapshot from the CVS:
mtd-snapshot-20030828.tar.bz2
Since I need only the mtdblock device working I've just copied the snapshot
/drivers/mtd content to my /linux/drivers/mtd directory, and the blktrans.h
to /include/linux/mtd/.
When I try to compile (using arm-linux-gcc) mtdblock.c I get this warning:
"mtdblock.c:251: warning: implicit declaration of function `unlikely'"
and when I try to insert the mtdblock.o module I get:

[arm@Botolo2 mtd]$insmod mtdblock.o
mtdblock.o: unresolved symbol unlikely
mtdblock.o: unresolved symbol register_mtd_blktrans
mtdblock.o: unresolved symbol add_mtd_blktrans_dev
mtdblock.o: unresolved symbol deregister_mtd_blktrans
mtdblock.o: unresolved symbol del_mtd_blktrans_dev
[arm@Botolo2 mtd]$

What Am I missing?

Regards

Luca

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Latest mtd snapshot
@ 2006-01-06 14:29 Zoltan Sogor
  0 siblings, 0 replies; 9+ messages in thread
From: Zoltan Sogor @ 2006-01-06 14:29 UTC (permalink / raw)
  To: linux-mtd

Dear All,

we have a problem with the latest mtd snapshot and nandsim. (kernel
version is 2.6.14.3 (x86))

We run the following commands, but it doesn't work.
# modprobe nandsim
# flash_eraseall -j /dev/mtd0
# mount /mnt/flash/
# cp /boot/vmlinuz-2.6.14.3 /mnt/flash/
# umount /mnt/flash/
# mount /mnt/flash/
mount: /dev/mtd0: can't read superblock

kern.log:
kernel: NAND device: Manufacturer ID: 0x98, Chip ID: 0x39 (Toshiba NAND 
8MiB 1,8V 8-bit)
kernel: flash size: 8 MiB
kernel: page size: 512 bytes
kernel: OOB area size: 16 bytes
kernel: sector size: 8 KiB
kernel: pages number: 16384
kernel: pages per sector: 16
kernel: bus width: 8
kernel: bits in sector size: 13
kernel: bits in page size: 9
kernel: bits in OOB size: 4
kernel: flash size with OOB: 8448 KiB
kernel: page address bytes: 3
kernel: sector address bytes: 2
kernel: options: 0x62
kernel: Scanning device for bad blocks
kernel: Creating 1 MTD partitions on "NAND 8MiB 1,8V 8-bit":
kernel: 0x00000000-0x00800000 : "NAND simulator partition"
kernel: JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
kernel: Node at 0x00529b64 with length 0x000006ba would run over the end
of the erase block
kernel: Perhaps the file system was created with the wrong erase size?
Reject to mount.

Has somebody get the same effect on a real NAND device on recent snapshot ?

It works on mtdram.

Any idea ???

Zoltan

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-01-06 14:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-29 13:28 latest MTD snapshot Luca Contini
2003-08-29 13:47 ` J.D. Bakker
2003-08-29 13:56   ` Luca Contini
2003-08-29 14:07     ` J.D. Bakker
2003-08-29 14:28       ` David Woodhouse
2003-08-29 14:40       ` Luca Contini
2003-09-01  9:28       ` Luca Contini
2003-08-29 13:58 ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2006-01-06 14:29 Latest mtd snapshot Zoltan Sogor

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.