From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Iain Barker Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Changing ethernet device ennumeration order Date: Wed, 05 May 2004 12:31:21 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1083774811 31521 80.91.224.253 (5 May 2004 16:33:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 May 2004 16:33:31 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed May 05 18:33:12 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BLPKZ-0006bK-00 for ; Wed, 05 May 2004 18:33:11 +0200 Original-Received: (qmail 14031 invoked by uid 5); 5 May 2004 16:33:02 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14016 invoked by uid 49501); 5 May 2004 16:33:01 -0000 Original-Received: from ibarker@aastra.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.9/5.0):. Processed in 0.902791 secs); 05 May 2004 16:33:01 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 5 May 2004 16:33:00 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HX9009KI1YXOF@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 May 2004 12:32:59 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HX900G021YOMG@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 May 2004 12:32:49 -0400 (EDT) Original-Received: from mailfrnt.aastra.com (mail.aastra.com [216.94.98.95]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HX900F8J1YM1D@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 05 May 2004 12:32:47 -0400 (EDT) Original-Received: from bilmail.aastra.com ([10.50.2.10]) by mailfrnt.aastra.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 05 May 2004 12:31:22 -0400 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft Exchange V6.5.6944.0 Thread-Topic: MSL5000 not responding Thread-Index: AcQytnLG63Pqicn1TKiilYcpLUfYBwABEVRgAADY+aA= Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 05 May 2004 16:31:22.0301 (UTC) FILETIME=[66CB96D0:01C432BE] Xref: main.gmane.org gmane.os.tru64.managers:6906 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6906 Sorry, I should have read the manpage for hwmgr more closely. To answer my own question, the correct sequence is to first remove the = existing database entry, then add a new one specifying the physical slot = location (i.e. the cabinet cabling order): hwmgr -remove name -entry ee0 hwmgr -remove name -entry ee1 hwmgr -remove name -entry ee2 hwmgr -remove name -entry ee3 hwmgr -add name -component_name ee -component_num 0 -component_type = CONTROLLER -parent_name pci -parent_num 2 -slot 4 hwmgr -add name -component_name ee -component_num 1 -component_type = CONTROLLER -parent_name pci -parent_num 2 -slot 5 hwmgr -add name -component_name ee -component_num 2 -component_type = CONTROLLER -parent_name pci -parent_num 1 -slot 8 hwmgr -add name -component_name ee -component_num 3 -component_type = CONTROLLER -parent_name pci -parent_num 0 -slot 9 The end result is: HWID: NAME HOSTNAME PERSIST TYPE PERSIST AT -------------------------------------------------------------------------= ------- 59: ee3 csglf2 CONTROLLER pci0 slot 9 57: ee2 csglf2 CONTROLLER pci1 slot 8 56: ee1 csglf2 CONTROLLER pci2 slot 5 13: ee0 csglf2 CONTROLLER pci2 slot 4 Close enough. -----Original Message----- From: Iain Barker=20 Sent: Wednesday, 05 May, 2004 12:08 To: tru64-unix-managers@ornl.gov Subject: Changing ethernet device ennumeration order During a new Tru64 5.1b-1 install my DS20E Ethernet adapters ennumerated = in this order: HWID: NAME HOSTNAME PERSIST TYPE PERSIST AT -------------------------------------------------------------------------= ------- 59: ee3 csglf2 CONTROLLER pci0 slot 9 57: ee2 csglf2 CONTROLLER pci2 slot 5 56: ee1 csglf2 CONTROLLER pci2 slot 4 13: ee0 csglf2 CONTROLLER pci1 slot 8 How can I change the hwmgr database so that the correct cabling order is = used: HWID: NAME HOSTNAME PERSIST TYPE PERSIST AT -------------------------------------------------------------------------= ------- 59: ee3 csglf2 CONTROLLER pci0 slot 9 13: ee2 csglf2 CONTROLLER pci1 slot 8 57: ee1 csglf2 CONTROLLER pci2 slot 5 56: ee0 csglf2 CONTROLLER pci2 slot 4 For disks, the dsfmgr has a swap command, but it doesn't seem to work = for ee: devices. thanks.