Jump to content

Illegal instruction on armv7l debian 9.5


Recommended Posts

Posted

I've tried to run Emby Server 3.5.2.0 and 3.6.0.2 armhf builds under Debian 9.5 running on an armv7l cpu but both builds simply fail to start with "Illegal instruction".

 

root@pikachu:/opt/emby-server# uname -a

Linux pikachu 4.9.0-8-armmp #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) armv7l GNU/Linux

 

root@pikachu:/opt/emby-server# dpkg --print-architecture

armhf

 

root@pikachu:/opt/emby-server# cat /proc/cpuinfo 

processor : 0

model name : ARMv7 Processor rev 1 (v7l)

BogoMIPS : 41.55

Features : half thumb fastmult vfp edsp thumbee vfpv3 vfpv3d16 tls idivt 

CPU implementer : 0x56

CPU architecture: 7

CPU variant : 0x1

CPU part : 0x581

CPU revision : 1

 

Hardware : Marvell Armada 370/XP (Device Tree)

Revision : 0000

Serial : 0000000000000000

 

root@pikachu:/opt/emby-server# file system/EmbyServer

system/EmbyServer: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=2177362987efb0f57b6047f8511299a94451bfbd, stripped

 

root@pikachu:/opt/emby-server# file /usr/bin/host

/usr/bin/host: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=a1be0780e817156224592ad4c93661688713d37f, stripped

 

root@pikachu:/opt/emby-server# ldd system/EmbyServer

linux-vdso.so.1 (0xbecf2000)

libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6f57000)

libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6f33000)

libstdc++.so.6 => /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 (0xb6e27000)

libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6daf000)

libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb6d86000)

libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6c98000)

/lib/ld-linux-armhf.so.3 (0xb6f6a000)

 

root@pikachu:/opt/emby-server# /opt/emby-server/bin/emby-server

Illegal instruction

 

I keep reading people talking about mono-runtime and other dependencies in this forum, but the deb files on the download page of this site have no dependencies listed in them, nor are there any instructions anywhere indicating that users have to install dependencies such as mono to use Emby Server. Nevertheless I have installed imagemagick, libsqlite, mediainfo and mono-runtime just in case they are required anyway, but it makes no difference. Both builds of Emby Server simply throw an illegal operation. 

 

This is an ARMv7 rev 1 processor (armv7l) running armhf packages throughout. Surely that's identical to all the other ARM cpus that people are using to run this software.

 

Since it fails so completely I can't get any more debugging information out of it than this. Just for comparison's sake I've include the "file" output for both the EmbyServer binary and the host command on my system just to prove they are both the same type of executable linked to the same interpreter. All the dynamic libraries that EmbyServer is linked against are there.

 

Is there anything more I can do ? Everything looks like it's checking out in terms of both of these packages being the correct binary for the platform, but "Illegal instruction" when you run them tends to suggest they're not.  

 

Posted

hi @@pawzlion, we have a new beta up. Would you mind trying that and letting me know how that compares? Thanks.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...