leedesu 发表于 2015-12-04 18:07

为什么 /proc/config.gz 还是没有

I recompiled the CentOS 7 1503 kernel to add the support for/proc/config.gz .
I make sure the i have added the support in the config file. However, when i finished compile and load the kernel, i cannot see the config.gz.

Is there any idea about that?

=======================================
# cat config-3.10.0-229.20.1.el7.x86_64 |grep IKCONFIG
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
======================================

=====================================
# ls -a /proc/ |grep config*
=====================================

leedesu 发表于 2015-12-05 15:50

no one know about it?

kerryxi 发表于 2015-12-08 21:43

这种debug一下代码吧,以前版本都是可以的,只是后来linux为了安全,加了更多的限制,这应该不复杂。

leedesu 发表于 2015-12-10 22:29

回复 3# kerryxi


我初步看了以下根本就没跑到static int __init ikconfig_init(void), 所以这个文件压根就没被建立。
现在不确定在那里跳过了。

   

流氓无产者 发表于 2015-12-11 18:08

leedesu 发表于 2015-12-04 18:07 static/image/common/back.gif
I recompiled the CentOS 7 1503 kernel to add the support for/proc/config.gz .
I make sure the i hav ...
you should check .config
not that
页: [1]
查看完整版本: 为什么 /proc/config.gz 还是没有