From nobody Tue Feb  6 16:01:29 2024
X-Original-To: freebsd-hackers@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 4TTnzw3yRCz59Vp3
	for <freebsd-hackers@mlmmj.nyi.freebsd.org>; Tue,  6 Feb 2024 16:01:32 +0000 (UTC)
	(envelope-from kirjanov@gmail.com)
Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536])
	(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 4TTnzw14M4z4rvh
	for <freebsd-hackers@freebsd.org>; Tue,  6 Feb 2024 16:01:32 +0000 (UTC)
	(envelope-from kirjanov@gmail.com)
Authentication-Results: mx1.freebsd.org;
	none
Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-55369c59708so2114847a12.1
        for <freebsd-hackers@freebsd.org>; Tue, 06 Feb 2024 08:01:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1707235291; x=1707840091; darn=freebsd.org;
        h=cc:to:subject:message-id:date:from:references:in-reply-to
         :mime-version:from:to:cc:subject:date:message-id:reply-to;
        bh=67xwwhjL6U9/njPTMC587l+PAqreq5DuD7TZ80uDwNc=;
        b=Ct3O9ns9AYZE8LQ+KidQQOJ0cmTmwU3irE+GVCfNZERSqitaj3FOhniVCCFK9Tg7tW
         9yqL/824Ybv0dtX+Eg68GY3tT3Kvuwpr6lvXJutmHUStawpqUz/CTRjd7qiJ/BYD+xI4
         eeiFSVlfyAofbKtHvSLpSIupfR7ND5Ow23mi9/N6rkXwvyJxu1h7n7/K4sw5WE5j+KBG
         ERQv77u9bwC+/qVz2Sz+0cWWchMvXC1Bo4uAlEorsqAoZ4uMNPR4sdmv+WQwvPuV8xtc
         AmFpAs9C5pgc3XEC3/IVWZMQmdnjoNUv233EArjZoFhGqTcqvJ6WTnul291b+Br0IzpC
         6zBA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1707235291; x=1707840091;
        h=cc:to:subject:message-id:date:from:references:in-reply-to
         :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to;
        bh=67xwwhjL6U9/njPTMC587l+PAqreq5DuD7TZ80uDwNc=;
        b=KxZAsw9I784s30fr3ophJCGpcQK9qtPFk7uJyKPn5DlfzifgOLXfDheDHeL+3ZiZby
         kj6a0r1QFrPXc9fRaYagVGEzMyikfU1TakureNiOKUH1M47kevcuJyA/WBgqifKjkWik
         XoqTQ9RXRk/qIF/ZUDCd1ryL25wEwVDJwkWtjfaT939117DEr91CG9RQPtMX+Sqhz1n0
         XpcSHV02HWOsjcnNod3u00kF8nMkYbeaJ2g1daokQMkT3zat9W5n3MLYKzMPH72ip0gg
         eKHl0lvkJJGgwHLP4uq1HickDOULTNz0STJoTICqnEmp+5dnl9hdAA+qV7QrJhdBa31l
         8jpA==
X-Gm-Message-State: AOJu0YwORP1bAvX1H0H/GN1cACnRH2Z6qxFnCgbHQrdRvVNHKTk88r9V
	LvEsutj3pdCWM3ECHH74icY+HEi98ERp3lQWU+jZJc487OpYho3V4i0dsio38WlwYj16lnqqZX5
	H7hGdE64+7aqTPDOURxunVCWcyn6mjI9TNifUNA==
X-Google-Smtp-Source: AGHT+IGjJb5+/hziU8WHYsNcYQ6RjN/ChX6wYlTbpsbTgBa0p4WxsnDBe3CVK163IX3aPlpvNrjGtZFPNFO+zqLXiHU=
X-Received: by 2002:a50:d6c6:0:b0:560:3109:57e7 with SMTP id
 l6-20020a50d6c6000000b00560310957e7mr1824754edj.0.1707235290401; Tue, 06 Feb
 2024 08:01:30 -0800 (PST)
List-Id: Technical discussions relating to FreeBSD <freebsd-hackers.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-hackers
List-Help: <mailto:freebsd-hackers+help@freebsd.org>
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Subscribe: <mailto:freebsd-hackers+subscribe@freebsd.org>
List-Unsubscribe: <mailto:freebsd-hackers+unsubscribe@freebsd.org>
Sender: owner-freebsd-hackers@freebsd.org
MIME-Version: 1.0
Received: by 2002:a54:2b46:0:b0:24a:41be:dcf2 with HTTP; Tue, 6 Feb 2024
 08:01:29 -0800 (PST)
In-Reply-To: <ab55d431-afce-d6be-d583-aa4a86493cc0@systella.fr>
References: <ab55d431-afce-d6be-d583-aa4a86493cc0@systella.fr>
From: Denis Kirjanov <kirjanov@gmail.com>
Date: Tue, 6 Feb 2024 19:01:29 +0300
Message-ID: <CAHj3AV=5KH=H-PtygAON+hgfZoAav75ZQJdy4g40O+Ve=QNg8A@mail.gmail.com>
Subject: Re: [FreeBSD 14.0-RELEASE-p3] Regression with realtek-re-kmod
To: =?UTF-8?Q?BERTRAND_Jo=C3=ABl?= <joel.bertrand@systella.fr>
Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Content-Type: multipart/alternative; boundary="000000000000084ec30610b8b170"
X-Rspamd-Queue-Id: 4TTnzw14M4z4rvh
X-Spamd-Bar: ----
X-Rspamd-Pre-Result: action=no action;
	module=replies;
	Message is reply to one we originated
X-Spamd-Result: default: False [-4.00 / 15.00];
	REPLY(-4.00)[];
	ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]

