• uname reports wrong kernel name

    From Michael Grimm@trashcan@ellael.org to muc.lists.freebsd.stable on Mon Sep 22 12:45:19 2025
    From Newsgroup: muc.lists.freebsd.stable

    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
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Tomoaki AOKI@junchoon@dec.sakura.ne.jp to muc.lists.freebsd.stable on Mon Sep 22 20:12:21 2025
    From Newsgroup: muc.lists.freebsd.stable

    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>


    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Michael Grimm@trashcan@ellael.org to muc.lists.freebsd.stable on Mon Sep 22 18:58:34 2025
    From Newsgroup: muc.lists.freebsd.stable

    Tomoaki AOKI <junchoon@dec.sakura.ne.jp> wrote:

    Michael Grimm <trashcan@ellael.org> wrote:
    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:
    This is wrong; I must have screwed this file up during my odyssey (stable/14 -> main -> stable/15), recently.
    Where should I start to search, and, is anyone else observing the same?
    Simply switch the order of ident line and include line.

    With your order, ident line is overridden by "ident GENERIC" line
    in GENERIC.

    HTH.
    Yes, that helped. Thanks, back to normal uname reporting.
    Regards,
    Michael
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2