Date: Tue, 22 Mar 2022 16:24:57 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: Chuck Tuffli <ctuffli@gmail.com> Cc: FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: network address not restored on resume Message-ID: <CAN6yY1uuwE5dayf2jOP3y2RiFFKNee%2B93nKaBJnMT6kNaNer-A@mail.gmail.com> In-Reply-To: <CAKAYmMJHG6rVmQ88dYZ_nbt9WXRDM192uEZtr=ySkc%2BEoqmiEw@mail.gmail.com> References: <CAKAYmMJHG6rVmQ88dYZ_nbt9WXRDM192uEZtr=ySkc%2BEoqmiEw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b32c0805dad6eed2 Content-Type: text/plain; charset="UTF-8" On Tue, Mar 22, 2022 at 3:03 PM Chuck Tuffli <ctuffli@gmail.com> wrote: > 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > ether 1c:69:7a:a9:cd:1c > inet 192.168.5.10 netmask 0xffffff00 broadcast 192.168.5.255 > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > root@stargate:~ # zzz > root@stargate:~ # ifconfig igc0 > igc0: flags=8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > ether 1c:69:7a:a9:cd:1c > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > root@stargate:~ # service netif restart igc0 > Stopping Network: igc0. > igc0: flags=8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > ether 1c:69:7a:a9:cd:1c > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > Starting Network: igc0. > igc0: flags=8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > 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<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > root@stargate:~ # > root@stargate:~ # ifconfig igc0 > igc0: flags=8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > ether 1c:69:7a:a9:cd:1c > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > root@stargate:~ # ifconfig igc0 inet 192.168.5.10/24 > igc0: flags=8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP> > ether 1c:69:7a:a9:cd:1c > media: Ethernet autoselect (1000baseT <full-duplex>) > status: active > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > root@stargate:~ # > Not enough information to guess. What is the content of /etc/rc.conf in regard to configuration of this interface? What shows up in the log file when this happens (usually /var/log/messages)? The log information is particularly important. (Note that I don't have an igc interface.) -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000b32c0805dad6eed2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:tahoma,sans-serif;font-size:small">On Tue, Mar 22, 2022 at 3:03 PM= Chuck Tuffli <<a href=3D"mailto:ctuffli@gmail.com">ctuffli@gmail.com</a= >> wrote:<br></div></div><div class=3D"gmail_quote"><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex">On a recent-ish current (git hash 66b86c8a760= 4), after resuming from<br> sleep, the main network interface doesn't get restored. Further,<br> manually fixing this via service netif or ifconfig seems to fail. Am I<br> doing something wrong?<br> <br> root@stargate:~ # uname -a<br> FreeBSD <a href=3D"http://stargate.tuffli.net" rel=3D"noreferrer" target=3D= "_blank">stargate.tuffli.net</a> 14.0-CURRENT FreeBSD 14.0-CURRENT #2<br> main-n253430-66b86c8a7604: Sat Feb 26 23:35:02 PST 2022<br> root@stargate:~ # ifconfig igc0<br> igc0: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 m= tu 1500<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLA= N_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLA= N_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 1c:69:7a:a9:cd:1c<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.5.10 netmask 0xffffff00 broadcast = 192.168.5.255<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT <full-= duplex>)<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_= LINKLOCAL><br> root@stargate:~ # zzz<br> root@stargate:~ # ifconfig igc0<br> igc0: flags=3D8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu = 1500<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLA= N_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLA= N_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 1c:69:7a:a9:cd:1c<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT <full-= duplex>)<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_= LINKLOCAL><br> root@stargate:~ # service netif restart igc0<br> Stopping Network: igc0.<br> igc0: flags=3D8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu = 1500<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLA= N_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLA= N_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 1c:69:7a:a9:cd:1c<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT <full-= duplex>)<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_= LINKLOCAL><br> Starting Network: igc0.<br> igc0: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 m= tu 1500<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLA= N_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLA= N_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 1c:69:7a:a9:cd:1c<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.5.10 netmask 0xffffff00 broadcast = 192.168.5.255<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: no carrier<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_= LINKLOCAL><br> root@stargate:~ #<br> root@stargate:~ # ifconfig igc0<br> igc0: flags=3D8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu = 1500<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLA= N_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLA= N_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 1c:69:7a:a9:cd:1c<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT <full-= duplex>)<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_= LINKLOCAL><br> root@stargate:~ # ifconfig igc0 inet <a href=3D"http://192.168.5.10/24" rel= =3D"noreferrer" target=3D"_blank">192.168.5.10/24</a><br> igc0: flags=3D8c22<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu = 1500<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLA= N_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLA= N_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,NOMAP><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 1c:69:7a:a9:cd:1c<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT <full-= duplex>)<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_= LINKLOCAL><br> root@stargate:~ #<br></blockquote><div>=C2=A0</div><div><div style=3D"font-= family:tahoma,sans-serif;font-size:small" class=3D"gmail_default">Not enoug= h information to guess.</div><br></div></div><div style=3D"font-family:taho= ma,sans-serif;font-size:small" class=3D"gmail_default">What is the content = of /etc/rc.conf in regard to configuration of this interface? What shows up= in the log file when this happens (usually /var/log/messages)? The log inf= ormation is particularly important. (Note that I don't have an igc inte= rface.)<br></div>-- <br><div dir=3D"ltr" class=3D"gmail_signature"><div dir= =3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr">= Kevin Oberman, Part time kid herder and retired Network Engineer<br>E-mail:= <a href=3D"mailto:rkoberman@gmail.com" target=3D"_blank">rkoberman@gmail.c= om</a><br></div><div>PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055= 683</div></div></div></div></div></div></div></div></div> --000000000000b32c0805dad6eed2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1uuwE5dayf2jOP3y2RiFFKNee%2B93nKaBJnMT6kNaNer-A>