* mtdblock failing
@ 2001-05-24 4:14 Nikolai Vladychevski
2001-05-24 6:48 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Vladychevski @ 2001-05-24 4:14 UTC (permalink / raw)
To: linux-mtd
Hi,
I have problems using mtdblock device with DoC millenium 8MB, it does
not accept reading or writing. This is the error message when I do for
example "dd if=/etc/passwd of=/dev/mtdblock0":
end_request: I/O error, dev 1f:00 (mtdblock), sector0
dd: reading `/dev/mtdblock0': Input/output error
0+0 records in
0+0 records out
/dev/mtd0 device works just perfect. I can read/write ok, I boot Linux
Bios from it and I do not complain. But I could never get to work
mtdblock device. Compiling it as module or comiling it in the kernel
gives the same result. On the console I can see
mtdblock_open
ok
mtdblock: read on "DiskOnChip Millenium" at 0x0, size 0x1000
end_request: I/O error, dev 1f:00 (mtdblock), sector 0
mtdblock_release
ok
Should I update to the lastests CVS tree? I am using version dated April
11 2001. .2.4-test12 kernel.
Thanks in advance
Nikolai
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mtdblock failing
2001-05-24 4:14 mtdblock failing Nikolai Vladychevski
@ 2001-05-24 6:48 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-05-24 6:48 UTC (permalink / raw)
To: Nikolai Vladychevski; +Cc: linux-mtd
niko@isl.net.mx said:
> I have problems using mtdblock device with DoC millenium 8MB, it does
> not accept reading or writing.
The DiskOnChip hardware drivers aren't designed for use with anything but
the NFTL code. So they don't accept reads longer than a single flash page,
which is what you're seeing.
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-05-24 6:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-24 4:14 mtdblock failing Nikolai Vladychevski
2001-05-24 6:48 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox