Skip to content

Instantly share code, notes, and snippets.

@axelson
Created July 30, 2019 22:01
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/80eb528e6ef07c642c1f700f1f35eba0 to your computer and use it in GitHub Desktop.
Save axelson/80eb528e6ef07c642c1f700f1f35eba0 to your computer and use it in GitHub Desktop.
nerves logs when ethernet works
00:00:06.247 [info] [ 3.424396] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
00:00:06.247 [info] [ 3.435738] hub 1-1.1:1.0: USB hub found
00:00:06.247 [info] [ 3.443079] hub 1-1.1:1.0: 3 ports detected
00:00:06.248 [warn] [ 3.803383] dwc_otg_handle_wakeup_detected_intr lxstate = 2
00:00:06.248 [info] [ 4.342360] usb 1-1.1.1: new high-speed USB device number 4 using dwc_otg
00:00:06.248 [info] [ 4.472657] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
00:00:06.248 [info] [ 4.482813] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
00:00:06.248 [warn] [ 5.764446] heart: kernel watchdog activated (interval 5s)
00:00:06.248 [info] [ 6.184148] random: crng init done
00:00:06.330 [info] [ 6.318277] libphy: Fixed MDIO Bus: probed
00:00:06.441 [info] Start Network Interface Worker
00:00:06.459 [debug] Elixir.Nerves.Network setup(eth0)
00:00:06.490 [info] [ 6.471527] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
00:00:06.490 [info] [ 6.484680] libphy: lan78xx-mdiobus: probed
00:00:06.506 [info] nerves_network_interface received :ifadded and %{ifname: "eth0", index: 2}
00:00:06.506 [debug] DHCPManager(eth0) network_interface ifadded
00:00:06.510 [info] [ 6.498421] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
00:00:06.510 [info] [ 6.509613] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
00:00:06.518 [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.518 [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: true, 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.520 [debug] DHCPManager(eth0, down) got event :ifadded
00:00:06.520 [debug] DHCPManager(eth0) network_interface ifdown
00:00:06.525 [debug] DHCPManager(eth0, down) got event :ifdown
00:00:06.525 [debug] DHCPManager(eth0) network_interface ifdown
00:00:06.529 [debug] DHCPManager(eth0, down) got event :ifdown
00:00:06.529 [debug] DHCPManager(eth0) network_interface ifdown
00:00:06.533 [debug] DHCPManager(eth0, down) got event :ifdown
00:00:06.650 [info] [ 6.643765] usbcore: registered new interface driver lan78xx
00:00:06.933 [warn] [ 6.914906] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
00:00:06.933 [info] [ 6.928154] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
00:00:06.946 [info] [ 6.935996] [vc_sm_connected_init]: start
00:00:06.946 [info] [ 6.941668] [vc_sm_connected_init]: installed successfully
00:00:06.980 [info] [ 6.976133] media: Linux media interface: v0.10
00:00:07.006 [info] [ 6.996020] videodev: Linux video capture interface: v2.00
00:00:07.030 [warn] [ 7.011985] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
00:00:07.050 [warn] [ 7.034596] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
00:00:07.506 [warn] Device not found: "FT5406 memory based driver"
21:30:13.002 [info] nerves_time initialized clock to 2019-07-30 21:30:13 UTC
21:30:13.003 [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:30:13.053 [info] backlight init!
21:30:13.105 [warn] [ 7.814826] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
21:30:13.105 [info] [ 7.831164] bcm2835_audio soc:audio: card created with 8 channels
21:30:13.176 [warn] Device not found: "FT5406 memory based driver"
21:30:13.368 [info] [ 8.089692] cfg80211: Loading compiled-in X.509 certificates for regulatory database
21:30:13.387 [info] [ 8.107700] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
21:30:13.437 [info] [ 8.145520] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
21:30:13.578 [warn] Device not found: "FT5406 memory based driver"
21:30:13.611 [info] [ 8.328636] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
21:30:13.644 [info] [ 8.348723] 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:30:13.664 [info] nerves_network_interface received :ifadded and %{ifname: "wlan0", index: 3}
21:30:13.665 [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:30:13.769 [info] [ 8.486523] rpi-ft5406 rpi_ft5406: Probing device
21:30:13.769 [info] [ 8.493810] input: FT5406 memory based driver as /devices/virtual/input/input0
21:30:13.844 [info] nerves_network_interface received :ifchanged and %{ifname: "eth0", index: 2, is_broadcast: true, is_lower_up: true, is_multicast: true, is_running: true, is_up: true, mac_address: "b8:27:eb:23:7b:9e", mac_broadcast: "ff:ff:ff:ff:ff:ff", mtu: 1500, operstate: :up, 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:30:13.845 [debug] DHCPManager(eth0) network_interface ifup
21:30:13.847 [info] [ 8.561535] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
21:30:13.855 [debug] DHCPManager(eth0, dhcp) got event :ifup
21:30:13.861 [debug] udhcpc: deconfigure eth0
21:30:13.861 [info] DHCPManager(eth0): udhcp deconfig
21:30:13.861 [debug] DHCPManager(eth0) udhcpc {:deconfig, %{ifname: "eth0"}}
21:30:14.976 [debug] udhcpc: bound eth0: IP=192.168.1.6, dns="192.168.1.1"
21:30:14.976 [info] DHCPManager(eth0): udhcp bound
21:30:14.987 [debug] DHCPManager(eth0) udhcpc {:bound, %{domain: "", ifname: "eth0", ipv4_address: "192.168.1.6", ipv4_broadcast: "", ipv4_gateway: "192.168.1.1", ipv4_subnet_mask: "255.255.255.0", nameservers: ["192.168.1.1"]}}
21:30:14.994 [debug] eth0 is up. IP is now 192.168.1.6
21:30:15.121 [debug] Restarted Erlang distribution as node :"murphy@nerves.local"
21:31:48.895 [debug] ntpd stepped the clock: %{freq_drift_ppm: 0, offset: 80.567209, poll_interval: 32, stratum: 16}
21:32:21.127 [info] ntpd synchronization changed (now true): %{freq_drift_ppm: 0, offset: 0.004331, poll_interval: 32, stratum: 3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment