Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/report: support new caller info #600

Closed
dvyukov opened this issue May 15, 2018 · 2 comments
Closed

pkg/report: support new caller info #600

dvyukov opened this issue May 15, 2018 · 2 comments

Comments

@dvyukov
Copy link
Collaborator

dvyukov commented May 15, 2018

Kernel patch "printk: inject caller information into the body of message":
http://lkml.iu.edu/hypermail/linux/kernel/1805.1/03326.html
It adds task/cpu ids into kernel output and should help to fight "corrupted" reports:

[  229.345646] (T34) WARNING: CPU: 2 PID: 34 at net/ipv6/xfrm6_tunnel.c:348 xfrm6_tunnel_net_exit+0x2df/0x510
[  229.347512] (T30251) bond0: Enslaving bond_slave_1 as an active interface with an up link
[  229.347599] (T34) Kernel panic - not syncing: panic_on_warn set ...
[  229.347599] 
[  229.350663] (T34) CPU: 2 PID: 34 Comm: kworker/u12:1 Not tainted 4.17.0-rc4+ #2
[  229.351959] (T34) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[  229.353717] (T34) Workqueue: netns cleanup_net
[  229.354548] (T34) Call Trace:
[  229.355119] (T34)  dump_stack+0x1b9/0x294
[  229.355875] (T34)  ? dump_stack_print_info.cold.2+0x52/0x52
[  229.356916] (T34)  ? xfrm6_tunnel_net_exit+0x2b0/0x510

Once the patch is merged, we should support this output in pkg/report.

@dvyukov
Copy link
Collaborator Author

dvyukov commented Jul 29, 2018

This is not committed yet.

@dvyukov
Copy link
Collaborator Author

dvyukov commented Jan 2, 2019

The patch was merged into linux-next:
https://groups.google.com/d/msg/syzkaller/xEDUgkgFvL8/d5bBS3BJBwAJ

@dvyukov dvyukov closed this as completed in 7da2392 Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant