LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2004, 01:12 AM   #1
sirpelidor
Member
 
Registered: Oct 2003
Location: Madison
Distribution: mdk 8.2, 9.0, 9.2, slack 9.1
Posts: 403

Rep: Reputation: 30
Talking 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
 
Old 07-02-2004, 01:23 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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
 
Old 12-30-2006, 11:52 PM   #3
FnordPerfect
Member
 
Registered: Dec 2006
Location: Germany
Distribution: Kubuntu (Feisty Fawn), Debian (SID)
Posts: 127

Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 08:41 AM
Mankrake 10....A real Newbie review coopns Linux - Newbie 4 06-07-2004 02:06 PM
maybe a kernel review section czarherr LQ Suggestions & Feedback 1 05-18-2004 04:10 PM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM
Redhat 9 - Kernel Configuration Review liguorir Linux - Software 1 06-18-2003 02:03 PM


All times are GMT -5. The time now is 09:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration