Re: The worlds most simple driver Solved

Sorry i got it…
I had
#if DBG
DbgBreakPoint()
#endif
Now when i removed it StartService gives me
operation completed successfully

— irfan bashir wrote:
> Hello:
> In my very first ever driver … I had only
> DriverEntry within which only a single call to
> DbgPrint(“Hello”);
> …When I load it through OSR Driver Loader
> and
> click start service…a blue screen appears of a
> split
> second and computer restarts…
> What is going on is over and above my head
>
>
>
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Ajay,

First, did you set SIWVID to 0 ? Also, can you know if by the time you get
the blank screen you’re within Windows or in DOS ? One more thing to try, if
your license allows you, is to download DriverStudio 2.01 and see what
happens. Another thing is, there’s a chance that your video board needs some
special handling that we’re not doing. I’ll try to get one of those video
boards, and see what happens.

Alberto.

-----Original Message-----
From: Ajay kumar [mailto:xxxxx@usa.net]
Sent: Wednesday, June 27, 2001 4:18 AM
To: NT Developers Interest List
Subject: [ntdev] Re: [RE: Query about SoftICE Debugger]

Hi,

I am using SoftICE 4.05(versus 4.0)on Windows NT 4.0 Checked Build,SP5.When
I
CTRL-D into SoftICE, in SoftICE startup “manual” mode it is working fine but
for kayboard driver debugging i changed the SoftICE startup to “Boot” mode
than restart the syatem then I get a blank screen. I can CTRL-D out of
SoftICE
and return to the OS.what should i do to get the display in “boot” mode ?
from where and how can i set the start value of softice.

With warm regards
Ajay Kumar

“Moreira, Alberto” wrote:
Hi, Ajay,

What version of SoftICE are you using ? I believe this has been fixed in
DriverStudio 2.0. You need to make sure, after changing the start values of
Softice, that the start value of SIWVID is set to 0.

Please let me know if this helps, if not, I’ll try to get a Sis6215 card and
do some more investigation.

Alberto.

-----Original Message-----
From: xxxxx@usa.net [mailto:xxxxx@usa.net]
Sent: Monday, June 25, 2001 8:59 PM
To: NT Developers Interest List
Subject: [ntdev] Query about SoftICE Debugger

Hello All,

I want to use SoftICE for debugging kernel mode keyboard devive driver.

i am facing a problem:->

On which display setting it would be visible.i am using Sis dispaly card
and Sis6215 driver.
Actually it is visible in SoftICE startup “manual” mode but as i changed it
to SoftICE startup “Boot” mode for debugging it became invisible.

can any one give some info abt above query…

Thanks and Regards
Ajay Kumar


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@usa.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

S’ok … we’ve all hollered “Help” to go back and look and find our dumb
mistake. :slight_smile:

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@Broadstor.com
xxxxx@inland.net

-----Original Message-----
From: irfan bashir [mailto:xxxxx@yahoo.com]
Sent: Wednesday, June 27, 2001 6:03 AM
To: NT Developers Interest List
Subject: [ntdev] Re: The worlds most simple driver Solved

Sorry i got it…
I had
#if DBG
DbgBreakPoint()
#endif
Now when i removed it StartService gives me
operation completed successfully

— irfan bashir wrote:
> Hello:
> In my very first ever driver … I had only
> DriverEntry within which only a single call to
> DbgPrint(“Hello”);
> …When I load it through OSR Driver Loader
> and
> click start service…a blue screen appears of a
> split
> second and computer restarts…
> What is going on is over and above my head
>
>
>
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Note that KdBreakPoint is a macro that does exactly this.
KdPrint is the equivalent for DbgPrint.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: irfan bashir [mailto:xxxxx@yahoo.com]
Sent: Wednesday, June 27, 2001 6:03 AM
To: NT Developers Interest List
Subject: [ntdev] Re: The worlds most simple driver Solved

Sorry i got it…
I had
#if DBG
DbgBreakPoint()
#endif
Now when i removed it StartService gives me
operation completed successfully


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Thanks for your prompt reply.

how i can set the value of SIWVID.
One thing ,i wrote wrong in my previous query pls read it again->

I am using SoftICE 4.0.5 on Windows NT 4.0 Checked build,SP5.When I CTRL-D
into SoftICE, in SoftICE startup “manual” mode it is working fine but for
kayboard driver debugging as i changed the SoftICE startup to “Boot” mode than
restart the syatem then I CTRL-D ,now resoution of softICE become
disturb/unreadable.I can CTRL-D out of SoftICE and return to the OS.what
should i do to get the readable resolution in “boot” mode ?

Regards…
Ajay

“Moreira, Alberto” wrote:
Ajay,

First, did you set SIWVID to 0 ? Also, can you know if by the time you get
the blank screen you’re within Windows or in DOS ? One more thing to try, if
your license allows you, is to download DriverStudio 2.01 and see what
happens. Another thing is, there’s a chance that your video board needs some
special handling that we’re not doing. I’ll try to get one of those video
boards, and see what happens.

Alberto.

-----Original Message-----
From: Ajay kumar [mailto:xxxxx@usa.net]
Sent: Wednesday, June 27, 2001 4:18 AM
To: NT Developers Interest List
Subject: [ntdev] Re: [RE: Query about SoftICE Debugger]

