zeam-vm / nerves_system_zybo_z7_10

The base Nerves System configuration for the Zybo Z7-10.
Apache License 2.0
4 stars 1 forks source link

vintage_net, mdns_lite がシャットダウンする #3

Closed pojiro closed 7 months ago

pojiro commented 7 months ago
01:06:48.128 [info] Application vintage_net exited: shutdown

01:06:48.131 [info] Application mdns_lite exited: shutdown

以下エラーログ

01:06:45.069 [info] mdns_lite eth0/{192, 168, 0, 8}

01:06:45.083 [error] GenServer VintageNet.RouteManager terminating
** (MatchError) no match of right hand side value: {:error, "ip: RTNETLINK answers: Operation not supported\n"}
    (vintage_net 0.13.5) lib/vintage_net/route_manager.ex:352: VintageNet.RouteManager.handle_insert/1
    (elixir 1.15.7) lib/enum.ex:984: Enum."-each/2-lists^foreach/1-0-"/2
    (vintage_net 0.13.5) lib/vintage_net/route_manager.ex:303: VintageNet.RouteManager.update_route_tables/1
    (vintage_net 0.13.5) lib/vintage_net/route_manager.ex:191: VintageNet.RouteManager.handle_call/3
    (stdlib 5.1.1) gen_server.erl:1113: :gen_server.try_handle_call/4
    (stdlib 5.1.1) gen_server.erl:1142: :gen_server.handle_msg/6
    (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message (from :"Elixir.BEAMNotify.vintage_net_comm"): {:set_route, "eth0", [{{192, 168, 0, 8}, 24}], {192, 168, 0, 1}}
State: %{route_metric_fun: &VintageNet.Route.DefaultMetric.compute_metric/2, routes: [], interfaces: %{"eth0" => %VintageNet.Route.InterfaceInfo{default_gateway: nil, weight: 0, ip_subnets: [], interface_type: :ethernet, status: :lan}, "usb0" => %VintageNet.Route.InterfaceInfo{default_gateway: nil, weight: 0, ip_subnets: [], interface_type: :unknown, status: :disconnected}, "wlan0" => %VintageNet.Route.InterfaceInfo{default_gateway: nil, weight: 0, ip_subnets: [], interface_type: :wifi, status: :disconnected}}, route_state: %{"eth0" => 100, "usb0" => 101, "wlan0" => 102}}
Client :"Elixir.BEAMNotify.vintage_net_comm" is alive

    (stdlib 5.1.1) gen.erl:259: :gen.do_call/4
    (elixir 1.15.7) lib/gen_server.ex:1071: GenServer.call/3
    (vintage_net 0.13.5) lib/vintage_net/interface/udhcpc.ex:104: VintageNet.Interface.Udhcpc.renew/2
    (beam_notify 1.1.0) lib/beam_notify.ex:137: BEAMNotify.handle_info/2
    (stdlib 5.1.1) gen_server.erl:1077: :gen_server.try_handle_info/3
    (stdlib 5.1.1) gen_server.erl:1165: :gen_server.handle_msg/6
    (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3

01:06:45.095 [error] GenServer :"Elixir.BEAMNotify.vintage_net_comm" terminating
** (stop) exited in: GenServer.call(VintageNet.RouteManager, {:set_route, "eth0", [{{192, 168, 0, 8}, 24}], {192, 168, 0, 1}}, 5000)
    ** (EXIT) an exception was raised:
        ** (MatchError) no match of right hand side value: {:error, "ip: RTNETLINK answers: Operation not supported\n"}
            (vintage_net 0.13.5) lib/vintage_net/route_manager.ex:352: VintageNet.RouteManager.handle_insert/1
            (elixir 1.15.7) lib/enum.ex:984: Enum."-each/2-lists^foreach/1-0-"/2
            (vintage_net 0.13.5) lib/vintage_net/route_manager.ex:303: VintageNet.RouteManager.update_route_tables/1
            (vintage_net 0.13.5) lib/vintage_net/route_manager.ex:191: VintageNet.RouteManager.handle_call/3
            (stdlib 5.1.1) gen_server.erl:1113: :gen_server.try_handle_call/4
            (stdlib 5.1.1) gen_server.erl:1142: :gen_server.handle_msg/6
            (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
    (elixir 1.15.7) lib/gen_server.ex:1074: GenServer.call/3
    (vintage_net 0.13.5) lib/vintage_net/interface/udhcpc.ex:104: VintageNet.Interface.Udhcpc.renew/2
    (beam_notify 1.1.0) lib/beam_notify.ex:137: BEAMNotify.handle_info/2
    (stdlib 5.1.1) gen_server.erl:1077: :gen_server.try_handle_info/3
    (stdlib 5.1.1) gen_server.erl:1165: :gen_server.handle_msg/6
    (stdlib 5.1.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Last message: {:udp, #Port<0.14>, {:unspec, ""}, 0, <<131, 104, 2, 108, 0, 0, 0, 1, 109, 0, 0, 0, 5, 98, 111, 117, 110, 100, 106, 116, 0, 0, 0, 27, 109, 0, 0, 0, 3, 69, 77, 85, 109, 0, 0, 0, 4, 98, 101, 97, 109, 109, 0, 0, 0, ...>>}
State: %{socket: #Port<0.14>, options: [name: "vintage_net_comm", report_env: true, dispatcher: &VintageNet.OSEventDispatcher.dispatch/2], dispatcher: &VintageNet.OSEventDispatcher.dispatch/2, socket_path: "/tmp/beam_notify-89749473"}