Raspberry Pi stops working daily

This text will be hidden* Platform information:

  • Hardware: Raspberry Pi 3
  • OS: Openhabian
  • Java Runtime Environment:
  • openHAB version: 2.3.0
  • Issue of the topic: RPI stops working 1-2 times per day

Hi guys!

i have a strange problem. my RPI3 with openhabian stops workin 1-2 times per day. its pingable but webinterface an ssh is not working anymore. only a reboot solves the problem.

Anybody has a hint fo me?

kind regards
mandelbrot

here is the syslog: (it stops working at 9:29 and i rebooted at 16:14)
(i’m not able to post full log because of 32000 characters limitation)


Oct 23 09:29:08 openHABianPi kernel: [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] Memory: 990964K/1021952K available (7168K kernel code, 576K rwdata, 2076K rodata, 1024K init, 698K bss, 22796K reserved, 8192K cma-reserved)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] Virtual kernel memory layout:
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]     vmalloc : 0xbe800000 - 0xff800000   (1040 MB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]     lowmem  : 0x80000000 - 0xbe600000   ( 998 MB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]       .text : 0x80008000 - 0x80800000   (8160 kB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]       .init : 0x80b00000 - 0x80c00000   (1024 kB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]       .data : 0x80c00000 - 0x80c9017c   ( 577 kB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000]        .bss : 0x80c97f10 - 0x80d468b0   ( 699 kB)
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] ftrace: allocating 25273 entries in 75 pages
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] Hierarchical RCU implementation.
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
Oct 23 09:29:08 openHABianPi kernel: [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
Oct 23 09:29:08 openHABianPi kernel: [    0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
Oct 23 09:29:08 openHABianPi kernel: [    0.000023] Switching to timer-based delay loop, resolution 52ns
Oct 23 09:29:08 openHABianPi kernel: [    0.000277] Console: colour dummy device 80x30
Oct 23 09:29:08 openHABianPi kernel: [    0.000813] console [tty1] enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.000855] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
Oct 23 09:29:08 openHABianPi kernel: [    0.000895] pid_max: default: 32768 minimum: 301
Oct 23 09:29:08 openHABianPi kernel: [    0.001223] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.001256] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.002214] Disabling memory control group subsystem
Oct 23 09:29:08 openHABianPi kernel: [    0.002305] CPU: Testing write buffer coherency: ok
Oct 23 09:29:08 openHABianPi kernel: [    0.002734] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Oct 23 09:29:08 openHABianPi kernel: [    0.003155] Setting up static identity map for 0x100000 - 0x10003c
Oct 23 09:29:08 openHABianPi kernel: [    0.003296] Hierarchical SRCU implementation.
Oct 23 09:29:08 openHABianPi kernel: [    0.003994] smp: Bringing up secondary CPUs ...
Oct 23 09:29:08 openHABianPi kernel: [    0.004802] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Oct 23 09:29:08 openHABianPi kernel: [    0.005649] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
Oct 23 09:29:08 openHABianPi kernel: [    0.006477] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Oct 23 09:29:08 openHABianPi kernel: [    0.006582] smp: Brought up 1 node, 4 CPUs
Oct 23 09:29:08 openHABianPi systemd[1]: Started LSB: Start/stop sysstat's sadc.
Oct 23 09:29:08 openHABianPi kernel: [    0.006656] SMP: Total of 4 processors activated (153.60 BogoMIPS).
Oct 23 09:29:08 openHABianPi kernel: [    0.006677] CPU: All CPU(s) started in HYP mode.
Oct 23 09:29:08 openHABianPi kernel: [    0.006695] CPU: Virtualization extensions available.
Oct 23 09:29:08 openHABianPi kernel: [    0.007606] devtmpfs: initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.017899] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
Oct 23 09:29:08 openHABianPi kernel: [    0.018557] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
Oct 23 09:29:08 openHABianPi kernel: [    0.018807] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Oct 23 09:29:08 openHABianPi kernel: [    0.018851] futex hash table entries: 1024 (order: 4, 65536 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.019426] pinctrl core: initialized pinctrl subsystem
Oct 23 09:29:08 openHABianPi kernel: [    0.020229] NET: Registered protocol family 16
Oct 23 09:29:08 openHABianPi kernel: [    0.022817] DMA: preallocated 1024 KiB pool for atomic coherent allocations
Oct 23 09:29:08 openHABianPi kernel: [    0.027665] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
Oct 23 09:29:08 openHABianPi kernel: [    0.027697] hw-breakpoint: maximum watchpoint size is 8 bytes.
Oct 23 09:29:08 openHABianPi kernel: [    0.027919] Serial: AMBA PL011 UART driver
Oct 23 09:29:08 openHABianPi kernel: [    0.029608] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.030166] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
Oct 23 09:29:08 openHABianPi kernel: [    0.062141] bcm2835-dma 3f007000.dma: DMA legacy API manager at be813000, dmachans=0x1
Oct 23 09:29:08 openHABianPi kernel: [    0.063615] SCSI subsystem initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.063858] usbcore: registered new interface driver usbfs
Oct 23 09:29:08 openHABianPi kernel: [    0.063930] usbcore: registered new interface driver hub
Oct 23 09:29:08 openHABianPi kernel: [    0.064032] usbcore: registered new device driver usb
Oct 23 09:29:08 openHABianPi kernel: [    0.070133] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-09-21 15:44
Oct 23 09:29:08 openHABianPi kernel: [    0.071466] clocksource: Switched to clocksource arch_sys_counter
Oct 23 09:29:08 openHABianPi kernel: [    0.148817] VFS: Disk quotas dquot_6.6.0
Oct 23 09:29:08 openHABianPi kernel: [    0.148930] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.149134] FS-Cache: Loaded
Oct 23 09:29:08 openHABianPi kernel: [    0.149350] CacheFiles: Loaded
Oct 23 09:29:08 openHABianPi kernel: [    0.158305] NET: Registered protocol family 2
Oct 23 09:29:08 openHABianPi kernel: [    0.159043] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.159172] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.159374] TCP: Hash tables configured (established 8192 bind 8192)
Oct 23 09:29:08 openHABianPi kernel: [    0.159518] UDP hash table entries: 512 (order: 2, 16384 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.159579] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.159820] NET: Registered protocol family 1
Oct 23 09:29:08 openHABianPi kernel: [    0.160302] RPC: Registered named UNIX socket transport module.
Oct 23 09:29:08 openHABianPi kernel: [    0.160326] RPC: Registered udp transport module.
Oct 23 09:29:08 openHABianPi kernel: [    0.160346] RPC: Registered tcp transport module.
Oct 23 09:29:08 openHABianPi kernel: [    0.160365] RPC: Registered tcp NFSv4.1 backchannel transport module.
Oct 23 09:29:08 openHABianPi kernel: [    0.161933] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
Oct 23 09:29:08 openHABianPi kernel: [    0.164715] workingset: timestamp_bits=14 max_order=18 bucket_order=4
Oct 23 09:29:08 openHABianPi kernel: [    0.172957] FS-Cache: Netfs 'nfs' registered for caching
Oct 23 09:29:08 openHABianPi kernel: [    0.173594] NFS: Registering the id_resolver key type
Oct 23 09:29:08 openHABianPi kernel: [    0.173646] Key type id_resolver registered
Oct 23 09:29:08 openHABianPi kernel: [    0.173666] Key type id_legacy registered
Oct 23 09:29:08 openHABianPi kernel: [    0.173695] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
Oct 23 09:29:08 openHABianPi kernel: [    0.175660] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
Oct 23 09:29:08 openHABianPi kernel: [    0.175820] io scheduler noop registered
Oct 23 09:29:08 openHABianPi kernel: [    0.175843] io scheduler deadline registered (default)
Oct 23 09:29:08 openHABianPi kernel: [    0.176139] io scheduler cfq registered
Oct 23 09:29:08 openHABianPi kernel: [    0.176161] io scheduler mq-deadline registered
Oct 23 09:29:08 openHABianPi kernel: [    0.176182] io scheduler kyber registered
Oct 23 09:29:08 openHABianPi kernel: [    0.178907] BCM2708FB: allocated DMA memory fdd10000
Oct 23 09:29:08 openHABianPi kernel: [    0.178951] BCM2708FB: allocated DMA channel 0 @ be813000
Oct 23 09:29:08 openHABianPi kernel: [    0.183949] Console: switching to colour frame buffer device 82x26
Oct 23 09:29:08 openHABianPi kernel: [    0.188705] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.191548] bcm2835-rng 3f104000.rng: hwrng registered
Oct 23 09:29:08 openHABianPi kernel: [    0.193043] vc-mem: phys_addr:0x00000000 mem_base=0x3f000000 mem_size:0x3f600000(1014 MiB)
Oct 23 09:29:08 openHABianPi kernel: [    0.196189] vc-sm: Videocore shared memory driver
Oct 23 09:29:08 openHABianPi kernel: [    0.197796] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
Oct 23 09:29:08 openHABianPi kernel: [    0.210132] brd: module loaded
Oct 23 09:29:08 openHABianPi kernel: [    0.220269] loop: module loaded
Oct 23 09:29:08 openHABianPi kernel: [    0.221700] Loading iSCSI transport class v2.0-870.
Oct 23 09:29:08 openHABianPi kernel: [    0.223727] libphy: Fixed MDIO Bus: probed
Oct 23 09:29:08 openHABianPi kernel: [    0.225145] usbcore: registered new interface driver lan78xx
Oct 23 09:29:08 openHABianPi kernel: [    0.226503] usbcore: registered new interface driver smsc95xx
Oct 23 09:29:08 openHABianPi kernel: [    0.227786] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
Oct 23 09:29:08 openHABianPi kernel: [    0.256956] dwc_otg 3f980000.usb: base=0xf0980000
Oct 23 09:29:08 openHABianPi kernel: [    0.271463] NOHZ: local_softirq_pending 80
Oct 23 09:29:08 openHABianPi kernel: [    0.391462] NOHZ: local_softirq_pending 80
Oct 23 09:29:08 openHABianPi kernel: [    0.411463] NOHZ: local_softirq_pending 80
Oct 23 09:29:08 openHABianPi kernel: [    0.431463] NOHZ: local_softirq_pending 80
Oct 23 09:29:08 openHABianPi kernel: [    0.451462] NOHZ: local_softirq_pending 80
Oct 23 09:29:08 openHABianPi kernel: [    0.458449] Core Release: 2.80a
Oct 23 09:29:08 openHABianPi kernel: [    0.459565] Setting default values for core params
Oct 23 09:29:08 openHABianPi kernel: [    0.460702] Finished setting default values for core params
Oct 23 09:29:08 openHABianPi kernel: [    0.662060] Using Buffer DMA mode
Oct 23 09:29:08 openHABianPi kernel: [    0.663109] Periodic Transfer Interrupt Enhancement - disabled
Oct 23 09:29:08 openHABianPi kernel: [    0.664189] Multiprocessor Interrupt Enhancement - disabled
Oct 23 09:29:08 openHABianPi kernel: [    0.665246] OTG VER PARAM: 0, OTG VER FLAG: 0
Oct 23 09:29:08 openHABianPi kernel: [    0.666259] Dedicated Tx FIFOs mode
Oct 23 09:29:08 openHABianPi kernel: [    0.667616] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbdd04000 dma = 0xfdd04000 len=9024
Oct 23 09:29:08 openHABianPi kernel: [    0.669817] FIQ FSM acceleration enabled for :
Oct 23 09:29:08 openHABianPi kernel: [    0.669817] Non-periodic Split Transactions
Oct 23 09:29:08 openHABianPi kernel: [    0.669817] Periodic Split Transactions
Oct 23 09:29:08 openHABianPi kernel: [    0.669817] High-Speed Isochronous Endpoints
Oct 23 09:29:08 openHABianPi kernel: [    0.669817] Interrupt/Control Split Transaction hack enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.675288] dwc_otg: Microframe scheduler enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.675344] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805e9c5c
Oct 23 09:29:08 openHABianPi kernel: [    0.676488] WARN::hcd_init_fiq:460: FIQ ASM at 0x805e9fc4 length 36
Oct 23 09:29:08 openHABianPi kernel: [    0.677663] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000
Oct 23 09:29:08 openHABianPi kernel: [    0.678914] dwc_otg 3f980000.usb: DWC OTG Controller
Oct 23 09:29:08 openHABianPi kernel: [    0.680194] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
Oct 23 09:29:08 openHABianPi kernel: [    0.681575] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
Oct 23 09:29:08 openHABianPi kernel: [    0.682947] Init: Port Power? op_state=1
Oct 23 09:29:08 openHABianPi kernel: [    0.684261] Init: Power Port (0)
Oct 23 09:29:08 openHABianPi kernel: [    0.685727] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
Oct 23 09:29:08 openHABianPi kernel: [    0.687071] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Oct 23 09:29:08 openHABianPi kernel: [    0.688404] usb usb1: Product: DWC OTG Controller
Oct 23 09:29:08 openHABianPi kernel: [    0.689711] usb usb1: Manufacturer: Linux 4.14.71-v7+ dwc_otg_hcd
Oct 23 09:29:08 openHABianPi kernel: [    0.691033] usb usb1: SerialNumber: 3f980000.usb
Oct 23 09:29:08 openHABianPi kernel: [    0.692954] hub 1-0:1.0: USB hub found
Oct 23 09:29:08 openHABianPi kernel: [    0.694261] hub 1-0:1.0: 1 port detected
Oct 23 09:29:08 openHABianPi kernel: [    0.695991] dwc_otg: FIQ enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.695996] dwc_otg: NAK holdoff enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.696001] dwc_otg: FIQ split-transaction FSM enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.696010] Module dwc_common_port init
Oct 23 09:29:08 openHABianPi kernel: [    0.696253] usbcore: registered new interface driver usb-storage
Oct 23 09:29:08 openHABianPi kernel: [    0.697653] mousedev: PS/2 mouse device common for all mice
Oct 23 09:29:08 openHABianPi kernel: [    0.698969] IR NEC protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.700230] IR RC5(x/sz) protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.701531] IR RC6 protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.702798] IR JVC protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.704008] IR Sony protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.705221] IR SANYO protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.706433] IR Sharp protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.707594] IR MCE Keyboard/mouse protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.708769] IR XMP protocol handler initialized
Oct 23 09:29:08 openHABianPi kernel: [    0.710608] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
Oct 23 09:29:08 openHABianPi kernel: [    0.712094] bcm2835-cpufreq: min=600000 max=1200000
Oct 23 09:29:08 openHABianPi kernel: [    0.713676] sdhci: Secure Digital Host Controller Interface driver
Oct 23 09:29:08 openHABianPi kernel: [    0.714912] sdhci: Copyright(c) Pierre Ossman
Oct 23 09:29:08 openHABianPi kernel: [    0.716470] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
Oct 23 09:29:08 openHABianPi kernel: [    0.718037] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
Oct 23 09:29:08 openHABianPi kernel: [    0.719408] sdhci-pltfm: SDHCI platform and OF driver helper
Oct 23 09:29:08 openHABianPi kernel: [    0.722083] ledtrig-cpu: registered to indicate activity on CPUs
Oct 23 09:29:08 openHABianPi kernel: [    0.723572] hidraw: raw HID events driver (C) Jiri Kosina
Oct 23 09:29:08 openHABianPi kernel: [    0.725054] usbcore: registered new interface driver usbhid
Oct 23 09:29:08 openHABianPi kernel: [    0.726386] usbhid: USB HID core driver
Oct 23 09:29:08 openHABianPi kernel: [    0.728268] vchiq: vchiq_init_state: slot_zero = bdd80000, is_master = 0
Oct 23 09:29:08 openHABianPi kernel: [    0.731495] [vc_sm_connected_init]: start
Oct 23 09:29:08 openHABianPi kernel: [    0.735221] vc_vchi_sm_init: failed to open VCHI service (-1)
Oct 23 09:29:08 openHABianPi kernel: [    0.735228] [vc_sm_connected_init]: failed to initialize shared memory service
Oct 23 09:29:08 openHABianPi kernel: [    0.738067] [vc_sm_connected_init]: end - returning -1
Oct 23 09:29:08 openHABianPi kernel: [    0.740170] Initializing XFRM netlink socket
Oct 23 09:29:08 openHABianPi kernel: [    0.741666] NET: Registered protocol family 17
Oct 23 09:29:08 openHABianPi kernel: [    0.743232] Key type dns_resolver registered
Oct 23 09:29:08 openHABianPi kernel: [    0.745084] Registering SWP/SWPB emulation handler
Oct 23 09:29:08 openHABianPi kernel: [    0.747145] registered taskstats version 1
Oct 23 09:29:08 openHABianPi kernel: [    0.754406] uart-pl011 3f201000.serial: cts_event_workaround enabled
Oct 23 09:29:08 openHABianPi kernel: [    0.755942] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
Oct 23 09:29:08 openHABianPi kernel: [    0.760536] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 166, base_baud = 50000000) is a 16550
Oct 23 09:29:08 openHABianPi kernel: [    0.764424] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
Oct 23 09:29:08 openHABianPi kernel: [    0.765962] mmc-bcm2835 3f300000.mmc: DMA channel allocated
Oct 23 09:29:08 openHABianPi kernel: [    0.822099] sdhost: log_buf @ bdd07000 (fdd07000)
Oct 23 09:29:08 openHABianPi kernel: [    0.861180] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.864272] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.867287] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.871493] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
Oct 23 09:29:08 openHABianPi kernel: [    0.911489] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
Oct 23 09:29:08 openHABianPi kernel: [    0.913843] of_cfs_init
Oct 23 09:29:08 openHABianPi kernel: [    0.915237] of_cfs_init: OK
Oct 23 09:29:08 openHABianPi kernel: [    0.916969] Waiting for root device PARTUUID=fb3733b4-02...
Oct 23 09:29:08 openHABianPi kernel: [    0.933167] Indeed it is in host mode hprt0 = 00021501
Oct 23 09:29:08 openHABianPi kernel: [    0.997980] random: fast init done
Oct 23 09:29:08 openHABianPi kernel: [    1.038815] mmc0: host does not support reading read-only switch, assuming write-enable
Oct 23 09:29:08 openHABianPi kernel: [    1.044327] mmc0: new high speed SDHC card at address 0007
Oct 23 09:29:08 openHABianPi kernel: [    1.046288] mmcblk0: mmc0:0007 SL16G 14.5 GiB
Oct 23 09:29:08 openHABianPi kernel: [    1.049306]  mmcblk0: p1 p2
Oct 23 09:29:08 openHABianPi kernel: [    1.060570] mmc1: new high speed SDIO card at address 0001
Oct 23 09:29:08 openHABianPi kernel: [    1.074068] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
Oct 23 09:29:08 openHABianPi kernel: [    1.075349] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
Oct 23 09:29:08 openHABianPi kernel: [    1.084251] NOHZ: local_softirq_pending 40
Oct 23 09:29:08 openHABianPi kernel: [    1.085519] NOHZ: local_softirq_pending 40
Oct 23 09:29:08 openHABianPi kernel: [    1.086727] NOHZ: local_softirq_pending 40
Oct 23 09:29:08 openHABianPi kernel: [    1.087879] NOHZ: local_softirq_pending 40
Oct 23 09:29:08 openHABianPi kernel: [    1.089029] NOHZ: local_softirq_pending 40
Oct 23 09:29:08 openHABianPi kernel: [    1.141506] usb 1-1: new high-speed USB device number 2 using dwc_otg
Oct 23 09:29:08 openHABianPi kernel: [    1.142880] Indeed it is in host mode hprt0 = 00001101
Oct 23 09:29:08 openHABianPi kernel: [    1.381786] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
Oct 23 09:29:08 openHABianPi kernel: [    1.383121] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Oct 23 09:29:08 openHABianPi kernel: [    1.385118] hub 1-1:1.0: USB hub found
Oct 23 09:29:08 openHABianPi kernel: [    1.386541] hub 1-1:1.0: 5 ports detected
Oct 23 09:29:08 openHABianPi kernel: [    1.701498] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
Oct 23 09:29:08 openHABianPi kernel: [    1.831702] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
Oct 23 09:29:08 openHABianPi kernel: [    1.833005] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Oct 23 09:29:08 openHABianPi kernel: [    1.836911] smsc95xx v1.0.6
Oct 23 09:29:08 openHABianPi kernel: [    1.924431] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:48:e5:65
Oct 23 09:29:08 openHABianPi kernel: [   14.583781] EXT4-fs (mmcblk0p2): recovery complete
Oct 23 09:29:08 openHABianPi kernel: [   14.614107] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Oct 23 09:29:08 openHABianPi kernel: [   14.616710] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
Oct 23 09:29:08 openHABianPi kernel: [   14.627638] devtmpfs: mounted
Oct 23 09:29:08 openHABianPi kernel: [   14.631948] Freeing unused kernel memory: 1024K
Oct 23 09:29:08 openHABianPi kernel: [   15.287424] NET: Registered protocol family 10
Oct 23 09:29:08 openHABianPi kernel: [   15.290198] Segment Routing with IPv6
Oct 23 09:29:08 openHABianPi kernel: [   15.302661] ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 23 09:29:08 openHABianPi kernel: [   15.324165] random: systemd: uninitialized urandom read (16 bytes read)
Oct 23 09:29:08 openHABianPi kernel: [   15.393364] random: systemd: uninitialized urandom read (16 bytes read)
Oct 23 09:29:08 openHABianPi kernel: [   15.415180] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
Oct 23 09:29:08 openHABianPi kernel: [   16.553896] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Oct 23 09:29:08 openHABianPi kernel: [   17.210233] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Oct 23 09:29:08 openHABianPi kernel: [   17.213282] bcm2835_alsa bcm2835_alsa: card created with 8 channels
Oct 23 09:29:08 openHABianPi kernel: [   17.400266] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
Oct 23 09:29:08 openHABianPi kernel: [   17.412237] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
Oct 23 09:29:08 openHABianPi kernel: [   17.412503] usbcore: registered new interface driver brcmfmac
Oct 23 09:29:08 openHABianPi kernel: [   17.719539] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
Oct 23 09:29:08 openHABianPi kernel: [   17.720302] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.39 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-10-23 03:47:14 
Oct 23 09:29:08 openHABianPi raspi-config[353]: Checking if shift key is held down:Error opening '/dev/input/event*': No such file or directory
Oct 23 09:29:08 openHABianPi dphys-swapfile[351]: Starting dphys-swapfile swapfile setup ...
Oct 23 09:29:08 openHABianPi raspi-config[353]:  No. Switching to ondemand scaling governor.
Oct 23 09:29:08 openHABianPi systemd[1]: Started LSB: Switch to ondemand cpu governor (unless shift key is pressed).
Oct 23 09:29:08 openHABianPi systemd[1]: Starting Load/Save RF Kill Switch Status...
Oct 23 09:29:09 openHABianPi systemd[1]: Started Load/Save RF Kill Switch Status.
Oct 23 09:29:09 openHABianPi dphys-swapfile[351]: want /var/swap=100MByte, checking existing: keeping it
Oct 23 09:29:09 openHABianPi kernel: [   19.039583] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
Oct 23 09:29:09 openHABianPi dphys-swapfile[351]: done.
Oct 23 09:29:09 openHABianPi systemd[1]: Started LSB: Autogenerate and use a swap file.
Oct 23 09:29:09 openHABianPi kernel: [   19.085876] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Oct 23 09:29:09 openHABianPi kernel: [   19.085885] brcmfmac: power management disabled
Oct 23 09:29:09 openHABianPi dhcpcd[339]: eth0: waiting for carrier
Oct 23 09:29:09 openHABianPi dhcpcd[339]: wlan0: waiting for carrier
Oct 23 09:29:09 openHABianPi dhcpcd[339]: wlan0: carrier acquired
Oct 23 09:29:09 openHABianPi kernel: [   19.482755] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Oct 23 09:29:09 openHABianPi kernel: [   19.483049] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct 23 09:29:09 openHABianPi dhcpcd[339]: DUID 00:01:00:01:22:3b:12:e9:b8:27:eb:1d:b0:30
Oct 23 09:29:09 openHABianPi dhcpcd[339]: wlan0: IAID eb:1d:b0:30
Oct 23 09:29:09 openHABianPi dhcpcd[339]: wlan0: adding address fe80::c0b6:77ee:6a73:20fa
Oct 23 09:29:09 openHABianPi dhcpcd[339]: wlan0: carrier lost
Oct 23 09:29:09 openHABianPi dhcpcd[339]: wlan0: deleting address fe80::c0b6:77ee:6a73:20fa
Oct 23 09:29:10 openHABianPi dhcpcd[339]: wlan0: carrier acquired
Oct 23 09:29:10 openHABianPi kernel: [   19.984932] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Oct 23 09:29:10 openHABianPi dhcpcd[339]: wlan0: IAID eb:1d:b0:30
Oct 23 09:29:10 openHABianPi dhcpcd[339]: wlan0: adding address fe80::106b:fd9d:9038:bc26
Oct 23 09:29:10 openHABianPi dhcpcd[339]: wlan0: soliciting an IPv6 router
Oct 23 09:29:10 openHABianPi dhcpcd[339]: wlan0: rebinding lease of 192.168.8.109
Oct 23 09:29:10 openHABianPi dhcpcd[339]: wlan0: probing address 192.168.8.109/24
Oct 23 09:29:12 openHABianPi avahi-daemon[355]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::106b:fd9d:9038:bc26.
Oct 23 09:29:12 openHABianPi avahi-daemon[355]: New relevant interface wlan0.IPv6 for mDNS.
Oct 23 09:29:12 openHABianPi avahi-daemon[355]: Registering new address record for fe80::106b:fd9d:9038:bc26 on wlan0.*.
Oct 23 09:29:12 openHABianPi dhcpcd[339]: wlan0: Router Advertisement from fe80::165f:94ff:fe64:dca
Oct 23 09:29:12 openHABianPi dhcpcd[339]: wlan0: adding address fd14:5f94:640d:ca00:65b4:8708:1884:1850/64
Oct 23 09:29:12 openHABianPi dhcpcd[339]: wlan0: adding route to fd14:5f94:640d:ca00::/64
Oct 23 09:29:12 openHABianPi dhcpcd[339]: wlan0: requesting DHCPv6 information
Oct 23 09:29:12 openHABianPi dhcpcd[339]: Too few arguments.
Oct 23 09:29:12 openHABianPi dhcpcd[339]: Too few arguments.
Oct 23 09:29:14 openHABianPi avahi-daemon[355]: Leaving mDNS multicast group on interface wlan0.IPv6 with address fe80::106b:fd9d:9038:bc26.
Oct 23 09:29:14 openHABianPi avahi-daemon[355]: Joining mDNS multicast group on interface wlan0.IPv6 with address fd14:5f94:640d:ca00:65b4:8708:1884:1850.
Oct 23 09:29:14 openHABianPi avahi-daemon[355]: Registering new address record for fd14:5f94:640d:ca00:65b4:8708:1884:1850 on wlan0.*.
Oct 23 09:29:14 openHABianPi avahi-daemon[355]: Withdrawing address record for fe80::106b:fd9d:9038:bc26 on wlan0.
Oct 23 09:29:16 openHABianPi dhcpcd[339]: wlan0: leased 192.168.8.109 for 86400 seconds
Oct 23 09:29:16 openHABianPi avahi-daemon[355]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.8.109.
Oct 23 09:29:16 openHABianPi avahi-daemon[355]: New relevant interface wlan0.IPv4 for mDNS.
Oct 23 09:29:16 openHABianPi dhcpcd[339]: wlan0: adding route to 192.168.8.0/24
Oct 23 09:29:16 openHABianPi avahi-daemon[355]: Registering new address record for 192.168.8.109 on wlan0.IPv4.
Oct 23 09:29:16 openHABianPi dhcpcd[339]: wlan0: adding default route via 192.168.8.1
Oct 23 09:29:16 openHABianPi dhcpcd[339]: Too few arguments.
Oct 23 09:29:16 openHABianPi dhcpcd[339]: Too few arguments.
Oct 23 09:29:16 openHABianPi dhcpcd[339]: forked to background, child pid 531
Oct 23 09:29:16 openHABianPi systemd[1]: Started dhcpcd on all interfaces.
Oct 23 09:29:16 openHABianPi systemd[1]: Reached target Network.
Oct 23 09:29:16 openHABianPi systemd[1]: Starting Permit User Sessions...
Oct 23 09:29:16 openHABianPi systemd[1]: Starting OpenBSD Secure Shell server...
Oct 23 09:29:16 openHABianPi systemd[1]: Reached target Network is Online.
Oct 23 09:29:16 openHABianPi systemd[1]: Started openHAB 2 - empowering the smart home.
Oct 23 09:29:16 openHABianPi systemd[1]: Started Frontail openHAB instance, reachable at http://openHABianPi:9001.
Oct 23 09:29:16 openHABianPi systemd[1]: Starting LSB: exim Mail Transport Agent...
Oct 23 09:29:16 openHABianPi systemd[1]: Starting Samba NMB Daemon...
Oct 23 09:29:16 openHABianPi systemd[1]: Started Unattended Upgrades Shutdown.
Oct 23 09:29:16 openHABianPi systemd[1]: Starting /etc/rc.local Compatibility...
Oct 23 09:29:16 openHABianPi systemd[1]: Started Permit User Sessions.
Oct 23 09:29:16 openHABianPi systemd[1]: Started /etc/rc.local Compatibility.
Oct 23 09:29:16 openHABianPi systemd[1]: Starting Hold until boot process finishes up...
Oct 23 09:29:16 openHABianPi systemd[1]: Starting Terminate Plymouth Boot Screen...
Oct 23 09:29:16 openHABianPi systemd[1]: Received SIGRTMIN+21 from PID 199 (plymouthd).
Oct 23 09:29:16 openHABianPi systemd[1]: Started Hold until boot process finishes up.
Oct 23 09:29:16 openHABianPi systemd[1]: Started Terminate Plymouth Boot Screen.
Oct 23 09:29:16 openHABianPi systemd[1]: Started Getty on tty1.
Oct 23 09:29:16 openHABianPi systemd[1]: Reached target Login Prompts.
Oct 23 09:29:16 openHABianPi systemd[1]: Started OpenBSD Secure Shell server.
Oct 23 09:29:18 openHABianPi exim4[537]: Starting MTA: exim4.
Oct 23 09:29:18 openHABianPi systemd[1]: Started LSB: exim Mail Transport Agent.
Oct 23 09:29:18 openHABianPi systemd[1]: nmbd.service: Supervising process 872 which is not our child. We'll most likely not notice when it exits.
Oct 23 09:29:19 openHABianPi systemd[1]: Started Samba NMB Daemon.
Oct 23 09:29:19 openHABianPi systemd[1]: Starting Samba SMB Daemon...
Oct 23 09:29:21 openHABianPi systemd[1]: smbd.service: Supervising process 888 which is not our child. We'll most likely not notice when it exits.
Oct 23 09:29:21 openHABianPi systemd[1]: Started Samba SMB Daemon.
Oct 23 09:29:21 openHABianPi systemd[1]: Reached target Multi-User System.
Oct 23 09:29:21 openHABianPi systemd[1]: Reached target Graphical Interface.
Oct 23 09:29:21 openHABianPi systemd[1]: Starting Update UTMP about System Runlevel Changes...
Oct 23 09:29:21 openHABianPi systemd[1]: Started Update UTMP about System Runlevel Changes.
Oct 23 09:29:21 openHABianPi systemd[1]: Startup finished in 15.097s (kernel) + 16.172s (userspace) = 31.270s.
Oct 23 16:14:09 openHABianPi systemd-timesyncd[290]: Synchronized to time server 194.112.182.172:123 (2.debian.pool.ntp.org).
Oct 23 16:14:09 openHABianPi systemd[1]: Time has been changed


