一些问题
悠扬侠
这个作者很懒,什么都没留下…
展开
-
Ubuntu 18.04升级系统后报错
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)原创 2023-11-13 18:45:00 · 272 阅读 · 0 评论 -
DPDK-VFIO group is not viable! Not all devices in IOMMU group bound to VFIO or unbound
DPDK app(1) VFIO group is not viable! Not all devices in IOMMU group bound to VFIO or unbound(2) igb_uio无法收发包原创 2022-09-08 22:00:00 · 1694 阅读 · 0 评论 -
Makefile 编译 module fail
我拿出kernel里的r8169 driver,借鉴了一些makefile,可以成功make以及insmod,但是最近在另一台电脑上却失败了,记录一下这个问题。PS:我个人暂时没有很系统的学习makefile,仅仅是需要用到的时候百度一下。这次make之后,遇到了如下的问题:make -C /lib/modules/5.13.0-44-generic/build SUBDIRS=/home/tover/drivers/test/r8169/realtek cleanmake[1]: Ente原创 2022-05-27 20:00:00 · 1585 阅读 · 0 评论 -
Intel X550支援2.5G和5G
在拿到两片X550后,因为工作需要,需要支援2.5G和5G。但是ethtool ethx之后发现,并不支援2.5G和5G,这和事先调查的结果并不一致。查询code后,我发现相关的代码并没有添加进ixgbe的code,即无法从ethtool的角度实现支援。但是经过对代码的研究,我找出了被动实现的方法,代码如下。1.打开2.5G和5G在刚拿到X550后,我和手头的8125B相连,发现link的speed是1000M而不是2.5G,发现是在ixgbe code里已经关闭了2.5G和5G。打开的话需要作如下修改原创 2022-05-07 13:39:37 · 2050 阅读 · 0 评论 -
Could not change any device features - 开启 TSO fail
在开启tso的时候,使用命令ethtool -K ethX tso on,会报Couldnotchangeanydevicefeatures。一开始我查阅网上资料以为网卡并不支持tso,事实并非如此。部分driver默认关闭tso的: /* don't enable SG, IP_CSUM and TSO by default - it might not work * properly for all devices */使用ethtool -k ethX显示网卡Offload...原创 2021-07-15 10:45:12 · 1804 阅读 · 0 评论