Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/proc/configs missing, CONFIG_IKCONFIG=m + modprobe configs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9601
Location: almost Mile High in the USA

PostPosted: Mon Mar 04, 2013 8:35 am    Post subject: /proc/configs missing, CONFIG_IKCONFIG=m + modprobe configs? Reply with quote

I just built 3.7.9 for an x86_64 target. I had

CONFIG_IKCONFIG=m
# CONFIG_IKCONFIG_PROC is not set

but when I booted the kernel I modprobed configs.ko, /proc/configs does not show up...

Any ideas what's going on here? Previously I had IKCONFIG_PROC set and /proc/configs.gz shows up.. but odd that the uncompressed version doesn't work?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9501
Location: beyond the rim

PostPosted: Mon Mar 04, 2013 10:11 am    Post subject: Reply with quote

The first option only stores the config within the kernel, you need the second option to access it via /proc (see http://cateee.net/lkddb/web-lkddb/IKCONFIG.html how to access it without /proc)
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9601
Location: almost Mile High in the USA

PostPosted: Mon Mar 04, 2013 3:42 pm    Post subject: Reply with quote

The weird part I don't understand if that's the only way to access it, is if building this as a module, that data is not in the kernel and cannot be extracted in that manner. Thus it sort of "useless" to build it as a module and not select the /proc/config.gz option under it...

Oh well, thanks, was wondering if I was overlooking something but it would be nice if Kconfig mentioned to never build IKCONFIG as 'm' if IKCONFIG_PROC is not also set.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum