|
随着新版grldr的“|”、“>"管道命令已全面支持,chkpci检测硬件ID的应用也已展开,使用中发现以下问题:
1:虚拟机测试,设置虚拟机的硬盘为SCSI硬盘,SRSID.TXT:
PCI$
$PCI\VEN_1000&DEV_0622=symmpi
$PCI\VEN_1000&DEV_0624=symmpi
$PCI\VEN_1000&DEV_0628=symmpi
$PCI\VEN_1000&DEV_0030=symmpi
$PCI\VEN_1000&DEV_0032=symmpi
$PCI\VEN_1000&DEV_0050=symmpi
$PCI\VEN_1000&DEV_0054=symmpi
$PCI\VEN_1000&DEV_0058=symmpi
$PCI\VEN_1000&DEV_005E=symmpi
$PCI\VEN_1000&DEV_0056=symmpi
$PCI\VEN_1000&DEV_005A=symmpi
$PCI\VEN_1000&DEV_0640=symmpi
$PCI\VEN_1000&DEV_0646=symmpi
$PCI\VEN_1000&DEV_0062=symmpi
使用chkpci -cc:01 /SRSID.TXT,得到$PCI\VEN_1000&DEV_0058=symmpi
-------------------------------------
在SRSID.TXT中删除$PCI\VEN_1000&DEV_0058=symmpi
使用chkpci -cc:01 /SRSID.TXT,得到$PCI\VEN_1000&DEV_0054=symmpi
------------------------------------
再在SRSID.TXT中删除$PCI\VEN_1000&DEV_0058=symmpi
使用chkpci -cc:01 /SRSID.TXT,得到$PCI\VEN_1000&DEV_005E=symmpi
------------------------------------
再在SRSID.TXT中删除$PCI\VEN_1000&DEV_005E=symmpi
使用chkpci -cc:01 /SRSID.TXT,得到空
------------------------------------
我在实机intel主板的机器上,开启AHCI,SRSID.TXT:
PCI$
$PCI\VEN_8086&DEV_27C1=IASTOR
$PCI\VEN_8086&DEV_27C3=IASTOR
$PCI\VEN_8086&DEV_27C5=IASTOR
$PCI\VEN_8086&DEV_27C6=IASTOR
$PCI\VEN_8086&DEV_2681=IASTOR
$PCI\VEN_8086&DEV_2682=IASTOR
$PCI\VEN_8086&DEV_2683=IASTOR78
$PCI\VEN_8086&DEV_2821=IASTOR
$PCI\VEN_8086&DEV_2824=IASTOR78
$PCI\VEN_8086&DEV_2829=IASTOR
$PCI\VEN_8086&DEV_5029=IASTOR78
$PCI\VEN_8086&DEV_2922=IASTOR
$PCI\VEN_8086&DEV_2923=IASTOR78
$PCI\VEN_8086&DEV_2822=IASTOR
$PCI\VEN_8086&DEV_282A=IASTOR
$PCI\VEN_8086&DEV_2925=IASTOR78
$PCI\VEN_8086&DEV_2929=IASTOR
$PCI\VEN_8086&DEV_292C=IASTOR
$PCI\VEN_8086&DEV_3A22=IASTOR
$PCI\VEN_8086&DEV_3A02=IASTOR
$PCI\VEN_8086&DEV_3A23=IASTOR
$PCI\VEN_8086&DEV_3A03=IASTOR
$PCI\VEN_8086&DEV_3A05=IASTOR
$PCI\VEN_8086&DEV_3A25=IASTOR
$PCI\VEN_8086&DEV_3B22=IASTOR
$PCI\VEN_8086&DEV_3B23=IASTOR
$PCI\VEN_8086&DEV_3B24=IASTOR
$PCI\VEN_8086&DEV_3B25=IASTOR
$PCI\VEN_8086&DEV_3B29=IASTOR
$PCI\VEN_8086&DEV_3B2B=IASTOR
$PCI\VEN_8086&DEV_3B2C=IASTOR
$PCI\VEN_8086&DEV_3B2F=IASTOR
使用chkpci -cc:01 /SRSID.TXT,得到$PCI\VEN_8086&DEV_3A02=IASTOR
再按上述方法,分别得到:
$PCI\VEN_8086&DEV_3A02=IASTOR,对应ICH10D AHCI(6 Port)
$PCI\VEN_8086&DEV_3A03=IASTOR,对应ICH10 AHCI(4 Port)
$PCI\VEN_8086&DEV_3A05=IASTOR,对应ICH10 SATA RAID;2010
$PCI\VEN_8086&DEV_3A25=IASTOR,对应ICH10R SATA RAID;2010
$PCI\VEN_8086&DEV_3B22=IASTOR,对应PCH 6 Port SATA AHCI Controller
$PCI\VEN_8086&DEV_3B24=IASTOR,对应PCH SATA Enhanced RAID;2010
$PCI\VEN_8086&DEV_3B25=IASTOR,对应PCH SATA RAID;2010
$PCI\VEN_8086&DEV_3B29=IASTOR,对应PCHM 4 Port SATA AHCI Controller
$PCI\VEN_8086&DEV_3B2B=IASTOR,对应PCHM SATA Enhanced RAID;2010
$PCI\VEN_8086&DEV_3B2C=IASTOR,对应PCHM SATA RAID;2010
$PCI\VEN_8086&DEV_3B2F=IASTOR,对应PCHM 6 Port SATA AHCI Controller
空
--------------
这就产生同一硬件发生匹配多个ID的情况,虽然最佳匹配生成一个,但有可能是错误的。
[ 本帖最后由 zhaohj 于 2010-10-29 11:39 编辑 ] |
|