摘要:先看堆栈 (gdb) bt #0 bnet_neigh_event_thread (dummy=dummy@entry=0x0) at /vob/jenkins/workspace/_build_8.8.3/sdk/src/customer_smm/l3.c:1303 #1 0x0000000002
阅读全文
摘要:这个Bug是在查另一个Bug时发现的,源Bug暂且按下不表 先说一下大致的情况 struct zebra_client_arg zebra_client是进程中的一个全局变量,struct zebra_client_arg的定义如下: struct zebra_client_arg { int lc
阅读全文
摘要:源代码里面有这个几张表: 126 static struct avl_table *l2_addr_tree; 127 static struct avl_table *casa_neighbor_table; 128 static struct avl_table *casa_ecmp_table
阅读全文
摘要:core 的堆栈是这样子的: (gdb) bt #0 0x00007ffff4a96a7c in pthread_kill () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff4a42476 in raise () from /lib/x86_
阅读全文
摘要:检查dmesg的时候发现有这么个panic,但是设备没有重启: [1691135418.681314] cpu-0 (014C64B3:1635): ffff8000205d1e4b: 3C010800 1851AC04 000118FF 6BF08100 *<....Q......k...* [1
阅读全文
摘要:在客户那里发现有些数据包被错误的转到了standby SMM上,后面查看 proc 发现是 knet.ko 中的 role 字段被踩 后面再检查发现有三个字段都被踩: zyc@fish smm_arm64 (/≧▽≦)/ ~/do_not_remove/aarch64-marvell-linux-g
阅读全文
摘要:串口日志: [0629_17:01:42]casa_switch_client_tx: ioctl rc -1 [0629_17:01:42]casa_switch_client_tx: ioctl rc -1 [0629_17:01:42]casa_switch_client_tx: ioctl
阅读全文
摘要:panic信息: <4>[1670581299] 15:Failed on write i2cdev=23(I2CDEV_RFSW0) <4>[1670581299] 15:tx retry failed <4>[1670581299] 15:Failed on write i2cdev=23(I2
阅读全文
摘要:Sundray-SW / #bcmsh dump port 2 1 filter_enable en_ifilter # "2 1"含义:从PORT.ipipe0[2]开始,总共1条 excute : ovs-appctl plugin/bcmsh dump port 2 1 filter_enab
阅读全文
摘要:配置文件、数据库、MAC上都有这条mac_vlan,但实际上在芯片上bamsh l2 show对应的vlan是错误的 原因是端口类型不对,配置mac_vlan的端口一定得是hybrid口
阅读全文
摘要:open()使用错误:源码 fd = open("/extdir/run_mode", "r");其中,"r" 不是open的参数 ,正确参数应为O_RDONLY。 详解: 1、open()是系统函数,它的参数应为O_RDONLY,"r" 是库函数fopen()的参数2、"r" 按照整型解释的时候是
阅读全文