Dear MTD maintainers, I suggest several bugfixes and workarounds against the snapshot of 20041226 (inserted into a vanilla 2.4.28) - see the attached patch. I hope it's not a problem that my message is posted a few days later than I would've liked - I didn't notice I had to subscribe to be able to post :-) I'm using DiskOnChip devices in various sorts of Advantech hardware. I'm compiling my MTD drivers for the DiskOnChip alone - I don't want to include all the other MTD stuff (useless to me). Bugs fixed / worked around: 1) if you flush the partition table and issue a BLKRRPART (i.e., you re-partition the diskonchip), the reported device size shrinks to one half of the original. If you do this again before a reboot, the size shrinks again (now one quarter). Seems like the driver would re-init device size to a size denominated in 1k blocks, rather than sectors (512B). 2) in my DiskOnChip-only setup, CONFIG_MTD_MAP_BANK_WIDTH_1 is missing in the .config. I've added that straight to $LINUX/include/linux/map.h 3) two #includes seem to be missing in $MTD/nand/diskonchip.c 4) the Reed-Solomon library hooks are messed up in $LINUX/lib/Config.in I hope this helps Frank Rysanek