SUMMARY: Changing ethernet device ennumeration order

From: Iain Barker <ibarker_at_aastra.com>
Date: Wed, 05 May 2004 12:31:21 -0400

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
Sent: Wednesday, 05 May, 2004 12:08
To: tru64-unix-managers_at_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.
Received on Wed May 05 2004 - 16:33:47 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT