Re: how to display messages during boot time
From: Don Burn (burn_at_stopspam.acm.org)
Date: 08/14/04
- Next message: Sam Johnson: "Re: newbie: ExAllocatePoolWithTag"
- Previous message: Carl Woodward: "Re: how to display messages during boot time"
- In reply to: Carl Woodward: "Re: how to display messages during boot time"
- Next in thread: Charles: "Re: how to display messages during boot time"
- Reply: Charles: "Re: how to display messages during boot time"
- Messages sorted by: [ date ] [ thread ]
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 > > > > > >
- Next message: Sam Johnson: "Re: newbie: ExAllocatePoolWithTag"
- Previous message: Carl Woodward: "Re: how to display messages during boot time"
- In reply to: Carl Woodward: "Re: how to display messages during boot time"
- Next in thread: Charles: "Re: how to display messages during boot time"
- Reply: Charles: "Re: how to display messages during boot time"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading