Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 2019 11:45:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239492] freebsd-update mismatch with recompile from svn releng
Message-ID:  <bug-239492-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239492

            Bug ID: 239492
           Summary: freebsd-update mismatch with recompile from svn releng
           Product: Base System
           Version: 11.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: aler@playground.ru

Files installed by freebsd-update mismatched from those recompiled from svn:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update1.freebsd.org... done.
Fetching metadata signature for 11.3-RELEASE from update1.freebsd.org... do=
ne.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 5 patches... done.
Applying patches... done.
Fetching 10 files... done.
The following files will be updated as part of updating to
11.3-RELEASE-p1:
/bin/freebsd-version
/boot/kernel/kernel
/boot/kernel/mqueuefs.ko
/usr/bin/telnet
/usr/sbin/bhyve
/usr/src/contrib/telnet/telnet/commands.c
/usr/src/contrib/telnet/telnet/telnet.c
/usr/src/contrib/telnet/telnet/utilities.c
/usr/src/sys/compat/freebsd32/freebsd32_ioctl.c
/usr/src/sys/conf/newvers.sh
/usr/src/sys/kern/tty.c
/usr/src/sys/kern/uipc_mqueue.c
/usr/src/sys/kern/uipc_usrreq.c
/usr/src/sys/x86/x86/cpu_machdep.c
/usr/src/usr.sbin/bhyve/pci_xhci.c

# freebsd-update install
Installing updates... done.

# freebsd-version=20
11.3-RELEASE-p1

# make installkernel KODIR=3D/boot/kernel.patched
<kernel compiled from svn.freebsd.org/base/releng/11.3/ 2019-11-27>
<skipped output>

now inspecting results: /boot/kernel.old is backup made by freebsd-update,
/boot/kernel is newly installed kernel by freebsd-update, /boot/kernel.patc=
hed
is compiled from releng/11.3
# hexdump -C /boot/kernel.old/mqueuefs.ko | grep -F releng -A 5
00009120  44 3a 20 72 65 6c 65 6e  67 2f 31 31 2e 33 2f 73  |D: releng/11.3=
/s|
00009130  79 73 2f 6b 65 72 6e 2f  75 69 70 63 5f 6d 71 75  |ys/kern/uipc_m=
qu|
00009140  65 75 65 2e 63 20 33 34  31 30 37 34 20 32 30 31  |eue.c 341074 2=
01|
00009150  38 2d 31 31 2d 32 37 20  31 36 3a 35 31 3a 31 38  |8-11-27 16:51:=
18|
00009160  5a 20 6d 61 72 6b 6a 20  24 00 46 72 65 65 42 53  |Z markj $.Free=
BS|
00009170  44 20 63 6c 61 6e 67 20  76 65 72 73 69 6f 6e 20  |D clang versio=
n |
# hexdump -C /boot/kernel/mqueuefs.ko | grep -F releng -A 5
00009120  44 3a 20 72 65 6c 65 6e  67 2f 31 31 2e 33 2f 73  |D: releng/11.3=
/s|
00009130  79 73 2f 6b 65 72 6e 2f  75 69 70 63 5f 6d 71 75  |ys/kern/uipc_m=
qu|
00009140  65 75 65 2e 63 20 33 34  31 30 37 34 20 32 30 31  |eue.c 341074 2=
01|
00009150  38 2d 31 31 2d 32 37 20  31 36 3a 35 31 3a 31 38  |8-11-27 16:51:=
18|
00009160  5a 20 6d 61 72 6b 6a 20  24 00 46 72 65 65 42 53  |Z markj $.Free=
BS|
00009170  44 20 63 6c 61 6e 67 20  76 65 72 73 69 6f 6e 20  |D clang versio=
n |
# hexdump -C /boot/kernel.patched/mqueuefs.ko | grep -F releng -A 5
00009120  44 3a 20 72 65 6c 65 6e  67 2f 31 31 2e 33 2f 73  |D: releng/11.3=
/s|
00009130  79 73 2f 6b 65 72 6e 2f  75 69 70 63 5f 6d 71 75  |ys/kern/uipc_m=
qu|
00009140  65 75 65 2e 63 20 33 35  30 32 38 34 20 32 30 31  |eue.c 350284 2=
01|
00009150  39 2d 30 37 2d 32 34 20  31 32 3a 35 35 3a 31 36  |9-07-24 12:55:=
16|
00009160  5a 20 67 6f 72 64 6f 6e  20 24 00 46 72 65 65 42  |Z gordon $.Fre=
eB|
00009170  53 44 20 63 6c 61 6e 67  20 76 65 72 73 69 6f 6e  |SD clang versi=
on|


kernel.old/mqueuefs.ko and kernel/mqueuefs.ko differs but in some other pla=
ce


It says that installed kernel/mqueuefs.ko is from r341074 while it should be
from r350284
I don't know if this really wrong version installed or it is just wrong ver=
sion
string in it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239492-227>