Hi,

I am using SoftICE 4.05(versus 4.0)on Windows NT 4.0 Checked Build,SP5.When
I
CTRL-D into SoftICE, in SoftICE startup “manual” mode it is working fine but
for kayboard driver debugging i changed the SoftICE startup to “Boot” mode
than restart the syatem then I get a blank screen. I can CTRL-D out of
SoftICE
and return to the OS.what should i do to get the display in “boot” mode ?
from where and how can i set the start value of softice.

With warm regards
Ajay Kumar

“Moreira, Alberto” wrote:
Hi, Ajay,

What version of SoftICE are you using ? I believe this has been fixed in
DriverStudio 2.0. You need to make sure, after changing the start values of
Softice, that the start value of SIWVID is set to 0.

Please let me know if this helps, if not, I’ll try to get a Sis6215 card and
do some more investigation.

Alberto.

-----Original Message-----
From: xxxxx@usa.net [mailto:xxxxx@usa.net]
Sent: Monday, June 25, 2001 8:59 PM
To: NT Developers Interest List
Subject: [ntdev] Query about SoftICE Debugger

Hello All,

I want to use SoftICE for debugging kernel mode keyboard devive driver.

i am facing a problem:->

On which display setting it would be visible.i am using Sis dispaly card
and Sis6215 driver.
Actually it is visible in SoftICE startup “manual” mode but as i changed it
to SoftICE startup “Boot” mode for debugging it became invisible.

can any one give some info abt above query…

Thanks and Regards
Ajay Kumar


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@usa.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@usa.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Ajay,

You must set key SIWVID to zero in the registry, at

HKLM/System/CurrentControlSet/Services/NTICE

Also, this is an unfortunate legacy issue, but both DriverStudio 1.5 and
DriverStudio 2.0 went out with SoftIce’s version set to 4.0.5. You must look
at the Build number, if you pop into SoftIce and type “ver”, the SoftIce
build number comes up, can you tell me what it is ?

Looks like you’re either running an old copy of SoftIce, prior to the bug
fix, or maybe this Sis card needs some special attention we are so far
unaware of.

Alberto.

-----Original Message-----
From: Ajay kumar [mailto:xxxxx@usa.net]
Sent: Thursday, June 28, 2001 9:06 AM
To: NT Developers Interest List
Subject: [ntdev] Re: [Re: [RE: Query about SoftICE Debugger]]

Thanks for your prompt reply.

how i can set the value of SIWVID.
One thing ,i wrote wrong in my previous query pls read it again->

I am using SoftICE 4.0.5 on Windows NT 4.0 Checked build,SP5.When I CTRL-D
into SoftICE, in SoftICE startup “manual” mode it is working fine but for
kayboard driver debugging as i changed the SoftICE startup to “Boot” mode
than
restart the syatem then I CTRL-D ,now resoution of softICE become
disturb/unreadable.I can CTRL-D out of SoftICE and return to the OS.what
should i do to get the readable resolution in “boot” mode ?

Regards…
Ajay

“Moreira, Alberto” wrote:
Ajay,

First, did you set SIWVID to 0 ? Also, can you know if by the time you get
the blank screen you’re within Windows or in DOS ? One more thing to try, if
your license allows you, is to download DriverStudio 2.01 and see what
happens. Another thing is, there’s a chance that your video board needs some
special handling that we’re not doing. I’ll try to get one of those video
boards, and see what happens.

Alberto.

-----Original Message-----
From: Ajay kumar [mailto:xxxxx@usa.net]
Sent: Wednesday, June 27, 2001 4:18 AM
To: NT Developers Interest List
Subject: [ntdev] Re: [RE: Query about SoftICE Debugger]

Hi,

I am using SoftICE 4.05(versus 4.0)on Windows NT 4.0 Checked Build,SP5.When
I
CTRL-D into SoftICE, in SoftICE startup “manual” mode it is working fine but
for kayboard driver debugging i changed the SoftICE startup to “Boot” mode
than restart the syatem then I get a blank screen. I can CTRL-D out of
SoftICE
and return to the OS.what should i do to get the display in “boot” mode ?
from where and how can i set the start value of softice.

With warm regards
Ajay Kumar

“Moreira, Alberto” wrote:
Hi, Ajay,

What version of SoftICE are you using ? I believe this has been fixed in
DriverStudio 2.0. You need to make sure, after changing the start values of
Softice, that the start value of SIWVID is set to 0.

Please let me know if this helps, if not, I’ll try to get a Sis6215 card and
do some more investigation.

Alberto.

-----Original Message-----
From: xxxxx@usa.net [mailto:xxxxx@usa.net]
Sent: Monday, June 25, 2001 8:59 PM
To: NT Developers Interest List
Subject: [ntdev] Query about SoftICE Debugger

Hello All,

I want to use SoftICE for debugging kernel mode keyboard devive driver.

i am facing a problem:->

On which display setting it would be visible.i am using Sis dispaly card
and Sis6215 driver.
Actually it is visible in SoftICE startup “manual” mode but as i changed it
to SoftICE startup “Boot” mode for debugging it became invisible.

can any one give some info abt above query…

Thanks and Regards
Ajay Kumar


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@usa.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@usa.net
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@compuware.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com