我可以使用ifconfigconfiguratione1000g0和e1000g3 ,但我似乎无法使用e1000g1或e1000g2 。
当我尝试ifconfig e1000g1 plumb ,我得到ifconfig: plumb: e1000g1: Invalid argument 。
它们是物理上包含在系统中的一组四个以太网端口的一部分,但由于某种原因。 他们存在于/dev在相同的布局,在另一台X4100的工作正常。 甚至指向/devices/pci@0,0/pci1022,7450@1/pci1022,7450@1处的相同位置。 但是,在这个问题的X4100,1和2的项目不存在。 这可能是问题所在。
我怎样才能访问接口1和2,并让他们出现在/devices所以我可以访问他们?
这是prtconf -D的输出:
System Configuration: Sun Microsystems i86pc Memory size: 1024 Megabytes System Peripherals (Software Nodes): i86pc (driver name: rootnex) scsi_vhci, instance #0 (driver name: scsi_vhci) isa, instance #0 (driver name: isa) i8042, instance #0 (driver name: i8042) keyboard, instance #0 (driver name: kb8042) asy, instance #0 (driver name: asy) motherboard pci, instance #0 (driver name: pci) pci1022,7450, instance #0 (driver name: pci_pci) pci8086,1011, instance #0 (driver name: e1000g) pci8086,1011, instance #1 (driver name: e1000g) pci8086,1011 (driver name: e1000g) pci8086,1011, instance #3 (driver name: e1000g) pci1022,7451 pci1022,7450, instance #1 (driver name: pci_pci) pci1000,3060, instance #0 (driver name: mpt) sd, instance #2 (driver name: sd) sd, instance #4 (driver name: sd) sd, instance #5 (driver name: sd) pci1022,7451 pci1022,7460, instance #2 (driver name: pci_pci) pci1022,7464, instance #0 (driver name: ohci) device, instance #0 (driver name: usb_mid) keyboard, instance #2 (driver name: hid) mouse, instance #3 (driver name: hid) pci1022,7464, instance #1 (driver name: ohci) storage, instance #0 (driver name: scsa2usb) disk, instance #0 (driver name: sd) storage, instance #1 (driver name: scsa2usb) disk, instance #1 (driver name: sd) display, instance #0 (driver name: vgatext) pci1022,7468 pci-ide, instance #0 (driver name: pci-ide) ide (driver name: ata) ide (driver name: ata) pci1022,746a pci1022,746b pci1022,1100 pci1022,1101, instance #0 (driver name: mc-amd) pci1022,1102, instance #1 (driver name: mc-amd) pci1022,1103 pci, instance #1 (driver name: pci) pci1022,7450, instance #3 (driver name: pci_pci) pci1022,7451 pci1022,7450, instance #4 (driver name: pci_pci) pci1022,7451 iscsi, instance #0 (driver name: iscsi) pseudo, instance #0 (driver name: pseudo) options, instance #0 (driver name: options) xsvc, instance #0 (driver name: xsvc) objmgr, instance #0 (driver name: objmgr) used-resources cpus cpu, instance #0
詹姆斯要求的其他输出(IP,networking掩码,广播,使用字母x掩盖的以太)
# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet xxxx netmask xxxxxxxx broadcast xxxx ether x:xx:xx:xx:xx:xx e1000g3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet xxxx netmask xxxxxxxx broadcast xxxx ether x:xx:xx:xx:xx:xx # dladm show-dev e1000g0 link: up speed: 100 Mbps duplex: full # grep e1000g /etc/path_to_inst "/pci@0,0/pci1022,7450@1/pci8086,1011@1" 0 "e1000g" "/pci@0,0/pci1022,7450@1/pci8086,1011@1,1" 1 "e1000g" "/pci@0,0/pci1022,7450@1/pci8086,1011@2" 2 "e1000g" "/pci@0,0/pci1022,7450@1/pci8086,1011@2,1" 3 "e1000g" #
看起来像你的系统有一些奇怪的事情。
dladm输出只显示e1000g0。 它应该显示所有四个接口,即使他们没有铅垂。 更令人担忧的是,它并没有显示你的e1000g3接口是垂直的。
这里是来自T5120的等效输出(也使用e1000g),其中接口e1000g0和e1000g1探测和configuration了IP地址,另外两个接口没有探测和未连接:
# dladm show-dev e1000g0 link: up speed: 1000 Mbps duplex: full e1000g1 link: up speed: 1000 Mbps duplex: full e1000g2 link: unknown speed: 0 Mbps duplex: half e1000g3 link: unknown speed: 0 Mbps duplex: half # grep e1000g /etc/path_to_inst "/pci@0/pci@0/pci@1/pci@0/pci@2/network@0" 0 "e1000g" "/pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1" 1 "e1000g" "/pci@0/pci@0/pci@1/pci@0/pci@3/network@0" 2 "e1000g" "/pci@0/pci@0/pci@1/pci@0/pci@3/network@0,1" 3 "e1000g" # ls -l /devices/pci\@0/pci\@0/pci\@1/pci\@0/pci\@2/ total 4 drwxr-xr-x 2 root sys 512 Jan 20 2009 network@0 drwxr-xr-x 2 root sys 512 Jan 20 2009 network@0,1 crw-rw-rw- 1 root root 83, 2 Mar 4 2011 network@0,1:e1000g1 crw-rw-rw- 1 root root 83, 1 Mar 4 2011 network@0:e1000g0 # ls -l /devices/pci\@0/pci\@0/pci\@1/pci\@0/pci\@3/ total 4 drwxr-xr-x 2 root sys 512 Jan 20 2009 network@0 drwxr-xr-x 2 root sys 512 Jan 20 2009 network@0,1 crw-rw-rw- 1 root root 83, 4 Mar 4 2011 network@0,1:e1000g3 crw-rw-rw- 1 root root 83, 3 Mar 4 2011 network@0:e1000g2
我build议作为第一个行动的过程,你安排一些停机时间这个盒子,并执行重新configuration重新启动。 也就是说,
# touch /reconfigure # init 6
要么
# init 0 grub> boot -r
(我不记得如何在X系列机器上编辑GRUB选项,因为我没有任何要求,我想你在GRUB菜单中打开TAB并将-r添加到引导参数中。
一旦箱子恢复正常,请再次检查dladm show-dev 。