Date: Mon, 22 Sep 2025 20:12:21 +0900 From: Tomoaki AOKI <junchoon@dec.sakura.ne.jp> To: freebsd-stable@freebsd.org Cc: Michael Grimm <trashcan@ellael.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: uname reports wrong kernel name Message-ID: <20250922201221.c1fe02cf62970d64173e76cf@dec.sakura.ne.jp> In-Reply-To: <C3C708DF-6423-4DDE-AA24-C863E8546F0C@ellael.org>
index | next in thread | previous in thread | raw e-mail
On Mon, 22 Sep 2025 12:45:19 +0200 Michael Grimm <trashcan@ellael.org> wrote: > Hi, > > I switched from 14.3 to 15.0-STABLE recently, and I do compile world and kernel from source. > > My kernel config is customized: > > ident CUSTOM > include GENERIC > include "../../conf/std.nodebug" > device gre > > This kernel is built as all the years before, and I can see it: > > root> ls -l /usr/obj/usr/src/arm64.aarch64/sys/ > drwxr-xr-x 3 root wheel 4192 Sep 22 08:42 CUSTOM > > But uname reports the kernel to be GENERIC: > > root> uname -i > GENERIC > > root> uname -a > FreeBSD mer-waases.net 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 #2 stable/15-n280239-78b179fe9280-dirty: Mon Sep 22 08:42:11 \ > CEST 2025 root@xxx:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 > > > Where should I start to search, and, is anyone else observing the same? > > Regards, > Michael Hi. Simply switch the order of ident line and include line. With your order, ident line is overridden by "ident GENERIC" line in GENERIC. HTH. -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250922201221.c1fe02cf62970d64173e76cf>
