where can i find configuration file of linux ??
hello experts,
I want to see what is the configuration of my Wind River Linux (actually I want to see what modules are installed in it when it was built). I can't find the configuration file :scratch:. Can any one tell me where i can find it? any help would be appreciated. Thanks & Regards, NM04 |
Linux has no one, singular configuration file. When you say "modules", are you referring to kernel modules?
|
yes I am referring to kernel modules.
|
If the kernel source is provided by the distribution, then it should be kept in /usr/src/linux. In there, you will be able to find everything. The configuration file, I believe, is at /usr/src/linux/.config.
|
I also thought the same, but there is no such directory "linux" in the "/usr/src", instead it has "rpm". Thanks for your response, do you have any other suggestion ?
Regards. |
Hi, that just means you either do not (have)access to or the source files have not been installed.
You should be able to find a copy in /boot |
glenn,
I already checked there,in "/boot" it contains the "bzImage" of the kernel and the grub folder. |
Are you trying to compare modules that are installed?
If, so, you should have an installation report. |
i am not trying to compare the modules, i want to check for a Ethernet module for my NIC's. because when i built the kernel i included modules for E100 and E10 family of intel(as i remember), and right now the kernel is not detecting the NIC, that is why i want to check whether i included the module for 1GB family of intel NIC's or not. Also i want some other information about the current configuration.
|
If you have a standard kernel for/from your distribution, you may have to install the kernel headers. devel packages
Try Code:
lsmod Code:
lspci Try it with -v for verbose. |
glenn,
thanks for your response. There is no entry in the 'lsmod'. Does this mean there is no module installed ? Regards. |
Quote:
I suggest you shoot WindRiver an email. It's based on the 2.6.34 kernel, which is stable and recent (not too old). I could show you a kernel config, but it's a custom/Mandriva build and may not correlate. Being an embedded system, I'm not sure how you would update or customise it. This page seems to indicate that changes may be made, see "defconfig" ref. https://wiki.pokylinux.org/wiki/Wind_River_Kernel Regards Glenn |
Glenn,
thanks for your response, and I apologize for being late. I guess I solved it, actually when I was building the kernel I did not included the module required for the intel 1000 family. I included it now, let see it works or not. Regards. |
I'm happy for you. ;)
The same kind of thing has happened to me too. Cheers, Glenn ps. Please mark your thread as "SOLVED" |
the config file is a plain text file and you may see it,.
/usr/src/2.6.37-tmb-0.rc5.1mdv/.config change the "/2.6.37-tmb-0.rc5.1mdv/" to suit your system. You may require the sources (not just the dev-headers) to be installed. BTW, did your rebuild of the kernel fix your problem? Cheers Glenn |
All times are GMT -5. The time now is 08:04 AM. |