[Oisf-users] Problem when testing Suricata on an ARMv7 based board
Victor Julien
lists at inliniac.net
Tue Nov 10 07:46:58 UTC 2015
On 10-11-15 08:46, Anoop Saldanha wrote:
> On Tue, Nov 10, 2015 at 12:59 PM, Anoop Saldanha
> <anoopsaldanha at gmail.com> wrote:
>> On Mon, Nov 9, 2015 at 11:06 PM, Peter Manev <petermanev at gmail.com> wrote:
>>> On Mon, Nov 9, 2015 at 3:00 PM, Mahdi Aichouch <foxmehdi at gmail.com> wrote:
>>>> Hello,
>>>>
>>>> I am trying to run Suricata on an ARMv7 architecture based board.
>>>>
>>>> After, I had successfully cross-compiled Suricata for my target, I tried to
>>>> run Suricata on the board but I got an Aborted fault.
>>>>
>>>> Below is the command that I used in my test:
>>>>
>>>> $> ./home/suricata/bin/suricata -c /etc/suricata/suricata.yaml -i eth0
>>>> --init-errors-fatal
>>>
>>> Can you try adding the "-v" switch for more verbose output -
>>> ./home/suricata/bin/suricata -c /etc/suricata/suricata.yaml -i eth0
>>> --init-errors-fatal -v
>>>
>>>>
>>>> [35] 1/1/1970 -- 00:02:03 - (suricata.c:1073) <Notice> (SCPrintVersion) --
>>>> This is Suricata version 2.1dev (rev 86711a1)
>>>> Aborted.
>>>>
>>>> No further message are printed on the terminal.
>>>>
>>>> Could someone help me in figuring out what causes this issue.
>>
>> Trouble with some instructions generated for your architecture most
>> likely. I would first try and make sure that I have cross compiled
>> directly, and then zero in on the instructions generated by the
>> compiler and make sure it is present ARMv7's ISA.
>>
>
> My previous reply - s/cross compiled directly/cross compiled correctly/g
>
> As a later step on figuring out the instructions, you can look at the
> kernel/system logs to figure out the instructions that caused the
> error.
>
Don't forget passing --disable-gccmarch-native to configure before
compiling.
--
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------
More information about the Oisf-users
mailing list