[BUG] Re: mtd_stresstest module bricked my dockstar
Artem Bityutskiy
dedekind1 at gmail.com
Mon Oct 24 17:04:15 EDT 2011
> > Anyway - what would people think if linux had a kernel module which wipes
> > /dev/sda1 when loaded ? :)
Yeah, the tests are destructive and they start erasing and torturing
your MTD device without preserving your data.
And the bad thing is - if you do not pass any parameter, they will
torture your mtd0.
I am sorry that you bricked your device and I hope you will be able to
resurrect it. This was an oversight. The tests were written for
validating new drivers and making sure they are robust. So we always
assumed people run them on a development HW, not on a production HW.
That was a false implicit assumption.
Yes, we should use -1 as the default value, and print a scary warning
message when the module is inserted without a parameter. We should
probably also put word "destructive" or something like this to the
module description.
--
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20111025/ddf54233/attachment.sig>
More information about the linux-mtd
mailing list