From nobody Fri Nov 28 10:05:34 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 4dHppM44D2z6JbDg for ; Fri, 28 Nov 2025 10:05:47 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp052.goneo.de (smtp5.goneo.de [IPv6:2001:1640:5::8:30]) (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 4dHppJ2vKzz3DWV for ; Fri, 28 Nov 2025 10:05:44 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=qydJijKC; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@walstatt-de.de designates 2001:1640:5::8:30 as permitted sender) smtp.mailfrom=freebsd@walstatt-de.de Received: from hub2.goneo.de (hub2.goneo.de [85.220.129.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp5.goneo.de (Postfix) with ESMTPS id 9F8BE240940 for ; Fri, 28 Nov 2025 11:05:37 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 09CEA2403AE for ; Fri, 28 Nov 2025 11:05:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1764324336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rtV+XCXUPbQGrWKZqfa+0ywqMzr3C00yU/apTHCZBDg=; b=qydJijKCx+ozj8J90Y5hUhZUFlqZV3hFc69Mn3dhRX4CBZwDPpgbmrXq0UInCTqsqFpZQR 2dfdqjFMmt2RoFKXTyL/3gneuG6uv7+my8VJ0FO+PumTIN7kR1nXPYv9Vhfpxtq6JAXa6A bLemPAiUUsgoSi15/nmirX1MNx+NaWWWTX0I/RIvwJDuD8IraGppwSkF+mJNXHmPpUufLF xoLC31wKVIFm7i4M+GobjZjyRrIsoV8A06H18Y6+sLTBSKpNitF4dwAFGUHxO2hBk1ShLt rK8qL5gSrnu7KYD588C06qNPm0DP3FNhOS+SNe97TDn0KVAgiq1IkafiI6FiMQ== Received: from hermann (dynamic-2a02-3100-2d64-3302-1bfd-4657-cf65-5231.310.pool.telefonica.de [IPv6:2a02:3100:2d64:3302:1bfd:4657:cf65:5231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id CA9F5240357 for ; Fri, 28 Nov 2025 11:05:35 +0100 (CET) Date: Fri, 28 Nov 2025 11:05:34 +0100 From: FreeBSD User To: FreeBSD CURRENT Subject: Re: 15-STABLE: dhclient fails on em0 (Lenovo T580) Message-ID: <20251128110534.3987f908@hermann> In-Reply-To: <20251128082630.3dbea678@hermann> References: <20251128082630.3dbea678@hermann> 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: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: cf2643 X-Rspamd-UID: c43c09 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.10 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; R_SPF_ALLOW(-0.20)[+ip6:2001:1640:5::8:0/112]; RCVD_IN_DNSWL_LOW(-0.10)[2001:1640:5::8:30:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[walstatt-de.de]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[walstatt-de.de:+] X-Rspamd-Queue-Id: 4dHppJ2vKzz3DWV On Fri, 28 Nov 2025 08:26:30 +0100 FreeBSD User wrote: > 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" > [...] A typo: strike /etc/src.conf, set /etc/rc.conf and netwait_enable="YES" netwait_if="em0" Even those settigs do not have any positive effect. While using rtsol and rtsold for IPv6 - which works at the end and our router provides me with a set of IPv6 addresses, I also watch some strange bootup messages regarding rtsol unable to send because it is forbidden! Since rtsol/rtsold aquires successful an IPv6 and after successful bootup aquiring an IPv4 via "dhclient em0" points me towards IPFW. I use IPFW, scheme "workstation". It seems ipfw is active way to early and blocking by default any traffic and so blocking successful any aquisition of either IPv4 and IPv6. This is quite new on FreeBSD 15 (I used 14-STABLE until 16-CURRENT has branched off). > > 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 > >