From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jim Fitzmaurice Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: My alt0 is now alt2. Date: Wed, 30 Oct 2002 15:03:28 -0600 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <029501c28057$cb707490$66e1e183@fnal.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1036011726 14302 80.91.224.249 (30 Oct 2002 21:02:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 21:02:06 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 186zyW-0003iL-00 for ; Wed, 30 Oct 2002 22:02:04 +0100 Original-Received: (qmail 27719 invoked by uid 5); 30 Oct 2002 21:03:09 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 27710 invoked by uid 49493); 30 Oct 2002 21:03:09 -0000 Original-Received: from jpfitz@fnal.gov by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(3.4/5.0):. Processed in 0.566173 secs); 30 Oct 2002 21:03:09 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 30 Oct 2002 21:03:08 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4T00G3OBT75Q@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-unix-managers@ornl.gov) ; Wed, 30 Oct 2002 16:03:08 -0500 (EST) Original-Received: from fnal.gov (heffalump.fnal.gov [131.225.9.20]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H4T00291BT1UE@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT Tru64-unix-managers@ornl.gov) ; Wed, 30 Oct 2002 16:03:02 -0500 (EST) Original-Received: from d0nt36 ([131.225.225.102]) by smtp.fnal.gov (PMDF V6.0-24 #37519) with SMTP id <0H4T005A4BT00S@smtp.fnal.gov> for Tru64-unix-managers@ornl.gov; Wed, 30 Oct 2002 15:03:00 -0600 (CST) Original-To: Tru64 -unix -managers X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-Priority: 3 X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:2268 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2268 I guess this is actually only a partial summary as I haven't rebooted yet, but one will be required. After my original question several people referred to the System Admin Guide Chapter 5, which I'd already referred to and couldn't find a clear answer in reference to PCI devices. Plenty of info on SCSI however. Some people actually sent the "hwmgr" commands that they'd used to move scsi devices. And one reference to a dsfmgr command that I mentioned in my update. One person, Tim Brown actually gave me an answer that might work, removing alt0, and alt2 then rebooting. To add some credibility to this answer, after I sent the update indicating I was working with a PCI device, I got the same answer from Dr. Blinn and Jan Mark Holzer. However, I didn't think this would work in my case, because I have an alt1, that I want to keep. And I'm not sure how the name algorithm works, so I was afraid deleting alt0 and alt2 then rebooting, would still bring up the device as alt2. I did not want to attempt deleting alt0, alt1, and alt2, then rebooting. I was afraid the two cards might come back reversed. The most complete answer and the one I used came from Phillip Brown who gave me two options. The first was a repeat of the option outlined above. The second option involved "telling" the name sub-system which name to use. I had more confidence in that method so, after asking for a little clarification on pci bus specification, I set it up. Now, I just have to wait for a studies period so I can reboot and see if it works. Mr. Brown also added a short explanation of why dsfmgr doesn't work in this case. I included his answer in it entirety, although I believe, in the last line, he meant "effective" not "affective". Unless he's really passionate about his devices. ;-) From: Brown, Phillip Sent: Tuesday, October 29, 2002 2:45 PM Subject: RE: UPDATE: My alt0 is now alt2. Hi, Jim: Your goal, to fix your naming problem, is resolved by removing your alt devices from the name sub-system and then rebooting. To remove the entries from the name sub-system, use the following commands: # hwmgr -remove name -entry alt2 <- and any others Then reboot your system and that device should become alt0. Or: Instead of relying on the name sub-system to assign the name during boot using its algorithm, you will "tell" the name sub-system what to use. You will need to look at the entries for the alt devices using this command: # hwmgr -show name You will notice the slot assigned to alt2. This is where the device is located. You'll use this slot number later. Remove the alt2 entry from the name sub-system using this command: # hwmgr -remove name -entry alt2 Now edit the alt0 entry to use the slot where the network device is now located. Do this using this command: # hwmgr -edit name -entry alt0 -slot xxx (where xxx is the slot where the device is currently located) Now reboot your system. As you may notice, this is a dynamic modification of the name sub-system's data - the names of the "hardware component", not the names of the "device special files". So, dsfmgr doesn't work in cases like these. Also, it requires a reboot (at this time) for the names to become affective whichever option you use. Regards, Phillip S. Brown HP Mission Critical UNIX Support Solutions Phone: 719.592.4809 Page: 1.800.759.8888 #1249433