Hi Claes
Thanks for helping me on a Sunday an' all...
I checked the old .config shipped with the Raspbian distro and it seemed to have Posix MQ enabled:
pwrp@martin-laptop:~/raspberrypi/linux$ zcat config.gz |grep QUE
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_NETFILTER_NETLINK_QUEUE=m
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_TARGET_MASQUERADE=m
# CONFIG_IP6_NF_QUEUE is not set
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_CRYPTO_WORKQUEUE=y
pwrp@martin-laptop:~/raspberrypi/linux$
But just to be sure I rebuilt the kernel image anyway and installed it but I get the same problem:
pi@raspberrypi ~/src $ pwr kill
Remove all processes and resources for Proview Storage Environment
/tmp/pwr_killer: line 4: kill: (1831) - No such process
/tmp/pwr_killer: line 5: kill: (1835) - No such process
/tmp/pwr_killer: line 6: kill: (1839) - No such process
/tmp/pwr_killer: line 7: kill: (1843) - No such process
/tmp/pwr_killer: line 8: kill: (1847) - No such process
rm: cannot remove `/tmp/pwr*1': No such file or directory
Done.
pi@raspberrypi ~/src $ gdb rt_ini
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/pwrrt/exe/rt_ini...done.
(gdb) r
Starting program: /usr/pwrrt/exe/rt_ini
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x000596ea in qdb_RemoveQue (
status=<error reading variable: Cannot access memory at address 0x4>,
qp=<error reading variable: Cannot access memory at address 0x0>)
at ../../rt_qdb.c:1379
warning: Source file is more recent than executable.
1379 qdb_AssumeLocked;
(gdb) bt
#0 0x000596ea in qdb_RemoveQue (
status=<error reading variable: Cannot access memory at address 0x4>,
qp=<error reading variable: Cannot access memory at address 0x0>)
at ../../rt_qdb.c:1379
Cannot access memory at address 0x2c
(gdb) q
A debugging session is active.
Inferior 1 [process 1889] will be killed.
Quit anyway? (y or n) y
pi@raspberrypi ~/src $