[parisc-linux] Power Button doesn't turn machine off anymore
Carlos O'Donell
carlos@baldric.uwo.ca
Tue, 2 Jul 2002 15:21:47 -0400
> > Okie. Time to ask questions.
> > What toolchain did you use to build your kernel?
>
> Toolchain?
> I'm running Debian unstable on the box and built it directly on the
> box, using make-kpkg (as usual)
>
Excellent. This means you are using the toolchain provided
by debian (and not rolling your own... some of us are doing this
and I wanted to clarify your position).
I'm not running any PARISC boxes in unstable (although I'm going
to so I can test stuff like this)... so could you tell me the
version of your compilier and linker?
# gcc -v
# ld -v
Things can and will go wrong... but debugging info always helps :)
Trying to segregate toolchain issues is going to be my new quest.
As Willy said "I'm so happy to see someone interested in toolchain
work!" ;)
If you could apply the following patch and test your power button
again:
--- ./arch/parisc/kernel/power.c Tue Jul 2 15:17:59 2002
+++ ./arch/parisc/kernel/power.c Tue Jul 2 15:18:12 2002
@@ -55,6 +55,7 @@
#include <asm/led.h>
#include <asm/uaccess.h>
+#define DEBUG
#ifdef DEBUG
# define DPRINTK(x) printk x