Bug 209830 - Installkernel fails: ioat.ko: No such file or directory
Summary: Installkernel fails: ioat.ko: No such file or directory
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: Mark Linimon
Depends on:
Reported: 2016-05-29 09:24 UTC by tschweikle
Modified: 2021-06-30 01:25 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description tschweikle 2016-05-29 09:24:32 UTC
Working Copy Root Path: /usr/src
URL: https://svn.freebsd.org/base/stable/10
Relative URL: ^/stable/10
Repository Root: https://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 300939
Node Kind: directory
Schedule: normal
Last Changed Author: rmacklem
Last Changed Rev: 300916
Last Changed Date: 2016-05-29 00:42:56 +0200 (Sun, 29 May 2016)

This module, ioat.ko, is not there and not build. There are no UPDATING entries regarding this module.

install -o root -g wheel -m 555   imgact_binmisc.ko /boot/kernel
install -o root -g wheel -m 555   imgact_binmisc.ko.symbols /boot/kernel
===> io (install)
install -o root -g wheel -m 555   io.ko /boot/kernel
install -o root -g wheel -m 555   io.ko.symbols /boot/kernel
===> ioat (install)
install -o root -g wheel -m 555   ioat.ko /boot/kernel
install: ioat.ko: No such file or directory
*** Error code 71

make[4]: stopped in /usr/src/sys/modules/ioat
*** Error code 1

make[3]: stopped in /usr/src/sys/modules
*** Error code 1

make[2]: stopped in /usr/obj/usr/src/sys/FBSD10
*** Error code 1

make[1]: stopped in /usr/src
*** Error code 1

make: stopped in /usr/src
Comment 1 tschweikle 2016-05-29 10:25:05 UTC
Module seems to be removed, but hardcoded to be installed ...
Comment 2 Enji Cooper freebsd_committer 2016-05-29 10:28:08 UTC
The standalone module builds for me:

$ make obj
/usr/obj/usr/src/sys/modules/ioat created for /usr/src/sys/modules/ioat
$ make depend
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I/usr/src/sys/modules/ioat/../.. -I. -I@ -I@/contrib/altq -std=iso9899:1999    /usr/src/sys/modules/ioat/../../dev/ioat/ioat.c /usr/src/sys/modules/ioat/../../dev/ioat/ioat_test.c
$ make all
cc -O2 -pipe -fno-strict-aliasing -O2  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/modules/ioat/../.. -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments  -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function    -c /usr/src/sys/modules/ioat/../../dev/ioat/ioat.c -o ioat.o
cc -O2 -pipe -fno-strict-aliasing -O2  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/src/sys/modules/ioat/../.. -I. -I@ -I@/contrib/altq -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments  -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function    -c /usr/src/sys/modules/ioat/../../dev/ioat/ioat_test.c -o ioat_test.o
ld  -d -warn-common -r -d -o ioat.ko ioat.o ioat_test.o
:> export_syms
awk -f /usr/src/sys/modules/ioat/../../conf/kmod_syms.awk ioat.ko  export_syms | xargs -J% objcopy % ioat.ko
objcopy --strip-debug ioat.ko

1. Could you please post the KERNCONF somewhere?
2. Could you please post the output from `make -VMODULES_OVERRIDE` ?
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2021-06-30 01:25:49 UTC
^Triage: close as OBE.

I'm sorry that this PR did not get addressed in a timely fashion.  Please let us know if this still occurs on a supported OSVERSION.