--000000000000084ec30610b8b170
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 6 =D1=84=D0=B5=D0=B2=D1=80=D0=
=B0=D0=BB=D1=8F 2024=E2=80=AF=D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=
=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C BERTRAND Jo=C3=ABl <
joel.bertrand@systella.fr> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

>         Hello,
>
>         I use a /diskless/ workstation that ran FreeBSD 14.0-RELEASE-p0
> for a
> while without trouble. Motherboard contains two ethernet adapters : re0
> and em0. I'm unable to boot with em0 (why ? em0 can obtain an IP address
> but PXE doesn't load binaries on tftp server...). Thus, system is
> configured to use re0.
>
>         This morning, I have upgraded my packages as I have to upgrade
> firefox.
> Thus, I have launched :
> - pkg upgrade
> - freebsd-update fetch
> - freebsd-update install
>
>         My boot/loader.conf contains:
>
> pythagore:[/boot] > cat loader.conf
> coretemp_load=3D"YES"
> hw.re.max_rx_mbuf_sz=3D"2048"
> #if_re_load=3D"YES"
> #if_re_name=3D"/boot/modules/if_re.ko"
> cpuctl_load=3D"YES"
> cuse_load=3D"YES"
> tmpfs_load=3D"YES"
> pythagore:[/boot] >
>
>         If I use kernel re driver, system randomly hangs (re0 stops after
> some
> days) but it boots. Now, if I uncomment if_re_load and if_re_name,
> kernel loads if_re module, starts its initialization and hangs just
> after "starting syslog". System cannot be pinged from another station
> (host is down).
>
>         Does someone use realtek-re-kmod with a recent kernel in this
> configuration ?


What was the last working version? At least you can try git bisect to
figure out the first bad commit

>
>         Best regards,
>
>         JB
>
>

--=20
Regards / Mit besten Gr=C3=BC=C3=9Fen,
Denis

--000000000000084ec30610b8b170
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<br><br>=D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 6 =D1=84=D0=B5=D0=B2=D1=
=80=D0=B0=D0=BB=D1=8F 2024=E2=80=AF=D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=
=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C BERTRAND Jo=C3=ABl &lt;<a href=
=3D"mailto:joel.bertrand@systella.fr">joel.bertrand@systella.fr</a>&gt; =D0=
=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Hello,<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 I use a /diskless/ workstation that ran FreeBSD=
 14.0-RELEASE-p0 for a<br>
while without trouble. Motherboard contains two ethernet adapters : re0<br>
and em0. I&#39;m unable to boot with em0 (why ? em0 can obtain an IP addres=
s<br>
but PXE doesn&#39;t load binaries on tftp server...). Thus, system is<br>
configured to use re0.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 This morning, I have upgraded my packages as I =
have to upgrade firefox.<br>
Thus, I have launched :<br>
- pkg upgrade<br>
- freebsd-update fetch<br>
- freebsd-update install<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 My boot/loader.conf contains:<br>
<br>
pythagore:[/boot] &gt; cat loader.conf<br>
coretemp_load=3D&quot;YES&quot;<br>
hw.re.max_rx_mbuf_sz=3D&quot;2048&quot;<br>
#if_re_load=3D&quot;YES&quot;<br>
#if_re_name=3D&quot;/boot/modules/if_<wbr>re.ko&quot;<br>
cpuctl_load=3D&quot;YES&quot;<br>
cuse_load=3D&quot;YES&quot;<br>
tmpfs_load=3D&quot;YES&quot;<br>
pythagore:[/boot] &gt;<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 If I use kernel re driver, system randomly hang=
s (re0 stops after some<br>
days) but it boots. Now, if I uncomment if_re_load and if_re_name,<br>
kernel loads if_re module, starts its initialization and hangs just<br>
after &quot;starting syslog&quot;. System cannot be pinged from another sta=
tion<br>
(host is down).<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Does someone use realtek-re-kmod with a recent =
kernel in this<br>
configuration ?</blockquote><div><br></div><div>What was the last working v=
ersion? At least you can try git bisect to figure out the first bad commit=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Best regards,<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 JB<br>
<br>
</blockquote><br><br>-- <br>Regards / Mit besten Gr=C3=BC=C3=9Fen,<br>Denis=
<br><br>

--000000000000084ec30610b8b170--