lkml.org 
[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Journaling: Surviving or allowing unclean shutdown?
Hi!

> > > Being able to shut down by hitting the power switch is a little luxury
> > > for which I've been willing to invest more than a year of my life to
> > > attain. Clueless newbies don't know why it should be any other way, and
> > > it's essential for embedded devices.
> >
> > Clueless newbies (and slightly less clueless less newbie) type people
> > don't think that they should HAVE to. My two interests are coping with
> > particularly pedantic people who don't want there computer to hastle them
> > about what they should or shouldn't do, and slightly embedded systems
> > (e.g. set top box/web browsery thing that you want to be able to turn off
> > like a TV but it should still be able to have a writeable disc for config
> > and stuff you download/cache etc).
>
> Nothing wrong with a filesystem (or apps) that can handle being powered
> down.
> But I prefer to handle this kind of users with a power switch that
> merely
> acts as a "shutdown button" instead of actually killing power.
> The os will then run the equivalent of "shutdown -h now"
> You may not have this luxury on an ordinary pc, but you do if you design
> embedded
> devices. You will then be free to use existing GPL software that
> not necessarily handle a power failure well.

Heck, I hate hardware like that. Power button should kill the power,
immediately. It should not sync, it should not tell system, it should
just cut off the power. There _might_ be other button telling system
to shutdown.

Why is power button important? I already had 2 situations where
softpower could be pretty fatal, and one where it _was_ fatal.

1. on times of 486, badly inserted ISA card led to explosion of one of
low-integration chips. I've actually seen blue light. You can see
that soft-power-off is just not appropriate for such situation. [But I
probably could have survived soft-power off. Chip exploded and no more
damage seemed to happen.]

2. on the same 486, one wire got short-circuited. Smoke started
comming out of the box. By powering it down I even saved the wire (its
isolation started boiling).

3. few days ago, our hot-wave owen commited suicide. Device with soft
power controlled by CPU. During one night, CPU got crazy (power
glitch? EMI?) and heating turned on itself. Fan did not. Owen
destroyed itself.
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.090 / U:0.140 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site