免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2624 | 回复: 4
打印 上一主题 下一主题

[文件系统] 为什么 /proc/config.gz 还是没有 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-12-04 18:07 |只看该作者 |倒序浏览
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?

=======================================
[root@SCMN1 linux-3.10.0-229.20.1.el7.x86_64]# cat config-3.10.0-229.20.1.el7.x86_64 |grep IKCONFIG
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
======================================

=====================================
[root@c7VM1 ~]# ls -a /proc/ |grep config*
=====================================

论坛徽章:
0
2 [报告]
发表于 2015-12-05 15:50 |只看该作者
no one know about it?

论坛徽章:
0
3 [报告]
发表于 2015-12-08 21:43 |只看该作者
这种debug一下代码吧,以前版本都是可以的,只是后来linux为了安全,加了更多的限制,这应该不复杂。

论坛徽章:
0
4 [报告]
发表于 2015-12-10 22:29 |只看该作者
回复 3# kerryxi


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

   

论坛徽章:
208
巨蟹座
日期:2013-09-02 09:16:36卯兔
日期:2013-09-02 20:53:59酉鸡
日期:2013-09-05 21:21:45戌狗
日期:2013-10-15 20:51:17寅虎
日期:2013-10-18 21:13:16白羊座
日期:2013-10-23 21:15:19午马
日期:2013-10-25 21:22:48技术图书徽章
日期:2013-11-01 09:11:32双鱼座
日期:2013-11-01 20:29:44丑牛
日期:2013-11-01 20:40:00卯兔
日期:2013-11-11 09:21:32酉鸡
日期:2013-12-04 19:56:39
5 [报告]
发表于 2015-12-11 18:08 |只看该作者
leedesu 发表于 2015-12-04 18:07
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP