FOLLOW-UP : Solaris Controlers numbering

From: DAUBIGNE Sebastien - BOR (sebastien.daubigne@atosorigin.com)
Date: Fri Aug 13 2004 - 10:20:45 EDT


Thanks to :
- Lucien & Nicolas who suggested that controlers numbers are "assigned
in order of discovery" and "gets incremented when a driver (or controller)
is added"
- Bill for a good link about device mapping (unfortunately it doesn't
say anything about controler numbers) :
http://developers.sun.com/solaris/articles/devicemapping.html
<http://developers.sun.com/solaris/articles/devicemapping.html>

To go a little further, here is a sample /etc/path_to_inst, whith all
installed HBA in the exact order as they appear in /etc/path_to_inst.
The controler number is added at the bottom of each active (i.e. with disks)
controler with "==>" marks.

I still don't understand why the controlers are numbered 0,1,2, then
14,15,17,18.
Why did Solaris skip the numbers 3 to 13 ? Maybe they were "reserved" for
inactive controlers (they silently keep theses numbers is case of disk being
connected) ??
Why is lpfc instance 2 numbered c18, as instance 3 is numbered lower (c17) ?

"/pci@aa,2000/fibre-channel@1" 1 "lpfc" ==> c15
"/pci@88,2000/fibre-channel@1" 0 "lpfc" ==> c14
"/pci@c5,2000/fibre-channel@1" 3 "lpfc" ==> c17

"/pci@c4,2000/fibre-channel@1" 2 "lpfc" ==> c18
"/pci@c4,4000/scsi@3,1" 9 "glm"
"/pci@c4,4000/scsi@4,1" 7 "glm"
"/pci@c4,4000/scsi@3" 8 "glm"
"/pci@c4,4000/scsi@4" 6 "glm" ==> c2
"/pci@aa,4000/scsi@4,1" 5 "glm"
"/pci@aa,4000/scsi@4" 4 "glm" ==> c1
"/pci@88,4000/scsi@2,1" 3 "glm"
"/pci@88,4000/scsi@4,1" 1 "glm"
"/pci@88,4000/scsi@4" 0 "glm" ==> c0
"/pci@88,4000/scsi@2" 2 "glm"
"/pci@ee,4000/scsi@4" 10 "glm"
"/pci@ee,4000/scsi@4,1" 11 "glm"
"/pci@ee,4000/fibre-channel@2" 4 "lpfc"
"/pci@ee,2000/fibre-channel@1" 5 "lpfc"
"/pci@cc,4000/scsi@4" 12 "glm"
"/pci@cc,4000/scsi@4,1" 13 "glm"
"/pci@cc,2000/fibre-channel@1" 6 "lpfc"
"/pci@cd,2000/fibre-channel@1" 7 "lpfc"
"/pci@a2,4000/scsi@4" 14 "glm"
"/pci@a2,4000/scsi@4,1" 15 "glm"
"/pci@a2,4000/fibre-channel@3" 8 "lpfc"
"/pci@a2,2000/fibre-channel@1" 9 "lpfc"

--
Sebastien DAUBIGNE
Sebastien.daubigne@atosorigin.com <mailto:Sebastien.daubigne@atosorigin.com>
+33(0)5.57.26.56.36
AtosOrigin - ERP/Pessac
-----Message d'origine-----
De:	DAUBIGNE Sebastien  - BOR
Date:	vendredi 13 ao{t 2004 14:08
@:	'sunmanagers@sunmanagers.org'
Objet:	Solaris Controlers numbering
Hi,
Do one of you know how does Solaris (8) compute controlers numbers in
/dev/[r]dsk ?
I now that drivers instances are in /etc/path_to_inst, but I don't
understand how does Solaris maps it to controlers numbers, and if that can
be modified.
For instance, I have :
-	"/pci@88,2000/fibre-channel@1 <mailto:/pci@88,2000/fibre-channel@1>
" which is instance 0 of driver "lpfc" in /etc/path_to_inst, but is numbered
as "c14" in /dev/dsk,
-	"/pci@aa,2000/fibre-channel@1 <mailto:/pci@aa,2000/fibre-channel@1>
" which is instance 1 of driver "lpfc" in /etc/path_to_inst, but is numbered
as "c15" in /dev/dsk,
Is there any file that maintains the mapping ?
Thanks in advance.
--
Sebastien DAUBIGNE
Sebastien.daubigne@atosorigin.com <mailto:Sebastien.daubigne@atosorigin.com>
+33(0)5.57.26.56.36
AtosOrigin - ERP/Pessac
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:17 EDT