TwoOne 发表于 2019-11-19 15:51:19

我看了下我的网卡市1819,板号3.2,2018.1.18,目前没有发现什么问题,单/双群晖都试过没问题

wty9734 发表于 2019-11-21 14:11:51

i6941 发表于 2019-11-19 15:39
我的也半死不活了

我买个usb hub加一个usb3.0的千兆网卡之后刷单linux可以但是有个教程的uboot有点问题

QQ66566 发表于 2019-11-21 15:02:06

wty9734 发表于 2019-11-21 14:11
我买个usb hub加一个usb3.0的千兆网卡之后刷单linux可以但是有个教程的uboot有点问题
...

这个是U2接口U3千兆跑不满。

渣渣之王 发表于 2019-11-21 21:40:07

虽然报错,但是不掉IP,就不管了 :)

recfox 发表于 2019-11-26 01:13:39

本帖最后由 recfox 于 2019-11-27 22:42 编辑

查了日志,是udhcpc执行的时候,网卡down掉了,导致获取不到ip,自动分了169.254.x.x的ip,甚至因为网卡整个down直接不分IP。udhcpc不会运行第二次,之后一直crc错误

目前测试,把emmc里面的内容抹掉,重新写入full.bin的数据,清空emmc并重写full.bin后必然可以获取到IP。
然后写入完整的DSM系统即可
首先进shell:(坛子还不给上传代码,自己敲部分代码贴Google就能找到了)


然后重写emmc,可以参考板块里猫盘一键刷群辉命令脚本重写full.bin,我是下载到U盘然后sh执行,修改成本地路径不走github,太慢。
这样重启以后,能获取到ip。


根据这情况,我猜测,应该是网卡驱动或者系统问题,让emmc里面的某些文件,记录了某些不该有的东西,或者执行了某些操作,导致dhcp失败+crc error。
接下来的思路我想这么搞

思路A:
导出重写emmc后第一次和第二次执行的日志,diff对比。
精确到时间。

思路B:
1.按照上面的方法,分别dump写入镜像后和第一次开机后的emmc里的文件
2.提取出来后diff检查哪些文件被修改过(注意连带权限也一起检查,可能是某些文件权限问题导致的)
3.筛选网络和dhcp相关的文件,进一步分析
4.想办法整到udhcpc的日志,分析(测试与其无关)
5.分析不到或者拿不到的话,直接设置权限禁止那部分目录的写入试试,或者整个/目录禁止写入?

思路C(我觉得可能跟udhcpc关系不大):
测试无效。dhclient返回找不到网卡。
1970-01-01T08:07:57+08:00 a dhclient: Failed to get interface index: No such device
1970-01-01T08:07:57+08:00 a dhclient:
1970-01-01T08:07:57+08:00 a dhclient: If you think you have received this message due to a bug rather
1970-01-01T08:07:57+08:00 a dhclient: than a configuration issue please read the section on submitting
1970-01-01T08:07:57+08:00 a dhclient: bugs on either our web page at www.isc.org or in the README file
1970-01-01T08:07:57+08:00 a dhclient: before submitting a bug.These pages explain the proper
1970-01-01T08:07:57+08:00 a dhclient: process and the information we find helpful for debugging..
1970-01-01T08:07:57+08:00 a dhclient:
1970-01-01T08:07:57+08:00 a dhclient: exiting.

1.升级udhcpc看看能否解决
2.不能的话,想办法让udhcpc执行前用其他方法给dhcp到,比如kill掉然后重新执行
3.换其他dhcp client尝试

思路D:
按照前述方案dd emmc,然后第一次启动时按部就班写好DSM/Linux。此时因为需要出厂设置,在设置期间down掉的网卡会重新up回来。
然后设置static ip/升级udhcpc等方法尝试

思路E(最简单,或许可行):
直接在udhcpc执行后sleep一分钟。

上述方法CDE无效,进入系统后强制重新up网卡,系统提示找不到eth0
应该是系统或者网卡驱动问题了,跟dhcp client关系应该不大
接下来测试udhcpc运行之前网卡是否正常,然后分析前后日志看看


思路F:
升级emmc里的网卡驱动/把x3p或者猫盘原系统的驱动移植过来看看

明天出差,三周才能回来,希望有大佬尝试下。
如果没有大佬帮忙整小的回来再整。

lpfeihu 发表于 2019-11-26 10:42:56

希望大佬能研究出来,我就是这个问题解决不了

lpfeihu 发表于 2019-11-26 19:13:03

recfox 发表于 2019-11-26 01:13
查了日志,是udhcpc执行的时候,网卡down掉了,导致获取不到ip,自动分了169.254.x.x的ip,甚至因为网卡整 ...

请教高手能否详细说一下,怎么操作,我刷机后就一直无法分配ip
:: Starting syslogd ...
/etc/rc: line 273: /usr/syno/bin/syno_pstore_collect: not found
:: Starting scemd
[   15.265002] mvneta d0030000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
:: Starting services in background
Starting findhostd in flash_rd...
Starting services in flash_rd...
Running /usr/syno/etc/rc.d/J01httpd.sh...
Starting httpd:80 in flash_rd...
Starting httpd:5000 in flash_rd...
Running /usr/syno/etc/rc.d/J03ssdpd.sh...
/usr/bin/minissdpd -i eth0
(15): upnp:rootdevice
(51): uuid:upnp_SynologyNAS-001132a0c703::upnp:rootdevice
(60): Synology/synology_armada37xx_ds119j/6.2-24922/169.254.16.201
(47): http://169.254.16.201:5000/description-eth0.xml
Connected.
done.
/usr/syno/bin/reg_ssdp_service 169.254.16.201 001132a0c703 6.2-24922 synology_armada37xx_ds119j eth0
Running /usr/syno/etc/rc.d/J04synoagentregisterd.sh...
Starting synoagentregisterd...
Running /usr/syno/etc/rc.d/J30DisableNCQ.sh...
Running /usr/syno/etc/rc.d/J80ADTFanControl.sh...
Running /usr/syno/etc/rc.d/J98nbnsd.sh...
Starting nbnsd...
Running /usr/syno/etc/rc.d/J99avahi.sh...
Starting Avahi mDNS/DNS-SD Daemon
[   21.533652] random: avahi-daemon: uninitialized urandom read (4 bytes read, 100 bits of entropy available)
cname_load_conf failed:/var/tmp/nginx/avahi-aliases.conf
[   21.549276] random: avahi-daemon: uninitialized urandom read (8 bytes read, 100 bits of entropy available)
[   21.598391] random: sfdisk: uninitialized urandom read (16 bytes read, 104 bits of entropy available)
[   21.610860] random: sfdisk: uninitialized urandom read (16 bytes read, 105 bits of entropy available)

cyber008 发表于 2019-11-27 09:40:18

我觉得这个问题和系统关系不大,我xp3 也是这样,始终找不到ip

k2020 发表于 2019-11-27 12:39:59

这个贴技术含量有点高,关注一下
页: 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14
查看完整版本: 猫盘刷debian,ubuntu,群晖有的会报网卡上传crc错误