Closed STR3IKERKRYPTON closed 2 years ago
That guide looks fine.
Which revision Pi 2? There are 2. One with a Cortex-A7 (ARMv7/armhf/32bit) and one with a Cortex-A53 (ARMv8/AArch64/arm64/64bit)
signal=ILL
means that a binary is trying to execute an instruction that doesn't match the machine's native architecture.
You would get that error if you installed the armhf package on a Pi 1 or Pi Zero v1.x for example because the raspotify binary only works for ARMv7 (you should not have that problem with a Pi 2) or if you're running the armhf package on a 64 bit system.
The systemd unit file contains SystemCallArchitectures=native
which will make armhf (32bit) binaries fail on purpose on arm64(64bit) systems to discourage installing 32bit versions on 64bit systems because there is a 64bit version available. If somewhere along the way you've installed the armhf package on a 64bit system you should uninstall it and install the 64bit version.
For the sake of completeness, what is the output of:
cat /proc/cpuinfo
Particularity the hardware and model. Here is for example what my Pi 4 says:
Hardware : BCM2835
Model : Raspberry Pi 4 Model B Rev 1.4
root@raspberrypi:/home/pi# cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) BogoMIPS : 697.95 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 : 0010 Serial : 00000000ffbd49eb Model : Raspberry Pi Model B Plus Rev 1.2 root@raspberrypi:/home/pi#
Hardware : BCM2835 Revision : 0010 Serial : 00000000ffbd49eb Model : Raspberry Pi Model B Plus Rev 1.2 root@raspberrypi:/home/pi#
That's a Pi 1 not a Pi 2. Raspotify is not compatible with Pi 1's.
But I had already installed raspotify on it. I just had to set it up again because I forgot the password.
But I had already installed raspotify on it. I just had to set it up again because I forgot the password.
And in the meantime ARMv6 support was dropped. The last version that was built with ARMv6 support was:
https://github.com/dtcooper/raspotify/releases/tag/0.31.8.1
You can remove the repo and install that version but you will never get updates and bug reports not dealing with configuration will be invalid since you'll be now running an unsupported system with an out of date package. Over time even config related issues may become invalid as things change.
Compatible OS
Latest Version
Due Diligence
What happened?
I installed the newes version of Raspotify on my pi2b. but the raspotify.service is in state active(running) for just one sec. Than it gets loaded(auto-restart). After 10 sec the service restarts and it's active for only one sec again. I uses this documentation: https://pimylifeup.com/raspberry-pi-spotify/ Does somebody has any idea?
Relevant log output