Could be a memory leak… It’s a bit fast, but I had to restart openhab daily starting about 9 months back or else it would chew up all the memory laving none for anything else - including an ssh login.

I’d suggest a reflash

1 Like

How long have you had that sd card in there?

About 1 week! Since 2 days the problem occurs. And the sd-card is brand new.

Is there a way to backup all my settings before reflash? I spent lot of time for the configuration

Use openhab-cli backup in shell to backup your OH config.
Read the docs and spend more work on a proper setup next time and include a (system) backup. See here.

Could be a faulty one. There are quite a few of these. Get another one and test on that. Then use the original one and test on that. It makes sense to have a back-up one anyway.

I’d also highly suggest moving root to an ssd. My system is quite quick compared to the sd

1 Like

I ran into this problem as well, although it took 3-4 weeks before I would see problems. OH2 would get “weird”. Sitemap would be slow to update, and eventually the system would not work at all, I could ping it, but could not connect via ssh. It may be SD card corruption. I did a little research and found that SD cards don’t like to be written to a lot. They were really designed for storing pictures from digital cameras, not for running servers, which is what we’re doing. You have at least three logs writing quite often. The system log, and OH has two logs, openhab and events. These may be the source of the problem; excessive writing leading to corruption. In the short term, I would say keep regular backups using openhab-cli and keep a second SD card that you can swap out before you start seeing problems. I did this about every three weeks for my system. My permanent solution was to move my installation to an external USB SSD, not a flash drive like the SD card you have or their thumb drive equivalents, these are also flash. Not a mechanical drive either as the power requirements to spin those drives up is too much for the Rpi3’s power limits, (even with a powered USB hub). Its a bit wasteful using SSD’s (size and cost) but it runs much more reliably. You can also setup a swap partition, which will allow the Pi run even more smoothly. The nice thing about openhab-cli backup is that it really backups up everything you need to get up and running to point of where you last backed up when you do the restore.
Hope this helps.

