Date: Fri, 3 Apr 2026 19:13:02 -0600 From: Warner Losh <imp@bsdimp.com> To: Rick Macklem <rick.macklem@gmail.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: Getting boottime early in booting Message-ID: <CANCZdfrS6YbL2JCe=MgQL1==CL-x4hL=AEAvjJRdiK-8URARWg@mail.gmail.com> In-Reply-To: <CAM5tNy4mPmG=OmQtiGrMQ8NnPZrN=dw_Xw1h9=s4iyOLiZCWng@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, Apr 3, 2026, 7:05 PM Rick Macklem <rick.macklem@gmail.com> wrote: > Hi, > > I'm fiddling with a NFSv4 diskless root fs setup and I've run > into a couple of challenges. > > 1 - I need a value that will be different each time the machine boots. > I would normally use getboottime(), but for the NFS root fs mount, > it just returns 0. > Any ideas w.r.t. something I can acquire early in booting that will > change each time the system is booted? > We don't have this today. And we can't have it without hardware assist... though you may be ok enough with a value from the rtc. There's work to pass the vale from the monotonicly increasing counter uefi provides. But not on all platforms. Warner 2 - Does anyone know how to fix "could not determine audit condition" > which I get whenever I try and login when it is multiuser? > (I can run single user, but since I can't login once it's multiuser??) > > Thanks for any help with these, rick > > [-- Attachment #2 --] <div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, Apr 3, 2026, 7:05 PM Rick Macklem <<a href="mailto:rick.macklem@gmail.com">rick.macklem@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> I'm fiddling with a NFSv4 diskless root fs setup and I've run<br> into a couple of challenges.<br> <br> 1 - I need a value that will be different each time the machine boots.<br> I would normally use getboottime(), but for the NFS root fs mount,<br> it just returns 0.<br> Any ideas w.r.t. something I can acquire early in booting that will<br> change each time the system is booted?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">We don't have this today. And we can't have it without hardware assist... though you may be ok enough with a value from the rtc.</div><div dir="auto"><br></div><div dir="auto">There's work to pass the vale from the monotonicly increasing counter uefi provides. But not on all platforms.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> 2 - Does anyone know how to fix "could not determine audit condition"<br> which I get whenever I try and login when it is multiuser?<br> (I can run single user, but since I can't login once it's multiuser??)<br> <br> Thanks for any help with these, rick<br> <br> </blockquote></div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrS6YbL2JCe=MgQL1==CL-x4hL=AEAvjJRdiK-8URARWg>
