Hi, On Mon, 2007-09-10 at 17:50 +0800, Bryan Wu wrote:This means that MTD did not return an error when the test tried to read the last NAND page's OOB. Here is the code: /* Attempt to write off end of device */ ops.mode = MTD_OOB_AUTO; ops.ooblen = mtd->ecclayout->oobavail + 1; ops.oobbuf = writebuf; printk(PRINT_PREF "Attempting to write past end of device\n"); printk(PRINT_PREF "An error is expected...\n"); err = mtd->write_oob(mtd, mtd->size - mtd->writesize, &ops); So we read OOB size + 1 byte from the last NAND page and get no error. This test passes for nandsim, so I'm not sure the problem is in the generic code. On the other hand, it is generic code which should check rages. Similar. We are planning to clean up the tests and submit them for kernel inclusion some day, when we have time. -- Best regards, Artem Bityutskiy (Битюцкий Артём) -
| Andrew Morton | 2.6.22-rc6-mm1 |
| Avi Kivity | [PATCH 002/104] KVM: SMP: Add vcpu_id field in struct vcpu |
| Pavel Machek | Re: suspend2 merge (was Re: [Suspend2-devel] Re: CFS and suspend2: hang in atomic ... |
| Con Kolivas | Re: -mm merge plans for 2.6.23 |
git: | |
| Junio C Hamano | What's cooking in git.git (topics) |
| Pazu | qgit on Mac OS X |
| Junio C Hamano | Re: [PATCH] Deprecate git-lost-found |
| Steffen Prohaska | Re: CVS -> SVN -> Git |
| Richard Stallman | Real men don't attack straw men |
| Siju George | Dell Latitude D820 |
| Lars Noodén | Call for testing - uvideo(4) |
| peter | ntpd not synching |
| Stephen Pierce | SLS |
| Dave `geek' Gymer | WARNING (was Re: New afio release) |
| Theodore Ts'o | Re: Splitting comp.os.linux |
| Goetz Schuchart | Re: [?] df: cannot read table of mounted filesystems |
| magical mounts | 8 hours ago | Linux kernel |
| Problem in scim in Fedora 9 | 9 hours ago | Linux general |
| The new Western Digital power saving drives | 9 hours ago | Hardware |
| Battery Maximizer Software | 1 day ago | Linux kernel |
| windows folder creation surprise | 1 day ago | Windows |
| Firewall | 1 day ago | OpenBSD |
| IP layer send packet | 2 days ago | Linux kernel |
| dtrace for linux available | 2 days ago | Linux kernel |
| Unable to mount ramdisk image using UBoot while upgrading to 2.6.15 kernel for a MPC8540 based target | 3 days ago | Linux kernel |
| RealTek RTL8169 - can't connect | 3 days ago | NetBSD |
