Re: ZwCreateFile causes an UNEXPECTED_KERNEL_MODE_TRAP
From: Mark Roddy (markr_at_hollistech.com)
Date: 05/17/04
- Next message: Raj: "Re: KeInitializeDpc"
- Previous message: Larry: "Anyone with WHQL "reseller" program experience?"
- In reply to: Olivier Antoine: "Re: ZwCreateFile causes an UNEXPECTED_KERNEL_MODE_TRAP"
- Next in thread: Olivier Antoine: "Re: ZwCreateFile causes an UNEXPECTED_KERNEL_MODE_TRAP"
- Reply: Olivier Antoine: "Re: ZwCreateFile causes an UNEXPECTED_KERNEL_MODE_TRAP"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 17 May 2004 18:05:43 -0400
If your open of a disk device was successful then the disk driver is up and
running. If you use windbg and !analyze it will give the stack trace from
the thread that threw the exception in addition to the stack trace of the
exception handler.
You don't use dependencies in drivers, for the most part. In addition to
being poorly documented for kernel mode, they are obsolete for pnp enabled
devices. Any device with a device interface can be a candidate for the well
documented pnp notification mechanisms. At worst you can simply poll for the
device of interest. See IoRegisterPlugPlayNotification.
-- ===================== Mark Roddy Windows 2003/XP/2000 Consulting Hollis Technology Solutions 603-321-1032 www.hollistech.com markr@hollistech.com "Olivier Antoine" <o.antoine@deltatec.be> wrote in message news:51444C61-E186-4D75-BD61-559DC2611589@microsoft.com... > I don't think so... I think the breakpoint instruction one can see in the bug check analysis is the one from the exception handling code of the kernel, since it is a "double fault" bugcheck code. > > My question is simple : how can I set up a dependencies for my driver to wait for the disk manager to be up before being loaded? The Dependencies entry in the INF files is not that much documented in the DDK help... > > ----- prokash wrote: ----- > > When the bugcheck occured, did you have a kernel debugger hooked up ?. If not, then it seems like you an embedded breakpoint, sort of KdBreakPoint(), DbgBreak*() or some sort. Are you running the Debug build of your driver ? > > -pro
- Next message: Raj: "Re: KeInitializeDpc"
- Previous message: Larry: "Anyone with WHQL "reseller" program experience?"
- In reply to: Olivier Antoine: "Re: ZwCreateFile causes an UNEXPECTED_KERNEL_MODE_TRAP"
- Next in thread: Olivier Antoine: "Re: ZwCreateFile causes an UNEXPECTED_KERNEL_MODE_TRAP"
- Reply: Olivier Antoine: "Re: ZwCreateFile causes an UNEXPECTED_KERNEL_MODE_TRAP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|