Calling DeviceIOControl() causes XP freeze on hyperthread cpu

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
 
P

Pavel A.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top