* M-Sys's driver and public driver
@ 2001-02-06 19:20 Ruslan Satlykov
2001-02-07 7:42 ` David Woodhouse
0 siblings, 1 reply; 6+ messages in thread
From: Ruslan Satlykov @ 2001-02-06 19:20 UTC (permalink / raw)
To: mtd
Hi,
Here is my (some) trouble. Under the Linux, I have a DOC partitioned
with M-Systems's doc driver to two partiotions. It's works fine after
rebooting, I can read/write on it, but some days ago I have tryed 2.4
kernel, with embedded DOC driver in it. Well, I had successfully
mounted the chip, but when I had rebooted I lose all my data on the
flash :(... GPL's driver "says" me words like 'ECC read error' at the
mount time, but I had ignored this warnings... And - unlucky final, as
you see :)
For details:
DiskOnChip 2000, size - 4-8Mb, firmware version - 1.21.
And, after rebooting native M-System's driver can not 'fdisk' and
mount my chip (I need to repair it with original DOC's image, getted
with getmimg.bat from M-Systems floppy)
Thanks.
Ruslan.
P.S. But - thank you very much for your work!! :) And sorry for my
English.
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: M-Sys's driver and public driver
2001-02-06 19:20 M-Sys's driver and public driver Ruslan Satlykov
@ 2001-02-07 7:42 ` David Woodhouse
2001-02-07 17:59 ` Ruslan Satlykov
0 siblings, 1 reply; 6+ messages in thread
From: David Woodhouse @ 2001-02-07 7:42 UTC (permalink / raw)
To: Ruslan Satlykov; +Cc: mtd
ruslan@mik.ru said:
> Well, I had successfully mounted the chip, but when I had rebooted I
> lose all my data on the flash :(... GPL's driver "says" me words like
> 'ECC read error' at the mount time, but I had ignored this warnings...
> And - unlucky final, as you see :)
Is this a DiskOnChip 2000 or a DiskOnChip Millennium?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: M-Sys's driver and public driver
2001-02-07 7:42 ` David Woodhouse
@ 2001-02-07 17:59 ` Ruslan Satlykov
2001-02-07 18:01 ` David Woodhouse
0 siblings, 1 reply; 6+ messages in thread
From: Ruslan Satlykov @ 2001-02-07 17:59 UTC (permalink / raw)
To: David Woodhouse; +Cc: mtd
DW> ruslan@mik.ru said:
>> Well, I had successfully mounted the chip, but when I had rebooted I
>> lose all my data on the flash :(... GPL's driver "says" me words like
>> 'ECC read error' at the mount time, but I had ignored this warnings...
>> And - unlucky final, as you see :)
DW> Is this a DiskOnChip 2000 or a DiskOnChip Millennium?
DW>
DiskOnChip 2000.... And, can I ask the mailing list? I had downloaded
the newest MTD distribution by the CVS, and - how I can add this set
to the fresh copy of the linux kernel? Yes, I maked the patch, and
what I must t do next? :))
Thank you,
Ruslan
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: M-Sys's driver and public driver
2001-02-07 17:59 ` Ruslan Satlykov
@ 2001-02-07 18:01 ` David Woodhouse
2001-02-07 18:55 ` Re[2]: " Ruslan Satlykov
2001-02-07 19:10 ` dr john halewood
0 siblings, 2 replies; 6+ messages in thread
From: David Woodhouse @ 2001-02-07 18:01 UTC (permalink / raw)
To: Ruslan Satlykov; +Cc: mtd
ruslan@mik.ru said:
> DiskOnChip 2000....
Ouch. No clue ATM what's caused that.
> And, can I ask the mailing list? I had downloaded
> the newest MTD distribution by the CVS, and - how I can add this set
> to the fresh copy of the linux kernel? Yes, I maked the patch, and
> what I must t do next? :)) Thank you, Ruslan
Drop the contents of the kernel/ directory over the top of your kernel's
drivers/mtd directory. Likewise the include/linux/mtd directory.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re[2]: M-Sys's driver and public driver
2001-02-07 18:01 ` David Woodhouse
@ 2001-02-07 18:55 ` Ruslan Satlykov
2001-02-07 19:10 ` dr john halewood
1 sibling, 0 replies; 6+ messages in thread
From: Ruslan Satlykov @ 2001-02-07 18:55 UTC (permalink / raw)
To: David Woodhouse; +Cc: mtd
DW> Ouch. No clue ATM what's caused that.
OK :)
>> And, can I ask the mailing list? I had downloaded
>> the newest MTD distribution by the CVS, and - how I can add this set
>> to the fresh copy of the linux kernel? Yes, I maked the patch, and
>> what I must t do next? :)) Thank you, Ruslan
DW> Drop the contents of the kernel/ directory over the top of your kernel's
DW> drivers/mtd directory. Likewise the include/linux/mtd directory.
David, I had copyed it to the named directories, but when a try to
make a kernel (after make menuconfig), I got the messages about
undefined variables DEBUG_LEVEL0, 1, etc... After editing file
drivers/mtd/mtdcore.c (I had replaced DEBUG_LEVEL0 with DEBUG_LEVEL_0,
etc, as declared in linux/mtd/compatmac.h, the problem has been solved...
And, at the first compilation there was error like
'linux/compatmac.h': No such file or directory. I had copyed this
file from linux/mtd to linux include dir, but I'm not sure, that it
was correct. Is it two different files with one name, placed in the
differents include directories?
Thank you,
Ruslan
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: M-Sys's driver and public driver
2001-02-07 18:01 ` David Woodhouse
2001-02-07 18:55 ` Re[2]: " Ruslan Satlykov
@ 2001-02-07 19:10 ` dr john halewood
1 sibling, 0 replies; 6+ messages in thread
From: dr john halewood @ 2001-02-07 19:10 UTC (permalink / raw)
To: David Woodhouse, Ruslan Satlykov; +Cc: mtd
On Wednesday 07 February 2001 18:01, David Woodhouse wrote:
> Drop the contents of the kernel/ directory over the top of your kernel's
> drivers/mtd directory. Likewise the include/linux/mtd directory.
...and jffs.h and cjffs.h into include/linux, although you might be able to
get away with it if you're not using jffs.
cheers
john
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-02-07 19:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-06 19:20 M-Sys's driver and public driver Ruslan Satlykov
2001-02-07 7:42 ` David Woodhouse
2001-02-07 17:59 ` Ruslan Satlykov
2001-02-07 18:01 ` David Woodhouse
2001-02-07 18:55 ` Re[2]: " Ruslan Satlykov
2001-02-07 19:10 ` dr john halewood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox