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

Illegal Instruction error on Pi Zero W #757

Open
interfect opened this issue Oct 30, 2021 · 0 comments
Open

Illegal Instruction error on Pi Zero W #757

interfect opened this issue Oct 30, 2021 · 0 comments

Comments

@interfect
Copy link

I'm trying to make a tiny SSB server out of a Pi Zero W, but some of the native libraries (I think) that ssb-server ships with don't actually seem to run on the Pi Zero's ARM v6 CPU:

pi@cipher:~ $ ssb-server start --logging.level=info
ssb-server 15.3.0 /home/pi/.ssb logging.level:info
my key ID: +wHIXfU3/VzcbarXf5128gOtWM9slqWnRow+lNXVtCQ=.ed25519
ssb-friends: stream legacy api used
Trace: deprecated api used: ssb-ref.parseAddress
    at Object.parseAddress (/usr/local/lib/node_modules/ssb-server/node_modules/ssb-ref/index.js:96:15)
    at Socket.<anonymous> (/usr/local/lib/node_modules/ssb-server/node_modules/ssb-local/index.js:55:22)
    at Socket.emit (events.js:198:13)
    at Socket.<anonymous> (/usr/local/lib/node_modules/ssb-server/node_modules/broadcast-stream/index.js:51:12)
    at Socket.emit (events.js:198:13)
    at UDP.onMessage [as onmessage] (dgram.js:628:8)
Illegal instruction
pi@cipher:~ $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv6-compatible processor rev 7 (v6l)
BogoMIPS	: 997.08
Features	: half thumb fastmult vfp edsp java tls 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xb76
CPU revision	: 7

Hardware	: BCM2835
Revision	: 9000c1
Serial		: 000000000d3f1b0a
Model		: Raspberry Pi Zero W Rev 1.1

I'm using [email protected] from sudo npm install -g ssb-server, and Node v10.24.0 from the Raspbian repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant