[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1319490276.12314.9.camel@golum>
Date: Tue, 25 Oct 2011 00:04:15 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Wolfram Sang <w.sang@...gutronix.de>,
Roland Kletzing <devzero@....de>
Cc: adrian.hunter@...el.com, linux-mtd@...ts.infradead.org,
Willy Tarreau <w@....eu>, linux-kernel@...r.kernel.org
Subject: Re: [BUG] Re: mtd_stresstest module bricked my dockstar
> > 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
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists