Aug 03

view netcard driver version infomation:

[root@localhost DRIVER]# modinfo bnx2
filename: /lib/modules/2.6.18-164.el5/updates/bnx2.ko
version 2.0.2
license: GPL
desciption: Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver

check netcard type

[root@localhost ~]# kudzu –probe –class=network
-
class: NETWORK
bus: PCI
detached: 0
device: eth0
driver: bnx2
desc: "Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet"
network.hwaddr: 84:2b:2b:42:01:b1
vendorId: 14e4
deviceId: 163b
subVendorId: 1028
subDeviceId: 028c
pciType: 1
pcidom:    0
pcibus:  1
pcidev:  0
pcifn:  0

download new version driver from fllow url

http://www.broadcom.com/support/ethernet_nic/netxtremeii.php

Install src rpm and compile:

unzip linux-6.2.23.zip
cd Server/Linux/Driver
rpm ivh netxtreme2-6.2.23-1.src.rpm
cd /usr/src/redhat/
rpm -bb SPECS/netxtreme2.spec

Compile Success will output fllow info

Wrote: /usr/src/redhat/RPMS/i386/netxtreme2-4.8.10-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.59603
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd netxtreme2-4.8.10
+ rm -rf /var/tmp/netxtreme2-buildroot /usr/src/redhat/BUILD/file.list.netxtreme2
+ exit 0

Install rpm:

rpm -ivh RPMS/x86_64/netxtreme2-6.2.23-1.x86_64.rpm
1:netxtreme2 ######################## [100%]

reboot the host or run fllow script

vi lan-up.sh
#!/bin/sh 
rmmod bnx2
modprobe bnx2

view driver info

[root@localhost redhat]# modinfo bnx2
filename:       /lib/modules/2.6.18-194.el5/updates/bnx2.ko
version:        2.0.23b
license:        GPL
description:    Broadcom NetXtreme II BCM5706/5708/5709/5716 Driver
author:         Michael Chan <mchan@broadcom.com>
srcversion:     6E0DD070AB24C11F50B2712
alias:          pci:v000014E4d0000163Csv*sd*bc*sc*i*
alias:          pci:v000014E4d0000163Bsv*sd*bc*sc*i*
alias:          pci:v000014E4d0000163Asv*sd*bc*sc*i*
alias:          pci:v000014E4d00001639sv*sd*bc*sc*i*
alias:          pci:v000014E4d000016ACsv*sd*bc*sc*i*
alias:          pci:v000014E4d000016AAsv*sd*bc*sc*i*
alias:          pci:v000014E4d000016AAsv0000103Csd00003102bc*sc*i*
alias:          pci:v000014E4d0000164Csv*sd*bc*sc*i*
alias:          pci:v000014E4d0000164Asv*sd*bc*sc*i*
alias:          pci:v000014E4d0000164Asv0000103Csd00003106bc*sc*i*
alias:          pci:v000014E4d0000164Asv0000103Csd00003101bc*sc*i*
depends:       
vermagic:       2.6.18-194.el5 SMP mod_unload gcc-4.1
parm:           disable_msi:Disable Message Signaled Interrupt (MSI) (int)
parm:           stop_on_tx_timeout:For debugging purposes, prevent a chip  reset when a tx timeout occurs (int)

Tagged with:
Jun 22

Installing PHP 5.2.x or 5.3.x on RedHat ES5, CentOS 5, etc

To install PHP 5.2.5 (Highest in repository at this time) you can make use of a RPM repository maintained by Remi.

1. download about software

wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

2. install

rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

3. update php

yum –enablerepo=remi update php

Tagged with:
Jun 03

I want upgrade to the wordpress relase Beta2 in tommorow. But I found the new version will be released in recent days, so you want to wait a few days.

The release date for WordPress 2.8 has almost been confirmed, according to the latest blog post on the WordPress development blog, the target date for releasing WordPress 2.8 is June 10th.

However this is only a target date and may not end up as being the release date in the end, however it would be good to see it released soon, considering the good number of features it has.

If you haven’t yet gotten a chance to take a look or test out WordPress 2.8, take a look at the Hands-on Review of WordPress 2.8 we did earlier today.

Tagged with:
preload preload preload