* Problems with DOC Millenium Plus
@ 2004-02-02 13:16 Roy Lauer
2004-02-02 13:33 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Roy Lauer @ 2004-02-02 13:16 UTC (permalink / raw)
To: linux-mtd
Hi All,
We used to have DOC 2000.
Recently, M-sys stopped manufacturing the DOC 2000, so
we bought DOC Millennium Plus instead.
I updated the mtd driver to the latest version from
the CVS.
The first problem I encountered was that the kernel
build failed due to unresolved symbol BUG_ON in
mtd_core.c and mtd_blkdevs_24.c.
I guess this is a bug.
Anyway, I commented out these lines and was able to
build the kernel.
I formatted the DOC with DFORMAT version 5.1.4 from
M-sys.
When I boot with the new kernel, it recognizes the DOC
correctly but complains "Could not find valid boot
record":
Feb 2 09:46:12 192 kernel: NFTL driver: nftlcore.c
$Revision: 1.94 $, nftlmount.c $Revision: 1.34 $
Feb 2 09:46:12 192 kernel: Using configured
DiskOnChip probe address 0xf0400000
Feb 2 09:46:12 192 kernel: DiskOnChip Millennium Plus
found at address 0xF04000 00
Feb 2 09:46:12 192 kernel: Flash chip found:
Manufacturer ID: 98, Chip ID: 75 (Toshiba:NAND 32MiB
3,3V)
Feb 2 09:46:12 192 kernel: Flash chip found:
Manufacturer ID: 98, Chip ID: 75 (Toshiba:NAND 32MiB
3,3V)
Feb 2 09:46:12 192 kernel: 2 flash chips found. Total
DiskOnChip size: 64 MiB
Feb 2 09:46:12 192 kernel: Could not find valid boot
record
Feb 2 09:46:12 192 kernel: NFTL: could not mount
device
The readme file advices to use nftl_format in such a
case, but this tool seems not to be available any
more.
I tried it with another DOC and got the same message.
Can anyone help me please with this situation.
What have I done wrong?
What shell I do now?
Roy
=====
Roy Lauer
+972-67-477055
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with DOC Millenium Plus
2004-02-02 13:16 Problems with DOC Millenium Plus Roy Lauer
@ 2004-02-02 13:33 ` David Woodhouse
2004-02-02 17:25 ` Roy Lauer
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2004-02-02 13:33 UTC (permalink / raw)
To: Roy Lauer; +Cc: linux-mtd
On Mon, 2004-02-02 at 05:16 -0800, Roy Lauer wrote:
> The first problem I encountered was that the kernel
> build failed due to unresolved symbol BUG_ON in
> mtd_core.c and mtd_blkdevs_24.c.
> I guess this is a bug.
Probably not. There is no Linux kernel which it makes sense to use but
which does not contain the definition of BUG_ON. You're probably using a
kernel which is too old. Although there does exist a possibility that I
just forgot to include the correct header file -- I doubt it though or
someone would have complained sooner.
> NFTL driver: nftlcore.c $Revision: 1.94 $, nftlmount.c $Revision: 1.34 $
The DiskOnChip Millennium Plus uses INFTL not NFTL. You should be very
careful using the current INFTL code -- it does not observe the Bad
Block Table.
--
dwmw2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with DOC Millenium Plus
2004-02-02 13:33 ` David Woodhouse
@ 2004-02-02 17:25 ` Roy Lauer
0 siblings, 0 replies; 3+ messages in thread
From: Roy Lauer @ 2004-02-02 17:25 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd
>
> The DiskOnChip Millennium Plus uses INFTL not NFTL.
> You should be very
> careful using the current INFTL code -- it does not
> observe the Bad
> Block Table.
OK, I switched to INFTL and now I get the following:
INFTL: inftlcore.c $Revision: 1.14 $, inftlmount.c
$Revision: 1.12 $
Using configured DiskOnChip probe address 0xf0400000
DiskOnChip Millennium Plus found at address 0xF0400000
Flash chip found: Manufacturer ID: 98, Chip ID: 75
(Toshiba:NAND 32MiB 3,3V)
Flash chip found: Manufacturer ID: 98, Chip ID: 75
(Toshiba:NAND 32MiB 3,3V)
2 flash chips found. Total DiskOnChip size: 64 MiB
INFTL: corrupt block 1024 in chain 1024, chain length
0, erase mark 0xbf?
INFTL: formatting chain at block 1024
INFTL: formatting block 1024
MTD: Error 0xffffffa5 erasing at 0x2000000
INFTL: error while formatting block 1024
INFTL: corrupt block 1025 in chain 1025, chain length
0, erase mark 0xbf?
INFTL: formatting chain at block 1025
INFTL: formatting block 1025
MTD: Error 0xffffffa5 erasing at 0x2008000
INFTL: error while formatting block 1025
What does it mean?
Roy
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-02 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 13:16 Problems with DOC Millenium Plus Roy Lauer
2004-02-02 13:33 ` David Woodhouse
2004-02-02 17:25 ` Roy Lauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox