Re: how to display messages during boot time

From: Don Burn (burn_at_stopspam.acm.org)
Date: 08/14/04


Date: Sat, 14 Aug 2004 14:11:03 -0400

This will not work, he is asking to debug at the ntldr time. First, make
sure your driver is clean, build it with the Windows 2003 DDK with PreFast
and fix all the problem. Second, make sure your driver runs clean under the
checked build, and with driver verifier. Third, make sure it passes all the
HCT tests for SCSI. If it still doesn't work you are probably going to
have to beg Microsoft for help under NDA, or acquire an Arium
http://www.arium.com/ to go further.

-- 
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
"Carl Woodward" <carl@nowhere.com> wrote in message
news:8mtTc.279$P91.203@newsfe5-gui.ntli.net...
> Charles,
>
> Try this function:
>
> NTSYSAPI
> NTSTATUS
> NTAPI
> ZwDisplayString(
>     IN PUNICODE_STRING String
> );
>
> Autochk.exe, the disk checker that occasionally kicks in as XP boots uses
> this fucntion to print strings to the screen. Note that this will only
> display strings if the video driver hasn't taken over yet, I imagine this
is
> around when Csrss.exe kicks off and implementes the windowing stations
> etc... You will need the SeTcbPrivilege for this routine to succeed.
>
> Hope that helps,
>
> Carl
>
> "Charles" <Charles_Lin@jadecom.com.tw> wrote in message
> news:%23acV8XigEHA.2468@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > I have written a scsi miniport driver and it works well when I choose
the
> > "multi(0)disk(0)rdisk(0)partion(1)..."
> > option defined in the boot.ini during boot time. I copied the driver
into
> > the root and renamed it as ntbootdd.sys.
> > I added another option "scsi(0)disk(0)rdisk(0)..." in the boot.ini. When
> > the
> > system boots, I choose the scsi option.
> > But the same driver ntbootdd.sys seems failed.
> >
> > I want to display some messages to the text mode screen in my driver
like
> > ntldr.exe does, so I could debug my
> > driver. Does anybody know how to do that ?
> >
> > Thanks in advance
> >
> > Clin
> >
> >
>
>


Relevant Pages

  • Re: Driver development
    ... Windows, support for the various power modes, hot-plugging. ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: WDK v. 7 for USB
    ... Don Burn ... Windows Filesystem and Driver Consulting ... I'm very-very new to this and XP DDK books are all I have. ...
    (microsoft.public.development.device.drivers)
  • Re: How to complie a driver?
    ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: Who can tell me where I can download the WDK?
    ... From the WHDC site I see that depending on which links I choose to ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: Cannot restore registry
    ... | feature, follow these steps: ... When the Windows Advanced Options menu appears, ... | Feature: Device Driver Roll Back ... | Feature: System Restore ...
    (microsoft.public.windowsxp.configuration_manage)

Loading