Copyright 2022 - CSIM - Asian Institute of Technology

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Subject: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-14:04.kldxref
From: FreeBSD Errata Notices <This email address is being protected from spambots. You need JavaScript enabled to view it.>
Date: Wed, 14 May 2014 00:00:02 GMT

Hash: SHA512

FreeBSD-EN-14:04.kldxref                                        Errata Notice
                                                          The FreeBSD Project

Topic:          Build repeatability for kldxref(8)

Category:       core
Module:         kldxref
Announced:      2014-05-13
Credits:        Jilles Tjoelker
Affects:        All versions of FreeBSD prior to 10.0-RELEASE.
Corrected:      2014-05-13 23:35:29 UTC (stable/8, 8.4-STABLE)
                2014-05-13 23:24:32 UTC (releng/8.4, 8.4-RELEASE-p10)
                2013-12-23 22:38:41 UTC (stable/9, 9.2-STABLE)
                2014-05-13 23:24:14 UTC (releng/9.2, 9.2-RELEASE-p6)
                2014-05-13 23:24:14 UTC (releng/9.1, 9.1-RELEASE-p13)

For general information regarding FreeBSD Errata Notices and Security
Advisories, including descriptions of the fields above, security
branches, and the following sections, please visit

I.   Background

The kldxref utility is used to generate hint files which list modules, their
version numbers, and the files that contain them.  These hints are used by
the kernel loader to determine where to find a particular KLD module.

II.  Problem Description

Previous versions of kldxref(8) do not use an ordered list of files when
generating the hints file.  The result of kldxref(8) is equivalent but not
the same if file system layout have been changed.

III. Impact

The generated hint files can be different across different builds, making
unnecessary downloads for binary patch files.

IV.  Workaround

No workaround is available.

V.   Solution

Perform one of the following:

1) Upgrade your system to a supported FreeBSD stable or release / security
branch (releng) dated after the correction date.

2) To update your present system via a source code patch:

The following patches have been verified to apply to the applicable
FreeBSD release branches.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch
# fetch
# gpg --verify kldxref.patch.asc

b) Apply the patch.  Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch

c) Recompile the operating system using buildworld and installworld as
described in <URL:>.

3) To update your system via a binary patch:

Systems running a RELEASE version of FreeBSD on the i386 or amd64
platforms can be updated via the freebsd-update(8) utility:

# freebsd-update fetch
# freebsd-update install

VI.  Correction details

The following list contains the revision numbers of each file that was
corrected in FreeBSD.

Branch/path                                                      Revision
- -------------------------------------------------------------------------
stable/8/                                                         r265990
releng/8.4/                                                       r265989
stable/9/                                                         r259799
releng/9.1/                                                       r265988
releng/9.2/                                                       r265988
- -------------------------------------------------------------------------

To see which files were modified by a particular revision, run the
following command, replacing NNNNNN with the revision number, on a
machine with Subversion installed:

# svn diff -cNNNNNN --summarize svn://

Or visit the following URL, replacing NNNNNN with the revision number:


VII. References

The latest revision of this Errata Notice is available at

Version: GnuPG v2.0.22 (FreeBSD)

This email address is being protected from spambots. You need JavaScript enabled to view it. mailing list
To unsubscribe, send any mail to "This email address is being protected from spambots. You need JavaScript enabled to view it."

Powered by: MHonArc

Login Form


School of Engineering and technologies     Asian Institute of Technology