Project

General

Profile

Actions

Bug #1774

closed

Fresh installation from Debian repo fails to start with "Illegal instruction"

Added by Ryan Dostie almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

I'm using a Raspberry Pi B running Raspbian Jessie Lite. I added the 'backports' repository and installed from there, as follows:

echo "deb http://http.debian.net/debian jessie-backports main" > /etc/apt/sources.list.d/backports.list

sudo apt-get update

sudo apt-get install -t jessie-backports suricata

That's it. Everything seemed to install fine, with no errors. However, when I try to run Suricata for the very first time, it fails with "Illegal instruction". This includes just trying to get the build info:

pi@raspberrypi:~ $ suricata --build-info
Illegal instruction
Actions #1

Updated by Andreas Herz almost 8 years ago

Can you try to build suricata instead of using the backport?

Actions #2

Updated by Victor Julien almost 8 years ago

This should probably be reported to the Debian bug tracking system instead. It's likely an issue with compiler flags that are wrong (e.g. march=native)

Actions #3

Updated by Victor Julien almost 8 years ago

  • Status changed from New to Closed
Actions #4

Updated by Victor Julien almost 8 years ago

It looks like backports doesn't work for this armv6 based system: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827596

" - don't use stuff from backports
- compile the packages from jessie-backports for oneself on
one's system, so they are compiled with the right build
flags for one's machine
- use the official Debian armel port instead of Raspbian
The armel port is the port of Debian for ARM CPUs without
hardware floating point support, and that has lower CPU
requirements, so it will work on the RPi - but probably
really, really slowly"

Actions

Also available in: Atom PDF