MySensors network crashed



  • Suddenly my MySensors network has crashed 😕

    My setup:
    MySensors v2.0
    Raspberry PI 2 (OS: OSMC/debian jessie, controller: Domoticz)
    10 Nodes
    Serial gateway (arduino nano)

    A few days ago my MySensors networkk stopped responding, i dont realy know where to start troubleshooting and if its possible to see any Gateway logs on my RPi?

    I can see some errors on the RPi:

    [    5.529590] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    [    5.529857] systemd[1]: Found ordering cycle on basic.target/start
    [    5.529880] systemd[1]: Found dependency on sysinit.target/start
    [    5.529901] systemd[1]: Found dependency on apparmor.service/start
    [    5.529920] systemd[1]: Found dependency on remote-fs.target/start
    [    5.529937] systemd[1]: Found dependency on remote-fs-pre.target/start
    [    5.529953] systemd[1]: Found dependency on connman.service/start
    [    5.529970] systemd[1]: Found dependency on dbus.service/start
    [    5.529987] systemd[1]: Found dependency on basic.target/start
    [    5.530006] systemd[1]: Breaking ordering cycle by deleting job apparmor.service/start
    [    5.530027] systemd[1]: Job apparmor.service/start deleted to break ordering cycle starting with basic.target/start
    [    5.530323] systemd[1]: Found ordering cycle on basic.target/start
    [    5.530345] systemd[1]: Found dependency on sysinit.target/start
    [    5.530364] systemd[1]: Found dependency on kbd.service/start
    [    5.530382] systemd[1]: Found dependency on remote-fs.target/start
    [    5.530399] systemd[1]: Found dependency on remote-fs-pre.target/start
    [    5.530416] systemd[1]: Found dependency on connman.service/start
    [    5.530432] systemd[1]: Found dependency on dbus.service/start
    [    5.530449] systemd[1]: Found dependency on basic.target/start
    [    5.530466] systemd[1]: Breaking ordering cycle by deleting job kbd.service/start
    [    5.530485] systemd[1]: Job kbd.service/start deleted to break ordering cycle starting with basic.target/start
    [    5.530599] systemd[1]: Found ordering cycle on basic.target/start
    [    5.530618] systemd[1]: Found dependency on sysinit.target/start
    [    5.530636] systemd[1]: Found dependency on rpcbind.service/start
    [    5.530655] systemd[1]: Found dependency on network-online.target/start
    [    5.530672] systemd[1]: Found dependency on network.target/start
    [    5.530688] systemd[1]: Found dependency on connman.service/start
    [    5.530705] systemd[1]: Found dependency on dbus.service/start
    [    5.530721] systemd[1]: Found dependency on basic.target/start
    [    5.530738] systemd[1]: Breaking ordering cycle by deleting job rpcbind.service/start
    [    5.530758] systemd[1]: Job rpcbind.service/start deleted to break ordering cycle starting with basic.target/start
    [    5.679174] fuse init (API version 7.23)
    [    5.701175] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    5.728290] i2c /dev entries driver
    [    5.733286] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 83) (baudrate 100000)
    [    5.738096] systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
    [    5.740561] systemd[1]: Failed to start Load Kernel Modules.
    [    5.740793] systemd[1]: Unit systemd-modules-load.service entered failed state.
    [    6.070440] systemd-udevd[198]: starting version 215
    [    6.298370] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
    [    6.330031] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
    [    6.499883] usbcore: registered new interface driver usbserial
    [    6.499996] usbcore: registered new interface driver usbserial_generic
    [    6.500115] usbserial: USB Serial support registered for generic
    [    6.502689] usbcore: registered new interface driver ch341
    [    6.502800] usbserial: USB Serial support registered for ch341-uart
    [    6.502946] ch341 1-1.3:1.0: ch341-uart converter detected
    [    6.506979] usb 1-1.3: ch341-uart converter now attached to ttyUSB0
    [    6.507114] ch341 1-1.4:1.0: ch341-uart converter detected
    [    6.511244] usb 1-1.4: ch341-uart converter now attached to ttyUSB1
    [    6.779200] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    7.871057] systemd-journald[193]: Received request to flush runtime journal from PID 1
    [    8.649890] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [    8.650159] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   10.109285] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [   10.110614] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
    [   10.140762] 8021q: 802.1Q VLAN Support v1.8
    [   10.259892] random: nonblocking pool is initialized
    [   13.031131] smsc95xx 1-1.1:1.0 eth0: link down
    [   14.519466] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
    [   15.618347] Console: switching to colour dummy device 80x30
    [97628.494454] Console: switching to colour frame buffer device 240x67
    [97630.022871] Console: switching to colour dummy device 80x30
    [592849.839421] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
    [592849.839542] ch341-uart ttyUSB0: usb_serial_generic_read_bulk_callback - urb stopped: -32
    [592849.839621] ch341-uart ttyUSB0: usb_serial_generic_write_bulk_callback - urb stopped: -32
    [592850.032947] usb 1-1.3: USB disconnect, device number 5
    [592850.034342] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
    [592850.034534] ch341 1-1.3:1.0: device disconnected
    [592853.089143] usb 1-1.3: new full-speed USB device number 7 using dwc_otg
    [592853.192492] usb 1-1.3: New USB device found, idVendor=1a86, idProduct=7523
    [592853.192531] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    [592853.192551] usb 1-1.3: Product: USB2.0-Serial
    [592853.194402] ch341 1-1.3:1.0: ch341-uart converter detected
    [592853.199751] usb 1-1.3: ch341-uart converter now attached to ttyUSB0
    [592857.035394] ch341-uart ttyUSB1: usb_serial_generic_read_bulk_callback - urb stopped: -32
    [592857.035569] ch341-uart ttyUSB1: usb_serial_generic_read_bulk_callback - urb stopped: -32
    [592857.201899] usb 1-1.4: USB disconnect, device number 6
    [592857.203137] ch341-uart ttyUSB1: ch341-uart converter now disconnected from ttyUSB1
    [592857.203218] ch341 1-1.4:1.0: device disconnected
    [592857.439203] usb 1-1.4: new full-speed USB device number 8 using dwc_otg
    [592857.542421] usb 1-1.4: New USB device found, idVendor=1a86, idProduct=7523
    [592857.542448] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    [592857.542462] usb 1-1.4: Product: USB2.0-Serial
    [592857.543776] ch341 1-1.4:1.0: ch341-uart converter detected
    [592857.547777] usb 1-1.4: ch341-uart converter now attached to ttyUSB1
    [592861.554465] usb 1-1.4: USB disconnect, device number 8
    [592861.555543] ch341-uart ttyUSB1: ch341-uart converter now disconnected from ttyUSB1
    [592861.555680] ch341 1-1.4:1.0: device disconnected
    [592864.089163] usb 1-1.4: new full-speed USB device number 9 using dwc_otg
    [592864.192309] usb 1-1.4: New USB device found, idVendor=1a86, idProduct=7523
    [592864.192338] usb 1-1.4: New USB device strings: Mfr=0, Product=2, SerialNumber=0
    [592864.192350] usb 1-1.4: Product: USB2.0-Serial
    [592864.193674] ch341 1-1.4:1.0: ch341-uart converter detected
    [592864.198088] usb 1-1.4: ch341-uart converter now attached to ttyUSB1
    

  • Contest Winner

    @Tore-André-Rosander you could do a tail on your gateways serial device. Currently @work so I can't look it up for you. But that should show the serial communication between the gateway and domoticz.

    Also you can check the log of Domoticz in the log console of Domoticz


 

318
Online

8.0k
Users

8.8k
Topics

94.4k
Posts