免费注册 查看新帖 |

Chinaunix

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

N440所有网卡plumb不起来 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-04-22 16:16 |只看该作者 |倒序浏览
搞了好几天实在没有招了。


请教一下有没有遇到过这个错误
启动的时候遇到这样的错误:Solaris 10

[ milestone/name-services:default starting (name services milestone) ]

Apr 21 09:02:06 svc.startd[7]: svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96.

Apr 21 09:02:06 svc.startd[7]: network/physical:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)

[ system/identity:node starting (system identity (nodename)) ]

所有的网卡都plumb不起来,ifconfig -a是空的。
之前新配置了一个网卡的IP,网卡很久之前已经装上了。

怀疑是网卡驱动有问题。

configuring IPv4 interfaces: ce0 ce2 ce3.
add net default: gateway 10.10.10.254: Network is unreachable
[ Apr 17 12:20:36 Method "start" exited with status 96 ]
[ Apr 17 12:22:25 Leaving maintenance because clear requested. ]
[ Apr 17 12:22:25 Enabled. ]
[ Apr 17 12:22:25 Executing start method ("/lib/svc/method/net-physical") ]
[ Apr 17 12:22:25 Timeout override by svc.startd.  Using infinite timeout ]
configuring IPv4 interfaces: ce0 ce2 ce3.
add net default: gateway 10.10.10.254: Network is unreachable
[ Apr 17 12:22:25 Method "start" exited with status 96 ]
[ Apr 20 10:18:05 Rereading configuration. ]
[ Apr 20 10:19:08 Leaving maintenance because clear requested. ]
[ Apr 20 10:19:08 Enabled. ]
[ Apr 20 10:19:08 Executing start method ("/lib/svc/method/net-physical") ]
+ . /lib/svc/share/smf_include.sh
SMF_EXIT_OK=0
SMF_EXIT_ERR_FATAL=95
SMF_EXIT_ERR_CONFIG=96
SMF_EXIT_MON_DEGRADE=97
SMF_EXIT_MON_OFFLINE=98
SMF_EXIT_ERR_NOSMF=99
SMF_EXIT_ERR_PERM=100

论坛徽章:
0
2 [报告]
发表于 2010-04-22 16:17 |只看该作者
再贴所有的LOG:

