登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
9月20日,Gitee × 模力方舟来成都了!聚焦 AI 应用在开发范式、算力架构、交互设计、硬件选型等跨场景创新实践,点击立即报名~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
5
Star
13
Fork
7
铜豌豆 Linux
/
atzlinux-kernel
代码
Issues
12
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
stmmac 网卡驱动,在两台设备上的表现差异
待办的
#I4WFAD
atzlinux
拥有者
创建于
2022-03-05 09:01
目前 PHY 下的 stmmac 网卡驱动,可以成功编译加载,并都能够识别到网卡设备。 在加载打过飞腾补丁的 at803x 驱动后, 在汉为和予先的盒子,表现出来的不同差异如下: 1. 汉为 网卡识别正常,网卡使用正常。 2. 予先 - ip a 命令,能够看到两个网卡设备,经和厂家确认,该网卡芯片是支持两个网口, 但是应客户要求,只接了一个网口到了盒子外壳。 ``` 2: enaphyt4i0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 98:0e:24:26:7e:44 brd ff:ff:ff:ff:ff:ff 3: enaphyt4i1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 98:0e:24:26:7e:45 brd ff:ff:ff:ff:ff:ff ``` - dmesg 对没有接出来的网卡设备,不断重复报错误信息,每 5 分钟一次: ``` [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:55:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement ``` - 网卡无法获取 IP 物理链接是 OK 的 `[六 3月 5 08:15:31 2022] stmmaceth PHYT0004:01 enaphyt4i1: Link is Up - 1Gbps/Full - flow control rx/tx` ifconfig 显示网卡只有发出去的包,没有收到回包 ``` enaphyt4i1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 98:0e:24:26:7e:45 txqueuelen 1000 (Ethernet) RX packets 44 bytes 2640 (2.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 506 bytes 79572 (77.7 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 19 base 0x2000 ```
目前 PHY 下的 stmmac 网卡驱动,可以成功编译加载,并都能够识别到网卡设备。 在加载打过飞腾补丁的 at803x 驱动后, 在汉为和予先的盒子,表现出来的不同差异如下: 1. 汉为 网卡识别正常,网卡使用正常。 2. 予先 - ip a 命令,能够看到两个网卡设备,经和厂家确认,该网卡芯片是支持两个网口, 但是应客户要求,只接了一个网口到了盒子外壳。 ``` 2: enaphyt4i0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 98:0e:24:26:7e:44 brd ff:ff:ff:ff:ff:ff 3: enaphyt4i1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 98:0e:24:26:7e:45 brd ff:ff:ff:ff:ff:ff ``` - dmesg 对没有接出来的网卡设备,不断重复报错误信息,每 5 分钟一次: ``` [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:45:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement 0000000,00000000,00006280 failed: -22 [六 3月 5 08:50:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: stmmac_open: Cannot attach to PHY (error: -22) [六 3月 5 08:55:28 2022] stmmaceth PHYT0004:00 enaphyt4i0: validation of gmii with support 0000000,00000000,00006280 and advertisement ``` - 网卡无法获取 IP 物理链接是 OK 的 `[六 3月 5 08:15:31 2022] stmmaceth PHYT0004:01 enaphyt4i1: Link is Up - 1Gbps/Full - flow control rx/tx` ifconfig 显示网卡只有发出去的包,没有收到回包 ``` enaphyt4i1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 98:0e:24:26:7e:45 txqueuelen 1000 (Ethernet) RX packets 44 bytes 2640 (2.5 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 506 bytes 79572 (77.7 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 19 base 0x2000 ```
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
1
https://gitee.com/atzlinux/atzlinux-kernel.git
git@gitee.com:atzlinux/atzlinux-kernel.git
atzlinux
atzlinux-kernel
atzlinux-kernel
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册