From nobody Fri Nov 28 09:56:08 2025 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 4dHpbH55C4z6JZ2M for ; Fri, 28 Nov 2025 09:56:11 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dHpbG5HJvz49qB for ; Fri, 28 Nov 2025 09:56:10 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Authentication-Results: mx1.freebsd.org; none Received: from smtp-relay-int-backup.realworks.nl (crmpreview5.colo2.realworks.nl [10.2.52.35]) by mailrelayint1.colo2.realworks.nl (Postfix) with ESMTP id 4dHpbD5fYlzb3; Fri, 28 Nov 2025 10:56:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1764323768; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1qHXDSL2TW5qs/qaA7ioqa0qhAVQ2/phaT3DjLp4+oM=; b=x8tCk+eYYHMFuiZYAY6gh3A0oZ1NG/Au7egfXwoAGhHVitsKYRuRFEupZ6MKBYqCLN3Mrk aOwX8y36xk7Qw6CiV+oMIXHocht0y86rl7Hq2qfh4p28ZBU3n+Mk4wA5659OEH8WAL5rHp /Prnx0etU1gQo3GKixytLJhRWvuegEfWt3eptFmZh4AxCaXxKeCzGW5wVtcKpR/FOdgu3t KtJRzypXkmi+a/5PlFgap2f1zAlDlB2mJsFRrK83vNXT8EgQQW8qB4ONP2/XohbMgeAivW 1PSaYxdIp8jpQW8Y0Y5NjH7zfxyI4uc5158ZiBUrawR69H21kw7viLkB1A9S8g== Received: from crmpreview5.colo2.realworks.nl (localhost [127.0.0.1]) by crmpreview5.colo2.realworks.nl (Postfix) with ESMTP id B65EEC04DF; Fri, 28 Nov 2025 10:56:08 +0100 (CET) Date: Fri, 28 Nov 2025 10:56:08 +0100 (CET) From: Ronald Klop To: FreeBSD User Cc: FreeBSD CURRENT Message-ID: <636185594.3615.1764323768736@localhost> In-Reply-To: <20251128105016.28b5562a@hermann> References: <20251128082630.3dbea678@hermann> <817794595.3413.1764321375872@localhost> <20251128105016.28b5562a@hermann> Subject: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580) 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 Content-Type: multipart/alternative; boundary="----=_Part_3614_1576089190.1764323768284" X-Mailer: Realworks (775.24) X-Originating-Host: from (83-81-212-149.cable.dynamic.v4.ziggo.nl [83.81.212.149]) by crmpreview5.colo2.realworks.nl [10.2.52.35] with HTTP; Fri, 28 Nov 2025 10:56:08 +0100 Importance: Normal X-Priority: 3 (Normal) X-Originating-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:145.0) Gecko/20100101 Firefox/145.0 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:38930, ipnet:87.255.32.0/19, country:NL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dHpbG5HJvz49qB ------=_Part_3614_1576089190.1764323768284 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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. Regards, Ronald. Van: FreeBSD User Datum: vrijdag, 28 november 2025 10:50 Aan: Ronald Klop CC: FreeBSD CURRENT Onderwerp: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580) > > On Fri, 28 Nov 2025 10:16:15 +0100 (CET) > Ronald Klop 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 > > Datum: vrijdag, 28 november 2025 08:26 > > Aan: FreeBSD CURRENT > > 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: port 0xefa0-0xefbf mem > > > 0xe8253000-0xe82530ff at device 31.4 on pci0 em0: 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 > > > > > > > > > > > > > > > > > > > > > > > ------=_Part_3614_1576089190.1764323768284 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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.

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
> >
> >  
> >
> >
> >   
>
>  
 


  ------=_Part_3614_1576089190.1764323768284--