Don’t be mistaken. While less at risk, SSDs are flash, too. See here for the full story and what you should do about it.

It does not backup anything outside the OH installation, and it does not allow for backup/restore of raw devices which is what you need to prepare a standby SD. Get Amanda installed, see link above.

@mstormi I agree with everything you say except “ssd is still flash”. I don’t disagree it is flash. , I disagree that it has equivalent reliability to an sd card.

I have high volume production systems where I work with ssds. My computers write logs 100 times greater than anything open hav could write. We have not lost a drive yet. I understand there is a more finite life than a mechanical drive, but I would say that the makers of ssd drives have this in mind and build in fail mode functions. For example a 120gb drive might have 140gb if actual flash. The drive has management and caching to make sure all cells are equivalent written to.

What are your thoughts? It is completely ok for me to be wrong and if so, I probably need to start deploying mechanical drives at work again.

2 Likes

I agree and if you read closely I didn’t claim it to be as unreliable as SD.
Some SSDs have spare buffer memory but this is of rather minor benefit in our use case.
SSDs do wear levelling to distribute writes across all available memory. Then again, few people know that SD cards do that as well.
The much more important point is SSDs have a DRAM cache so not every write command translates into a flash write.

But there is a BUT.
The bottom line is that you never know how much buffer there is and if there is any at all. Few vendors show figures, and the cheaper they’re sold the more likely vendors cut or even completely omit(!) the buffer, and you have no means to look into. That’s where things are getting dangerous.

That’s why I strongly recommend to have two devices plus comprehensive backups, one device for the static part of the system and another one for all write-intensive data (see link). So if that latter one fails, your system keeps running and all you need to do is to buy a new device and restore your data.

And once you do that anyway, there’s no point in going for a SSD. There’s a number of disadvantages of these w.r.t space and power consumption, cabling, cost - but no additional benefit to outweigh these.

1 Like

Correct me if I’m wrong, but I believe an advantage of SSD’s and hard drives over SD cards is that the former can tell the OS if something is going wrong whereas the latter silently corrupts the data and you can only find out when the system starts to show issues. The OS can do something more intelligent (how well it does this may be a question, but at least it can try).

That’s right, a SSD is better than a SD card also because of S.M.A.R.T - but it is not as reliable as two independent devices.