12:11:13 Hey I need help with initializing a remote node on raspberry pi. I posted this on the #monero channel as well but I think this channel is more appropriate 12:12:02 I tried running monerod using the Armv7 but it doesn't seem to work. It keeps crashing saying "Bus error". Anyone knows why? 12:14:10 Armv7 is currently unofficially not supported. 12:14:29 I remember trying monerod on my armv7 CPU smartphone and single board computer 12:14:47 on both platforms, monerod has crashed, with the same error as your, "Bus error." 12:15:22 I opened some github issues last year on this topic. We worked on the issue comments with luigi and hyc, but the result lead us nowhere. 12:19:45 Ahh ic ic, all good then. I'll try to find another way around it. My raspi actually has ARMv8 but idk why it couldn't run it. Everytime I run it, it keeps saying "No files such file or directory" which then lead me to ARMv7. Anyways thanks m-relay! 12:20:52 what is the model of your raspi? 3B? 12:21:11 Nope raspberry pi 4 model b 12:21:25 why don't you try the armv8? 12:22:07 I did, couldn't run it. It keeps on saying "No such files or directory" 12:23:12 food4lyfe: what's the output of "file monerod" 12:24:05 monerod: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[sha1]=b29c5e0b2e68458d0b5ba3504c65c8bee4270d2d, with debug_info, not stripped 12:26:01 do you have at /lib/ld-linux-aarch64.so.1 ? 12:26:07 a file at 12:27:00 No 12:27:30 Bus error means unaligned access or access to unmapped virtual memory. Probably the latter, as it tends to happen to LMDB in the face of corrupted database. 12:27:50 you need it to run the program 12:27:57 food4lyfe: install the 64-bit version of the OS 12:28:50 https://forums.raspberrypi.com/viewtopic.php?p=2145142&sid=af2e2cf1d49e90215e4c1acae16c42e6#p2145142 12:28:56 I think that's your problem 12:30:42 m-relay: I think I installed the 64-bit version. when using uname -a, it printed out aarch64 12:32:50 seems you have a 64bit kernel but 32bit OS according to that link, you need a 64bit OS 12:33:13 https://www.raspberrypi.com/software/operating-systems/ scroll down to 64-bit 12:34:14 selsta: Yeah it seems like thats the problem. I'll reinstall the OS, I'll follow up after if there's anymore issues. Thanks selsta! 12:35:52 m-relay: Yup, thanks for the link. I'll try that one. I'll let you know after I reinstalled it. Thanks for helping out m-relay 12:39:51 <0​xfffc:matrix.org> if you have objdump in that machine, "arm-none-linux-gnueabi-objdump -x monerod | grep NEEDED" 12:40:25 <0​xfffc:matrix.org> then investigate .so files with readelf --headers *.so 12:41:21 <0​xfffc:matrix.org> SIGBUS is really a different/deeper version of SIGSEGV. 12:51:29 m-relay: I'm not familiar with objdump. I do have objdump but not the one you are referring to. Do you know which package has that binary? 12:53:40 yeah, samething. "objdump -x monerod | grep NEEDED" 12:55:25 objdump gives out "objdump: monerod: file format not recognized" 12:57:05 now do readelf --headers monerod 12:57:33 as selsta mentioned, I expect something seriously wrong with that installation. 13:00:17 appears that you don't have a correct monerod file. elf headers are messed up. objdump should've worked. Anyway, readelf will tell more about the issue. 13:00:52 it's not the file 13:02:20 oh I misread, ignore me 13:02:41 Yeah, readelf shows that in the program headers section it requires /lib/ld-linux-aarch64.so.1. Currently reinstalling it to the 64-bit OS version 13:03:28 anyway, the root is the one selsta mentioned, 64bit 32bit mismatch 13:03:39 s/root/root issue/ 13:47:36 I have to go. But thanks xFFFC0000, m-relay, selsta for the help 13:48:39 If there are more issues with it, I'll ask it here :D 14:06:10 unmapped memory gets a SIGSEGV. SIGBUS almost always means unaligned access. 14:55:43 Pretty sure LMDB hits SIGBUS when reading data from "the LMDB database" but off the file extents, which happens on corrupt data.