Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2025 13:46:45 +0100 (CET)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        FreeBSD User <freebsd@walstatt-de.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: 15-STABLE: dhclient fails on em0 (Lenovo T580)
Message-ID:  <769621663.7357.1764593205143@localhost>
In-Reply-To: <20251129121649.49441eff@hermann>
References:  <20251128082630.3dbea678@hermann> <817794595.3413.1764321375872@localhost>	<20251128105016.28b5562a@hermann> <636185594.3615.1764323768736@localhost> <20251129121649.49441eff@hermann>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Thanks,

Something I notice:
Nov 29 11:36:00 <14.6> hermann kernel: sysctl: oid 'net.inet.ip.fw.default_to_accept' is a read only tunable at line 98
This setting needs to go in /boot/loader.conf, not in /etc/sysctl.conf.

A bigger thing is that in the output you sent me I don't see dhclient being started.
Are you sure your /etc/rc.conf is correct? Can you send your /etc/rc.conf?

Regards,
Ronald.

 
Van: FreeBSD User <freebsd@walstatt-de.de>
Datum: zaterdag, 29 november 2025 12:24
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: FreeBSD CURRENT <freebsd-current@freebsd.org>
Onderwerp: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580)
> 
> On Fri, 28 Nov 2025 10:56:08 +0100 (CET)
> Ronald Klop <ronald-lists@klop.ws> wrote:
> 
> > Ok.
> >
> > Can you copy paste the console output of the booting system up until the login prompt?
> > Or setup /var/log/console.log via /etc/syslog.conf and share that output.
> 
> Please find the requested output of syslog (set to console.debug) attached as well as a /var/log/message extract.
> >
> > Regards,
> > Ronald.
> >
> >  
> > Van: FreeBSD User <freebsd@walstatt-de.de>
> > Datum: vrijdag, 28 november 2025 10:50
> > Aan: Ronald Klop <ronald-lists@klop.ws>
> > CC: FreeBSD CURRENT <freebsd-current@freebsd.org>
> > Onderwerp: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580)
> > >
> > > On Fri, 28 Nov 2025 10:16:15 +0100 (CET)
> > > Ronald Klop <ronald-lists@klop.ws> wrote:
> > >   
> > > > It might be a typo in your mail, but it might also be the cause of your issue.
> > > > This config needs to be in /etc/rc.conf, not in /etc/src.conf as you state in your
> > > > mail.
> > > >
> > > > Regards,
> > > > Ronald.  
> > >
> > > Sorry, a typo.
> > >    
> > > >
> > > >  
> > > > Van: FreeBSD User <freebsd@walstatt-de.de>
> > > > Datum: vrijdag, 28 november 2025 08:26
> > > > Aan: FreeBSD CURRENT <freebsd-current@freebsd.org>
> > > > Onderwerp: 15-STABLE: dhclient fails on em0 (Lenovo T580)  
> > > > >
> > > > > I recently switched from FreeBSD 14-STABLE to 15-STABLE (after branching of
> > > > > 16-CURRENT) on my working laptop, physically a Lenovo T580. Its LAN NIC FreeBSD
> > > > > recognizes as em0 (see below). System is at: 15.0-STABLE #16
> > > > > stable/15-n281349-b903f27e171b: Fri Nov 28 05:20:32 CET 2025 amd64. Kernel config:
> > > > > GENERIC. Configuration has been setup and renewed acording to changes, consider
> > > > > the system as a fresh install.
> > > > >
> > > > > Problem: em0 never gets an IPv4 via DHCP on startup (init process via rc.conf).
> > > > >
> > > > > Configured in /etc/src.conf:
> > > > > [... WORKAROUND ...]
> > > > > netwait_enable="NO"
> > > > > netwait_if="em0"
> > > > > [...]
> > > > >
> > > > > and on a regular basis:
> > > > > [...]
> > > > > ifconfig_em0="DHCP"
> > > > > ifconfig_em0_ipv6="inet6 accept_rtadv -ifdisabled nud -no_radr auto_linklocal"
> > > > > [...]
> > > > >
> > > > > Very strange: after a final boot up, its very easy to require and achive an IPv4
> > > > > with
> > > > >
> > > > > dhclient em0
> > > > >
> > > > > I'm out of ideas ...
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ====
> > > > > pciconf:
> > > > > [...]
> > > > > em0@pci0:0:31:6:        class=0x020000 rev=0x21 hdr=0x00 vendor=0x8086
> > > > > device=0x15d8 subvendor=0x17aa subdevice=0x225a vendor     = 'Intel Corporation'
> > > > >     device     = 'Ethernet Connection (4) I219-V'
> > > > >     class      = network
> > > > >     subclass   = ethernet
> > > > >     bar   [10] = type Memory, range 32, base 0xe8200000, size 131072, enabled
> > > > >     cap 01[c8] = powerspec 3  supports D0 D3  current D0
> > > > >     cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message
> > > > >     cap 13[e0] = PCI Advanced Features: FLR TP
> > > > >
> > > > > [...]
> > > > >
> > > > > dmesg:
> > > > > ichsmb0: <Intel Sunrise Point-LP SMBus controller> port 0xefa0-0xefbf mem
> > > > > 0xe8253000-0xe82530ff at device 31.4 on pci0 em0: <Intel(R) I219-V SPT(4)> mem
> > > > > 0xe8200000-0xe821ffff at device 31.6 on pci0 em0: EEPROM V0.1-3
> > > > > em0: Using 1024 TX descriptors and 1024 RX descriptors
> > > > > em0: Using an MSI interrupt
> > > > > em0: Ethernet address: 48:2a:e3:3a:cf:52
> > > > > em0: netmap queues/slots: TX 1/1024, RX 1/1024
> > > > >
> > > > >  
> > > > >
> > > > >
> > > > >     
> > > >
> > > >    
> > >  
> > >
> > >
> > >   
> >
> >  
>  
> 
> 
> 
>  

 
[-- Attachment #2 --]
<html><head></head><body>Thanks,<br>
<br>
Something I notice:<br>
Nov 29 11:36:00 &lt;14.6&gt; hermann kernel: sysctl: oid 'net.inet.ip.fw.default_to_accept' is a read only tunable at line 98<br>
This setting needs to go in /boot/loader.conf, not in /etc/sysctl.conf.<br>
<br>
A bigger thing is that in the output you sent me I don't see dhclient being started.<br>
Are you sure your /etc/rc.conf is correct? Can you send your /etc/rc.conf?<br>
<br>
Regards,<br>
Ronald.<br>
<br>
&nbsp;
<p><strong>Van:</strong> FreeBSD User &lt;freebsd@walstatt-de.de&gt;<br>
<strong>Datum:</strong> zaterdag, 29 november 2025 12:24<br>
<strong>Aan:</strong> Ronald Klop &lt;ronald-lists@klop.ws&gt;<br>
<strong>CC:</strong> FreeBSD CURRENT &lt;freebsd-current@freebsd.org&gt;<br>
<strong>Onderwerp:</strong> Re: 15-STABLE: dhclient fails on em0 (Lenovo T580)</p>

<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="MultipartMixedViewer">
<div class="TextPlainViewer" id="P.P.P1">On Fri, 28 Nov 2025 10:56:08 +0100 (CET)<br>
Ronald Klop &lt;ronald-lists@klop.ws&gt; wrote:<br>
<br>
&gt; Ok.<br>
&gt;<br>
&gt; Can you copy paste the console output of the booting system up until the login prompt?<br>
&gt; Or setup /var/log/console.log via /etc/syslog.conf and share that output.<br>
<br>
Please find the requested output of syslog (set to console.debug) attached as well as a /var/log/message extract.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Ronald.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt; Van: FreeBSD User &lt;freebsd@walstatt-de.de&gt;<br>
&gt; Datum: vrijdag, 28 november 2025 10:50<br>
&gt; Aan: Ronald Klop &lt;ronald-lists@klop.ws&gt;<br>
&gt; CC: FreeBSD CURRENT &lt;freebsd-current@freebsd.org&gt;<br>
&gt; Onderwerp: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580)<br>
&gt; &gt;<br>
&gt; &gt; On Fri, 28 Nov 2025 10:16:15 +0100 (CET)<br>
&gt; &gt; Ronald Klop &lt;ronald-lists@klop.ws&gt; wrote:<br>
&gt; &gt; &nbsp;&nbsp;<br>
&gt; &gt; &gt; It might be a typo in your mail, but it might also be the cause of your issue.<br>
&gt; &gt; &gt; This config needs to be in /etc/rc.conf, not in /etc/src.conf as you state in your<br>
&gt; &gt; &gt; mail.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt; Ronald. &nbsp;<br>
&gt; &gt;<br>
&gt; &gt; Sorry, a typo.<br>
&gt; &gt; &nbsp;&nbsp;&nbsp;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &nbsp;<br>
&gt; &gt; &gt; Van: FreeBSD User &lt;freebsd@walstatt-de.de&gt;<br>
&gt; &gt; &gt; Datum: vrijdag, 28 november 2025 08:26<br>
&gt; &gt; &gt; Aan: FreeBSD CURRENT &lt;freebsd-current@freebsd.org&gt;<br>
&gt; &gt; &gt; Onderwerp: 15-STABLE: dhclient fails on em0 (Lenovo T580) &nbsp;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I recently switched from FreeBSD 14-STABLE to 15-STABLE (after branching of<br>
&gt; &gt; &gt; &gt; 16-CURRENT) on my working laptop, physically a Lenovo T580. Its LAN NIC FreeBSD<br>
&gt; &gt; &gt; &gt; recognizes as em0 (see below). System is at: 15.0-STABLE #16<br>
&gt; &gt; &gt; &gt; stable/15-n281349-b903f27e171b: Fri Nov 28 05:20:32 CET 2025 amd64. Kernel config:<br>
&gt; &gt; &gt; &gt; GENERIC. Configuration has been setup and renewed acording to changes, consider<br>
&gt; &gt; &gt; &gt; the system as a fresh install.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Problem: em0 never gets an IPv4 via DHCP on startup (init process via rc.conf).<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Configured in /etc/src.conf:<br>
&gt; &gt; &gt; &gt; [... WORKAROUND ...]<br>
&gt; &gt; &gt; &gt; netwait_enable="NO"<br>
&gt; &gt; &gt; &gt; netwait_if="em0"<br>
&gt; &gt; &gt; &gt; [...]<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; and on a regular basis:<br>
&gt; &gt; &gt; &gt; [...]<br>
&gt; &gt; &gt; &gt; ifconfig_em0="DHCP"<br>
&gt; &gt; &gt; &gt; ifconfig_em0_ipv6="inet6 accept_rtadv -ifdisabled nud -no_radr auto_linklocal"<br>
&gt; &gt; &gt; &gt; [...]<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Very strange: after a final boot up, its very easy to require and achive an IPv4<br>
&gt; &gt; &gt; &gt; with<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; dhclient em0<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I'm out of ideas ...<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; ====<br>
&gt; &gt; &gt; &gt; pciconf:<br>
&gt; &gt; &gt; &gt; [...]<br>
&gt; &gt; &gt; &gt; em0@pci0:0:31:6: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;class=0x020000 rev=0x21 hdr=0x00 vendor=0x8086<br>
&gt; &gt; &gt; &gt; device=0x15d8 subvendor=0x17aa subdevice=0x225a vendor &nbsp;&nbsp;&nbsp;&nbsp;= 'Intel Corporation'<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;device &nbsp;&nbsp;&nbsp;&nbsp;= 'Ethernet Connection (4) I219-V'<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;class &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= network<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;subclass &nbsp;&nbsp;= ethernet<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;bar &nbsp;&nbsp;[10] = type Memory, range 32, base 0xe8200000, size 131072, enabled<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;cap 01[c8] = powerspec 3 &nbsp;supports D0 D3 &nbsp;current D0<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;cap 13[e0] = PCI Advanced Features: FLR TP<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; [...]<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; dmesg:<br>
&gt; &gt; &gt; &gt; ichsmb0: &lt;Intel Sunrise Point-LP SMBus controller&gt; port 0xefa0-0xefbf mem<br>
&gt; &gt; &gt; &gt; 0xe8253000-0xe82530ff at device 31.4 on pci0 em0: &lt;Intel(R) I219-V SPT(4)&gt; mem<br>
&gt; &gt; &gt; &gt; 0xe8200000-0xe821ffff at device 31.6 on pci0 em0: EEPROM V0.1-3<br>
&gt; &gt; &gt; &gt; em0: Using 1024 TX descriptors and 1024 RX descriptors<br>
&gt; &gt; &gt; &gt; em0: Using an MSI interrupt<br>
&gt; &gt; &gt; &gt; em0: Ethernet address: 48:2a:e3:3a:cf:52<br>
&gt; &gt; &gt; &gt; em0: netmap queues/slots: TX 1/1024, RX 1/1024<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &nbsp;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; &nbsp;&nbsp;&nbsp;&nbsp;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &nbsp;&nbsp;&nbsp;<br>
&gt; &gt; &nbsp;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; &nbsp;&nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&nbsp;</div>

<hr>
<div class="DefaultViewer">&nbsp;</div>
</div>
</div>
</blockquote>
<br>
&nbsp;</body></html>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?769621663.7357.1764593205143>