Friday, April 24, 2009

Dell M610 without QLogic?

Dell's M610, unlike the 605 or 600, does not seem to be available with a QLogic HBA. I have had good results with the native qlaxxx module and I like saving time by using stock RHEL5 kernels. The 610 comes with an Emulex LPE1205-M and I'm trying to verify that the lpfc module will work with it and verify that it is native in the RHEL stock kernel. RedHat seems to imply that it is.

Update: The lpfc driver shipped with RHEL 5.3 will work with the Emulex LPe1205-M

Details:
According to RedHat, the lpfc driver shipped with RHEL5 U3 is: 8.2.0.33.3p. The Emulex site for the LPe1205-M links to a Linux kernel drivers section which links to SuSE's lpfc download site and EMC Manual describing the lpfc. According to another Emulex site, the 8.2.x.x driver supports the LPe12xx and LPe1200x series adapters. They also go so far as to list Red Hat 5.2 (which ships with 8.2.0.22) as a distro which "include[s] a driver on the installation media supporting the LPe12xx and LPe1200x series adapters.

Update 2: A stock kernel from RHEL5.3 is working with the Emulex LPe1205-M. The correct module was loaded automatically and I'm able to see my LUNs:

# lsmod | grep lpfc
lpfc                  353933  0 
scsi_transport_fc      73801  1 lpfc
scsi_mod              196825  6 scsi_dh,sg,lpfc,scsi_transport_fc,megaraid_sas,sd_mod
# cat /etc/issue
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Kernel \r on an \m

# fdisk -l | tail -6
Disk /dev/sde: 697.9 GB, 697932185600 bytes
255 heads, 63 sectors/track, 84852 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       84852   681573658+  8e  Linux LVM
# 

Tuesday, April 21, 2009

vpnc

I'm using the FOSS vpnc for ipsec VPN connections on my College's Cisco network.

 

Tuesday, April 7, 2009

Standard Server Debug Questions

I'm working on a set of standard questions to ask if a server has a problem:
  1. What do the logs say? (check dmesg or /var/log/messages if nothing else)
  2. Is any other process running during the same window?
  3. Is your server dropping packets? (ifconfig eth0, ifconfig eth1, ethtool eth0?)
  4. What type of storage is your server using?
  5. What filesystem and mount options are you using? (output of /bin/mount)
  6. Have you examined the filesystems with iostat?
  7. When was your last fsck?
  8. Have you strace'd the process with a problem?

Monday, April 6, 2009

No Free Runner?

Open Moko cancels Free Runner. Is Android Free enough?

Wednesday, April 1, 2009

yum claims there are no updates

If a yum update reports there are updates when it is clear that there are, try unregistering the system with the repository and re-registering. If that fails you might have a corrupt yum cache. Yum downloads items into cache, and then checks it going forward. If this is corrupt, then it will break updates. This fix is to clear out the cache by emptying the contents of /var/cache/yum and /var/spool/up2date.