Hi guys,
I would like to tag along on this one
- little sidenote: this is probably a different problem than the problem mentioned earlier in this thread...
in this case the board is actually not found on SPI at all, so no browser or socket problem i guess *
if i start out with image UniPian-Neuron-OS-2018-03-09.img all works fine out of the box
Evok fine everything fine
But when i just apt-get update / apt-get upgrade things get broken
Does anybody know where i need to look for this?
My guess is that its a kernel thing... it breaks after i reboot, not before taht
under here i have both "good" and "broken" log blurbs
thanks and greetz from holland
all is fine:
root@S103-sn488:/boot# uname -a
Linux S103-sn488 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
root@S103-sn488:/home/pi# dmesg | grep neuronspi
[ 6.246724] neuronspi: loading out-of-tree module taints kernel.
[ 6.257603] neuronspi: probe of spi0.3 failed with error -5
[ 6.270814] neuronspi: probe of spi0.2 failed with error -5
root@S103-sn488:/boot# python /opt/evok/evok.py
[I 180321 08:09:18 config:63] eprom: UniPi Neuron S103 version: 1.0 serial: 0x1e8
[I 180321 08:09:18 evok:1628] Starting using config file /etc/evok.conf
[I 180321 08:09:18 config:75] YAML Definition loaded: L20x.yaml, type: 3, definition count 0
[I 180321 08:09:18 config:75] YAML Definition loaded: M30x.yaml, type: 3, definition count 1
[I 180321 08:09:18 config:75] YAML Definition loaded: L50x.yaml, type: 3, definition count 2
[I 180321 08:09:18 config:75] YAML Definition loaded: S10x.yaml, type: 3, definition count 3
[I 180321 08:09:18 config:75] YAML Definition loaded: xS40.yaml, type: 3, definition count 4
[I 180321 08:09:19 config:75] YAML Definition loaded: M10x.yaml, type: 3, definition count 5
[I 180321 08:09:19 config:75] YAML Definition loaded: L30x.yaml, type: 3, definition count 6
[I 180321 08:09:19 config:75] YAML Definition loaded: M50x.yaml, type: 3, definition count 7
[I 180321 08:09:19 config:75] YAML Definition loaded: L51x.yaml, type: 3, definition count 8
[I 180321 08:09:20 config:75] YAML Definition loaded: xS30.yaml, type: 3, definition count 9
[I 180321 08:09:20 config:75] YAML Definition loaded: M40x.yaml, type: 3, definition count 10
[I 180321 08:09:20 config:75] YAML Definition loaded: M20x.yaml, type: 3, definition count 11
[I 180321 08:09:20 config:75] YAML Definition loaded: CUSTOM MODBUS DEVICE.yaml, type: 3, definition count 12
[I 180321 08:09:20 config:75] YAML Definition loaded: L40x.yaml, type: 3, definition count 13
[I 180321 08:09:20 config:75] YAML Definition loaded: xS10.yaml, type: 3, definition count 14
[I 180321 08:09:20 config:75] YAML Definition loaded: xS50.yaml, type: 3, definition count 15
[I 180321 08:09:20 config:75] YAML Definition loaded: evok-alias.yaml, type: 2, definition count 0
[I 180321 08:09:20 evok:1692] HTTP server listening on port: 8080
[I 180321 08:09:20 modbusclient_tornado:122] SPI client started
[I 180321 08:09:20 neuron:157] Reading SPI boards
[D 180321 08:09:20 owclient:377] Entering 1wire loop
[I 180321 08:09:20 neuron:172] No board on SPI 2
[I 180321 08:09:20 neuron:172] No board on SPI 3
[I 180321 08:09:21 web:2063] 101 GET /ws (::1) 7.53ms
[D 180321 08:09:21 evok:158] New WebSocket client connected
[I 180321 08:09:21 web:2063] 304 GET /rest/all (::1) 9.60ms
things got broken:
root@S103-sn488:/home/pi# uname -a
Linux S103-sn488 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux
root@S103-sn488:/home/pi# dmesg | grep neuronspi
root@S103-sn488:/home/pi#
nothing
root@S103-sn488:/home/pi# python /opt/evok/evok.py
[I 180321 08:24:14 config:63] eprom: UniPi Neuron S103 version: 1.0 serial: 0x1e8
[I 180321 08:24:14 evok:1628] Starting using config file /etc/evok.conf
[I 180321 08:24:14 config:75] YAML Definition loaded: L20x.yaml, type: 3, definition count 0
[I 180321 08:24:14 config:75] YAML Definition loaded: M30x.yaml, type: 3, definition count 1
[I 180321 08:24:15 config:75] YAML Definition loaded: L50x.yaml, type: 3, definition count 2
[I 180321 08:24:15 config:75] YAML Definition loaded: S10x.yaml, type: 3, definition count 3
[I 180321 08:24:15 config:75] YAML Definition loaded: xS40.yaml, type: 3, definition count 4
[I 180321 08:24:15 config:75] YAML Definition loaded: M10x.yaml, type: 3, definition count 5
[I 180321 08:24:15 config:75] YAML Definition loaded: L30x.yaml, type: 3, definition count 6
[I 180321 08:24:15 config:75] YAML Definition loaded: M50x.yaml, type: 3, definition count 7
[I 180321 08:24:16 config:75] YAML Definition loaded: L51x.yaml, type: 3, definition count 8
[I 180321 08:24:16 config:75] YAML Definition loaded: xS30.yaml, type: 3, definition count 9
[I 180321 08:24:16 config:75] YAML Definition loaded: M40x.yaml, type: 3, definition count 10
[I 180321 08:24:16 config:75] YAML Definition loaded: M20x.yaml, type: 3, definition count 11
[I 180321 08:24:16 config:75] YAML Definition loaded: CUSTOM MODBUS DEVICE.yaml, type: 3, definition count 12
[I 180321 08:24:16 config:75] YAML Definition loaded: L40x.yaml, type: 3, definition count 13
[I 180321 08:24:17 config:75] YAML Definition loaded: xS10.yaml, type: 3, definition count 14
[I 180321 08:24:17 config:75] YAML Definition loaded: xS50.yaml, type: 3, definition count 15
[I 180321 08:24:17 config:75] YAML Definition loaded: evok-alias.yaml, type: 2, definition count 0
[I 180321 08:24:17 evok:1692] HTTP server listening on port: 8080
[I 180321 08:24:17 modbusclient_tornado:122] SPI client started
[I 180321 08:24:17 neuron:157] Reading SPI boards
[I 180321 08:24:17 neuron:172] No board on SPI 1
[I 180321 08:24:17 neuron:172] No board on SPI 2
[D 180321 08:24:17 owclient:377] Entering 1wire loop
[I 180321 08:24:17 neuron:172] No board on SPI 3
[I 180321 08:24:17 web:2063] 101 GET /ws (127.0.0.1) 3.58ms
[D 180321 08:24:17 evok:158] New WebSocket client connected
[I 180321 08:24:17 web:2063] 304 GET /rest/all (127.0.0.1) 4.17ms
[E 180321 08:24:17 neuron:211] 'NoneType' object has no attribute 'do_scan'
Traceback (most recent call last):
File "/opt/evok/neuron.py", line 209, in scan_boards
yield self.modbus_cache_map.do_scan()
AttributeError: 'NoneType' object has no attribute 'do_scan'