Sia icon indicating copy to clipboard operation
Sia copied to clipboard

Loading consensus error

Open IxsCN opened this issue 6 years ago • 2 comments

BUG REPORT

Stack Trace or error message

Sia Daemon v1.3.3
Git Revision fee522a
Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
error opening consensus database: file size too small

Expected Behavior None

How to reproduce it (as minimally and precisely as possible) Nomal run

Environment

  • Sia version: 1.3.3
  • OS: Linux version 3.14.77 (build@DEV-9-1-242) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 1.5.8.20961s) ) #1 SMP PREEMPT Wed May 2 15:26:56 CST 2018
  • CPU: IPQ4019 (Qualcomm)
  • RAM: 1GB

Detail of CPU

root@OpenWrt:~#  uname -a
Linux Hiwifi 3.14.77 #1 SMP PREEMPT Wed May 2 15:26:56 CST 2018 armv7l GNU/Linux
root@OpenWrt:~# cat /proc/cpuinfo 
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 96.00
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 1
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 96.00
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 2
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 96.00
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 3
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 96.00
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : Qualcomm (Flattened Device Tree)
Revision        : 0000
Serial          : 0000000000000000

IxsCN avatar Jul 04 '18 07:07 IxsCN

Same happened to me also on v1.3.3. I was trying to bootstrap the consensus.

OS: Linux orangepi_sia 4.14.18-sunxi #24 SMP Fri Feb 9 16:24:32 CET 2018 armv7l GNU/Linux CPU: Allwinner H2+ Device: Orange Pi Zero RAM: 512 MB + 8 GB of swap

majudev avatar Aug 04 '18 12:08 majudev

I think these are all 32-bit processors. Sia is not compatible with 32-bit systems. It requires 64-bit because the consesus database is memory mapped, on 32-bit systems there are not enough addresses to map the whole db.

I'll also note that the project has moved to gitlab and github issues will no longer be maintained: https://gitlab.com/NebulousLabs/Sia

Fornax96 avatar Aug 06 '18 12:08 Fornax96