Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > What does it mean this assert ?

Reply
Thread Tools Display Modes

What does it mean this assert ?

 
 
Peter
Guest
Posts: n/a

 
      06-12-2004
On WXPSP1 Checked/debug build I met assert:
Assertion failed: IopmDiffTableEntries < MaxIopmTableEntries
Source file: d:\xpsp1\base\hals\halx86\i386\xxbiosc.c

This assert is invoked after calling NdisAcquireSpinLock() in my driver.
What does it mean this assert message ?

Peter


 
Reply With Quote
 
 
 
 
Brian Catlin
Guest
Posts: n/a

 
      06-12-2004
"Peter" <> wrote in message
news:...
> On WXPSP1 Checked/debug build I met assert:
> Assertion failed: IopmDiffTableEntries < MaxIopmTableEntries
> Source file: d:\xpsp1\base\hals\halx86\i386\xxbiosc.c
>
> This assert is invoked after calling NdisAcquireSpinLock() in my driver.
> What does it mean this assert message ?


It has to do with setting the I/O privilege mask, which isn't even vaguely
related to what you're doing. You might not be passing the address of the
spinlock to NASL properly. Also, what does the stack trace look like?

-Brian

Brian Catlin, Sannas Consulting 310-944-9492
Windows Network, Video, WDM Device Driver Training & Consulting
See WWW.AZIUS.COM.bad for courses and scheduling
REMOVE .BAD FROM EMAIL AND WEB ADDRESS


 
Reply With Quote
 
Peter
Guest
Posts: n/a

 
      06-13-2004
"Brian Catlin" <> wrote in message
news:#...
> "Peter" <> wrote in message
> news:...
> > On WXPSP1 Checked/debug build I met assert:
> > Assertion failed: IopmDiffTableEntries < MaxIopmTableEntries
> > Source file: d:\xpsp1\base\hals\halx86\i386\xxbiosc.c
> >
> > This assert is invoked after calling NdisAcquireSpinLock() in my driver.
> > What does it mean this assert message ?

>
> It has to do with setting the I/O privilege mask, which isn't even vaguely
> related to what you're doing. You might not be passing the address of the
> spinlock to NASL properly. Also, what does the stack trace look like?
>
> -Brian
>
> Brian Catlin, Sannas Consulting 310-944-9492
> Windows Network, Video, WDM Device Driver Training & Consulting
> See WWW.AZIUS.COM.bad for courses and scheduling
> REMOVE .BAD FROM EMAIL AND WEB ADDRESS
>

Sorry, I have not dumped call stack for this case...
But reason was incorrent using of spin lock.
I met this assert also on other place in my code
where reason was incorrent using of MmProbeAndLockPages().
Now problem is solved.

Thanks for the answer !
Peter


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59