Page 1 of 1

server start failure "illegal instruction"

Posted: 16 Nov 2013 00:11
by thunderbolt
Hi,
since my last raspberry system (raspbian) upgrade/update, rpi firmware update and change to java 7, my z-way server won´t start anymore.

I´m getting this text:
Z-Way version v1.4.1-rc1 from 2013-10-21 03:49:05 +0400 (build eeafaa52efb63177d7d96a3b68a614ab447662f1)
Using default configuration file config.xml
Starting Z-Way for device /dev/ttyAMA0...
Starting HTTP server on port 8083...
Illegal instruction

I tried to install z-way again, but that didn´t helped.

z-way.log:
[2013-11-15 23:03:20.968] RECEIVED ACK
[2013-11-15 23:03:20.979] RECEIVED: ( 01 04 01 05 08 F7 )
[2013-11-15 23:03:20.980] SENT ACK
[2013-11-15 23:03:20.980] SETDATA controller.data.isPrimary = True
[2013-11-15 23:03:20.980] SETDATA controller.data.isInOthersNetwork = False
[2013-11-15 23:03:20.980] SETDATA controller.data.SISPresent = False
[2013-11-15 23:03:20.980] SETDATA controller.data.isRealPrimary = True
[2013-11-15 23:03:20.981] SETDATA controller.data.isSUC = False
[2013-11-15 23:03:20.981] Job 0x05 (Get controller capabilities): success
[2013-11-15 23:03:20.981] Error returned from zway_fc_enable_suc(zway, TRUE, TR$
[2013-11-15 23:03:20.982] Adding job: Set new SUC/SIS
[2013-11-15 23:03:20.982] Removing job: Get controller capabilities
[2013-11-15 23:03:20.994] SENDING (cb 0x01): ( 01 07 00 54 01 01 00 01 AD )
[2013-11-15 23:03:21.004] RECEIVED ACK
[2013-11-15 23:03:21.015] RECEIVED: ( 01 04 01 54 00 AE )
[2013-11-15 23:03:21.016] SENT ACK
[2013-11-15 23:03:21.016] Job 0x54 (Set new SUC/SIS): Failed
[2013-11-15 23:03:21.016] Job 0x54 (Set new SUC/SIS): fail
[2013-11-15 23:03:21.016] Removing job: Set new SUC/SIS

Some more information:
root@raspberrypi:/opt/z-way-server# file /bin/ls
/bin/ls: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0x7f981e03f231371c5feaaeab28d9e23639e57cd3, stripped

root@raspberrypi:/opt/z-way-server# file /opt/z-way-server/z-way-server
/opt/z-way-server/z-way-server: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.6.3, not stripped

can anyone help me?

can be resolved by going back to older kernel version.

Posted: 16 Nov 2013 00:11
by wwolkers
You can fix this by going back to an older kernel version. I went back quite some, but doing this:

rpi-update 8234d5148aded657760e9ecd622f324d140ae891

You can find the different versions here:
https://github.com/Hexxeh/rpi-firmware/commits/master

problem solved

Posted: 16 Nov 2013 00:11
by thunderbolt
thanks a lot, that solution fixed my problem.
maybe this should stand at the install instruction

still doesnt work

Posted: 16 Nov 2013 00:11
by tukov
Please let me know exactly how you did to fix this? I have same problem but I cannot write rpi-update in terminal?

OpenELEC:~ # rpi-update 8234d5148aded657760e9ecd622f324d140ae891
-sh: rpi-update: not found





you have to setuo the rpi

Posted: 16 Nov 2013 00:11
by thunderbolt
you have to setup the rpi update script first.

sudo apt-get update

sudo apt-get install git

sudo wget https://raw.github.com/Hexxeh/rpi-updat ... rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update

sudo rpi-update
(in our case rpi-update 8234d5148aded657760e9ecd622f324d140ae891)

sudo reboot

May be this is hardfp/softfp

Posted: 16 Nov 2013 00:11
by PoltoS
May be this is hardfp/softfp problems? Which versio do you use?