Skip to contentSkip to conversation

Difference between System.map and /proc/kallsyms

DISCUSSION Jamal 4 participants 4 messages Mar 9, 2015 – Mar 10, 2015

lore
Share & tools
lore

Jamal

author
#0 lore raw

Hi..

After reading Documentation on System.map, i understood that , whenever an oops happens the following addresses will be converted to its function name by klogd daemon using System.map.

Now when we have /proc/kallsyms which stores the symbol table in the kernel image itself.Then what is the need of System.map file??Is any process or daemon still using it??

Regards,
Md.Jamal

#1 lore raw
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

[2015-03-09T11:30:00+0530]: "Jamal" (Jamal):

,----[ Jamal ]

| Hi..
| 
| After reading Documentation on System.map, i understood that , whenever 
| an oops happens the following addresses  will be converted to its 
| function name by klogd daemon using System.map.
| 
| Now when we have /proc/kallsyms which stores the symbol table in the 
| kernel image itself.Then what is the need of System.map file??Is any 
| process or daemon still using it??

`----
oldish, but quite useful: http://www.dirac.org/linux/system.map/

---
thanks
anupam

#2 lore raw
In reply to Jamal
Quoted 9 lines · Jamal

Hi..

After reading Documentation on System.map, i understood that , whenever an oops happens the following addresses will be converted to its function name by klogd daemon using System.map.

Now when we have /proc/kallsyms which stores the symbol table in the kernel image itself.Then what is the need of System.map file??Is any process or daemon still using it??

My 2 cents.

No.

However, Since kallsyms bloats the kernel and makes it larger production kernel may not have it. In such case it will rely on System.map and ksymsoops for decoding oops messages.

Quoted 3 lines

Regards,
Md.Jamal

Thanks

Quoted 5 lines

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

#3 lore raw
Quoted 24 lines · Arshad Hussain
Quoted 3 lines · Jamal

Hi..

After reading Documentation on System.map, i understood that ,

whenever

Quoted 6 lines

an oops happens the following addresses will be converted to its function name by klogd daemon using System.map.

Now when we have /proc/kallsyms which stores the symbol table in the kernel image itself.Then what is the need of System.map file??Is any process or daemon still using it??

My 2 cents.

No.

However, Since kallsyms bloats the kernel and makes it larger production kernel may not have it.
In such case it will rely on System.map and ksymsoops for decoding oops messages.

Quoted 1 line
Quoted 6 lines
Quoted 2 lines

Regards,
Md.Jamal

Thanks

Quoted 1 line

MD. Jamal,
You are 100 percent correct here adding features related to kernel debugging can easily bloat the kernel be a few gigabytes installed, easily terrible for any production where the storage space can be better used for various other applications or even important debugging log files. Nick

Quoted 10 lines
Quoted 4 lines

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Signature · 1 line
Sent from my Android device with K-9 Mail. Please excuse my brevity.