扫描二维码关注官方公众号
返回列表 发布新帖

[玩法/技巧] 2021年10月25日更新-定制redpill引导(集成网卡和阵列卡.....

   火...

评论1483

loveme99Lv.5 发表于 2021-10-25 20:08:37 来自手机 | 显示全部楼层
loveme99 发表于 2021-10-25 20:07
我一步也没有错,就是不行,头都是大的

哪怕我什么都不改,只是重新打一次包,然后网卡就得不到ip
回复 点赞

使用道具 举报

pan3000Lv.10 发表于 2021-10-25 20:42:12 | 显示全部楼层
感谢分享。
回复 点赞

使用道具 举报

stl88083365Lv.1 发表于 2021-10-25 21:20:20 | 显示全部楼层
需要看一下!!!!!!
回复 点赞

使用道具 举报

loveme99Lv.5 发表于 2021-10-25 21:25:42 | 显示全部楼层
  1. root@tongsam-ub:~/redpill-helper# ./rp-helper.sh ext apollolake-7.0.1-42218 add https://raw.githubusercontent.com/pocopico/rp-ext/master/vmxnet3/rpext-index.json   
  2. /entrypoint.sh: line 40: exec: ext: not found
复制代码
回复 点赞

使用道具 举报

loveme99Lv.5 发表于 2021-10-25 21:53:42 | 显示全部楼层
donxu 发表于 2021-10-25 19:55
那你按照之前集成网卡的方式,直接在RD.gz文件夹添加驱动,insmod

实践证明,编译的vmxnet3是获取不到IP的
  1. root@dsm7:~# ifconfig[  420.565901] <redpill/smart_shim.c:644> Got SMART *command* - looking for feature=0xd0
  2. [  420.569192] <redpill/smart_shim.c:388> Generating fake SMART values

  3. eth0      Link encap:Ethernet  HWaddr 00:11:32:7B:0C:E5
  4.           inet addr:169.254.57.224  Bcast:169.254.255.255  Mask:255.255.0.0
  5.           inet6 addr: fe80::211:32ff:fe7b:ce5/64 Scope:Link
  6.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  7.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  8.           TX packets:102 errors:0 dropped:0 overruns:0 carrier:0
  9.           collisions:0 txqueuelen:1000
  10.           RX bytes:0 (0.0 B)  TX bytes:20852 (20.3 KiB)

  11. eth1      Link encap:Ethernet  HWaddr 00:0C:29:6E:AB:E9
  12.           inet addr:192.168.10.123  Bcast:192.168.10.255  Mask:255.255.255.0
  13.           inet6 addr: 240e:3b3:4e15:29b1::a6e/128 Scope:Global
  14.           inet6 addr: 240e:3b3:4e15:29b1:20c:29ff:fe6e:abe9/64 Scope:Global
  15.           inet6 addr: fe80::20c:29ff:fe6e:abe9/64 Scope:Link
  16.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  17.           RX packets:8870 errors:0 dropped:0 overruns:0 frame:0
  18.           TX packets:707 errors:0 dropped:0 overruns:0 carrier:0
  19.           collisions:0 txqueuelen:1000
  20.           RX bytes:1701316 (1.6 MiB)  TX bytes:209866 (204.9 KiB)
  21.           Interrupt:18 memory 0xfea20000-fea40000

  22. lo        Link encap:Local Loopback
  23.           inet addr:127.0.0.1  Mask:255.0.0.0
  24.           inet6 addr: ::1/128 Scope:Host
  25.           UP LOOPBACK RUNNING  MTU:65536  Metric:1
  26.           RX packets:6 errors:0 dropped:0 overruns:0 frame:0
  27.           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
  28.           collisions:0 txqueuelen:1
  29.           RX bytes:1038 (1.0 KiB)  TX bytes:1038 (1.0 KiB)
复制代码
  1. dmesg |grep eth
  2. [   21.616492] usbcore: registered new interface driver ethub
  3. [   21.672111] vmxnet3 0000:0b:00.0 eth0: NIC Link is Up 10000 Mbps
  4. [   31.596576] e1000e 0000:03:00.0 eth1: (PCI Express:2.5GT/s:Width x1) 00:0c:29:6e:ab:e9
  5. [   31.596577] e1000e 0000:03:00.0 eth1: Intel(R) PRO/1000 Network Connection
  6. [   31.596635] e1000e 0000:03:00.0 eth1: MAC: 3, PHY: 8, PBA No: 000000-000
  7. [   39.177137] vmxnet3 0000:0b:00.0 eth0: intr type 3, mode 0, 5 vectors allocated
  8. [   39.179512] vmxnet3 0000:0b:00.0 eth0: NIC Link is Up 10000 Mbps
  9. [   39.436930] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
  10. [   39.440786] e1000e: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
  11. [   39.443144] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
  12. [   44.499445] 8021q: adding VLAN 0 to HW filter on device eth0
  13. [   44.502047] 8021q: adding VLAN 0 to HW filter on device eth1
  14. [  215.339823] vmxnet3 0000:0b:00.0 eth0: intr type 3, mode 0, 5 vectors allocated
  15. [  215.341986] vmxnet3 0000:0b:00.0 eth0: NIC Link is Up 10000 Mbps
  16. [  215.343671] 8021q: adding VLAN 0 to HW filter on device eth0
复制代码


回复 点赞

使用道具 举报

donxu楼主Lv.10 发表于 2021-10-25 21:57:28 | 显示全部楼层
loveme99 发表于 2021-10-25 21:53
实践证明,编译的vmxnet3是获取不到IP的

我是真的服了,你到底想集成什么驱动?单独集成vmxnet3和有实体硬件的网卡的驱动是没有问题,为何我一直对高大全驱动的引导持谨慎乐观的态度,就是因为集成了没有实体硬件的驱动,或造成问题。
回复 点赞

使用道具 举报

szliminLv.2 发表于 2021-10-25 22:02:10 | 显示全部楼层
学习一下
回复 点赞

使用道具 举报

donxu楼主Lv.10 发表于 2021-10-25 22:02:57 | 显示全部楼层

还有这个问题,先编译第一步,再添加驱动   ./rp-helper.sh build apollolake-7.0.1-42218
回复 点赞

使用道具 举报

donxu楼主Lv.10 发表于 2021-10-25 22:09:21 | 显示全部楼层
loveme99 发表于 2021-10-25 19:31
大神,我想编译一个megaraid_sas.ko进引导,这个没有源码,只有已经编译好的ko文件,能编译进去吗,918或 ...

你就是想集成megaraid_sas.ko,先在exsi下测试?那完全没必要用vmxnet3啊,选择e1000e不行吗?
回复 点赞

使用道具 举报

loveme99Lv.5 发表于 2021-10-25 22:15:12 | 显示全部楼层
donxu 发表于 2021-10-25 22:09
你就是想集成megaraid_sas.ko,先在exsi下测试?那完全没必要用vmxnet3啊,选择e1000e不行吗? ...

是的,正准备这么做,是我自己折腾,强迫症,一直认为vmxnet3 会好一点
回复 点赞

使用道具 举报

oneupVIPLv.2 发表于 2021-10-25 22:43:52 | 显示全部楼层
做个标记,留着以后好好学习,谢谢!
回复 点赞

使用道具 举报

qiuyihuaLv.4 发表于 2021-10-25 22:45:18 | 显示全部楼层
感谢楼主分享
回复 点赞

使用道具 举报

loveme99Lv.5 发表于 2021-10-25 22:47:06 | 显示全部楼层
donxu 发表于 2021-10-25 22:09
你就是想集成megaraid_sas.ko,先在exsi下测试?那完全没必要用vmxnet3啊,选择e1000e不行吗? ...

我晕了,什么都不加,e1000也失联
  1. okame@dsm7:/$ ifconfig
  2. eth0      Link encap:Ethernet  HWaddr 00:11:32:7B:0C:E5
  3.           inet addr:169.254.57.224  Bcast:169.254.255.255  Mask:255.255.0.0
  4.           inet6 addr: fe80::211:32ff:fe7b:ce5/64 Scope:Link
  5.           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  6.           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  7.           TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
  8.           collisions:0 txqueuelen:1000
  9.           RX bytes:0 (0.0 B)  TX bytes:33955 (33.1 KiB)
  10.           Interrupt:18 memory 0xfea20000-fea40000

  11. lo        Link encap:Local Loopback
  12.           inet addr:127.0.0.1  Mask:255.0.0.0
  13.           inet6 addr: ::1/128 Scope:Host
  14.           UP LOOPBACK RUNNING  MTU:65536  Metric:1
  15.           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
  16.           TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
  17.           collisions:0 txqueuelen:1
  18.           RX bytes:240 (240.0 B)  TX bytes:240 (240.0 B)

  19. okame@dsm7:/$
复制代码
回复 点赞

使用道具 举报

gbn0102Lv.8 发表于 2021-10-25 22:57:38 | 显示全部楼层
谢谢分享!!!!
回复 点赞

使用道具 举报

BG8HQELv.5 发表于 2021-10-25 23:06:18 | 显示全部楼层
下载驱动报错:/entrypoint.sh: line 40: exec: ext: not found
回复 点赞

使用道具 举报

donxu楼主Lv.10 发表于 2021-10-25 23:06:47 | 显示全部楼层
BG8HQE 发表于 2021-10-25 23:06
下载驱动报错:/entrypoint.sh: line 40: exec: ext: not found

先编译第一步,再添加驱动   ./rp-helper.sh build
回复 点赞

使用道具 举报

yin734854387Lv.7 发表于 2021-10-25 23:13:00 | 显示全部楼层
感谢分享啊
回复 点赞

使用道具 举报

westechLv.3 发表于 2021-10-26 01:53:28 | 显示全部楼层
感谢您的努力,谢谢分享!
回复 点赞

使用道具 举报

meego88Lv.2 发表于 2021-10-26 10:42:15 | 显示全部楼层
牛逼啊。楼主
回复 点赞

使用道具 举报

蟋蟀Lv.5 发表于 2021-10-26 11:41:33 | 显示全部楼层
2021年10月25日更新-定制redpill引导(
回复 点赞

使用道具 举报

回复

懒得打字嘛,点击右侧快捷回复 【本站酷狼4T,750元】
您需要登录后才可以回帖 登录 | 注册

本版积分规则

投诉/建议联系

support@gebi1.cn

未经授权禁止转载,复制和建立镜像,
如有违反,追究法律责任
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2024 隔壁网 版权所有 All Rights Reserved. 粤ICP备14056481号-1
关灯 在本版发帖
扫一扫添加微信客服
返回顶部
快速回复 返回顶部 返回列表