Bug 278044 - Diskless nfs root BOOTP/DHCP Broken
Summary: Diskless nfs root BOOTP/DHCP Broken
Status: Closed DUPLICATE of bug 278043
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 14.0-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-30 05:51 UTC by Richard Wai
Modified: 2024-03-30 09:41 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Wai 2024-03-30 05:51:12 UTC
Commit 713264f6b8bc5f927dd52cf8ffcccfa397034fec (March 6 2023) has potentially broken BOOTP/DHCP functionality for nfsroot diskless start-up.

This commit adds a check to the end of netinet/in_pcb.c:in_pcbladdr that checks for a source address equivalent to INADDR_ANY.

Unfortunately as part of the diskless BOOTP/DHCP process (nfs/bootp_subr.c et al), the interface's address is (effectively) set to INADDR_ANY, causing this check to fail, and therefore the DHCP search and the rest of the diskless nfs root process to fail as well.

Tested/discovered and analyzed on ARM64/RPI4, 14.0-RELEASE.

Not yet verified for other platforms.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2024-03-30 09:41:12 UTC

*** This bug has been marked as a duplicate of bug 278043 ***