[Oisf-users] Problem when testing Suricata on an ARMv7 based board
Scott Prader
rigrunn at gmail.com
Tue Nov 10 07:55:53 UTC 2015
I have compiled suricata on an armv6h, but did not cross-compile it. I
compiled it natively and it worked fine. It took some time, so I found
something else to do while it compiled.
On Nov 10, 2015 1:47 AM, "Victor Julien" <lists at inliniac.net> wrote:
> 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
> ---------------------------------------------
>
> _______________________________________________
> Suricata IDS Users mailing list: oisf-users at openinfosecfoundation.org
> Site: http://suricata-ids.org | Support: http://suricata-ids.org/support/
> List: https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users
> Suricata User Conference November 4 & 5 in Barcelona:
> http://oisfevents.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20151110/f73b97e6/attachment-0002.html>
More information about the Oisf-users
mailing list