/proc/modules not showing any output

From: Praveen Kumar
Date: Wed Dec 19 2018 - 08:23:12 EST

Hi All,

Compiled the vanila kernel 4.20.0-rc6 build, and was trying to get
module information, but /proc/modules is not showing any output ( both
on arm64 and x86_64 )

root@ubuntu:~# uname -a
Linux ubuntu 4.20.0-rc6-00082-g65e08c5e8631 #7 SMP PREEMPT Fri Dec 14
15:54:30 IST 2018 aarch64 aarch64 aarch64 GNU/Linux

root@ubuntu:~# cat /proc/modules

Tried with older version 4.4.162-78-default modules were properly shown.

Can you please help if there is something which I am missing during
compilation or is there any potential bug here ? Thanks in advance.