免费注册 查看新帖 |

Chinaunix

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

Solaris X86服了你, 网卡问题(只发不收?),高手请进! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-01-11 03:59 |只看该作者 |倒序浏览
机器安装的是Solaris10 X86,网卡是3Com 905,安装完成后发现只能ping通自己。从测试现象看ping的报文确实发出去了,网卡也收到了返回的报文,但ping命令显示未收到。详见以下说明:
(说明:newmac机器上运行的是Solaris10 X86,oldmac上运行的是Windows2000)

1  相关配置文件

/etc/hosts
127.0.0.1       localhost
192.168.5.11    newmac  loghost
192.168.5.1     oldmac

/etc/netmasks
192.168.5.0     255.255.255.0

/etc/hostname.elxl0
newmac

/etc/nodename
newmac




2  执行相关命令的输出(以“#”开头表示命令):

# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>; mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
elxl0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>; mtu 1500 index 2
        inet 192.168.5.11 netmask ffffff00 broadcast 192.168.5.255
        ether 0:60:8:ad:8a:51

# netstat -r

Routing Table: IPv4
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.5.0          newmac               U         1      4  elxl0
224.0.0.0            newmac               U         1      0  elxl0
localhost            localhost            UH       17    133  lo0

# ls -l /dev/elxl0
lrwxrwxrwx   1 root     root          39 Jan 10 16:42 /dev/elxl0 ->; ../devices/pci@0,0/pci10b7,9050@a:elxl0

# ls -l /devices/pci@0,0/pci10b7,9050@a:elxl0
crw-rw-rw-   1 root     sys        7,  1 Jan 10 16:45 /devices/pci@0,0/pci10b7,9050@a:elxl0

# prtconf|grep pci10b7
        pci10b7,9050, instance #0

# more /etc/path_to_inst|grep elxl
"/pci@0,0/pci10b7,9050@a" 0 "elxl"

# dmesg | grep  elxl
Jan 10 18:53:00 newmac pcplusmp: [ID 637496 kern.info] pcplusmp: pci10b7,9050 (elxl) instance 0 vector 0x28 ioapic 0x1 intin 0x12 is bound to cpu 0
Jan 10 18:53:00 newmac gld: [ID 944156 kern.info] elxl0: 3Com 90XX LAN driver: type "ether" mac address 00:60:08:ad:8a:51
Jan 10 18:53:00 newmac pci: [ID 370704 kern.info] PCI-device: pci10b7,9050@a, elxl0
Jan 10 18:53:00 newmac genunix: [ID 936769 kern.info] elxl0 is /pci@0,0/pci10b7,9050@a
Jan 10 19:37:18 newmac pcplusmp: [ID 637496 kern.info] pcplusmp: pci10b7,9050 (elxl) instance 0 vector 0x28 ioapic 0x1 intin 0x12 is bound to cpu 0
Jan 10 19:37:18 newmac gld: [ID 944156 kern.info] elxl0: 3Com 90XX LAN driver: type "ether" mac address 00:60:08:ad:8a:51
Jan 10 19:37:18 newmac pci: [ID 370704 kern.info] PCI-device: pci10b7,9050@a, elxl0
Jan 10 19:37:18 newmac genunix: [ID 936769 kern.info] elxl0 is /pci@0,0/pci10b7,9050@a





3  相关测试结果:

依次执行ping -s oldmac 和 ping -s 192.168.5.255 命令的同时执行snoop命令,snoop的部分输出为:
Using device /dev/elxl0 (promiscuous mode)
      newmac ->; oldmac       ICMP Echo request (ID: 624 Sequence number: 47)
      newmac ->; oldmac       ICMP Echo request (ID: 624 Sequence number: 4
      newmac ->; oldmac       ICMP Echo request (ID: 624 Sequence number: 49)
      newmac ->; oldmac       ICMP Echo request (ID: 624 Sequence number: 50)
      newmac ->; 192.168.5.255 ICMP Echo request (ID: 626 Sequence number: 0)
      newmac ->; 192.168.5.255 ICMP Echo request (ID: 626 Sequence number: 1)
      newmac ->; 192.168.5.255 ICMP Echo request (ID: 626 Sequence number: 2)

newmac ping oldmac时,使用“网络监视器”工具、arp -a命令以及两台机器网卡的指示灯可以确认,oldmac收到来自newmac的报文,并回了报文(网卡指示灯显示newmac应收到的该报文);oldmac ping newmac时,oldmac未收到回来的报文。即newmac(Solaris)上可以发出报文,但正常接收报文。




在多次测试过程中,在newmac机器上执行arp -a命令时曾看到以下结果(说明newmac驱动程序曾收到来自oldmac的报文),但该现象无法重现:
# arp -a
Net to Media Table: IPv4
Device   IP Address               Mask      Flags   Phys Addr
------ -------------------- --------------- ----- ---------------
elxl0  224.0.0.2            255.255.255.255       01:00:5e:00:00:02
elxl0  oldmac               255.255.255.255       00:05:5d:61:ce:5f        (Note: this line)
elxl0  newmac               255.255.255.255 SP    00:60:08:ad:8a:51
elxl0  224.0.0.0            240.0.0.0       SM    01:00:5e:00:00:00


另外,将网卡更换PCI插槽后,机器不停reboot,也无法进入单用户模式,没办法只好将网卡还原到原来的插槽。使用devfsadm -i elxl命令,也无效果。使用DHCP(touch /etc/dhcp.elxl0)也无法获取IP地址。




4  其它说明

该网卡原先曾安装在oldmac上,在oldmac上安装有Windows2000和Solaris10 X86,进入Solaris时网卡工作正常(固定IP地址、DHCP动态获取地址均工作正常)。newmac机器的主板是华硕P4V533-MX,以前曾直接安装Solaris(无其它操作系统),由于各种原因无法完全安装;之后先安装Windows2000,再顺利安装Solaris,就发现网卡驱动问题。

论坛徽章:
0
2 [报告]
发表于 2004-01-11 11:11 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

网卡指示灯有亮吗?

论坛徽章:
0
3 [报告]
发表于 2004-01-11 13:09 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

有没有别的机器用newmac的IP地址?

论坛徽章:
0
4 [报告]
发表于 2004-01-11 16:27 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

指示灯显示收到数据。IP地址没有重复,启动newmac进入Windows2000系统,使用相同的IP配置,工作正常。

另外,请问哪些杀毒软件可在Windows2000 Server上使用,下载了norton2004, kv300, 金山毒霸等都不能在Server上安装。

论坛徽章:
0
5 [报告]
发表于 2004-01-11 17:39 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

你的网卡是不是坏了哦!!

论坛徽章:
0
6 [报告]
发表于 2004-01-11 17:46 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

BIOS -DISALBE ACPI

论坛徽章:
0
7 [报告]
发表于 2004-01-11 20:11 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

网卡是好的,在同一台机器Windows2000上工作正常,在另一台机器Solaris上工作也正常


BIOS ACPI的各种配置都试过,现象一样。

论坛徽章:
0
8 [报告]
发表于 2004-01-11 22:08 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

换一个hub或交换机试一下,我以前也遇到过类似现象,更换hub正常!!

论坛徽章:
0
9 [报告]
发表于 2004-01-11 22:53 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

采用的是对接网线,可以确定与连接、网卡没有关系,可能的问题:Solaris本身、驱动程序、与BIOS或主板等硬件兼容等问题,具体我也不知道。

没办法。  刚开始安装重启时连硬盘分区找不到、或安装的一半出现异常、或无法正常访问硬盘等等,Solaris X86真是整人。 就那ata-dma-enabled的设置来说,在oldmac上设置为0重启没问题,设置为1冷启动没问题、热启动不行,在newmac上怎么设置都行,ACPI的设置也怪,  服了你!

论坛徽章:
0
10 [报告]
发表于 2004-01-13 19:39 |只看该作者

Solaris X86服了你, 网卡问题(只发不收?),高手请进!

取下网卡后重新安装Solaris,然后再将网卡插入,结果仅第一次ping时显示:oldmac alive(arp -a 命令显示已获取oldmac机器上网卡的物理地址), 之后再怎么试都不通,也无法获取oldmac上网卡的物理地址,正是怪。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP