Calling DeviceIOControl() causes XP freeze on hyperthread cpu

  • Thread starter Thread starter Robert
  • Start date Start date
R

Robert

Hi
I have a kernel mode driver and a DLL creates the
driver handle and calls DeviceIOControl() API to use the
driver functions. It works fine on non-hyperthread CPU.
However, when the application and driver are installed on
a hyperthread CPU platform. Running the application
causes the XP os (sp1) freeze and have to switch off the
machine and power it on. Through the debug utility
(softice monitor utility), it seems the freeze occurred
at the DeviceIOControl() point, it has not got to where
the IOCTL is called in the driver.
Any ideas are appreciated.

Thanks
Robert
 
Robert said:
Hi
I have a kernel mode driver and a DLL creates the
driver handle and calls DeviceIOControl() API to use the
driver functions. It works fine on non-hyperthread CPU.
However, when the application and driver are installed on
a hyperthread CPU platform. Running the application
causes the XP os (sp1) freeze and have to switch off the
machine and power it on. Through the debug utility
(softice monitor utility), it seems the freeze occurred
at the DeviceIOControl() point, it has not got to where
the IOCTL is called in the driver.

The monitor runs in user mode, therefore it may not show you lockup occured in kernel mode.
This is a bug in the driver - use a real kernel debugger to debug it.

- PA
 
Back
Top