Re: Call Trace analysis doubt

2016-06-20 Thread Augusto Mecking Caringi
On Wed, Jun 15, 2016 at 3:26 AM, Muni Sekhar  wrote:
> Hi,
>
> Let’s assume WARNING message says something like:
>
>
> [0.00] Call Trace:
>
> [0.00]  [] dump_stack+0x45/0x56
>
> [0.00]  [] warn_slowpath_common+0x7d/0xa0
>
> [0.00]  [] warn_slowpath_fmt_taint+0x44/0x50
>
> [0.00]  [] ? acpi_tb_acquire_table+0x3e/0x6c
>
> [0.00]  [] warn_invalid_dmar+0x81/0x93
>
> [0.00]  [] detect_intel_iommu+0xe9/0x172
>
> [0.00]  [] pci_iommu_alloc+0x4a/0x6c
>
> [0.00]  [] mem_init+0x17/0x9c
>
> [0.00]  [] start_kernel+0x23b/0x47d
>
> [0.00]  [] ? set_init_arg+0x53/0x53
>
> [0.00]  [] ? early_idt_handlers+0x120/0x120
>
> [0.00]  [] x86_64_start_reservations+0x2a/0x2c
>
> [0.00]  [] x86_64_start_kernel+0x143/0x152
>
> [0.00] ---[ end trace c32c0e307381ad8a ]---
>
>
>
> Few symbols in the above mentioned call trace are prefixed with “?”
> (for e.g.  ?early_idt_handlers\? set_init_arg\?
> acpi_tb_acquire_table), what does it mean?
> Does it needs to be considered while debugging the kernel module?

Hi,

There is an explanation about the meaning of these '?' here:

https://www.kernel.org/doc/Documentation/x86/kernel-stacks

-- 
Augusto Mecking Caringi

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Call Trace analysis doubt

2016-06-20 Thread Mulyadi Santosa
On Wed, Jun 15, 2016 at 1:26 PM, Muni Sekhar 
wrote:

> Hi,
>
> Let’s assume WARNING message says something like:
>
>
> [0.00] Call Trace:
>
> [0.00]  [] dump_stack+0x45/0x56
>
> [0.00]  [] warn_slowpath_common+0x7d/0xa0
>
> [0.00]  [] warn_slowpath_fmt_taint+0x44/0x50
>
> [0.00]  [] ? acpi_tb_acquire_table+0x3e/0x6c
>
> [0.00]  [] warn_invalid_dmar+0x81/0x93
>
> [0.00]  [] detect_intel_iommu+0xe9/0x172
>
> [0.00]  [] pci_iommu_alloc+0x4a/0x6c
>
> [0.00]  [] mem_init+0x17/0x9c
>
> [0.00]  [] start_kernel+0x23b/0x47d
>
> [0.00]  [] ? set_init_arg+0x53/0x53
>
> [0.00]  [] ? early_idt_handlers+0x120/0x120
>
> [0.00]  [] x86_64_start_reservations+0x2a/0x2c
>
> [0.00]  [] x86_64_start_kernel+0x143/0x152
>
> [0.00] ---[ end trace c32c0e307381ad8a ]---
>
>
>
> Few symbols in the above mentioned call trace are prefixed with “?”
> (for e.g.  ?early_idt_handlers\? set_init_arg\?
> acpi_tb_acquire_table), what does it mean?
> Does it needs to be considered while debugging the kernel module?
>
>
>
> Call Trace shows “function+0xoffset/0xlength”. Does the
> 0xoffset/0xlength changes if the module is built with –g option and
> without –g option?
>
>
> Thanks in Advance,
>
> --
> Thanks,
> Sekhar
>
>
Hi...

Not sure about the "?".

But about the offset/length, I think it will differ, but mostly because -g
implies turning off certain optimization options.



> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Call Trace analysis doubt

2016-06-15 Thread Muni Sekhar
Hi,

Let’s assume WARNING message says something like:


[0.00] Call Trace:

[0.00]  [] dump_stack+0x45/0x56

[0.00]  [] warn_slowpath_common+0x7d/0xa0

[0.00]  [] warn_slowpath_fmt_taint+0x44/0x50

[0.00]  [] ? acpi_tb_acquire_table+0x3e/0x6c

[0.00]  [] warn_invalid_dmar+0x81/0x93

[0.00]  [] detect_intel_iommu+0xe9/0x172

[0.00]  [] pci_iommu_alloc+0x4a/0x6c

[0.00]  [] mem_init+0x17/0x9c

[0.00]  [] start_kernel+0x23b/0x47d

[0.00]  [] ? set_init_arg+0x53/0x53

[0.00]  [] ? early_idt_handlers+0x120/0x120

[0.00]  [] x86_64_start_reservations+0x2a/0x2c

[0.00]  [] x86_64_start_kernel+0x143/0x152

[0.00] ---[ end trace c32c0e307381ad8a ]---



Few symbols in the above mentioned call trace are prefixed with “?”
(for e.g.  ?early_idt_handlers\? set_init_arg\?
acpi_tb_acquire_table), what does it mean?
Does it needs to be considered while debugging the kernel module?



Call Trace shows “function+0xoffset/0xlength”. Does the
0xoffset/0xlength changes if the module is built with –g option and
without –g option?


Thanks in Advance,

-- 
Thanks,
Sekhar

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies