Re: Bug#502583: scary messages in dmesg



On Tue, Oct 21, 2008 at 9:33 AM, Theodore Tso <tytso@xxxxxxx> wrote:

A patch to suppress the WARN information will be in 2.6.28 when the
user does something stupid (i.e., yank out a USB stick without
unmounting the filesystem first). This was done mainly to suppress
the "scary message" in dmesg, which on distributions that support
uploading such messages to http://www.kerneloops.org for analysis, was
cluttering the reports.

I don't think removing these messages is a good idea. It's good even
for non-developer users to have information about what is happening on
their systems. At least to know that they (me in that case) did
something stupid.

However, the patch does not make it any *safer* to uncerimoniously
yank out a USB stick without unmounting it first. This can still lead
to data loss, unless you're *sure* that no process is writing to the
stick and you issued the sync command, and you know enough time has
passed so all of the data has been written to the USB stick.

Another reason to keep these messages. To hide information without
provinding a solution (I can see none here, i´'s impossible to prevent
anyone from doing stupid things) is not a good idea, sounds like the
philosophy of other operating systems...

If you see "lost page write due to I/O error", then you will have lost
data due to premature removal of the USB stick, and fundamentally
*that* bug exists between the keyboard and the chair.

;-)

Regards,

- Ted

Sincerley, Alexandre
--
===============================================================================
Alexandre Lymberopoulos - lymber@xxxxxxxxx
===============================================================================
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: HP Mini netbook sound quality?
    ... Good luck with that. ... you really had to snip this part just to make a stupid ... "And USB or firewire adapters of far better quality than ...
    (rec.audio.tech)
  • Re: Write on a hard disk
    ... Thus spake Langdon: ... The problem is that I would write on disk without an every file is created. ... This is stupid, it will anger customers, it will make your software only ... you just write bytes to the USB stick and damage something that the user ...
    (comp.lang.asm.x86)
  • Re: USB stick joke
    ... USB stick appears on jds desktop ... stupid implemented but the stupidity is well hidden). ...
    (comp.unix.solaris)
  • Re: ping malke
    ... USB enclosure. ... Newer externals may support the newer SATA-1 or SATA-2 standard. ... Since everyone knows Frank is by far the most stupid poster here. ... The truth of course never fits ...
    (microsoft.public.windows.vista.general)
  • Re: umount error. cannot unmount usb disk
    ... the usb stick. ... recently i had a problem with unmounting a USB hard drive (formated as ... whole drive formated as 1 ext3 partition) ... so what i did is switching off computer and unplug the drive (for the ...
    (Ubuntu)

Loading