From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Cohen, Andy" Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: HBA: How to install Date: Mon, 18 Jul 2005 08:52:53 -0400 Message-ID: <9D592DB37A92234AB635C5585D2D081902FFA412@cobra.pc.cognex.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1121691309 20977 80.91.229.2 (18 Jul 2005 12:55:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2005 12:55:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jul 18 14:54:58 2005 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1DuV8s-0006uf-2W for gotm-tru64-unix-managers@gmane.org; Mon, 18 Jul 2005 14:54:42 +0200 Original-Received: (qmail 22740 invoked by uid 49509); 18 Jul 2005 12:54:15 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 22725 invoked by uid 49501); 18 Jul 2005 12:54:15 -0000 Original-Received: from 160.91.4.110 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.110):SA:0(-2.5/5.0):. Processed in 3.685431 secs); 18 Jul 2005 12:54:15 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 18 Jul 2005 12:54:11 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IJT00B8FQI6TM@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 18 Jul 2005 08:54:10 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) id <0IJT00C02QGXQ4@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 18 Jul 2005 08:53:36 -0400 (EDT) Original-Received: from cognex.cognex.com (cognex-cp.cognex.com [198.232.30.75]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0IJT00BA9QGW1F@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 18 Jul 2005 08:53:21 -0400 (EDT) Original-Received: from atlantis.pc.cognex.com (atlantis.pc.cognex.com [10.10.160.5]) by cognex.cognex.com (8.12.11/8.12.11) with ESMTP id j6ICrJjr000184 for ; Mon, 18 Jul 2005 08:53:19 -0400 (EDT) Original-Received: from cobra.pc.cognex.com ([10.10.160.30]) by atlantis.pc.cognex.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 18 Jul 2005 08:52:53 -0400 Original-To: Tru64 Managers X-Envelope-from: Andy.Cohen@cognex.com X-MIMEOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Topic: SUMMARY: HBA: How to install Thread-Index: AcWLl5yTku/PnLQ2RTu+ePYiVQRRVw== Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on email.cind.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 X-OriginalArrivalTime: 18 Jul 2005 12:52:53.0342 (UTC) FILETIME=[9C976FE0:01C58B97] Xref: news.gmane.org gmane.os.tru64.managers:8441 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:8441 ORIGINAL QUESTION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D All, =20 We've got an Alphaserver 800 5/500 running T64 5.1A pk4. I believe that the last time I built the kernel (2/2004) I chose to include all the options. Now we want to add an HBA to the machine. We're in receipt of part number DS-KGPSA-Cx (or is -CA?) and want to install it. No instructions came with this whatsoever. How do I find out if I need to do anything after I've physically put it into the machine? How do I find out if we have the drivers installed already or if we need to download them? =20 Any help/suggestions is appreciated! =20 Thanks! Andy SUMMARY =3D=3D=3D=3D=3D=3D=3D Basically the answer was -- shut down the machine, install it (64-bit slot if available), fire it back up. It may be necessary to add a line into /sys/conf/HOSTNAME and rebuild the kernel (it was for us). Btw -- I was mistaken - we were already at PK6 (not PK4). Details =3D=3D=3D=3D=3D=3D=3D To see if the fibre adapter driver (the "emx" driver) is in the running kernel do: $ nm /vmunix | grep emx If you see many symbols, you're all set (just install the hardware and boot). If nothing is returned, the driver is not installed. To install the driver, edit /sys/conf/HOSTNAME and add the line: config_driver emx to the driver section. Then rebuild and install the kernel ('doconfig -c HOSTNAME'; cp /sys/HOSTNAME/vmunix /) and reboot. That's it! ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++ The latest firmware version should include the current Fibre adapter firmware. Current FW is always available from: http://ftp.digital.com/pub/Digital/Alpha/firmware/ Firmware version information is logged to the /var/adm/messages file by the kernel at boot time. > How about PK release? Is there a recommendation for that? Somebody > thought we should go to PK6 since we'll be connecting to a SAN. The latest patch kit is highly recommended. It includes many fixes to prevent known system problems and the latest EMX driver (which prevents known SAN/system hangs). The current kit is available from: http://www.itrc.hp.com/ You should also read through the available Early Release Patches (ERPs) - these are also on ITRC and address problems that have been seen often by other customers. +++++++++++++++++++++++++++++++ This is what I normally do . I boot the system with genvmunix and it surely will detect the card in question ( My experience is limited to popping in SCSI cards, I have never done this with HBAs). Else look for NHD . +++++++++++++++++++++++++++++++++ Drivers for the HBAs should be part of the OS, the only trick is to make sure that the hardware is seen for the new kernel build. You should not need a new hardware disk for this. Halt to the SRM console. Boot using the genvmunix kernel: b -fi genvmunix Build a new kernel: doconfig -c Reboot with new kernel The SysAdmin manual should detail these same steps for adding new hardware. Some other things to think of: 1. This might be a good time to make sure that your AlphaServer firmware is up to date. 2. This is also a good time to check the revision level on the board firmware. If you have more than one card they should be at the same level. The board firmware is on the Alpha firmware cdrom, but requires cutting a separate CD or floppy and booting into the ARC/AlphaBIOS console. The instructions are in the README on the firmware CDROM. 3. Consider staying at 3.82A1 for the KGPSA. The 3.9.1A1 firmware is current and should normally be the right course. However, HP released customer advisory OC040528_CW01 that warns about problems going to the 3.9.1A1 firmware with older servers (specifically 1200, 4000, and 4100 series). The AS800 is a contemporary of these servers, so it may be affected as well. The recommendation is to use the older 3.8.2A1 firmware on KGPSA boards in these systems. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ The driver is included with Tru64 UNIX so there's no need to download anything. During installation if you don't have a specific type of hardware installed in the machine, Tru64 is smart enough not to include the driver in the kernel (each driver that is installed uses more memory). So to add the new hardware, you need to build a new kernel that explicitly has support for this new adapter. When you add the line config_driver emx to the configuration file (/sys/conf/{HOSTNAME}) you'll ensure that all future kernel builds will include support for fibre adapters. Then you'll build a new kernel manually with: # doconfig -c {HOSTNAME} and then install this new kernel by doing: # cp /vmunix /vmunix.old # cp /sys/{HOSTNAME}/vmunix / Then reboot to begin using this new kernel. ++++++++++++++++++++++++++++++++++++++++++ Thanks to Jason Orendorf, Benjamin Ingwersen, Yogesh Bhanu, Tom Webster, Dirk Kleinhesselink, and Warren Sturm. My apologies for the delay -- it took a long time to get down time scheduled for this machine and then it turned out that the first card we got was bad (no WWN -- it was all zeroes!). The second card worked perfectly. Andy