Skip to content

Instantly share code, notes, and snippets.

@axelson
Created July 30, 2019 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save axelson/278400fec17dda89b979ea226f670db3 to your computer and use it in GitHub Desktop.
Save axelson/278400fec17dda89b979ea226f670db3 to your computer and use it in GitHub Desktop.
Nerves network log when ethernet is not working
00:00:06.632 [info] Start Network Interface Worker
00:00:06.653 [debug] Elixir.Nerves.Network setup(eth0)
00:00:06.685 [info] [ 6.668411] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
00:00:06.685 [info] [ 6.681917] libphy: lan78xx-mdiobus: probed
00:00:06.706 [info] nerves_network_interface received :ifadded and %{ifname: "eth0", index: 2}
00:00:06.709 [info] nerves_network_interface received :ifchanged and %{ifname: "eth0", index: 2, is_broadcast: true, is_lower_up: false, is_multicast: true, is_running: false, is_up: false, mac_address: "b8:27:eb:23:7b:9e", mac_broadcast: "ff:ff:ff:ff:ff:ff", mtu: 1500, operstate: :down, stats: %{collisions: 0, multicast: 0, rx_bytes: 0, rx_dropped: 0, rx_errors: 0, rx_packets: 0, tx_bytes: 0, tx_dropped: 0, tx_errors: 0, tx_packets: 0}, type: :ethernet}
00:00:06.710 [info] [ 6.697984] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
00:00:06.850 [info] [ 6.843861] usbcore: registered new interface driver lan78xx
00:00:07.165 [warn] [ 7.139788] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
00:00:07.165 [info] [ 7.153654] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
00:00:07.165 [info] [ 7.161710] [vc_sm_connected_init]: start
00:00:07.181 [info] [ 7.167688] [vc_sm_connected_init]: installed successfully
00:00:07.217 [info] [ 7.207356] media: Linux media interface: v0.10
00:00:07.238 [info] [ 7.227635] videodev: Linux video capture interface: v2.00
00:00:07.262 [warn] [ 7.244500] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
00:00:07.281 [warn] [ 7.268189] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
00:00:07.781 [warn] Device not found: "FT5406 memory based driver"
21:27:56.001 [info] nerves_time initialized clock to 2019-07-30 21:27:56 UTC
21:27:56.002 [debug] Starting ntpd as: ["/usr/sbin/ntpd", "-n", "-d", "-S", "/srv/erlang/lib/nerves_time-0.2.1/priv/ntpd_script", "-p", "0.pool.ntp.org", "-p", "1.pool.ntp.org", "-p", "2.pool.ntp.org", "-p", "3.pool.ntp.org"]
21:27:56.022 [info] backlight init!
21:27:56.059 [warn] [ 8.065207] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
21:27:56.059 [info] [ 8.081443] bcm2835_audio soc:audio: card created with 8 channels
21:27:56.162 [warn] Device not found: "FT5406 memory based driver"
21:27:56.338 [info] [ 8.343296] cfg80211: Loading compiled-in X.509 certificates for regulatory database
21:27:56.338 [info] [ 8.360533] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
21:27:56.401 [info] [ 8.405991] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
21:27:56.581 [warn] Device not found: "FT5406 memory based driver"
21:27:56.585 [info] [ 8.593662] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
21:27:56.602 [info] [ 8.614544] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
21:27:56.638 [info] nerves_network_interface received :ifadded and %{ifname: "wlan0", index: 3}
21:27:56.639 [info] nerves_network_interface received :ifchanged and %{ifname: "wlan0", index: 3, is_broadcast: true, is_lower_up: false, is_multicast: true, is_running: false, is_up: false, mac_address: "b8:27:eb:76:2e:cb", mac_broadcast: "ff:ff:ff:ff:ff:ff", mtu: 1500, operstate: :down, stats: %{collisions: 0, multicast: 0, rx_bytes: 0, rx_dropped: 0, rx_errors: 0, rx_packets: 0, tx_bytes: 0, tx_dropped: 0, tx_errors: 0, tx_packets: 0}, type: :ethernet}
21:27:56.726 [info] [ 8.740290] rpi-ft5406 rpi_ft5406: Probing device
21:27:56.726 [info] [ 8.747576] input: FT5406 memory based driver as /devices/virtual/input/input0
21:30:07.328 [error] Task #PID<0.1741.0> started from #PID<0.1709.0> terminating
** (HTTPoison.Error) :nxdomain
(httpoison) lib/httpoison.ex:128: HTTPoison.request!/5
(slack) lib/slack/web/default_client.ex:23: Slack.Web.DefaultClient.post!/2
(timer) lib/scenes/home.ex:116: anonymous fn/1 in Timer.Scene.Home.set_pomodoro_slack_status/1
(elixir) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Function: #Function<4.122815592/0 in Timer.Scene.Home.set_pomodoro_slack_status/1>
Args: []
21:30:11.727 [error] Task #PID<0.1878.0> started from #PID<0.1707.0> terminating
** (HTTPoison.Error) :nxdomain
(httpoison) lib/httpoison.ex:128: HTTPoison.request!/5
(slack) lib/slack/web/default_client.ex:23: Slack.Web.DefaultClient.post!/2
(timer) lib/scenes/home.ex:123: anonymous fn/0 in Timer.Scene.Home.clear_pomodoro_slack_status/0
(elixir) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Function: #Function<0.122815592/0 in Timer.Scene.Home.clear_pomodoro_slack_status/0>
Args: []
21:30:13.472 [info] Elixir.Nerves.Runtime : device told to reboot
No errors detected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment