Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synology ARMv7 (Alpine AL-314 & Marvell Armada XP MV78230) Illegal instruction #56706

Open
publicarray opened this issue Aug 2, 2021 · 9 comments
Labels
area-VM-coreclr question Answer questions and provide assistance, not an issue with source code or documentation.
Milestone

Comments

@publicarray
Copy link

publicarray commented Aug 2, 2021

Description

We have several applications that work fine on x64 and ARM64 Synology Devices, but we have reports that they fail to run on some ARMv7 processors: SynoCommunity/spksrc#4546 and publicarray/spksrc#28

with Illegal instruction (core dumped)

Reproducing the problem is difficult as I don't have an ARMv7 processor to hand. The only thing I have is a DSM environment where I can't reproduce the problem.

So the natural question is What are the ARMv7 processor feature requirements? And the specific versions of supported libs .e.g. (glib/libstdc++)? (we already ship the software with an updated libstdc++)

Configuration

  • Which version of .NET is the code running on? 5.0.8
  • What OS and version, and what distro if applicable? Linux - Synology DSM
  • What is the architecture (x64, x86, ARM, ARM64)? ARM
  • Do you know whether it is specific to that configuration? Probably
  • If you're using Blazor, which web browser(s) do you see this issue in? No

Other information

processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
Speed           : 1.4GHz
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc0f
CPU revision    : 4
Processor	: Marvell PJ4Bv7 Processor rev 2 (v7l)
processor	: 0
BogoMIPS	: 1332.01

processor	: 1
BogoMIPS	: 1332.01

Features	: swp half thumb fastmult vfp edsp vfpv3 tls 
CPU implementer	: 0x56
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0x584
CPU revision	: 2

Hardware	: Marvell Armada XP Development Board
Revision	: 0000
Serial		: 0000000000000000

CC/ Radarr: @ta264 Jellyfin: @anthonylavado

If I've overlooked something simple I'm sorry for notifying people. But I think that this problem requires collaboration.

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Aug 2, 2021
@mangod9 mangod9 added area-VM-coreclr and removed untriaged New issue has not been triaged by the area owner labels Aug 2, 2021
@mangod9 mangod9 added this to the Future milestone Aug 2, 2021
@mangod9 mangod9 added the question Answer questions and provide assistance, not an issue with source code or documentation. label Aug 2, 2021
@mangod9
Copy link
Member

mangod9 commented Aug 2, 2021

is it possible to share a dump when a failure occurs?

@ta264
Copy link
Contributor

ta264 commented Aug 2, 2021

Something I found a while ago:
The default arm compilation configuration for CoreCLR is armv7-a with thumb-2 instruction set and VFPv3 floating point with 32 64-bit FPU registers.

https://github.com/dotnet/runtime/blob/main/docs/workflow/building/coreclr/cross-building.md#cross-compiling-coreclr-for-other-vfp-configurations

@publicarray
Copy link
Author

Thanks I've asked if @rfrmarco is able to provide one.

Thanks @ta264, So the CPUs should work...

@publicarray publicarray changed the title What are the ARMv7 processor feature requirements? Synology ARMv7 (Alpine AL-314 & Marvell Armada XP MV78230) Illegal instruction Aug 16, 2021
@stinker1978
Copy link

stinker1978 commented Aug 24, 2021

Running into what I believe is the same issue. DS715+ and latest Radarr upgrade won't start. I am not sure if the CPU on the DS715+ is supported or not, so can you let me know?

`processor : 0
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

processor : 1
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

processor : 2
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

processor : 3
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

Hardware : AnnapurnaLabs Alpine (Device Tree)
Revision : 0000
Serial : 0000000000000000
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

processor : 1
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

processor : 2
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

processor : 3
model name : ARMv7 Processor rev 4 (v7l)
Speed : 1.4GHz
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc0f
CPU revision : 4

Hardware : AnnapurnaLabs Alpine (Device Tree)
Revision : 0000
Serial : 0000000000000000`

@publicarray
Copy link
Author

publicarray commented Aug 25, 2021

DS715+ doesn't exist you probably mean DS715. Sorry but your CPU Annapurna Labs Alpine AL-314 is the one having this issue, so I've marked it as unsupported for the Radarr package for now. If you want you can add 👍 to this issue if you want to give it more attention for the devs here. I've done all I can.

@stinker1978
Copy link

DS715+ doesn't exist you probably mean DS715. Sorry but your CPU Annapurna Labs Alpine AL-314 is the one having this issue, so I've marked it as unsupported for the Radarr package for now. If you want you can add 👍 to this issue if you want to give it more attention for the devs here. I've done all I can.

You are correct, it's the DS715.

How do I add a 👍 ? Also, if there is anything I can do to help gather more info and such to better diagnose the issue, let me know!

@publicarray
Copy link
Author

publicarray commented Jan 5, 2022

I just received a report that the DS2015xs, Annapurna Labs Alpine AL-514 is having the same issue with radarr

@ta264
Copy link
Contributor

ta264 commented May 11, 2022

@stinker1978 Please can you come by the radarr discord? https://radarr.video/discord I may have a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-VM-coreclr question Answer questions and provide assistance, not an issue with source code or documentation.
Projects
None yet
Development

No branches or pull requests

4 participants