wzc0066

wzc0066

0个粉丝

1

问答

0

专栏

0

资料

wzc0066  发布于  2018-12-13 12:07:44
采纳率 0%
1个问答
2463

Hi3531Kernel里面启动TBF选项后,网卡挂掉是怎么回事 ?

 
因为想测试一下 tc (traffic control) 工具的流控功能,所以需要开启kernel里面的tbf特性。
配置如下:
[code]Networking support  --->
        Networking options  --->
               
  • QoS and/or fair queueing  --->
                           
  • Token Bucket Filter (TBF)[/code]
    然后启动的时候就会打印如下信息(见下方),系统倒是没死,但是无法ping通,而ping网关的时候又时打印一堆刚才的信息后就系统死掉了。

    通过Google,看到有人说可通过如下操作解决:
    [code]# ethtool -k ethX
    # ethtool -K ethX lro off
    # ethtool -K ethX gro off[/code]
    但测试没有效果。

    这只是一个很普通的特性,PC上都是默认支持的,但是会导致hi3531系统出现稳定行问题,大家有什么解决建议么 ?


    ----------------------------

    附上打印的异常信息:
    [code]Welcome to HiLinux.
    None of nfsroot found in cmdline.
    ~ # libphy: 1:1e - Link is Up - 100/Full
    IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    ------------[ cut here ]------------
    WARNING: at net/core/dev.c:2194 skb_warn_bad_offload+0xa8/0xc8()
    stmmaceth: caps=(0x0000000040004833, 0x0000000000000000) len=90 data_len=0 gso_size=0 gso_type=0 ip_summed=0
    Modules linked in: hi3536_adec(PO) hi3536_aenc(PO) hi3536_ao(PO) hi3536_ai(PO) hi3536_aio(PO) acodec(PO) gpioi2c(O) hi3536_ive(PO) hi3536_vda(PO) hi3536_jpege(PO) hi3536_h264e(PO) hi3536_chnl(PO) hi3536_venc(PO) hi3536_rc(PO) hi3536_hdmi(O) hifb(PO) hi3536_vou(PO) hi3536_vpss(PO) hi3536_viu(PO) hi3536_vgs(PO) hi3536_region(PO) hi3536_tde(PO) hi3536_jpegd(O) hi3536_vfmw(PO) hi3536_vdec(PO) hi3536_sys(PO) hi3536_base(PO) hiuser(O) hi_media(O) mmz(O) stmmac
    CPU: 0 PID: 0 Comm: swapper/0 Tainted: P           O 3.10.0_hi3536 #9
    [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14)
    [] (show_stack+0x10/0x14) from [] (warn_slowpath_common+0x54/0x6c)
    [] (warn_slowpath_common+0x54/0x6c) from [] (warn_slowpath_fmt+0x30/0x40)
    [] (warn_slowpath_fmt+0x30/0x40) from [] (skb_warn_bad_offload+0xa8/0xc8)
    [] (skb_warn_bad_offload+0xa8/0xc8) from [] (__skb_gso_segment+0x80/0xc4)
    [] (__skb_gso_segment+0x80/0xc4) from [] (stmmac_xmit+0x7d0/0x9f0 [stmmac])
    [] (stmmac_xmit+0x7d0/0x9f0 [stmmac]) from [] (dev_hard_start_xmit+0x2cc/0x454)
    [] (dev_hard_start_xmit+0x2cc/0x454) from [] (sch_direct_xmit+0xf4/0x1fc)
    [] (sch_direct_xmit+0xf4/0x1fc) from [] (dev_queue_xmit+0x1a4/0x458)
    [] (dev_queue_xmit+0x1a4/0x458) from [] (ip6_finish_output2+0x1a0/0x4e8)
    [] (ip6_finish_output2+0x1a0/0x4e8) from [] (mld_sendpack+0x1a0/0x398)
    [] (mld_sendpack+0x1a0/0x398) from [] (mld_ifc_timer_expire+0x1d0/0x2a8)
    [] (mld_ifc_timer_expire+0x1d0/0x2a8) from [] (call_timer_fn.isra.30+0x24/0x88)
    [] (call_timer_fn.isra.30+0x24/0x88) from [] (run_timer_softirq+0x194/0x210)
    [] (run_timer_softirq+0x194/0x210) from [] (__do_softirq+0x124/0x204)
    [] (__do_softirq+0x124/0x204) from [] (irq_exit+0x9c/0xd0)
    [] (irq_exit+0x9c/0xd0) from [] (handle_IRQ+0x44/0x90)
    [] (handle_IRQ+0x44/0x90) from [] (gic_handle_irq+0x34/0x8c)
    [] (gic_handle_irq+0x34/0x8c) from [] (__irq_svc+0x40/0x50)
    Exception stack(0xc06f5f68 to 0xc06f5fb0)
    5f60:                   c0f5f930 00000000 0000607e 00000000 c072ebe5 c0703d50
    5f80: c0530e6c c06f4000 c072ebe5 c06f4000 c06f4000 c0703cf0 00000000 c06f5fb0
    5fa0: c00142a4 c00142a8 60000013 ffffffff
    [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30)
    [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140)
    [] (cpu_startup_entry+0xfc/0x140) from [] (start_kernel+0x30c/0x318)
    ---[ end trace 4e16389abfb676bd ]---
    libphy: 1:02 - Link is Up - 1000/Full
    IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    ------------[ cut here ]------------
    WARNING: at net/core/dev.c:2194 skb_warn_bad_offload+0xa8/0xc8()
    stmmaceth: caps=(0x0000000040004833, 0x0000000000000000) len=90 data_len=0 gso_size=0 gso_type=0 ip_summed=0
    Modules linked in: hi3536_adec(PO) hi3536_aenc(PO) hi3536_ao(PO) hi3536_ai(PO) hi3536_aio(PO) acodec(PO) gpioi2c(O) hi3536_ive(PO) hi3536_vda(PO) hi3536_jpege(PO) hi3536_h264e(PO) hi3536_chnl(PO) hi3536_venc(PO) hi3536_rc(PO) hi3536_hdmi(O) hifb(PO) hi3536_vou(PO) hi3536_vpss(PO) hi3536_viu(PO) hi3536_vgs(PO) hi3536_region(PO) hi3536_tde(PO) hi3536_jpegd(O) hi3536_vfmw(PO) hi3536_vdec(PO) hi3536_sys(PO) hi3536_base(PO) hiuser(O) hi_media(O) mmz(O) stmmac
    CPU: 0 PID: 0 Comm: swapper/0 Tainted: P        W  O 3.10.0_hi3536 #9
    [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14)
    [] (show_stack+0x10/0x14) from [] (warn_slowpath_common+0x54/0x6c)
    [] (warn_slowpath_common+0x54/0x6c) from [] (warn_slowpath_fmt+0x30/0x40)
    [] (warn_slowpath_fmt+0x30/0x40) from [] (skb_warn_bad_offload+0xa8/0xc8)
    [] (skb_warn_bad_offload+0xa8/0xc8) from [] (__skb_gso_segment+0x80/0xc4)
    [] (__skb_gso_segment+0x80/0xc4) from [] (stmmac_xmit+0x7d0/0x9f0 [stmmac])
    [] (stmmac_xmit+0x7d0/0x9f0 [stmmac]) from [] (dev_hard_start_xmit+0x2cc/0x454)
    [] (dev_hard_start_xmit+0x2cc/0x454) from [] (sch_direct_xmit+0xf4/0x1fc)
    [] (sch_direct_xmit+0xf4/0x1fc) from [] (dev_queue_xmit+0x1a4/0x458)
    [] (dev_queue_xmit+0x1a4/0x458) from [] (ip6_finish_output2+0x1a0/0x4e8)
    [] (ip6_finish_output2+0x1a0/0x4e8) from [] (mld_sendpack+0x1a0/0x398)
    [] (mld_sendpack+0x1a0/0x398) from [] (mld_ifc_timer_expire+0x1d0/0x2a8)
    [] (mld_ifc_timer_expire+0x1d0/0x2a8) from [] (call_timer_fn.isra.30+0x24/0x88)
    [] (call_timer_fn.isra.30+0x24/0x88) from [] (run_timer_softirq+0x194/0x210)
    [] (run_timer_softirq+0x194/0x210) from [] (__do_softirq+0x124/0x204)
    [] (__do_softirq+0x124/0x204) from [] (irq_exit+0x9c/0xd0)
    [] (irq_exit+0x9c/0xd0) from [] (handle_IRQ+0x44/0x90)
    [] (handle_IRQ+0x44/0x90) from [] (gic_handle_irq+0x34/0x8c)
    [] (gic_handle_irq+0x34/0x8c) from [] (__irq_svc+0x40/0x50)
    Exception stack(0xc06f5f68 to 0xc06f5fb0)
    5f60:                   c0f5f930 00000000 0000702a 00000000 c072ebe5 c0703d50
    5f80: c0530e6c c06f4000 c072ebe5 c06f4000 c06f4000 c0703cf0 00000000 c06f5fb0
    5fa0: c00142a4 c00142a8 60000013 ffffffff
    [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30)
    [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140)
    [] (cpu_startup_entry+0xfc/0x140) from [] (start_kernel+0x30c/0x318)
    ---[ end trace 4e16389abfb676be ]---
    ------------[ cut here ]------------
    WARNING: at net/core/dev.c:2194 skb_warn_bad_offload+0xa8/0xc8()
    stmmaceth: caps=(0x0000000040004833, 0x0000000000000000) len=90 data_len=0 gso_size=0 gso_type=0 ip_summed=0
    Modules linked in: hi3536_adec(PO) hi3536_aenc(PO) hi3536_ao(PO) hi3536_ai(PO) hi3536_aio(PO) acodec(PO) gpioi2c(O) hi3536_ive(PO) hi3536_vda(PO) hi3536_jpege(PO) hi3536_h264e(PO) hi3536_chnl(PO) hi3536_venc(PO) hi3536_rc(PO) hi3536_hdmi(O) hifb(PO) hi3536_vou(PO) hi3536_vpss(PO) hi3536_viu(PO) hi3536_vgs(PO) hi3536_region(PO) hi3536_tde(PO) hi3536_jpegd(O) hi3536_vfmw(PO) hi3536_vdec(PO) hi3536_sys(PO) hi3536_base(PO) hiuser(O) hi_media(O) mmz(O) stmmac
    CPU: 0 PID: 0 Comm: swapper/0 Tainted: P        W  O 3.10.0_hi3536 #9
    [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14)
    [] (show_stack+0x10/0x14) from [] (warn_slowpath_common+0x54/0x6c)
    [] (warn_slowpath_common+0x54/0x6c) from [] (warn_slowpath_fmt+0x30/0x40)
    [] (warn_slowpath_fmt+0x30/0x40) from [] (skb_warn_bad_offload+0xa8/0xc8)
    [] (skb_warn_bad_offload+0xa8/0xc8) from [] (__skb_gso_segment+0x80/0xc4)
    [] (__skb_gso_segment+0x80/0xc4) from [] (stmmac_xmit+0x7d0/0x9f0 [stmmac])
    [] (stmmac_xmit+0x7d0/0x9f0 [stmmac]) from [] (dev_hard_start_xmit+0x2cc/0x454)
    [] (dev_hard_start_xmit+0x2cc/0x454) from [] (sch_direct_xmit+0xf4/0x1fc)
    [] (sch_direct_xmit+0xf4/0x1fc) from [] (dev_queue_xmit+0x1a4/0x458)
    [] (dev_queue_xmit+0x1a4/0x458) from [] (ip6_finish_output2+0x188/0x4e8)
    [] (ip6_finish_output2+0x188/0x4e8) from [] (mld_sendpack+0x1a0/0x398)
    [] (mld_sendpack+0x1a0/0x398) from [] (mld_ifc_timer_expire+0x1d0/0x2a8)
    [] (mld_ifc_timer_expire+0x1d0/0x2a8) from [] (call_timer_fn.isra.30+0x24/0x88)
    [] (call_timer_fn.isra.30+0x24/0x88) from [] (run_timer_softirq+0x194/0x210)
    [] (run_timer_softirq+0x194/0x210) from [] (__do_softirq+0x124/0x204)
    [] (__do_softirq+0x124/0x204) from [] (irq_exit+0x9c/0xd0)
    [] (irq_exit+0x9c/0xd0) from [] (handle_IRQ+0x44/0x90)
    [] (handle_IRQ+0x44/0x90) from [] (gic_handle_irq+0x34/0x8c)
    [] (gic_handle_irq+0x34/0x8c) from [] (__irq_svc+0x40/0x50)
    Exception stack(0xc06f5f68 to 0xc06f5fb0)
    5f60:                   c0f5f930 00000000 0000852a 00000000 c072ebe5 c0703d50
    5f80: c0530e6c c06f4000 c072ebe5 c06f4000 c06f4000 c0703cf0 00000000 c06f5fb0
    5fa0: c00142a4 c00142a8 60000013 ffffffff
    [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30)
    [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140)
    [] (cpu_startup_entry+0xfc/0x140) from [] (start_kernel+0x30c/0x318)
    ---[ end trace 4e16389abfb676bf ]---
    ------------[ cut here ]------------
    WARNING: at net/core/dev.c:2194 skb_warn_bad_offload+0xa8/0xc8()
    stmmaceth: caps=(0x0000000040004833, 0x0000000000000000) len=70 data_len=0 gso_size=0 gso_type=0 ip_summed=0
    Modules linked in: hi3536_adec(PO) hi3536_aenc(PO) hi3536_ao(PO) hi3536_ai(PO) hi3536_aio(PO) acodec(PO) gpioi2c(O) hi3536_ive(PO) hi3536_vda(PO) hi3536_jpege(PO) hi3536_h264e(PO) hi3536_chnl(PO) hi3536_venc(PO) hi3536_rc(PO) hi3536_hdmi(O) hifb(PO) hi3536_vou(PO) hi3536_vpss(PO) hi3536_viu(PO) hi3536_vgs(PO) hi3536_region(PO) hi3536_tde(PO) hi3536_jpegd(O) hi3536_vfmw(PO) hi3536_vdec(PO) hi3536_sys(PO) hi3536_base(PO) hiuser(O) hi_media(O) mmz(O) stmmac
    CPU: 0 PID: 0 Comm: swapper/0 Tainted: P        W  O 3.10.0_hi3536 #9
    [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14)
    [] (show_stack+0x10/0x14) from [] (warn_slowpath_common+0x54/0x6c)
    [] (warn_slowpath_common+0x54/0x6c) from [] (warn_slowpath_fmt+0x30/0x40)
    [] (warn_slowpath_fmt+0x30/0x40) from [] (skb_warn_bad_offload+0xa8/0xc8)
    [] (skb_warn_bad_offload+0xa8/0xc8) from [] (__skb_gso_segment+0x80/0xc4)
    [] (__skb_gso_segment+0x80/0xc4) from [] (stmmac_xmit+0x7d0/0x9f0 [stmmac])
    [] (stmmac_xmit+0x7d0/0x9f0 [stmmac]) from [] (dev_hard_start_xmit+0x2cc/0x454)
    [] (dev_hard_start_xmit+0x2cc/0x454) from [] (sch_direct_xmit+0xf4/0x1fc)
    [] (sch_direct_xmit+0xf4/0x1fc) from [] (dev_queue_xmit+0x1a4/0x458)
    [] (dev_queue_xmit+0x1a4/0x458) from [] (ip6_finish_output2+0x1a0/0x4e8)
    [] (ip6_finish_output2+0x1a0/0x4e8) from [] (ndisc_send_skb+0x1b0/0x2bc)
    [] (ndisc_send_skb+0x1b0/0x2bc) from [] (addrconf_dad_completed+0x84/0xdc)
    [] (addrconf_dad_completed+0x84/0xdc) from [] (addrconf_dad_timer+0x124/0x1ec)
    [] (addrconf_dad_timer+0x124/0x1ec) from [] (call_timer_fn.isra.30+0x24/0x88)
    [] (call_timer_fn.isra.30+0x24/0x88) from [] (run_timer_softirq+0x194/0x210)
    [] (run_timer_softirq+0x194/0x210) from [] (__do_softirq+0x124/0x204)
    [] (__do_softirq+0x124/0x204) from [] (irq_exit+0x9c/0xd0)
    [] (irq_exit+0x9c/0xd0) from [] (handle_IRQ+0x44/0x90)
    [] (handle_IRQ+0x44/0x90) from [] (gic_handle_irq+0x34/0x8c)
    [] (gic_handle_irq+0x34/0x8c) from [] (__irq_svc+0x40/0x50)
    Exception stack(0xc06f5f68 to 0xc06f5fb0)
    5f60:                   c0f5f930 00000000 000085a2 00000000 c072ebe5 c0703d50
    5f80: c0530e6c c06f4000 c072ebe5 c06f4000 c06f4000 c0703cf0 00000000 c06f5fb0
    5fa0: c00142a4 c00142a8 60000013 ffffffff
    [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30)
    [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140)
    [] (cpu_startup_entry+0xfc/0x140) from [] (start_kernel+0x30c/0x318)
    ---[ end trace 4e16389abfb676c0 ]---
    ------------[ cut here ]------------
    WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x288/0x294()
    NETDEV WATCHDOG: eth0 (stmmaceth): transmit queue 0 timed out
    Modules linked in: hi3536_adec(PO) hi3536_aenc(PO) hi3536_ao(PO) hi3536_ai(PO) hi3536_aio(PO) acodec(PO) gpioi2c(O) hi3536_ive(PO) hi3536_vda(PO) hi3536_jpege(PO) hi3536_h264e(PO) hi3536_chnl(PO) hi3536_venc(PO) hi3536_rc(PO) hi3536_hdmi(O) hifb(PO) hi3536_vou(PO) hi3536_vpss(PO) hi3536_viu(PO) hi3536_vgs(PO) hi3536_region(PO) hi3536_tde(PO) hi3536_jpegd(O) hi3536_vfmw(PO) hi3536_vdec(PO) hi3536_sys(PO) hi3536_base(PO) hiuser(O) hi_media(O) mmz(O) stmmac
    CPU: 0 PID: 0 Comm: swapper/0 Tainted: P        W  O 3.10.0_hi3536 #9
    [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14)
    [] (show_stack+0x10/0x14) from [] (warn_slowpath_common+0x54/0x6c)
    [] (warn_slowpath_common+0x54/0x6c) from [] (warn_slowpath_fmt+0x30/0x40)
    [] (warn_slowpath_fmt+0x30/0x40) from [] (dev_watchdog+0x288/0x294)
    [] (dev_watchdog+0x288/0x294) from [] (call_timer_fn.isra.30+0x24/0x88)
    [] (call_timer_fn.isra.30+0x24/0x88) from [] (run_timer_softirq+0x194/0x210)
    [] (run_timer_softirq+0x194/0x210) from [] (__do_softirq+0x124/0x204)
    [] (__do_softirq+0x124/0x204) from [] (irq_exit+0x9c/0xd0)
    [] (irq_exit+0x9c/0xd0) from [] (handle_IRQ+0x44/0x90)
    [] (handle_IRQ+0x44/0x90) from [] (gic_handle_irq+0x34/0x8c)
    [] (gic_handle_irq+0x34/0x8c) from [] (__irq_svc+0x40/0x50)
    Exception stack(0xc06f5f68 to 0xc06f5fb0)
    5f60:                   c0f5f930 00000000 0000a256 00000000 c072ebe5 c0703d50
    5f80: c0530e6c c06f4000 c072ebe5 c06f4000 c06f4000 c0703cf0 00000000 c06f5fb0
    5fa0: c00142a4 c00142a8 60000013 ffffffff
    [] (__irq_svc+0x40/0x50) from [] (arch_cpu_idle+0x2c/0x30)
    [] (arch_cpu_idle+0x2c/0x30) from [] (cpu_startup_entry+0xfc/0x140)
    [] (cpu_startup_entry+0xfc/0x140) from [] (start_kernel+0x30c/0x318)
    ---[ end trace 4e16389abfb676c1 ]---[/code]
  • 我来回答
    回答0个
    时间排序
    认可量排序
    易百纳技术社区暂无数据
    或将文件直接拖到这里
    悬赏:
    E币
    网盘
    * 网盘链接:
    * 提取码:
    悬赏:
    E币

    Markdown 语法

    • 加粗**内容**
    • 斜体*内容*
    • 删除线~~内容~~
    • 引用> 引用内容
    • 代码`代码`
    • 代码块```编程语言↵代码```
    • 链接[链接标题](url)
    • 无序列表- 内容
    • 有序列表1. 内容
    • 缩进内容
    • 图片![alt](url)
    + 添加网盘链接/附件

    Markdown 语法

    • 加粗**内容**
    • 斜体*内容*
    • 删除线~~内容~~
    • 引用> 引用内容
    • 代码`代码`
    • 代码块```编程语言↵代码```
    • 链接[链接标题](url)
    • 无序列表- 内容
    • 有序列表1. 内容
    • 缩进内容
    • 图片![alt](url)
    举报反馈

    举报类型

    • 内容涉黄/赌/毒
    • 内容侵权/抄袭
    • 政治相关
    • 涉嫌广告
    • 侮辱谩骂
    • 其他

    详细说明

    易百纳技术社区