Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2023 11:55:49 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Attila Nagy <nagy.attila@gmail.com>
Cc:        Matthias Pfaller <leo@marco.de>, stable@freebsd.org
Subject:   Re: Kernel DHCP unpredictable/fails (PXE boot), userspace DHCP works just fine
Message-ID:  <E5A4479F-A210-4C1E-9AF5-F3A739B62F72@cs.huji.ac.il>
In-Reply-To: <CAM2hQG_r1THmC826gHDCR%2B3XQWLWookxfxQV=h_rxsfD97XAcg@mail.gmail.com>
References:  <CAM2hQG-p=bfSh_nxuah9zcTBbz7HQ9pYyvOR2f6rC=CUGePKsg@mail.gmail.com> <CAM2hQG-oDRsoccg3S1LykyUF=joWbdJz=GSPOnUroDRxjZ2_iQ@mail.gmail.com> <0b95a502-eea0-46cc-5d0d-ec6e861ad51f@marco.de> <CAM2hQG_r1THmC826gHDCR%2B3XQWLWookxfxQV=h_rxsfD97XAcg@mail.gmail.com>

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

--Apple-Mail=_09293E36-95E4-4BC4-ACE0-1BE2793A1AAF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On 17 Mar 2023, at 22:16, Attila Nagy <nagy.attila@gmail.com> wrote:
>=20
> Matthias Pfaller <leo@marco.de <mailto:leo@marco.de>> ezt =C3=ADrta =
(id=C5=91pont: 2023. m=C3=A1rc. 17., P, 7:24):
>>=20
>> Do you have STP/RSTP enabled on the switch ports? When the link goes =
down when=20
>> switching from firmware mode to kernel mode, the port will go back to =
blocking. When=20
>> the dhcp requests don't make it to the dhcp server because of this =
and the link goes=20
>> down and up again while retrying (don't know if this happens) you =
will get the same=20
>> problem on the next try. As a simple test you could put a dumb =
unmanaged switch=20
>> between your core network and the server.
> Thanks for the idea, but I don't think this might be the case.
> I can see the UDP datagrams coming into the kernel (replies to DHCP =
messages).

take look at src/stand/libsa/bootp.c, there is a compile option that =
allows many
more options to be transferred via dhcp =E2=80=A6=20

BTW, where possible I=E2=80=99m moving  to uefi, since pxeboot is =
failing with file to large =E2=80=A6

another issue i have with pxeboot,=20
older versions work - better - , some are terribly slow,
and some just hang.

danny


--Apple-Mail=_09293E36-95E4-4BC4-ACE0-1BE2793A1AAF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;"><br><div><br><blockquote type=3D"cite"><div>On 17 =
Mar 2023, at 22:16, Attila Nagy &lt;nagy.attila@gmail.com&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div><div =
dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">Matthias Pfaller &lt;<a =
href=3D"mailto:leo@marco.de">leo@marco.de</a>&gt; ezt =C3=ADrta =
(id=C5=91pont: 2023. m=C3=A1rc. 17., P, 7:24):<br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">
<br>
Do you have STP/RSTP enabled on the switch ports? When the link goes =
down when <br>
switching from firmware mode to kernel mode, the port will go back to =
blocking. When <br>
the dhcp requests don't make it to the dhcp server because of this and =
the link goes <br>
down and up again while retrying (don't know if this happens) you will =
get the same <br>
problem on the next try. As a simple test you could put a dumb unmanaged =
switch <br>
between your core network and the server.<br></blockquote><div>Thanks =
for the idea, but I don't think this might be the case.</div><div>I can =
see the UDP datagrams coming into the kernel (replies to DHCP =
messages).<br></div></div></div>
</div></blockquote></div><br><div>take look at src/stand/libsa/bootp.c, =
there is a compile option that allows many</div><div>more options to be =
transferred via dhcp =E2=80=A6&nbsp;</div><div><br></div><div>BTW, where =
possible I=E2=80=99m moving &nbsp;to uefi, since pxeboot is failing with =
file to large =E2=80=A6</div><div><br></div><div>another issue i have =
with pxeboot,&nbsp;</div><div>older versions work - better - , some are =
terribly slow,</div><div>and some just =
hang.</div><div><br></div><div>danny</div><div><br></div></body></html>=

--Apple-Mail=_09293E36-95E4-4BC4-ACE0-1BE2793A1AAF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E5A4479F-A210-4C1E-9AF5-F3A739B62F72>