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

[shibuya collator] cannot create module: compilation settings are not compatible with the native host #727

Closed
kamiloski88 opened this issue Aug 9, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@kamiloski88
Copy link

Im trying to update my node (shibuya) from 4.9.0 to any higher vesrion but after restart my service, got an error. I have update my node multiple times without any problems, but now I dont have any idea whats is wrong, that I cant update my node (im using binary).
Im runnig node on proxmod VM on machine https://www.ovhcloud.com/en/bare-metal/rise/rise-game-2/.
My OS:
DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"

libc version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31

After download and replace binary version > 4.9.0 and restart my node get an error
Aug 09 18:10:30 astar astar-collator[798962]: 2022-08-09 18:10:30 ⛓ Native runtime: shibuya-63 (shibuya-0.tx2.au1) Aug 09 18:10:30 astar astar-collator[798962]: 2022-08-09 18:10:30 Parachain id: Id(1000) Aug 09 18:10:30 astar astar-collator[798962]: 2022-08-09 18:10:30 Parachain Account: 5Ec4AhPZk8STuex8Wsi9TwDtJQxKqzPJRCH7348Xtcs9vZLJ Aug 09 18:10:30 astar astar-collator[798962]: 2022-08-09 18:10:30 Parachain genesis state: 0x0000000000000000000000000000000000000000000000000000000000000000005573e7afb9b20990e6d69d28e5d21e921130163f323b2552b8050230e716d4b303170a2e7597b7b7e3d84c05391d139a62b157e78786d8c082f29dcf4c11131400 Aug 09 18:10:30 astar astar-collator[798962]: 2022-08-09 18:10:30 Is collating: yes Aug 09 18:10:30 astar astar-collator[798962]: Error: Service(Client(RuntimeApiError(Application(VersionInvalid("cannot create module: compilation settings are not compatible with the native host: compilation setting \"has_sse41\" is enabled, but not available on the host"))))) Aug 09 18:10:30 astar astar-collator[798962]: 2022-08-09 18:10:30 [Parachain] Cannot create a runtime error=Other("cannot create module: compilation settings are not compatible with the native host: compilation setting \"has_sse41\" is enabled, but not available on the host")

@kamiloski88 kamiloski88 added the bug Something isn't working label Aug 9, 2022
@Dinonard
Copy link
Member

Hello,

Ryzen 7 should support sse4.1 instruction set, it's not really that new (15 years old?).

I'm not familiar with Proxmod VM but please look into settings and see if you can select a CPU that supports this instruction set. Perhaps you're emulating an older one which doesn't?

I'm using a Ryzen CPU too and it works just fine.

@kamiloski88
Copy link
Author

In proxmox I have foun some settings of processor, now Type is (default) kvm64, but there is the list with types i can choose, which one shoul I take you think?
AMD: athlon, EPYC, EPYC-IBPB, EPYC-Rome, Opteron_G1, Opteron_G2, Opteron_G3, Opteron_G4, Opteron_G5, phenom

Inte;: 486, Broadwell, Broadwell-IBRS, Broadwell-noTSX, Broadwell-noTSX-IBRS, Cascadelake-Server, Cascadelake-Server-noTSX, Conroe, core2duo, coreduo, Haswell, Haswell-IBRS, Haswell-noTSX, Haswell-noTSX-IBRS, Icelake-Client, Icelake-Client-noTSX, Icelake-Server, Icelake-Server-noTSX, IvyBridge, IvyBridge-IBRS, KnightsMill, Nehalem, Nehalem-IBRS, Penryn, pentium, SandyBridge, SandyBridge-IBRS, Skylake-Client, Skylake-Client-IBRS, Skylake-Client-noTSX-IBRS, Skylake-Server, Skylake-Server-IBRS, Skylake-Server-noTSX-IBRS, Westmere

QEMU: kvm32, kvm64, max, qemu64

host: host

@kamiloski88
Copy link
Author

@Dinonard YOU ARE MY MASTER! LOVE YA! updated type to HOST and its working! Newlest version is running! Nobody help me because nobody knows where is the problem, you firs suggest change CPU and its working! I waste 7 deys to solve this problem! Thanks a lot man! Im proud that astar has specialists like you! cheers

@flipchan
Copy link

@Dinonard YOU ARE MY MASTER! LOVE YA! updated type to HOST and its working! Newlest version is running! Nobody help me because nobody knows where is the problem, you firs suggest change CPU and its working! I waste 7 deys to solve this problem! Thanks a lot man! Im proud that astar has specialists like you! cheers

Had a similar problem, changed the compile options and it worked, good catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants