以Qlogic qla2462 HBA card為例,當driver安裝好之後
driver moduler放在
/lib/modules/$(uname -r)/kernel/drivers/qla2xxx
編輯/etc/modprobe.conf
example:
alias scsi_hostadapter3 qla2400
重新建立inital ram disk,重新開機時載入qla2462的driver moduler
# cd /boot
# mkinitrd -v initrd-$(uname -r).img $(uname -r)
手動載入qla2462 moduler
# modprobe -v qla2400
卸載qla2462 moduler
# modeprobe -r qla2400
如果driver安裝後,driver moduler無法載入kernel,可能是driver compiler時的platform不同
,必須要重新compiler driver。
如果有已經安裝好driver的相同機型,則直接將qla2xxx的目錄複製過來即可。
2009年7月21日 星期二
2009年7月14日 星期二
如何查出PCI Devices的vendor &
在此以solaris做例子:
根據文件How can I determine/identify what Host Bus Adapter (HBA) is installed in a Solaris server?我們可以查出PCI Devices vendor ID跟device ID
=================================================================
# prtpicl -v
:name pci
SUNW,qlc (scsi-fcp, 1a40000041e)
:_fru_parent (1a400000bcfH)
:DeviceID 0x1
:UnitAddress 1
:vendor-id 0x1077
:device-id 0x2422
:revision-id 0x2
:subsystem-vendor-id 0x1077
:subsystem-id 0x141
:class-code 0xc0400
:cache-line-size 0x10
:interrupts 00 00 00 01
:min-grant 0x40
:max-latency 0
:latency-timer 0x40
:devsel-speed 0x1
:66mhz-capable
:fcode-rom-offset 0xaa00
:device_type scsi-fcp
:#address-cells 0x2
:#size-cells 0
:short-version 1.11 10/03/05
:compatible (1a40000044aTBL)
=================================================================
這裡我們可以看到Vendor ID是1077,Device ID是2422。
然後到The PCI ID Repository去查出1077是屬於哪家vendor
最後查出的結果如下:
http://pci-ids.ucw.cz/read/PC/1077/2422
因此最後我們知道,這張PCI卡是Qlogic的246x
另外從subsystem-id:141,可以精確的得知,卡片型號是:SG-XPCI2FC-QF4
另一個查詢PCI的網頁
PCIDatabase.com
根據文件How can I determine/identify what Host Bus Adapter (HBA) is installed in a Solaris server?我們可以查出PCI Devices vendor ID跟device ID
=================================================================
# prtpicl -v
:name pci
SUNW,qlc (scsi-fcp, 1a40000041e)
:_fru_parent (1a400000bcfH)
:DeviceID 0x1
:UnitAddress 1
:vendor-id 0x1077
:device-id 0x2422
:revision-id 0x2
:subsystem-vendor-id 0x1077
:subsystem-id 0x141
:class-code 0xc0400
:cache-line-size 0x10
:interrupts 00 00 00 01
:min-grant 0x40
:max-latency 0
:latency-timer 0x40
:devsel-speed 0x1
:66mhz-capable
:fcode-rom-offset 0xaa00
:device_type scsi-fcp
:#address-cells 0x2
:#size-cells 0
:short-version 1.11 10/03/05
:compatible (1a40000044aTBL)
=================================================================
這裡我們可以看到Vendor ID是1077,Device ID是2422。
然後到The PCI ID Repository去查出1077是屬於哪家vendor
最後查出的結果如下:
http://pci-ids.ucw.cz/read/PC/1077/2422
Main -> PCI Devices -> Vendor 1077 -> Device 1077:2422
Name: ISP2422-based 4Gb Fibre Channel to PCI-X HBA
Discussion
Name: QLA2422 Fibre Channel Adapter
andrew.vasquez
2005-11-22 20:01:17
Name: QLA246x / QMx246x: 4Gb Fibre Channel to PCI-X HBAs / Mezzanine Cards
current entry for "name" is incorrect
sameer.shurpalekar
2006-09-25 20:18:31
Name: ISP2422-based 4Gb Fibre Channel to PCI-X HBAs (QLA246x/QMx246x)
current entry is inaccurate and OEMs/customers are requesting that we include HBA model names to make it easier for end users to identify the HBAs more easily.
sameer.shurpalekar
2006-10-04 08:12:47
Name: ISP2422-based 4Gb Fibre Channel to PCI-X HBA
current entry is inaccurate
sameer.shurpalekar
2006-10-05 15:17:59
因此最後我們知道,這張PCI卡是Qlogic的246x
另外從subsystem-id:141,可以精確的得知,卡片型號是:SG-XPCI2FC-QF4
另一個查詢PCI的網頁
PCIDatabase.com
2009年7月2日 星期四
訂閱:
文章 (Atom)