CHINALB:/var/svc/log-# cat network-physical:default.log
[ May 21 12:19:13 Rereading configuration. ]
[ May 21 12:19:13 No 'refresh' method defined.  Treating as :true. ]
[ May 21 12:20:10 Rereading configuration. ]
[ May 21 12:20:10 No 'refresh' method defined.  Treating as :true. ]
[ May 21 14:01:43 Stopping because service disabled. ]
[ May 21 14:01:43 Executing stop method (null) ]
[ May 21 14:51:07 Stopping because service disabled. ]
[ May 21 14:51:07 Executing stop method (null) ]
[ May 21 14:59:40 Stopping because service disabled. ]
[ May 21 14:59:40 Executing stop method (null) ]
[ Jun 13 10:43:10 Stopping because service disabled. ]
[ Jun 13 10:43:10 Executing stop method (null) ]
[ Jun 13 11:36:22 Stopping because service disabled. ]
[ Jun 13 11:36:22 Executing stop method (null) ]
[ Jun 16 08:41:54 Stopping because service disabled. ]
[ Jun 16 08:41:54 Executing stop method (null) ]
[ Jun 16 08:49:22 Stopping because service disabled. ]
[ Jun 16 08:49:22 Executing stop method (null) ]
[ May  2 09:07:48 Rereading configuration. ]
[ May  2 09:07:48 No 'refresh' method defined.  Treating as :true. ]
[ May  2 09:12:16 Rereading configuration. ]
[ May  2 09:12:16 No 'refresh' method defined.  Treating as :true. ]
[ May  2 09:12:21 Rereading configuration. ]
[ May  2 09:12:21 No 'refresh' method defined.  Treating as :true. ]
[ May  2 09:21:03 Stopping because service disabled. ]
[ May  2 09:21:03 Executing stop method (null) ]
[ May  2 09:24:06 Rereading configuration. ]
[ May  2 09:24:06 No 'refresh' method defined.  Treating as :true. ]
[ May  2 09:24:09 Rereading configuration. ]
[ May  2 09:24:09 No 'refresh' method defined.  Treating as :true. ]
[ May  2 09:35:00 Stopping because service disabled. ]
[ May  2 09:35:00 Executing stop method (null) ]
[ May  2 09:45:27 Stopping because service disabled. ]
[ May  2 09:45:27 Executing stop method (null) ]
[ Aug 27 14:11:18 Stopping because service disabled. ]
[ Aug 27 14:11:18 Executing stop method (null) ]
[ Aug 27 14:18:00 Stopping because service disabled. ]
[ Aug 27 14:18:00 Executing stop method (null) ]
[ Sep  7 13:15:24 Stopping because service disabled. ]
[ Sep  7 13:15:24 Executing stop method (null) ]
[ Sep  7 14:32:32 Stopping because service disabled. ]
[ Sep  7 14:32:32 Executing stop method (null) ]
[ Feb  9 12:37:31 Stopping because service disabled. ]
[ Feb  9 12:37:31 Executing stop method (null) ]
[ Feb  9 13:37:51 Stopping because service disabled. ]
[ Feb  9 13:37:51 Executing stop method (null) ]
[ Mar 25 17:24:21 Stopping because service disabled. ]
[ Mar 25 17:24:21 Executing stop method (null) ]
[ Apr 16 11:14:22 Stopping because service disabled. ]
[ Apr 16 11:14:22 Executing stop method (null) ]
[ Apr 17 12:17:53 Leaving maintenance because clear requested. ]
[ Apr 17 12:17:53 Enabled. ]
[ Apr 17 12:17:53 Executing start method ("/lib/svc/method/net-physical") ]
[ Apr 17 12:17:53 Timeout override by svc.startd.  Using infinite timeout ]
configuring IPv4 interfaces: ce0 ce2 ce3.
add net default: gateway 10.5.79.254: Network is unreachable
[ Apr 17 12:17:53 Method "start" exited with status 96 ]
[ Apr 17 12:20:13 Leaving maintenance because disable requested. ]
[ Apr 17 12:20:13 Disabled. ]
[ Apr 17 12:20:36 Enabled. ]
[ Apr 17 12:20:36 Executing start method ("/lib/svc/method/net-physical") ]
[ Apr 17 12:20:36 Timeout override by svc.startd.  Using infinite timeout ]
configuring IPv4 interfaces: ce0 ce2 ce3.
add net default: gateway 10.5.79.254: Network is unreachable
[ Apr 17 12:20:36 Method "start" exited with status 96 ]
[ Apr 17 12:22:25 Leaving maintenance because clear requested. ]
[ Apr 17 12:22:25 Enabled. ]
[ Apr 17 12:22:25 Executing start method ("/lib/svc/method/net-physical") ]
[ Apr 17 12:22:25 Timeout override by svc.startd.  Using infinite timeout ]
configuring IPv4 interfaces: ce0 ce2 ce3.
add net default: gateway 10.5.79.254: Network is unreachable
[ Apr 17 12:22:25 Method "start" exited with status 96 ]
[ Apr 20 10:18:05 Rereading configuration. ]
[ Apr 20 10:19:08 Leaving maintenance because clear requested. ]
[ Apr 20 10:19:08 Enabled. ]
[ Apr 20 10:19:08 Executing start method ("/lib/svc/method/net-physical") ]
+ . /lib/svc/share/smf_include.sh
SMF_EXIT_OK=0
SMF_EXIT_ERR_FATAL=95
SMF_EXIT_ERR_CONFIG=96
SMF_EXIT_MON_DEGRADE=97
SMF_EXIT_MON_OFFLINE=98
SMF_EXIT_ERR_NOSMF=99
SMF_EXIT_ERR_PERM=100
+ . /lib/svc/share/net_include.sh
+ unset inet_list inet_plumbed inet_failed inet6_list inet6_plumbed inet6_failed
+ smf_configure_ip
[ Apr 20 10:19:08 Timeout override by svc.startd.  Using infinite timeout ]
+ /sbin/zonename
+ /sbin/zonename -t
+ [ global = global -o shared = exclusive ]
+ return 0
LD_LIBRARY_PATH=/lib
+ export LD_LIBRARY_PATH
SUNW_NO_MPATHD=
+ export SUNW_NO_MPATHD
+ smf_netstrategy
+ /sbin/zonename
+ [ global != global ]
+ /sbin/netstrategy
+ set -- ufs none none
+ [ 0 -eq 0 ]
+ [ ufs = nfs -o ufs = cachefs ]
_INIT_NET_STRATEGY=none
+ export _INIT_NET_STRATEGY
+ /sbin/zonename
zonename=global
+ [ global = global ]
+ /sbin/dladm up-aggr
+ [ -n  -a none = dhcp ]
+ /sbin/ifconfig -auD4 netmask + broadcast +
+ echo /etc/hostname.ce0 /etc/hostname.ce2 /etc/hostname.ce3
interface_names=/etc/hostname.ce0 /etc/hostname.ce2 /etc/hostname.ce3
+ [ /etc/hostname.ce0 /etc/hostname.ce2 /etc/hostname.ce3 != /etc/hostname.*[0-9] ]
ORIGIFS=        

IFS=   
.
+ set -- /etc/hostname ce0 /etc/hostname ce2 /etc/hostname ce3
IFS=   

+ [ 6 -ge 2 ]
+ shift
+ [ ce0 = xx0 ]
+ [ 5 -gt 1 -a /etc/hostname != /etc/hostname ]
inet_list= ce0
+ shift
+ [ 4 -ge 2 ]
+ shift
+ [ ce2 = xx0 ]
+ [ 3 -gt 1 -a /etc/hostname != /etc/hostname ]
inet_list= ce0 ce2
+ shift
+ [ 2 -ge 2 ]
+ shift
+ [ ce3 = xx0 ]
+ [ 1 -gt 1 -a  != /etc/hostname ]
inet_list= ce0 ce2 ce3
+ shift
+ [ 0 -ge 2 ]
+ echo /etc/hostname6.*[0-9]
interface_names=/etc/hostname6.*[0-9]
+ [ /etc/hostname6.*[0-9] != /etc/hostname6.*[0-9] ]
+ [ -n  ce0 ce2 ce3 ]
+ set -- ce0 ce2 ce3
+ [ 3 -gt 0 ]
+ /sbin/ifconfig ce0 plumb
+ /sbin/ifconfig ce0 inet
inet_plumbed= ce0
+ shift
+ [ 2 -gt 0 ]
+ /sbin/ifconfig ce2 plumb
+ /sbin/ifconfig ce2 inet
inet_plumbed= ce0 ce2
+ shift
+ [ 1 -gt 0 ]
+ /sbin/ifconfig ce3 plumb
+ /sbin/ifconfig ce3 inet
inet_plumbed= ce0 ce2 ce3
+ shift
+ [ 0 -gt 0 ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ce0 ce2 ce3 ]
i4s_fail=
+ echo configuring IPv4 interfaces:\c
configuring IPv4 interfaces:+ set -- ce0 ce2 ce3
+ [ 3 -gt 0 ]
+ inet_process_hostname /sbin/ifconfig ce0 inet
+ doDHCPhostname ce0
+ [ -f /etc/dhcp.ce0 ]
+ return 1
+ :
multiple_lines=false
ifcmds=
retval=0
+ read line
+ [ -n  ]
ifcmds=CHINALB-0
+ read line
+ [ -z CHINALB-0 ]
+ [ false = false ]
ifcmds=CHINALB-0 netmask + broadcast + up
+ /sbin/ifconfig ce0 inet CHINALB-0 netmask + broadcast + up
+ return 0
+ [ 0 != 0 ]
+ echo  ce0\c
ce0+ shift
+ [ 2 -gt 0 ]
+ inet_process_hostname /sbin/ifconfig ce2 inet
+ doDHCPhostname ce2
+ [ -f /etc/dhcp.ce2 ]
+ return 1
+ :
multiple_lines=false
ifcmds=
retval=0
+ read line
+ [ -n  ]
ifcmds=CHINALB-2
+ read line
+ [ -z CHINALB-2 ]
+ [ false = false ]
ifcmds=CHINALB-2 netmask + broadcast + up
+ /sbin/ifconfig ce2 inet CHINALB-2 netmask + broadcast + up
+ return 0
+ [ 0 != 0 ]
+ echo  ce2\c
ce2+ shift
+ [ 1 -gt 0 ]
+ inet_process_hostname /sbin/ifconfig ce3 inet
+ doDHCPhostname ce3
+ [ -f /etc/dhcp.ce3 ]
+ return 1
+ :
multiple_lines=false
ifcmds=
retval=0
+ read line
+ [ -n  ]
ifcmds=CHINALB-nb
+ read line
+ [ -z CHINALB-nb ]
+ [ false = false ]
ifcmds=CHINALB-nb netmask + broadcast + up
+ /sbin/ifconfig ce3 inet CHINALB-nb netmask + broadcast + up
+ return 0
+ [ 0 != 0 ]
+ echo  ce3\c
ce3+ shift
+ [ 0 -gt 0 ]
+ echo .
.
+ [ -n  ]
+ [ -n  ]
+ echo /etc/dhcp.*[0-9]
interface_names=/etc/dhcp.*[0-9]
+ [ /etc/dhcp.*[0-9] != /etc/dhcp.*[0-9] ]
+ shcat /etc/nodename
hostname=CHINALB
+ [ none = rarp -o -z CHINALB ]
+ [ -n  ]
+ [ -n  ]
+ [ -f /etc/defaultrouter ]
+ read router rubbish
+ /sbin/route -n add default -gateway defaultrouter
add net default: gateway 10.5.79.254: Network is unreachable
+ read router rubbish
+ [ -z  ce0 ce2 ce3 ]
+ /sbin/ifconfig -a4 dhcp status
+ [ -n  ]
+ /sbin/ifconfig -a4uD
+ [ -n  ]
+ /sbin/ifconfig -au6
+ [ -n  ]
+ exit 96
[ Apr 20 10:19:08 Method "start" exited with status 96 ]
[ Apr 20 17:22:07 Leaving maintenance because clear requested. ]
[ Apr 20 17:22:07 Enabled. ]
[ Apr 20 17:22:07 Executing start method ("/lib/svc/method/net-physical") ]
+ . /lib/svc/share/smf_include.sh
[ Apr 20 17:22:07 Timeout override by svc.startd.  Using infinite timeout ]
SMF_EXIT_OK=0
SMF_EXIT_ERR_FATAL=95
SMF_EXIT_ERR_CONFIG=96
SMF_EXIT_MON_DEGRADE=97
SMF_EXIT_MON_OFFLINE=98
SMF_EXIT_ERR_NOSMF=99
SMF_EXIT_ERR_PERM=100
+ . /lib/svc/share/net_include.sh
+ unset inet_list inet_plumbed inet_failed inet6_list inet6_plumbed inet6_failed
+ smf_configure_ip
+ /sbin/zonename
+ /sbin/zonename -t
+ [ global = global -o shared = exclusive ]
+ return 0
LD_LIBRARY_PATH=/lib
+ export LD_LIBRARY_PATH
SUNW_NO_MPATHD=
+ export SUNW_NO_MPATHD
+ smf_netstrategy
+ /sbin/zonename
+ [ global != global ]
+ /sbin/netstrategy
+ set -- ufs none none
+ [ 0 -eq 0 ]
+ [ ufs = nfs -o ufs = cachefs ]
_INIT_NET_STRATEGY=none
+ export _INIT_NET_STRATEGY
+ /sbin/zonename
zonename=global
+ [ global = global ]
+ /sbin/dladm up-aggr
+ [ -n  -a none = dhcp ]
+ /sbin/ifconfig -auD4 netmask + broadcast +
+ echo /etc/hostname.ce0 /etc/hostname.ce2 /etc/hostname.ce3
interface_names=/etc/hostname.ce0 /etc/hostname.ce2 /etc/hostname.ce3
+ [ /etc/hostname.ce0 /etc/hostname.ce2 /etc/hostname.ce3 != /etc/hostname.*[0-9] ]
ORIGIFS=        

IFS=   
.
+ set -- /etc/hostname ce0 /etc/hostname ce2 /etc/hostname ce3
IFS=   

+ [ 6 -ge 2 ]
+ shift
+ [ ce0 = xx0 ]
+ [ 5 -gt 1 -a /etc/hostname != /etc/hostname ]
inet_list= ce0
+ shift
+ [ 4 -ge 2 ]
+ shift
+ [ ce2 = xx0 ]
+ [ 3 -gt 1 -a /etc/hostname != /etc/hostname ]
inet_list= ce0 ce2
+ shift
+ [ 2 -ge 2 ]
+ shift
+ [ ce3 = xx0 ]
+ [ 1 -gt 1 -a  != /etc/hostname ]
inet_list= ce0 ce2 ce3
+ shift
+ [ 0 -ge 2 ]
+ echo /etc/hostname6.*[0-9]
interface_names=/etc/hostname6.*[0-9]
+ [ /etc/hostname6.*[0-9] != /etc/hostname6.*[0-9] ]
+ [ -n  ce0 ce2 ce3 ]
+ set -- ce0 ce2 ce3
+ [ 3 -gt 0 ]
+ /sbin/ifconfig ce0 plumb
+ /sbin/ifconfig ce0 inet
inet_plumbed= ce0
+ shift
+ [ 2 -gt 0 ]
+ /sbin/ifconfig ce2 plumb
+ /sbin/ifconfig ce2 inet
inet_plumbed= ce0 ce2
+ shift
+ [ 1 -gt 0 ]
+ /sbin/ifconfig ce3 plumb
+ /sbin/ifconfig ce3 inet
inet_plumbed= ce0 ce2 ce3
+ shift
+ [ 0 -gt 0 ]
+ [ -n  ]
+ [ -n  ]
+ [ -n  ce0 ce2 ce3 ]
i4s_fail=
+ echo configuring IPv4 interfaces:\c
configuring IPv4 interfaces:+ set -- ce0 ce2 ce3
+ [ 3 -gt 0 ]
+ inet_process_hostname /sbin/ifconfig ce0 inet
+ doDHCPhostname ce0
+ [ -f /etc/dhcp.ce0 ]
+ return 1
+ :
multiple_lines=false
ifcmds=
retval=0
+ read line
+ [ -n  ]
ifcmds=CHINALB-0
+ read line
+ [ -z CHINALB-0 ]
+ [ false = false ]
ifcmds=CHINALB-0 netmask + broadcast + up
+ /sbin/ifconfig ce0 inet CHINALB-0 netmask + broadcast + up
+ return 0
+ [ 0 != 0 ]
+ echo  ce0\c
ce0+ shift
+ [ 2 -gt 0 ]
+ inet_process_hostname /sbin/ifconfig ce2 inet
+ doDHCPhostname ce2
+ [ -f /etc/dhcp.ce2 ]
+ return 1
+ :
multiple_lines=false
ifcmds=
retval=0
+ read line
+ [ -n  ]
ifcmds=CHINALB-2
+ read line
+ [ -z CHINALB-2 ]
+ [ false = false ]
ifcmds=CHINALB-2 netmask + broadcast + up
+ /sbin/ifconfig ce2 inet CHINALB-2 netmask + broadcast + up
+ return 0
+ [ 0 != 0 ]
+ echo  ce2\c
ce2+ shift
+ [ 1 -gt 0 ]
+ inet_process_hostname /sbin/ifconfig ce3 inet
+ doDHCPhostname ce3
+ [ -f /etc/dhcp.ce3 ]
+ return 1
+ :
multiple_lines=false
ifcmds=
retval=0
+ read line
+ [ -n  ]
ifcmds=CHINALB-3
+ read line
+ [ -z CHINALB-3 ]
+ [ false = false ]
ifcmds=CHINALB-3 netmask + broadcast + up
+ /sbin/ifconfig ce3 inet CHINALB-3 netmask + broadcast + up
+ return 0
+ [ 0 != 0 ]
+ echo  ce3\c
ce3+ shift
+ [ 0 -gt 0 ]
+ echo .
.
+ [ -n  ]
+ [ -n  ]
+ echo /etc/dhcp.*[0-9]
interface_names=/etc/dhcp.*[0-9]
+ [ /etc/dhcp.*[0-9] != /etc/dhcp.*[0-9] ]
+ shcat /etc/nodename
hostname=CHINALB
+ [ none = rarp -o -z CHINALB ]
+ [ -n  ]
+ [ -n  ]
+ [ -f /etc/defaultrouter ]
+ read router rubbish
+ /sbin/route -n add default -gateway defaultrouter
add net default: gateway 10.5.79.254: Network is unreachable
+ read router rubbish
+ [ -z  ce0 ce2 ce3 ]
+ /sbin/ifconfig -a4 dhcp status
+ [ -n  ]
+ /sbin/ifconfig -a4uD
+ [ -n  ]
+ /sbin/ifconfig -au6
+ [ -n  ]
+ exit 96
[ Apr 20 17:22:08 Method "start" exited with status 96 ]
CHINALB:/var/svc/log-#

