From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dell-paw-3.cambridge.redhat.com ([195.224.55.237] helo=passion.cambridge.redhat.com) by pentafluge.infradead.org with esmtp (Exim 3.22 #1 (Red Hat Linux)) id 16kx9t-0007nN-00 for ; Wed, 13 Mar 2002 01:02:25 +0000 From: David Woodhouse In-Reply-To: <002201c1ca2b$00ca7fc0$0101a8c0@dellc800> References: <002201c1ca2b$00ca7fc0$0101a8c0@dellc800> <4513.1015976946@redhat.com> To: "Mark Meade" Cc: "Vadim Khmelnitsky" , linux-mtd@lists.infradead.org Subject: Re: UnitSizeFactor of != 1 yet? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Mar 2002 01:13:49 +0000 Message-ID: <6602.1015982029@redhat.com> Sender: linux-mtd-admin@lists.infradead.org Errors-To: linux-mtd-admin@lists.infradead.org List-Help: List-Post: List-Subscribe: , List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: mark@lakeshoremicro.com said: > Yes, that was the message I got with the latest cvs code, after > relocating the ReplUnitTable assignment. > Just to make sure I didn't have something else screwed up, I went back > to the source in 2.4.18, and added a printk of the UnitSizeFactor. In > that case, it also said 0. Eep. OK, if you put a check in just before we deal with UnitSizeFactor, setting it to 0xFF if it was 0x00 - does that make it work? Don't break the memcmp with the later MediaHeader - use a local variable of something. Vadim, is this expected? Is a UnitSizeFactor of zero _always_ going to mean that the Virtual Unit size matches the physical unit size? -- dwmw2