作者 主題: CentOS 5.4 連線問題  (閱讀 6418 次)

0 會員 與 1 訪客 正在閱讀本文。

juangyh

  • 可愛的小學生
  • *
  • 文章數: 24
    • 檢視個人資料
CentOS 5.4 連線問題
« 於: 2011-12-21 17:47 »
狀況  SELinux關閉 ,  IPTABLES關閉,
SSH無法連線 LAN IP無PING,
本機root登入tty後 隨便PING對外的一個 DNS,
馬上就可以連SSH其他電腦也PING的到,
但是從外面的連線結束之後  就又都無反應了
請問各位有無遇到這種奇怪的狀況...一起安裝的就幾台可以幾台不行
 

Dec 22 14:09:46 localhost93 kernel: bnx2: eth0: using MSIX
Dec 22 14:09:46 localhost93 kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Dec 22 14:09:46 localhost93 kernel: bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex
Dec 22 14:09:46 localhost93 kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

使用機器HP DL360G7 & G6



[root@localhost91 ~]# dmesg | grep eth0
eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem f4000000, IRQ 162, node addr 1cc1dee64ac8
bnx2: eth0: using MSIX
bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex
eth0: no IPv6 routers present
[root@localhost91 ~]#  su -c "lspci | grep -i ether"
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
03:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
04:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
04:00.1 Ethernet controller: Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
[root@localhost91 ~]#  /usr/sbin/ethtool -i eth0
driver: bnx2
version: 1.9.3
firmware-version: 5.2.2 NCSI 2.0.6
bus-info: 0000:03:00.0

« 上次編輯: 2011-12-23 09:24 由 juangyh »

juangyh

  • 可愛的小學生
  • *
  • 文章數: 24
    • 檢視個人資料
Re: CentOS 5.4 連線問題
« 回覆 #1 於: 2011-12-23 09:24 »
好像是5.4 5.5對HP DELL機器的BUG
可能解決方法(待觀察)...升級到2.0.3B 無效
1.更新網卡驅動
wget netxtreme2-6.2.23.tar.gz
tar xvf netxtreme2-6.2.23.tar.gz
cd netxtreme2-6.2.23/bnx2/src/
make && make install && reboot

再來就是
2.yum upgrade 更新核心,反正機器還沒上線

最爛的方法(會使網卡CPU LOAD 集中在一顆)
3.關閉bnx2的 MSI
vi /etc/modprobe.conf
options bnx2 disable_msi=1

4.關閉OS ACPI功能
vi /boot/grub/grub.conf
root (hd0,0)     
kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 acpi=off #內核引導行最後添加acpi=off關閉         
initrd /initrd-2.6.18-194.el5.img

找了幾台有問題機器測試了四個方法都還是有問題 ,  懷疑是不是見鬼了...
打算重灌CENTOS 5.6 or 5.7
« 上次編輯: 2011-12-23 11:40 由 juangyh »

hikohan

  • 俺是博士!
  • *****
  • 文章數: 1288
    • 檢視個人資料
Re: CentOS 5.4 連線問題
« 回覆 #2 於: 2011-12-23 13:58 »
網路卡問題幹嘛重灌?插一張菜市場卡就知道是網路問題還是規則問題。

安裝新的driver,編譯成功insmod, modprobe完成後,應該就可以連線,除非...

不是正確的驅動程式。

用puppy或者其他iso linux開機,連上線,就知道網卡驅動。
lifeIsFunWithPHP.

juangyh

  • 可愛的小學生
  • *
  • 文章數: 24
    • 檢視個人資料
Re: CentOS 5.4 連線問題
« 回覆 #3 於: 2011-12-23 18:15 »
就是試到沒招了,才試試看是看重灌排去法
有確定新DRIVER正確安裝了,其實一直都可以連線, 只是會自動切斷後就再也不起
SERVER不太好找螃蟹卡替換上去 .... 都是PCIE低
今天換了CentOS 5.6 驅動比我裝的還要新 2.0.8,問題依舊 ???
看來要升級韌體了,一方面已經找幾台報修 等換主機板
« 上次編輯: 2011-12-23 18:26 由 juangyh »

hikohan

  • 俺是博士!
  • *****
  • 文章數: 1288
    • 檢視個人資料
Re: CentOS 5.4 連線問題
« 回覆 #4 於: 2011-12-23 18:37 »
還有一種,叫做 USB 網路卡。
lifeIsFunWithPHP.

juangyh

  • 可愛的小學生
  • *
  • 文章數: 24
    • 檢視個人資料
Re: CentOS 5.4 連線問題
« 回覆 #5 於: 2011-12-23 18:41 »
還有一種,叫做 USB 網路卡。

這倒一時沒想起來 , 不過報修時一問是蠻多災情的
不遑HP DELL IBM都有 沒早點問自己搞半天...
主要也是這些機器都用一年了,沒想到跟OS起了衝突...之前都是2K8

rainday

  • 鑽研的研究生
  • *****
  • 文章數: 740
  • 性別: 男
  • enhancing and optimizing
    • 檢視個人資料
Re: CentOS 5.4 連線問題
« 回覆 #6 於: 2011-12-23 22:37 »
對外ping完會通,聽狀況比較像路由或gateway arp cache問題

我的centos是自己upgrade kernel
在多款直立或機架式dell機型網卡BCM5709 , 沒有遇過這問題
你要不要直上centos 6.x,畢竟kernel比較新
<0  =_=  Don't learn to hack , hack to learn.

acty

  • 鑽研的研究生
  • *****
  • 文章數: 695
    • 檢視個人資料
    • UNIX 管理者的學習紀錄
Re: CentOS 5.4 連線問題
« 回覆 #7 於: 2011-12-24 02:14 »
 你該不會用 ghost / clonezilla 裝的吧.....
 又設固定  ip  沒改好
 所以..... 開起來  網路互衝  有的可以連  有的不行

 不過我猜猜的   
~~破窗計畫來囉~~~

學習與挑戰是我的樂趣... HIT!!
我知道的不多  但歡迎大家以起來討論

UNIX 管理者的學習紀錄 - http://actychen.wordpress.com