sun1979
驱动牛犊
驱动牛犊
  • 注册日期2002-11-19
  • 最后登录2005-05-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1439回复:7

安装出错,会的人来那分

楼主#
更多 发布于:2003-01-15 14:54
我安装passthru.sys后用drivermontior查看调试信息,
open passthru.sys后 用start启动 出错
Monitor ERROR (1058): The driver is marked as disabled (Start=4) in its service database entry.
8.282 Default Passthru: PtUnload: entered
8.282 Default Passthru: PtUnloadProtocol: done!
8.282 Default Passthru: PtUnload: done!

这是怎么会事,如何打开service database entry
yuri69
驱动小牛
驱动小牛
  • 注册日期2002-07-12
  • 最后登录2005-12-31
  • 粉丝0
  • 关注0
  • 积分5分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2003-02-18 17:05
据ddk :

Drivers should follow these rules for specifying StartType:

PnP driver
A PnP driver should have a start type of SERVICE_DEMAND_START (0x3), specifying that the PnP Manager can load the driver whenever the PnP Manager finds a device that the driver services.

Driver for a device required to boot the machine
If a device is required to boot the machine, the drivers for the device should have a start type of SERVICE_BOOT_START (0x0).

Non-boot driver that detects device(s) that are not PnP-enumerable
For a device that is not PnP-enumerable, a driver reports the device to the PnP Manager by calling IoReportDetectedDevice. Such a driver should have the start type SERVICE_SYSTEM_START (0x01), so Setup will load the driver during system initialization.

Only drivers that report nonPnP hardware should set this start type. If a driver services both PnP and nonPnP devices, the driver should set this start type.

NonPnP driver that must be started by the Service Control Manager
Such a driver should have the start type SERVICE_AUTO_START (0x02). PnP drivers must not set this start type.

我不会停止对你的思念,就像呼吸一样,我不去特意的想,但是,只能屏息,而不可能停止
yuri69
驱动小牛
驱动小牛
  • 注册日期2002-07-12
  • 最后登录2005-12-31
  • 粉丝0
  • 关注0
  • 积分5分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2003-02-17 16:13
经查证 :

Start(3) 指出系统应动态装入这个驱动程序。(该值与CreateService中的SERVICE_DEMAND_START常量对应,用于内核模式驱动程序时它代表不必明确调用StartService函数或发出NET START命令来启动驱动程序)
我不会停止对你的思念,就像呼吸一样,我不去特意的想,但是,只能屏息,而不可能停止
yuri69
驱动小牛
驱动小牛
  • 注册日期2002-07-12
  • 最后登录2005-12-31
  • 粉丝0
  • 关注0
  • 积分5分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2003-02-16 18:32
各位大哥,见笑了。我到底是怎么错了?
 
可否指点? 先谢过了
我不会停止对你的思念,就像呼吸一样,我不去特意的想,但是,只能屏息,而不可能停止
alexe_chen
驱动小牛
驱动小牛
  • 注册日期2002-03-21
  • 最后登录2006-07-31
  • 粉丝0
  • 关注0
  • 积分25分
  • 威望3点
  • 贡献值0点
  • 好评度2点
  • 原创分0分
  • 专家分0分
地下室#
发布于:2003-02-16 17:12
同意
好好学习,天天向上...
KanHu
驱动大牛
驱动大牛
  • 注册日期2002-10-20
  • 最后登录2005-06-19
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
5楼#
发布于:2003-02-16 13:15
用ezDrvInstaller 来安装是没错,但是 drivermoniter 可以显示 wdm输出的 信息。

但是你说的情况我觉得是在 inf 中 的 install.nt.service 中 start = 3 ,你现在是 = 4 ,相当于把驱动禁止了


 找本inf看看!

虚心请教 [img] http://www.driverdevelop.com/forum/upload/lsn_061/2005-01-09_2005-01-06_titi.jpg[/img]
yuri69
驱动小牛
驱动小牛
  • 注册日期2002-07-12
  • 最后登录2005-12-31
  • 粉丝0
  • 关注0
  • 积分5分
  • 威望1点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
6楼#
发布于:2003-02-15 14:07
用ezDrvInstaller 来安装是没错,但是 drivermoniter 可以显示 wdm输出的 信息。

但是你说的情况我觉得是在 inf 中 的 install.nt.service 中 start = 3 ,你现在是 = 4 ,相当于把驱动禁止了
我不会停止对你的思念,就像呼吸一样,我不去特意的想,但是,只能屏息,而不可能停止
drank
驱动牛犊
驱动牛犊
  • 注册日期2002-05-21
  • 最后登录2016-01-07
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
7楼#
发布于:2003-02-12 15:40
我来灌灌水:
其实以前的帖子中有类似问题的回答.
结论是:
driver monitor 不能用来用服务的方式动态加载WDM驱动,只能用来加载NT式的驱动.
要动态加载WDM可能需要DriverStudio/Tools/EzDrvInstaller

游客

返回顶部