Re: /proc/kallsyms related question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> Usman S. Ansari wrote:
>>
>> I am looking at SL Linux 5.2 (kernel version 2.6.18-128.7.1.el5)
>> and Fedora Core 8 (kernel version 2.6.23.1-42.fc8).
>>
>> If I grep for inet_family_ops in (in /proc/kallsyms) 
>> 2.6.18-128.7.1.el5, nothing shows, while same grep returns a 
>> match in 2.6.23.1-42.fc8.
>>
>> While symbol itself (inet_family_ops) is not important. My 
>> question is why a symbol with same definition shows up in 
>> 2.6.23.1-42.fc8 and not in 2.6.18-128.7.1.el5.
>>
>> Is there fundamental change in how symbols appear in 
>> /proc/kallsyms ?
>

> Mulyadi Santosa wrote:
>
> Brief check using lxr.linux.no, I found no codes that might hide
> inet_family_ops in your Scientific Linux kernel (I simply assume > it's based on 2.6.18 vanilla).
>
> So, IMO, there might be one explanation left. Scientific Linux
> kernel is compiled with CONFIG_KALLSYMS_ALL=n. Reading the 
> related >Kconfig help info, I think this is it. Try to check your > Scientific Linux kernel .config file.

I checked, CONFIG_KALLSYMS_ALL is not set in SL, while it is CONFIG_KALLSYMS_ALL=y in FC8.

In order to prove this theory, I selected another symbol inet_autobind. This symbol is also static. But it shows up in both SL and FC8

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux