Hi!
I have some Beaglebone running my python script for controlling relays and read sensors. But time to time some beaglebone freeze and I don’t know why.
Here is the log when the beaglebone crash. I think maybe it’s a power problem when the wifi chip try to connect.
For power up the HW I use a Menwell powersupply and two solder wires to the BBGW pinheader (vdd_5v and gnd)
HW: Beaglebone Green Wireless
Kernel: Linux beaglebone 4.4.9-ti-r25
`
Jun 24 21:46:02 beaglebone CRON[3370]: (CRON) info (No MTA installed, discarding output)
Jun 24 21:48:02 beaglebone rsyslogd-2007: action ‘action 17’ suspended, next retry is Sat Jun 24 21:49:32 2017 [try You searched for error 2007 - rsyslog ]
Jun 24 21:48:02 beaglebone CRON[3395]: (root) CMD (/root/cloudponics/ota_client.sh)
Jun 24 21:48:03 beaglebone CRON[3394]: (CRON) info (No MTA installed, discarding output)
Jun 24 21:50:01 beaglebone rsyslogd-2007: action ‘action 17’ suspended, next retry is Sat Jun 24 21:51:31 2017 [try You searched for error 2007 - rsyslog ]
Jun 24 21:50:01 beaglebone CRON[3420]: (root) CMD (/root/cloudponics/ota_client.sh)
Jun 24 21:50:03 beaglebone CRON[3419]: (CRON) info (No MTA installed, discarding output)
Jun 24 21:50:57 beaglebone rsyslogd: [origin software=“rsyslogd” swVersion=“8.4.2” x-pid=“402” x-info=“http://www.rsyslog.com”] start
Jun 24 21:50:57 beaglebone hdparm[221]: Setting parameters of disc: (none).
Jun 24 21:50:57 beaglebone networking[213]: Configuring network interfaces…done.
Jun 24 21:50:57 beaglebone alsactl[290]: /usr/sbin/alsactl: load_state:1729: No soundcards found…
Jun 24 21:50:57 beaglebone sh[299]: generic-board-startup: [model=TI_AM335x_BeagleBone_Green_Wireless]
Jun 24 21:50:57 beaglebone sh[299]: generic-board-startup: [startup script=/opt/scripts/boot/am335x_evm.sh]
Jun 24 21:50:57 beaglebone cron[324]: (CRON) INFO (pidfile fd = 3)
Jun 24 21:50:57 beaglebone wifidog_server[320]: [6][Sat Jun 24 21:50:56 2017]326 Reading configuration file ‘/etc/wifidog.conf’
Jun 24 21:50:57 beaglebone ovpn-2cf7f1061a1c[311]: OpenVPN 2.3.4 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Nov 19 2015
Jun 24 21:50:57 beaglebone ovpn-2cf7f1061a1c[311]: library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.08
Jun 24 21:50:57 beaglebone ovpn-2cf7f1061a1c[311]: WARNING: No server certificate verification method has been enabled. See How To Guide: Set Up & Configure OpenVPN Client/server VPN | OpenVPN for more info.
Jun 24 21:50:57 beaglebone cron[324]: (CRON) INFO (Running @reboot jobs)
Jun 24 21:50:57 beaglebone ovpn-2cf7f1061a1c[311]: Socket Buffers: R=[163840->131072] S=[163840->131072]
Jun 24 21:50:57 beaglebone ovpn-2cf7f1061a1c[341]: UDPv4 link local: [undef]
Jun 24 21:50:57 beaglebone ovpn-2cf7f1061a1c[341]: UDPv4 link remote: [AF_INET]45.79.95.68:1194
Jun 24 21:50:57 beaglebone ovpn-2cf7f1061a1c[341]: write UDPv4: Network is unreachable (code=101)
Jun 24 21:50:57 beaglebone wifidog_server[320]: [6][Sat Jun 24 21:50:56 2017]326 Setting started_time
Jun 24 21:50:57 beaglebone wifidog_server[320]: [3][Sat Jun 24 21:50:56 2017]326 get_iface_mac ioctl(SIOCGIFHWADDR): No such device
Jun 24 21:50:57 beaglebone wifidog_server[320]: [3][Sat Jun 24 21:50:56 2017]326 Could not get MAC address information of SoftAp0, exiting…
Jun 24 21:50:57 beaglebone udhcpd[346]: udhcpd: Disabled. Edit /etc/default/udhcpd to enable it.
Jun 24 21:50:57 beaglebone dnsmasq[336]: dnsmasq: syntax check OK.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Found user ‘avahi’ (UID 105) and group ‘avahi’ (GID 114).
Jun 24 21:50:57 beaglebone wifidog_pre[294]: command failed: No such file or directory (-2)
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Successfully dropped root privileges.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: avahi-daemon 0.6.31 starting up.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Successfully called chroot().
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Successfully dropped remaining capabilities.
Jun 24 21:50:57 beaglebone avahi-daemon[374]: chroot.c: open() failed: No such file or directory
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Failed to open /etc/resolv.conf: Invalid argument
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Loading service file /services/bone101.service.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Loading service file /services/cloud9.service.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Loading service file /services/node-red.service.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Network interface enumeration completed.
Jun 24 21:50:57 beaglebone dbus[359]: [system] Successfully activated service ‘org.freedesktop.systemd1’
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Registering HINFO record with values ‘ARMV7L’/‘LINUX’.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Server startup complete. Host name is beaglebone.local. Local service cookie is 2490854071.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Service “Node-RED for beaglebone” (/services/node-red.service) successfully established.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Service “Cloud9 IDE for beaglebone” (/services/cloud9.service) successfully established.
Jun 24 21:50:57 beaglebone avahi-daemon[352]: Service “BeagleBone 101 Getting Started for beaglebone” (/services/bone101.service) successfully established.
Jun 24 21:50:57 beaglebone bb-wl18xx-wlan0[316]: wlan_0_mac=[2C:F7:F1:06:1A:1C]
Jun 24 21:50:57 beaglebone systemd[1]: wifidog-pre-startup.service: main process exited, code=exited, status=254/n/a
Jun 24 21:50:57 beaglebone systemd[1]: Unit wifidog-pre-startup.service entered failed state.
Jun 24 21:50:57 beaglebone systemd[1]: wifidog-gateway.service: main process exited, code=exited, status=1/FAILURE
Jun 24 21:50:57 beaglebone systemd[1]: Unit wifidog-gateway.service entered failed state.
Jun 24 21:50:57 beaglebone kernel: [ 0.000000] Booting Linux on physical CPU 0x****0
Jun 24 21:50:57 beaglebone kernel: [ 0.000000] Initializing cgroup subsys cpuset
Jun 24 21:50:57 beaglebone kernel: [ 0.000000] Initializing cgroup subsys cpu
Jun 24 21:50:57 beaglebone kernel: [ 0.000000] Initializing cgroup subsys cpuacct
`