Pages

Wednesday, July 27, 2011

Disable MSI on a bnx2 driver

Today I had a customer telling me that his network on one machine is slow sometimes. I took a look at it and and saw some Broadcom devices (I don't remember the model) and the bnx2 driver loaded. Also both devices were attached to a bonding device. First step was to figure out the active interface:

Monday, July 25, 2011

Obtaining NIC/LAN information in HP-UX

First find out which devices are available, by which dirver it is used, hardware path etc:

# ioscan -fnClan
Class     I  H/W Path       Driver   S/W State   H/W Type     Description

==========================================================================
lan       0  0/4/2/0        iether   CLAIMED     INTERFACE    HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan       1  0/4/2/1        iether   CLAIMED     INTERFACE    HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan       2  0/6/0/0/0/0/0/0/0/0  iether   CLAIMED     INTERFACE    HP AD337-60001 PCIe 1000Base-T Dual-port Adapter
lan       3  0/6/0/0/0/0/0/0/0/1  iether   CLAIMED     INTERFACE    HP AD337-60001 PCIe 1000Base-T Dual-port Adapter


Configuring NTP in HP-UX

Assuming 192.168.1.1 is your local NTP server, then you need to edit /etc/rc.config.d/netdaemons first. Add your NTP server to NTPDATE_SERVER and change the value for XNTPD from 0 (zero) to 1 (one):