Neo Freerunner PMU Status

Harald Welte laforge at
Fri Feb 8 16:31:42 CET 2008

On Fri, Feb 08, 2008 at 11:36:38AM +0000, Andy Green wrote:

> Ha -- looks like the PCF50633 "LOWBAT" interrupt service tries always to
> do kill_proc(1, SIGPWR, 1); when LOWBAT really means *NO*BAT -- it kills
> the garbage collection fork stone dead when it tries to start instead
> and finds that signal waiting there.  I guess the GTA01 PMU driver did
> the same...

Yes.  This is the desired behaviour.  Traditionally, unix power failures
are signalled to the init process by means of SIGPWR.  Even 20-30 year
old code can deal with that :)

Now the question is rather: why is that garbage collection thread using
PID 1.  It shouldn't do that, since that PID is reserved for init and
nothing else.

It's probably worth pushing this question to linux-mtd and/or dwmw2

- Harald Welte <laforge at>         
Software for the world's first truly open Free Software mobile phone

More information about the openmoko-kernel mailing list