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

fix crash problem when toa is used on centos 7.6 #484

Merged
merged 1 commit into from
Oct 22, 2019
Merged

Conversation

goecho
Copy link

@goecho goecho commented Oct 21, 2019

fix crash problem when toa is used on centos 7.6.

@snailq
Copy link

snailq commented Oct 22, 2019

加载支持ipv6的toa,模块的时候系统会crash掉
麻烦大神帮看看是哪里的问题?可以修复吗3Q!!
master和devel的里的toa都测试过

有问题的系统版本centos7.6 kernel 3.10.0-957.el7.x86_64
无问题的系统版本 centos7.4 kernel 3.10.0-693.el7.x86_64/centos7.2 kernel 3.10.0-327.el7.x86_64

[ 9.758912] conntrack: generic helper won't handle protocol 47. Please consider loading the specific helper module.
[ 40.546277] ixgbe 0000:04:00.0 eth0: detected SFP+: 6
[ 40.685911] ixgbe 0000:04:00.0 eth0: NIC Link is Up 10 Gbps, Flow Control: RX/TX
[ 312.294670] toa: loading out-of-tree module taints kernel.
[ 312.294847] toa: module verification failed: signature and/or required key missing - tainting kernel
[ 312.295206] TOA: TOA 2.0.0.0 by qlb of iqiyi.
[ 312.298430] TOA: CPU [25] sk_data_ready_addr = kallsyms_lookup_name(sock_def_readable) = 18446744072189236224
[ 312.310189] BUG: unable to handle kernel paging request at ffffffffa58a15b8
[ 312.310227] IP: [] toa_init+0x29d/0x1000 [toa]
[ 312.310260] PGD 1864c14067 PUD 1864c15063 PMD 80000018648000e1
[ 312.310290] Oops: 0003 [#1] SMP
[ 312.310309] Modules linked in: toa(OE+) tcp_diag udp_diag inet_diag unix_diag iTCO_wdt iTCO_vendor_support sb_edac intel_powerclamp coretemp intel_rapl iosf_mbi kvm irqbypass crc32_pclmul ghash_clmulni_intel aesni_intel lrw gf128mul glue_helper ablk_helper cryptd mgag200 i2c_algo_bit ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm sg ipmi_si pcspkr drm_panel_orientation_quirks ipmi_devintf hpilo ipmi_msghandler ioatdma i2c_i801 lpc_ich pcc_cpufreq hpwdt wmi nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ip_tables xfs libcrc32c sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common crc32c_intel serio_raw ixgbe hpsa mdio ptp pps_core scsi_transport_sas dca
[ 312.310692] CPU: 25 PID: 25530 Comm: insmod Kdump: loaded Tainted: G OE ------------ 3.10.0-957.el7.x86_64 #1
[ 312.310736] Hardware name: HP ProLiant DL360 Gen9/ProLiant DL360 Gen9, BIOS P89 10/25/2017
[ 312.310769] task: ffff8d8f69385140 ti: ffff8d8f694b0000 task.ti: ffff8d8f694b0000
[ 312.310801] RIP: 0010:[] [] toa_init+0x29d/0x1000 [toa]
[ 312.310838] RSP: 0018:ffff8d8f694b3d28 EFLAGS: 00010246
[ 312.310861] RAX: 0000000000000000 RBX: ffffffffa5d58660 RCX: 0000000000000002
[ 312.310889] RDX: ffffffffc01ac0a0 RSI: ffffffffa5d17040 RDI: ffffffffa5d17060
[ 312.310918] RBP: ffff8d8f694b3d30 R08: ffffffffc01ac0a0 R09: ffffffffa59b3488
[ 312.310947] R10: ffffffffa59b3488 R11: 0000000000003041 R12: ffff8d9efff4c3c0
[ 312.310979] R13: ffffffffc03c3000 R14: 0000000000000000 R15: ffffffffc058a100
[ 312.311012] FS: 00007f3cc43f6740(0000) GS:ffff8d9ebf440000(0000) knlGS:0000000000000000
[ 312.311044] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 312.311068] CR2: ffffffffa58a15b8 CR3: 0000002013706000 CR4: 00000000001607e0
[ 312.311097] Call Trace:
[ 312.311114] [] do_one_initcall+0xba/0x240
[ 312.311146] [] load_module+0x272c/0x2bc0
[ 312.311173] [] ? ddebug_proc_write+0x100/0x100
[ 312.311200] [] ? copy_module_from_fd.isra.44+0x53/0x150
[ 312.311230] [] SyS_finit_module+0xa6/0xd0
[ 312.311256] [] system_call_fastpath+0x22/0x27
[ 312.311280] Code: 54 c0 e8 c7 65 2b e5 85 c0 74 20 e8 ee fb 28 e5 85 c0 0f 84 e0 fe ff ff 48 c7 c7 48 92 54 c0 31 c0 e8 6f 83 39 e5 e9 cd fe ff ff <48> c7 05 10 e3 4d e5 d0 83 54 c0 e8 c3 fb 28 e5 85 c0 74 23 48
[ 312.311469] RIP [] toa_init+0x29d/0x1000 [toa]
[ 312.311498] RSP
[ 312.311514] CR2: ffffffffa58a15b8

@snailq
Copy link

snailq commented Oct 22, 2019

验证修复成功 👍🏻

@ywc689 ywc689 changed the base branch from master to devel October 22, 2019 02:15
@ywc689 ywc689 merged commit b72845c into iqiyi:devel Oct 22, 2019
ytwang0320 pushed a commit to ytwang0320/dpvs that referenced this pull request Dec 22, 2020
fix crash problem when toa is used on centos 7.6
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

Successfully merging this pull request may close these issues.

None yet

3 participants