modules.builtin: These modules are already built into the kernel.
modules.order: This is the list of external modules built for this kernel. It includes their path so you know where to find them.
modules.dep: Module dependencies. Each line contains ModuleName: followed by its dependencies, if any.
modules.alias: This file can help you track down the correct driver if you know the hardwares Vendor ID and Product ID.
modules.symbols: If you get symbol not found messages in dmesg, search for it here. It may point to a missing module.
I think that file is created when make modules is run.Thanks for the tip, Rich. It took a few hours on my rickety hardware, but I ran make modules on the kernel source (using tinycore's patches and config for TCL11 64bit) just to get my hands on those files. The resulting modules.builtin and modules.order are attached, in case anyone else wants them.
bruno@x200:~/Downloads/linux-5.4.3$ find . -name 'modules.dep'
bruno@x200:~/Downloads/linux-5.4.3$ find . -name 'modules.alias'
bruno@x200:~/Downloads/linux-5.4.3$ find . -name 'modules.symbols'
bruno@x200:~/Downloads/linux-5.4.3$
bruno@x200:~/Downloads/goodies$ ls
modules.builtin modules.order
bruno@x200:~/Downloads/goodies$ grep pcieport *
bruno@x200:~/Downloads/goodies$ grep uhci_hcd *
bruno@x200:~/Downloads/goodies$
I'm confused because I thought every driver was either a "built-in" or an external module. What am I missing?
... modules.dep, modules.alias, and modules.symbols didn't get created for some reason. Oh, well. ...Try this:
mkdir -p /home/tc/Downloads/modules/usr/local
make INSTALL_MOD_PATH=/home/tc/Downloads/modules/usr/local modules_install
ls -l /home/tc/Downloads/modules/usr/local/lib/modules/KERNEL/modules.*
bruno@x200:~/Downloads/linux-5.4.3$ mkdir -p /home/tc/Downloads/modules/usr/local
bruno@x200:~/Downloads/linux-5.4.3$ make INSTALL_MOD_PATH=/home/tc/Downloads/modules/usr/local modules_install
cp: can't stat './modules.builtin.modinfo': No such file or directory
make: *** [Makefile:1319: _modinst_] Error 1
Rich, what bothers me more is not understanding why many of the builtin modules (e.g., nfsv2 and nfsv3) are not loaded (i.e., I don't see them in /sys/modules). Aren't builtin modules always loaded by definition because they are statically linked into the kernel?cd ~/Downloads/linux-5.4.3
before you ran:make INSTALL_MOD_PATH=/home/tc/Downloads/modules/usr/local modules_install
Also, you didn't remove any files from the build directory, did you?