免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2488 | 回复: 1
打印 上一主题 下一主题

[内核入门] 新编译的内核,进入系统后没有无法启动网络 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-06-05 20:04 |只看该作者 |倒序浏览
我将内核源码下载后,先进行内核配置:make menuconfig,这部分我将网卡设备也选中了。
最后编译,安装内核。重启进入新的内核,但是当我执行启动网络的命令时出现下面错误:
  1. [root@localhost fishing]# /etc/init.d/network restart
  2. 关闭环回接口:                                             [确定]
  3. 弹出环回接口:                                             [确定]
  4. 弹出界面 eth0: 错误:没有找到合适的设备:没有找到可用于连接 'System eth0' 的设备。
  5.                                                            [失败]
复制代码
而/var/log/messages中相关信息如下:
  1. 9:43:48 localhost NetworkManager[7613]:    ifcfg-rh: Acquired D-Bus service
  2. com.redhat.ifcfgrh1
  3. 11770 Jun  5 19:43:48 localhost NetworkManager[7613]: <info> Loaded plugin
  4. ifcfg-rh: (c) 2007 - 2008 Red Hat, Inc.  To report       bugs please use the
  5. NetworkManager mailing list.
  6. 11771 Jun  5 19:43:48 localhost NetworkManager[7613]:    ifcfg-rh: parsing
  7. /etc/sysconfig/network-scripts/ifcfg-eth0 ...
  8. 11772 Jun  5 19:43:48 localhost NetworkManager[7613]:    ifcfg-rh:     read
  9. connection 'System eth0'
  10. 11773 Jun  5 19:43:48 localhost NetworkManager[7613]:    ifcfg-rh: parsing
  11. /etc/sysconfig/network-scripts/ifcfg-lo ...
  12. 11774 Jun  5 19:43:48 localhost NetworkManager[7613]: <info> WiFi enabled by
  13. radio killswitch; enabled by state file
  14. 11775 Jun  5 19:43:48 localhost NetworkManager[7613]: <info> WWAN enabled by
  15. radio killswitch; enabled by state file
  16. 11776 Jun  5 19:43:48 localhost NetworkManager[7613]: <info> WiMAX enabled by
  17. radio killswitch; enabled by state file
  18. 11777 Jun  5 19:43:48 localhost NetworkManager[7613]: <info> Networking is
  19. enabled by state file
  20. 11778 Jun  5 19:43:48 localhost NetworkManager[7613]: <warn>
  21. /sys/devices/virtual/net/virbr0: couldn't determine device driver      ;
  22. ignoring...
  23. 11779 Jun  5 19:43:48 localhost NetworkManager[7613]: <warn>
  24. /sys/devices/virtual/net/virbr0-nic: couldn't determine device dr      iver;
  25. ignoring...
  26. 11780 Jun  5 19:43:48 localhost NetworkManager[7613]: <warn>
  27. /sys/devices/virtual/net/virbr0: couldn't determine device driver      ;
  28. ignoring...
  29. 11781 Jun  5 19:43:48 localhost NetworkManager[7613]: <warn>
  30. /sys/devices/virtual/net/virbr0-nic: couldn't determine device dr      iver;
  31. ignoring...
  32. 11782 Jun  5 19:43:48 localhost NetworkManager[7613]: <warn> bluez error
  33. getting default adapter: The name org.bluez was not p      rovided by any
  34. .service files
  35. 11783 Jun  5 19:51:52 localhost system-config-network[7712]: rm
  36. //etc/sysconfig/networking/profiles//default/resolv.conf
  37. 11784 Jun  5 19:51:52 localhost system-config-network[7712]: ln
  38. //etc/resolv.conf //etc/sysconfig/networking/profiles//default
  39. ///resolv.conf
  40. 11785 Jun  5 19:52:06 localhost system-config-network[7712]: chmod 0644
  41. //etc/sysconfig/networking/devices/ifcfg-eth0
  42. 11786 Jun  5 19:52:06 localhost NetworkManager[7613]:    ifcfg-rh: updating
  43. /etc/sysconfig/network-scripts/ifcfg-eth0
  44. 11787 Jun  5 19:52:12 localhost kernel: lo: Disabled Privacy Extensions
  45. 11788 Jun  5 19:52:43 localhost /usr/lib/vmware/bin/vmware-hostd[5692]:
  46. Accepted password for user root from 127.0.0.1
  47. 11789 Jun  5 19:54:58 localhost system-config-network[8711]: chmod 0644
  48. //etc/sysconfig/networking/devices/ifcfg-eth0
  49. 11790 Jun  5 19:54:58 localhost NetworkManager[7613]:    ifcfg-rh: updating
  50. /etc/sysconfig/network-scripts/ifcfg-eth0
  51. 11791 Jun  5 19:55:10 localhost kernel: lo: Disabled Privacy Extensions
  52. 11792 Jun  5 19:55:38 localhost NetworkManager[7613]:    ifcfg-rh: updating
  53. /etc/sysconfig/network-scripts/ifcfg-eth0
  54. 11793 Jun  5 19:55:39 localhost NetworkManager[7613]:    ifcfg-rh: updating
  55. /etc/sysconfig/network-scripts/ifcfg-eth0
  56. 11794 Jun  5 19:55:46 localhost kernel: lo: Disabled Privacy Extensions
复制代码
谁知道为什么,怎么解决?

论坛徽章:
0
2 [报告]
发表于 2013-06-05 21:58 |只看该作者
下载你实际网卡的驱动源码,编译下看看。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP