Re: Differences between checked and free versions of a driver

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: cristalink (cristalink_at_nospam.nospam)
Date: 01/28/05


Date: Sat, 29 Jan 2005 06:48:28 +1300


>> What are the differences between the checked and free version

The code generated by a compiler is substantially different for
debug/release modes.

>> which can cause such a behaviour.

Most likely: a bug in your code, such as an uninitialized variable or so,
which doesn't show up in the debug mode. I've seen a lot of such cases.

Less likely: a bug in the compiler.

Unlikely: a timing issue.

>> how do I go about debugging

It's not generally easy. Try to find out why the HCT test fails. Review your
code. Comment out pieces of code until the problem goes away. Use Prefast
from DDK.

I never compile my drivers in the debug mode just to avoid the problems you
are facing.

-- 
http://www.firestreamer.com - NTBackup to DVD and DV
"Sareena" <Sareena@discussions.microsoft.com> wrote in message
news:E7B7D504-9985-43C0-855D-620935C074B9@microsoft.com...
> Hi,
>
> I am trying an HCT 11.2 Enable\Disable IO test on x-86 system having a
fibre
> channel adapter. The test fails when I am using free version of the driver
> for the fibre channel adapter, but passes with the debug version of the
> driver.
>
> What are the differences between the checked and free version of the
driver
> in general, ie memory usage etc, which can cause such a behaviour.
> In what circumstances does a test fail in free version and pass in the
debug
> version of the driver
>
>
> Thanks in advance
> Sareena.
>


Relevant Pages

  • lucent modem driver compilation failure
    ... I'm trying to compile an installable module for my internal modem ... and driver work as they were fully functional under RH7.3. ... 00:07.2 USB Controller: VIA Technologies, ... If not present use the ltmodem-8.22a5.tar.gz compiler kit. ...
    (linux.redhat.misc)
  • lucent modem driver compilation failure
    ... I'm trying to compile an installable module for my internal modem ... and driver work as they were fully functional under RH7.3. ... 00:07.2 USB Controller: VIA Technologies, ... If not present use the ltmodem-8.22a5.tar.gz compiler kit. ...
    (comp.os.linux.hardware)
  • Re: [PATCH 2/2] x86 platform driver: intelligent power sharing driver
    ... I bet the driver blows up and someone's logs get spammed;) ... Somehow the compiler will promote array ... Ah ok, will fix. ... don't trash callee's error code - propagate it. ...
    (Linux-Kernel)
  • Re: I am learning C: a little problem with a simple source code
    ... One can turn off particular warnings with this compiler, ... For each driver, if the size is unsupported, the driver can give up. ... Similarly, it'd be nice to pass a 'size_t' for the alignment, too. ...
    (comp.lang.c)
  • Re: Microfocus Netexpress question : COBSQL vs openESQL
    ... >couldnt connect with the oracle database specified in the program. ... It may be missing an ODBC driver and/or data source. ... You also need an entry for the data source in tnsnames.ora. ... precompiler directives to the precompiler and compiler directives to ...
    (comp.lang.cobol)