{"id":890,"date":"2008-07-08T21:49:01","date_gmt":"2008-07-09T01:49:01","guid":{"rendered":"http:\/\/blogs.sungeek.net\/unixwiz\/?p=890"},"modified":"2008-07-08T21:49:01","modified_gmt":"2008-07-09T01:49:01","slug":"decoding-sun-fire-25k-io-boat-locations","status":"publish","type":"post","link":"https:\/\/blogs.sungeek.net\/unixwiz\/2008\/07\/08\/decoding-sun-fire-25k-io-boat-locations\/","title":{"rendered":"Decoding Sun Fire 25K IO boat locations"},"content":{"rendered":"<p>Here is how to decode the Sun Fire E25K IO Boat locations. This is useful if you are trying to jumpstart a domain that has multiple ethernet cards in it. (Note even if you only have 1 physical card, there are other &#8220;ethernet&#8221; devices on the back side for the MAN and I2 networks).<\/p>\n<p>So lets take this example. Here is the out put of show-nets from a domain.<\/p>\n<p>{80} ok show-nets<br \/>\na) \/pci@bd,700000\/network@1<br \/>\nb) \/pci@bc,700000\/network@3,1<br \/>\nc) \/pci@bc,700000\/pci@1\/network@1<br \/>\nd) \/pci@bc,700000\/pci@1\/network@0<br \/>\ne) \/pci@9d,700000\/network@1<br \/>\nf) \/pci@9c,700000\/network@3,1<br \/>\ng) \/pci@9c,700000\/pci@1\/network@1<br \/>\nh) \/pci@9c,700000\/pci@1\/network@0<\/p>\n<p>The first step is to convert the hexadecimal agent id into binary. The agent id in the above example (line h for reference) is 9c. So 9c in binary is 00 1001 1100. The last 5 bits identify the IOC chip. A value of 0x1c is IOC0, whereas 0x1d is IOC1. So in the above, the last 5 bits is 11100 = 1c. The remaining first 5 bits of the agent id converted from binary to decimal will tell you the expander board. So 00 100 = 4 in decimal. So from this we can tell that the network card is in Expander 4 and IOC 0.<\/p>\n<p>Next is to identify the bus, that is the part after the , in the above example they are all 700000, which is bus B. Whereas 600000 is bus A.<\/p>\n<p>Bus A is the 33\/66-MHz, where as Bus B is the 33MHz.<\/p>\n<p>So as you are looking at an IO expander the B bus is the top 2 slots, and the A bus is the bottom 2 slots. The IO bridge 0 is the right and the IO bridge 1 is the left side.<\/p>\n<p>So in our example this Card is in the Top Right slot of the IO boat in expander board 4. Next since this card has 2 ports, you will see a network@0, and network@1. Which correspond to the port 0 and 1 on the card (which happens to be a dual port ethernet\/scsi card).<\/p>\n<p>Now that I have explained how it works, here is a quick cheat sheet:<\/p>\n<table border=1>\n<tr>\n<th>Device Agent ID<\/th>\n<th>Expander board<\/th>\n<\/tr>\n<tr>\n<td>1c<\/td>\n<td> 0<\/td>\n<\/tr>\n<tr>\n<td>3c<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>5c<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>7c<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>9c<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>bc<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>dc<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>fc<\/td>\n<td> 7<\/td>\n<\/tr>\n<tr>\n<td>11c<\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td>13c <\/td>\n<td> 9<\/td>\n<\/tr>\n<tr>\n<td>15c <\/td>\n<td> 10<\/td>\n<\/tr>\n<tr>\n<td>17c <\/td>\n<td> 11<\/td>\n<\/tr>\n<tr>\n<td>19c <\/td>\n<td> 12<\/td>\n<\/tr>\n<tr>\n<td>1bc <\/td>\n<td> 13<\/td>\n<\/tr>\n<tr>\n<td>1dc <\/td>\n<td> 14<\/td>\n<\/tr>\n<tr>\n<td>1fc <\/td>\n<td> 15<\/td>\n<\/tr>\n<tr>\n<td>21c <\/td>\n<td> 16<\/td>\n<\/tr>\n<tr>\n<td>23c <\/td>\n<td> 17<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Here is how to decode the Sun Fire E25K IO Boat locations. This is useful if you are trying to jumpstart a domain that has multiple ethernet cards in it. (Note even if you only have 1 physical card, there are other &#8220;ethernet&#8221; devices on the back side for the MAN and I2 networks). So &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blogs.sungeek.net\/unixwiz\/2008\/07\/08\/decoding-sun-fire-25k-io-boat-locations\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Decoding Sun Fire 25K IO boat locations&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5],"tags":[444,447],"class_list":["post-890","post","type-post","status-publish","format-standard","hentry","category-solaris","category-sun","tag-solaris","tag-sun"],"_links":{"self":[{"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/posts\/890","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/comments?post=890"}],"version-history":[{"count":0,"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/posts\/890\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/media?parent=890"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/categories?post=890"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sungeek.net\/unixwiz\/wp-json\/wp\/v2\/tags?post=890"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}