免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3647 | 回复: 4
打印 上一主题 下一主题

solaris 中如何查看HBA的微码? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-14 17:01 |只看该作者 |倒序浏览
solaris 中如何查看HBA的微码?

有资料说用命令fcinfo,但操作系统好像默认不安装

用prtpicl -v -c scsi-fcp可以得到如下输出

  SUNW,qlc (scsi-fcp, 7f00001e23)
  eviceID      0x2
  :UnitAddress   2
  :vendor-id     0x1077
  :device-id     0x2300
  :revision-id   0x1
  :subsystem-vendor-id   0x1077
  :subsystem-id  0x106
  :min-grant     0x40
  :max-latency   0
  :cache-line-size       0x10
  :latency-timer         0x40
  :interrupts    00  00  00  01
  :class-code    0xc0400
  :devsel-speed  0x1
  :fast-back-to-back
  :66mhz-capable
  :fcode-rom-offset      0
  :version       ISP2300 Host Adapter Driver: 1.14.09 03/08/04
  :device_type   scsi-fcp
  :#address-cells        0x2
  :#size-cells   0
  :manufacturer  QLGC
  :compatible   (7f00001e32TBL)
   | pci1077,2300.1077.106.1 |
   | pci1077,2300.1077.106 |
   | pci1077,106 |
   | pci1077,2300.1 |
   | pci1077,2300 |
   | pciclass,0c0400 |
   | pciclass,0c04 |
  :reg  
00  00  10  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00
01  00  10  10  00  00  00  00  00  00  00  00  00  00  00  00  00  00  01  00
02  00  10  14  00  00  00  00  00  00  00  00  00  00  00  00  00  00  10  00
  :node-wwn      20  00  00  e0  8b  19  28  69
  :port-wwn      21  00  00  e0  8b  19  28  69
  :assigned-addresses   
81  00  10  10  00  00  00  00  00  00  04  00  00  00  00  00  00  00  01  00
82  00  10  14  00  00  00  00  00  10  20  00  00  00  00  00  00  00  20  00
82  00  10  30  00  00  00  00  00  14  00  00  00  00  00  00  00  02  00  00
  :hba0-adapter-hard-loop-ID     0
  :hba0-enable-adapter-hard-loop-ID      0
  :devfs-path    /pci@9,600000/SUNW,qlc@2
  :driver-name   qlc
  :binding-name  pci1077,2300
  :bus-addr      2
  :instance      2
  :_class        scsi-fcp
  :name  SUNW,qlc


不知道里面哪个是微码的版本,  fcode-rom-offset好像不是
请问还有其他命令吗?

论坛徽章:
0
2 [报告]
发表于 2008-03-14 17:50 |只看该作者
用 luxadm 命令应该可以看

论坛徽章:
0
3 [报告]
发表于 2008-03-14 18:11 |只看该作者
:version       ISP2300 Host Adapter Driver: 1.14.09 03/08/04
就是这个了吧,如果想得到详细信息可以到ok下
{1} ok cd /pci@1e,600000/scsi@2
{1} ok .properties
assigned-addresses       81001010 00000000 00000a00 00000000 00000100
                         83001014 00000000 00100000 00000000 00020000
                         8300101c 00000000 00120000 00000000 00020000
                         82001030 00000000 00200000 00000000 00100000
compatible               pci1000,30.1000.10c0.8
                         pci1000,30.1000.10c0
                         pci1000,10c0
                         pci1000,30.8
                         pci1000,30
                         pciclass,010000
                         pciclass,0100
model                    LSI,1030
reg                      00001000 00000000 00000000 00000000 00000000
                         01001010 00000000 00000000 00000000 00000100
                         03001014 00000000 00000000 00000000 00020000
                         0300101c 00000000 00000000 00000000 00020000
                         02001030 00000000 00000000 00000000 00100000
version                  LSI1030 SCSI Host Adapter FCode Driver: 1.13 07/02/22 Release 4.25.1
device_type              scsi-2
name                     scsi
fcode-rom-offset         00000000
66mhz-capable
devsel-speed             00000001
class-code               00010000
interrupts               00000001
latency-timer            00000040
cache-line-size          00000010
max-latency              00000006
min-grant                00000010
subsystem-id             000010c0
subsystem-vendor-id      00001000
revision-id              00000008
device-id                00000030
vendor-id                00001000

论坛徽章:
4
技术图书徽章
日期:2013-09-23 10:22:37狮子座
日期:2013-10-15 23:31:54卯兔
日期:2013-11-11 17:33:15金牛座
日期:2013-11-15 17:25:28
4 [报告]
发表于 2008-03-14 23:49 |只看该作者
dmesg可以看得到

论坛徽章:
0
5 [报告]
发表于 2008-03-15 18:11 |只看该作者
luxadm qlgc
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP