LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   newbie: which file allow me to review my new setting, after kernel has compiled? (https://www.linuxquestions.org/questions/linux-newbie-8/newbie-which-file-allow-me-to-review-my-new-setting-after-kernel-has-compiled-200199/)

sirpelidor 07-02-2004 01:12 AM

newbie: which file allow me to review my new setting, after kernel has compiled?
 
Hi, I added a few function / features using make xconfig, compiled, installed, changed System.map, initrd.img, vmlinuz...etc..etc..

I'd like to double check to see if the new stuff i added has been taken affect. i went to /var/log/dmesg, but its not showing what I've changed. Which file will shows what i've changed? (other then make xconfig, since i saved & exit)

p.s: this is 2.4.22, and the new feature i added was traditional chinese and simplified chinese under:
Filesystem --> Native Language Support


Thank you :)

Tinkster 07-02-2004 01:23 AM

Well, the only thing that will reflect the changes is
/usr/src/linux-<version-mumble>/.config in plain text.

If you are good with reading HEX you can look at
the respective vmlinuz or module-files ;)



Cheers,
Tink

FnordPerfect 12-30-2006 11:52 PM

Yes, the first place to look is the .config file within /usr/src/linux (the dot in front of the file means it is hidden from shells and file browsers normally).
This is where everything is written to after you exit make xconfig.

However, if your changes worked correctly after installing the kernel takes more effort. (But why shouldn't it have worked, by the way?)

If you compiled your changes as modules and installed them, then you might simply check if they are at the right place; in your case that is somewhere below /lib/modules/2.4.22/ in a directory named nls (native language support).
I don't know how to check whether they are in the initrd though...

If you included your native language support within the kernel, you might check the file /proc/kallsyms ...
This is only helpful when you know what you are looking for.

Should you upgrade to kernel 2.6, you have the option to include the current configuration within the kernel image, and even have it exposed in /proc/config.gz as a virtual file.
It is in

General Setup ->
<*> Kernel .config support -> [*] Enable access to .config through /proc/config.gz

I think that's a good thing to do.

cheers
fabian


All times are GMT -5. The time now is 12:55 AM.