无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3611|回复: 5
打印 上一主题 下一主题

想添加磁盘驱动到内核,但是遇到有两个SYS文件的,怎么处理?

[复制链接]
跳转到指定楼层
1#
发表于 2011-6-23 18:21:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
想把Dell S100控制器的驱动加入HHH333的PE内核WINPE.IS_

驱动中有两个SYS文件,其中inf和OEM文件见附件。 我按照论坛的方法改好了TXTSETUP.SIF文件(附件)。 但是蓝屏。 请问如何修改才对,另外inf中的注册表项,需要不需要加入setupreg.hiv中?

OEM 文件贴出如下:


#-----------------------------------------------------------------------------
[Disks]
disk1 = "Dell PERC S100 S300 Controller 32 Bit",\bcraid,\

#-----------------------------------------------------------------------------
[Defaults]
SCSI = DELL_SATA_VST

#-----------------------------------------------------------------------------
[SCSI]
DELL_SATA_VST = "Dell PERC S100 S300 Controller 32 Bit [storport]"

#-----------------------------------------------------------------------------
[Files.SCSI.DELL_SATA_VST]
inf     = disk1, bcraid.inf
driver     = disk1, bcraid.sys, bcraid_VST
driver     = disk1, bccfg.sys, bccfg
catalog = disk1, bcraid.cat

#-----------------------------------------------------------------------------
[HardwareIds.SCSI.DELL_SATA_VST]
id   = "PCI\VEN_1028&DEV_0016&subsys_1F241028", "bcraid"
id   = "PCI\VEN_8086&DEV_3A25&subsys_020F1028", "bcraid"
id   = "PCI\VEN_8086&DEV_3A25&subsys_028D1028", "bcraid"
id   = "PCI\VEN_8086&DEV_1C04&subsys_04DE1028", "bcraid"
id   = "PCI\VEN_8086&DEV_1C04&subsys_04DD1028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B24&subsys_02A51028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B25&subsys_02A51028", "bcraid"
id   = "PCI\VEN_8086&DEV_3A25&subsys_02F11028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B24&subsys_02A61028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B25&subsys_02A61028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B24&subsys_02A41028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B25&subsys_02A41028", "bcraid"
id   = "PCI\VEN_8086&DEV_2925&subsys_02101028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B24&subsys_02A31028", "bcraid"
id   = "PCI\VEN_8086&DEV_3B25&subsys_02A31028", "bcraid"
id   = "PCI\VEN_8086&DEV_3A25&subsys_028C1028", "bcraid"

#-----------------------------------------------------------------------------
[Config.bcraid_VST]
value = parameters\PnpInterface, 5, REG_DWORD, 1
value = "Parameters\Device", "NumberOfRequests", REG_DWORD, 254
value = "Parameters\Device", "DriverParameter", REG_SZ, "VST"
value = "", Tag, REG_DWORD, 1


inf如下:



;-----------------------------------------------------------------------------
[Version]
Signature = "$Windows NT$"
Class = SCSIAdapter
ClassGUID = {4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider = %DELL%
CatalogFile = bcraid.cat
DriverVer = 01/10/2011,2.0.0.0162
PnpLockDown = 0
DriverPackageDisplayName = %bcraid_Desc%
DriverPackageType = PlugAndPlay

;-----------------------------------------------------------------------------
[SourceDisksNames]
1 = %bcraid_Desc%

;-----------------------------------------------------------------------------
[SourceDisksFiles]
bcraid.sys = 1
bccfg.sys = 1

;-----------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir = 12   ;%WinDir%\System32\Drivers directory on NT-based systems

;-----------------------------------------------------------------------------
[ControlFlags]
ExcludeFromSelect = *

;-----------------------------------------------------------------------------
[Manufacturer]
%DELL% = DELL,ntx86

;-----------------------------------------------------------------------------
[DELL.ntx86]
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_1028&DEV_0016&subsys_1F241028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3A25&subsys_020F1028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3A25&subsys_028D1028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_1C04&subsys_04DE1028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_1C04&subsys_04DD1028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B24&subsys_02A51028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B25&subsys_02A51028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3A25&subsys_02F11028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B24&subsys_02A61028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B25&subsys_02A61028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B24&subsys_02A41028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B25&subsys_02A41028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_2925&subsys_02101028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B24&subsys_02A31028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3B25&subsys_02A31028
%bcraid_Desc%=bcraid_Inst_VST,PCI\VEN_8086&DEV_3A25&subsys_028C1028

%bccfg_Desc% = bccfg_Inst, SCSI\ProcessorRAIDCOREConfiguration___V1.1

;-----------------------------------------------------------------------------
[bcraid_Inst]
CopyFiles = DefaultDestDir

;-----------------------------------------------------------------------------
[bcraid_Inst_VST]
CopyFiles = DefaultDestDir

;-----------------------------------------------------------------------------
[DefaultDestDir]
bcraid.sys,,,0x00002004
bccfg.sys,,,0x00002004

;-----------------------------------------------------------------------------
[bcraid_Inst.Services]
AddService = bcraid,0x00000002,bcraid_Service_Inst

;-----------------------------------------------------------------------------
[bcraid_Inst_VST.Services]
AddService = bcraid,0x00000002,bcraid_Service_Inst_VST

;-----------------------------------------------------------------------------
[bcraid_Service_Inst]
ServiceType   = 1                    ; SERVICE_KERNEL_DRIVER
StartType     = 0                    ; SERVICE_BOOT_START
ErrorControl  = 2                    ; SERVICE_ERROR_SEVERE
ServiceBinary = %12%\bcraid.sys
DelReg = bcraid_Inst_DelReg
AddReg = bcraid_Inst_AddReg

;-----------------------------------------------------------------------------
[bcraid_Service_Inst_VST]
ServiceType   = 1                    ; SERVICE_KERNEL_DRIVER
StartType     = 0                    ; SERVICE_BOOT_START
ErrorControl  = 2                    ; SERVICE_ERROR_SEVERE
ServiceBinary = %12%\bcraid.sys
DelReg = bcraid_Inst_DelReg,bcraid_Inst_VST_DelReg
AddReg = bcraid_Inst_AddReg,bcraid_Inst_VST_AddReg

;-----------------------------------------------------------------------------
[bcraid_Inst_DelReg]
HKR, "Parameters\PnpInterface", 5
HKR, "Parameters\Device", "NumberOfRequests"
HKR, "Parameters", "BusType"

;-----------------------------------------------------------------------------
[bcraid_Inst_AddReg]
HKR, "Parameters\PnpInterface", 5, 0x00010001, 0x00000001
HKR, "Parameters\Device", "NumberOfRequests", 0x00010001, 254
HKR, "Parameters", "BusType", 0x00010001, 0x00000008
HKLM,"System\CurrentControlSet\Services\Disk","TimeOutValue",0x00010001,0x0000003C

;-----------------------------------------------------------------------------
[bcraid_Inst_VST_DelReg]
HKR, "Parameters\Device", "DriverParameter"

;-----------------------------------------------------------------------------
[bcraid_Inst_VST_AddReg]
HKR, "Parameters\Device", "DriverParameter", 0, "VST"

;-----------------------------------------------------------------------------
[bccfg_Inst]
CopyFiles = DefaultDestDir

;-----------------------------------------------------------------------------
[bccfg_Inst.Services]
AddService = bccfg,0x00000002,bccfg_Service_Inst

;-----------------------------------------------------------------------------
[bccfg_Service_Inst]
ServiceType   = 1                    ; SERVICE_KERNEL_DRIVER
StartType     = 3                    ; SERVICE_DEMAND_START
ErrorControl  = 1                    ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\bccfg.sys
DisplayName   = %bccfg_Desc%

;-----------------------------------------------------------------------------
[Strings]
DELL = "Dell Inc."
bcraid_Desc = "Dell PERC S100 S300 Controller [storport]"
bccfg_Desc = "Dell PERC S100 S300 Configuration Device [storport]"

s100.zip

17.45 KB, 下载次数: 68, 下载积分: 无忧币 -2

2#
 楼主| 发表于 2011-6-23 19:15:35 | 只看该作者
自己解答一下吧, 蓝屏是因为该驱动是专为2003的,是什么storport驱动,XP内核上不了。 可恶的是 inf这样写的:

-----------------------------------------------------------------------------
; - This version supports Windows XP and later operating systems.
; - Class and ClassGUID specify the type of driver and must match
;     (see $DDKPATH/inc/api/devguid.h).
; - Driver provided by Dell Inc. for PERC S100 S300 2.0 software.
;   (2.0.0-0162)
;-----------------------------------------------------------------------------
回复

使用道具 举报

3#
发表于 2011-6-24 02:08:16 | 只看该作者
我也不会,帮你顶一下,我觉得看帖回帖这是最起码的素质问题。
回复

使用道具 举报

4#
发表于 2011-6-24 06:05:43 | 只看该作者

回复 #1 drdark 的帖子

http://bbs.wuyou.net/forum.php?mod=viewthread&tid=195817&extra=page%3D1

http://bbs.wuyou.net/forum.php?mod=viewthread&tid=187328&extra=page%3D1

这两个帖子里随便下一款都应该支持你的这个机器


不过那几个PE里对应的驱动版本比你提供的旧了点是1.0.0-0086(数字签名2009.10.14)
而你提供的是2.0.0.0162版(数字签名貌似是2011.1.10)

[ 本帖最后由 chiannet 于 2011-6-24 06:10 编辑 ]
回复

使用道具 举报

5#
 楼主| 发表于 2011-6-24 09:01:32 | 只看该作者
原帖由 chiannet 于 2011-6-24 06:05 发表
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=195817&extra=page%3D1

http://bbs.wuyou.net/forum.php?mod=viewthread&tid=187328&extra=page%3D1

这两个帖子里随便下一款都应该支持你的这个机器


不过那几个PE里对 ...


昨天刚好看见那个03PE,呵呵,看了一下确实里面有驱动支持。但是我是想加到XPPE里面,后来google了一下才知道目前无解
回复

使用道具 举报

6#
发表于 2011-9-29 15:22:50 | 只看该作者

一模一样的问题,跪求解决方法

碰到了跟楼主一样的问题,已经弄了几天了,用2003的winpe也不行,不知道楼主怎么解决的,望楼主解答。急盼!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-12-5 06:31

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表