论坛徽章:
0
3 [报告]
发表于 2010-04-22 16:18 |只看该作者
检查过hostname.??[0-9],hosts,defaultrouter等文件都没有问题。

论坛徽章:
0
4 [报告]
发表于 2010-04-22 16:25 |只看该作者
bash-3.00# cat /etc/path_to_inst|grep net
看下

论坛徽章:
0
5 [报告]
发表于 2010-04-22 16:29 |只看该作者
关于path_to_inst,我查过所有的ce口都和正常的机器一样。顺序也是对的。

但是运行devfsadm -v总是报错说ttymon没有配置。

touch /reconfigure; boot -r 也是不能更新这个文件。


稍后发一个prtconf

论坛徽章:
0
6 [报告]
发表于 2010-04-22 16:34 |只看该作者
附件为prtconf的输出,请帮看看

prtcfg.rar

8.31 KB, 下载次数: 18

prtconf

论坛徽章:
0
7 [报告]
发表于 2010-04-22 16:43 |只看该作者
设备正常识别了,有换卡尝试没?

论坛徽章:
0
8 [报告]
发表于 2010-04-22 16:45 |只看该作者
把硬盘拔出来换到其他机器,也不行。估计是哪里配置有问题

论坛徽章:
0
9 [报告]
发表于 2010-04-22 16:54 |只看该作者
手动可以plumb不?

论坛徽章:
0
10 [报告]
发表于 2010-04-22 17:05 |只看该作者
你不是网卡出问题了吗?你拔硬盘干嘛?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP