From nobody Tue Mar 22 22:02:19 2022 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E9AE81A440BE for ; Tue, 22 Mar 2022 22:02:32 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNQT35pSmz3DyN for ; Tue, 22 Mar 2022 22:02:31 +0000 (UTC) (envelope-from ctuffli@gmail.com) Received: by mail-ej1-x633.google.com with SMTP id d10so39049316eje.10 for ; Tue, 22 Mar 2022 15:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=A4+ZoHXbY+Xiy/Onpojr7r/w7R4HHjb3NtwAe29e3yY=; b=Rb6vPErQpAinKxh93ENwbro70iZYS2VPmN9pmWiLq7wWITwDdYryx5cL1lze+yMY0A JpSioK/39FFDV+yYtMRLPujzYQshhIC3y5niOi8qwwYeAVryYVGg94ZsQEeGIYnE8vy1 +2ZkeTvP1O2fGKeZ53UBDqm56ITkFeOoYYCmkwiYwEUeeTBOzxDowfefDAxrYaDZCCF8 D3JBlSL1j+/2oWOHExIgjXCkr5vLyWt5GRc/dWx1KyGT2otURfiphUeMI2lnM+br7vXl FzEiIKNR6FU+5GFwrbLjFbnsjtycHv+hyDrChAI/PXAtvaSF0z0+wmkkN3RaPupZLRpX Buig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=A4+ZoHXbY+Xiy/Onpojr7r/w7R4HHjb3NtwAe29e3yY=; b=FKYiokE+eT3NTkDTkpWAvJTZMbMhhwhA/Xh//LCGpEUIrTIpgf/63yZ+xf4M/w5C0T Aj4lqqM6fuVTpF7S9SGdUAZ5ZjMVjYjm3jqQ4g3KbpIoTo2Bcia71bJMErtlIRj2XJA5 1ItFtxwJ/QttpjcLww3lR7yPWOMnz2kUuq5qK9Qc5QxpXlgvhTUxN2/c+2TsHZoIeX4i Rl1vYDGgzI7kPcfbJxKuO3UadroI5ARHm23N5db/wMnhTmGLIFPq/4qJP3y6nI/WLM89 C//W5IWXMLM9KUZm8TUXN3PhsxKAvXSiGay1sWXmx1M3Nh8EMVSm3tkqWRzq8y5hB/fZ y0Aw== X-Gm-Message-State: AOAM533DTGqvyR3EJ9+Pnb1x5oROvQQQkSf6lRiYXabOnCjkH70k8nUG NLkRUUot9kbfNU/tybhaWvM13B+LCJuLkhYbwWiEMYAq04U= X-Google-Smtp-Source: ABdhPJyuqPpAvMXQioI6589ycnmQnk7zhjj8Mr8VRjBtPOfxJ4KOuWV41BHcs9KpPmd162uV1MeHkicQhKpYAen4Zn8= X-Received: by 2002:a17:906:b155:b0:6c9:ea2d:3363 with SMTP id bt21-20020a170906b15500b006c9ea2d3363mr27431809ejb.729.1647986550370; Tue, 22 Mar 2022 15:02:30 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Chuck Tuffli Date: Tue, 22 Mar 2022 15:02:19 -0700 Message-ID: Subject: network address not restored on resume To: FreeBSD-Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KNQT35pSmz3DyN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Rb6vPErQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ctuffli@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=ctuffli@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On a recent-ish current (git hash 66b86c8a7604), after resuming from sleep, the main network interface doesn't get restored. Further, manually fixing this via service netif or ifconfig seems to fail. Am I doing something wrong? root@stargate:~ # uname -a FreeBSD stargate.tuffli.net 14.0-CURRENT FreeBSD 14.0-CURRENT #2 main-n253430-66b86c8a7604: Sat Feb 26 23:35:02 PST 2022 root@stargate:~ # ifconfig igc0 igc0: flags=8863 metric 0 mtu 1500 options=4e527bb ether 1c:69:7a:a9:cd:1c inet 192.168.5.10 netmask 0xffffff00 broadcast 192.168.5.255 media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 root@stargate:~ # zzz root@stargate:~ # ifconfig igc0 igc0: flags=8c22 metric 0 mtu 1500 options=4e527bb ether 1c:69:7a:a9:cd:1c media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 root@stargate:~ # service netif restart igc0 Stopping Network: igc0. igc0: flags=8c22 metric 0 mtu 1500 options=4e527bb ether 1c:69:7a:a9:cd:1c media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 Starting Network: igc0. igc0: flags=8863 metric 0 mtu 1500 options=4e527bb ether 1c:69:7a:a9:cd:1c inet 192.168.5.10 netmask 0xffffff00 broadcast 192.168.5.255 media: Ethernet autoselect status: no carrier nd6 options=29 root@stargate:~ # root@stargate:~ # ifconfig igc0 igc0: flags=8c22 metric 0 mtu 1500 options=4e527bb ether 1c:69:7a:a9:cd:1c media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 root@stargate:~ # ifconfig igc0 inet 192.168.5.10/24 igc0: flags=8c22 metric 0 mtu 1500 options=4e527bb ether 1c:69:7a:a9:cd:1c media: Ethernet autoselect (1000baseT ) status: active nd6 options=29 root@stargate:~ #