SW-Enumerated device requires reset after disable / enable
Hi All. I'm trying to figure out a way to get our our SW-enumerated kmdf driver to not require a reboot upon devcon (device manager) disable/enable. In the driver's EVT_WDF_DRIVER_UNLOAD DriverUnload()
callback, the PointerCount member of the PDO's OBJECT_HEADER is 1. If I stop windbg and look at loaded modules, the driver remains loaded long after the DriverUnload() callback has fired called, making suspect a reference issue.
I've read the articles and have set a ba w4 <pdo_object_hdr> "dd
<pdo_object_hdr> L1;k;g" breakpoint on the PointerCount member (offset 0) and can see its going up and down as the debugger stops at ObfDereferenceObject(), ObfReferenceObject(), IoQueueWorkItem()
and IopProcessWorkItem().
Is it likely that this has anything to do with why the driver would require a reboot after a devcon (or device manager) disable / enable cycle?
Thanks!
this is the reason why the reboot is required. you have a leaked Ob reference somewhere. in your unload routine you should also dump the WDF object tree for your WDFDRIVER and see what remains, perhaps you have leaked an object (and perhaps through a dangling
Wdf reference call)
d -- This posting is provided "AS IS" with no warranties, and confers no rights.
Similar Messages
-
Rules are disabled after disabling/enabling account.
Hi,
I have an applescript that enables or disables my work account depending on whether or not I have a VPN connection. My problem occurs when:
1. The work account is disabled
2. Mail is restarted
3. The work account is enabled again
At this point all of my rules associated with the work account are disabled. I can't imagine that this is the intended behavior.
I can re-enable all of the rules with Applescript, but it seems like I shouldn't have to.
The problem can be reproduced without using Applescript by disabling/enabling the account in Mail preferences.A little more info on the subject of rules, monitors, and alerting:
Alerts based off of Rules will not close themselves, they will always need to be closed manually. If they were alerts based off of Monitors they would (in most cases) close themselves after disabling them. If you don't want to script closing the alerts based
off the rules you can always filter or sort your alerts in the console and select all or selectively select the ones you want to close all at once and then right click and close the alerts based off rules. One other thing, for alerts based off monitors
it is usually best to reset the health of an object and let the monitor close itself rather than close an alert based of a monitor if you have a need to close it. That is unless something funky happened where the health of the object changed to healthy
and for some reason the alert didn't close in which case you can close it. The reason you dont want to just close an alert based off a monitor is because it wont reset the health of the object being monitored and will therefore not re-alert if the issue returns. -
"Notes" does not appear on device menu even after checking enable disk use
I am not able to see notes in my ipod device menu. I have enabled disc use in I Tunes and selected "On" for notes in my IPod menu.
I found the Ipod Icon with the notes folder on my desktop.
-
LAN connection requiring reset after hibernation in Vista (T61P)?
Everytime I hibernate my system and move it to a new location (from building to building)... the system cannot get an IP address and complains that it cant reach the DHCP server. Yet, as soon as I disable and re-enable the LAN nic card it finds an IP address. this is definately not a DHCP problem. Does anyone know what settings on this system may be affecting this?
This is my only Vista system, T61P. I unchecked the IPv6 box to make sure it wasnt getting hung up on that.
Regards,
XericalAre you using Access Connections?
If so, do you have automatic location change enabled for those profiles in the global settings?
I use hibernation mode all the time and have never experienced any problems
Andy ______________________________________
Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
Deutsche Community Comunidad en Español English Community Русскоязычное Сообщество
PepperonI blog -
Must disable&enable bluetooh to re-connect to iphone network
Hi all,
After upgrading to Lion sharing my iphone internet connection via bluetooth got more difficult. Now whenever iphone disconnects (for example because iphone get's out of bluetooth' range or I'm talking with someone) I must disable&enable bluetooth on Lion to get network connection up again. If I don't, when try to connect to iphone network it says me it's not able to connect and console logs:
When it fails:
09/10/11 11:32:04,000 kernel: en3: attached with 4 suspended link-layer multicast membership(s)
09/10/11 11:32:04,000 kernel: en3: successfully restored 4 suspended link-layer multicast membership(s) (err=0)
09/10/11 11:32:10,878 applepushserviced: <APSCourier: 0x7fef4a5227b0>: Stream error occurred for <APSTCPStream: 0x10499c2d0>: The operation couldn’t be completed. (kCFErrorDomainCFNetwork error 2.)
When it's ok (after disable&enable)
09/10/11 11:33:12,000 kernel: en3: attached with 4 suspended link-layer multicast membership(s)
09/10/11 11:33:12,000 kernel: en3: successfully restored 4 suspended link-layer multicast membership(s) (err=0)
09/10/11 11:33:13,000 kernel: virtual bool IOUserEthernetController::setLinkState(bool): status=1 mCurrentMedium=0xffffff801a2f5040
On "Snow", never got problems like this.
Lion 10.7, IOS 4.3.2
Any ideas?
Thanks,
MicheleHI there,
You may want to review some of the troubleshooting steps found in the article below.
Apple TV (2nd and 3rd generation): Troubleshooting Wi-Fi networks and connections
http://support.apple.com/kb/TS4546
Hope that helps,
Griff W. -
Users cannot access removable devices after you enable and then disable a Group Policy setting on Windows 7 64 bit machines.
on the 32 bit machines I was able to apply this hotfix
http://support2.microsoft.com/kb/2738898
But it will not install on 64 bit machines.
Is there a hotfix for 64 bit? If not, what is the work around?
Thanks!
RobertSelect "Show hotfixes for all platforms and languages", then download x64 hotfix:
Please take a moment to Vote as Helpful and/or Mark as Answer where applicable. Thanks. -
My iphone icon shows in itunes but is missing from my computer desktop. It is detected as a iphone camera device. I have tried everything from uninstalling-reinstalling, disabling-enabling, and updating. Still no iphone icon showing in my computer desktop. I have been troubleshooting this for 7 days with no luck! Please help?
yes, I dony know what else to do?
thanks -
I am using hp probook 4530s comes with windows 7 home premium. In my laptop internal bluetooth is disabled by the windows from device manager, how can I enable it ? Please help...... The error is: Windows has stopped this device because it has reported problems. (Code 43)
I too am faced with the same problem. What I have done. 1) Installed latest firmware2) Installed lated Wifi adapter driver.3) Installed HP Connection manager4) Installed HP Support Assistant5) Uninstalled, Removed aand Deleted current Generic Bluetooth driver and reinstalled.6) Managed the Adapter settings to Enable Bluetooth.7) Searched the whole insterwebs for a fix that works for me and found nothing.8) Found a gun range that will allow me to use this laptop as a target. Please save this poor laptop from being a target at a gun range. HP FIX THIS PROBLEM PLEASE!
-
I'm using a workstation graphics card that allows for GPU acceleration in Illustrator CC.
Selecting 'GPU Preview' instead of 'CPU Preview' under the 'View' toolbar in Illustrator CC results in a more choppy experience.
Which leads me to wonder:
Does GPU acceleration in Illustrator CC still work after disabling 'GPU Preview' and enabling 'CPU Preview' (on a workstation gpu)?
Does GPU acceleration for my gpu actually improve the performance for my work?If you disable the GPU acceleration in preferences then you'll be unable to enable GPU preview under the view menu. It will automatically go into CPU preview as the GPU is no longer enabled.
If you're experiencing choppy performance when you do have the GPU preview selected, something is amiss because any GPU that can support GPU acceleration should be able to do it without a performance hit.
What is the video card that's in the workstation? -
Hello,
i encountered following issue:
I disabled an User in AD, but the mobile devices of the corresponding User still had access even 24h after disabling the account (iphone 5s, Blackberry Q10). My predecessor was known to abuse some access rights (suspicious gpos, phantom users with way to
many rights, private folder access...).
Our System: Windows 2008 R2 + Exchange 2010 SP3
Are there any hidden settings (in Exchange powershell, ADSI-Settings etc...) to extend the access-validity of mobile devices?
Or is this a normal behaviour?
Thank you and best regards,
GeorgThe best way to stop a user from accessing their email via a mobile device when the account is going to be disabled is to go to their account and remove Active Sync from their mailbox. To do so, go to Recipient Configuration, Mailboxes, properties
of the user, Mailbox Features and disable Exchange ActiveSync. then disable the user. Force Active Directory replication as well. Then the disabled user should no longer have access. You can even remove device partnerships or wipe their
device as well.
http://www.techrepublic.com/blog/smartphones/control-smartphone-usage-with-exchange-2010-activesync/#.
http://technet.microsoft.com/en-us/library/aa997929(v=exchg.150).aspx
http://technet.microsoft.com/en-us/library/aa998591(v=exchg.141).aspx
Let us know if that helps.
JAUCG - Please remeber to mark replies as helpful if they were or as answered if I provided a solution. -
Q: Is there an option to disable/enable USB ports on IAP?
A: USB port is enabled by default in earlier Instant versions and it cannot be modified. Starting 4.2, it provides WLAN user an option to enable or disable per his/her requirement.
Note: Any changes made to USB profile will take effect only after rebooting that AP.
Enable/Diable USB Port using CLI:
24:de:c6:cf:5b:de# usb-port-disable
Remind: Command takes effect after AP reboot.
24:de:c6:cf:5b:de#
24:de:c6:cf:5b:de# no usb-port-disable
Remind: Command takes effect after AP reboot.
24:de:c6:cf:5b:de# show ap-env
Antenna Type:Internal
usb-port-disable:1
Enable/Diable USB Port using WebUI:This is an older article but may still work: http://www.techkaki.com/2009/08/how-to-enable-disable-usb-ports-storage-device-a ccess-in-mac-os-x/
When tampering with the system like this use caution. -
Resetting PIX 515E 'enable' password and/or Factory Reset
We have a PIX Firewall where the last user of the device had not changed the 'enable' password and username so we are locked out of the device. I did some research and found a password reset tool that was supposed to clear the 'enable' password on the device. I set up a TFTP with the 'np61.bin' file needed. I went into 'monitor>' mode, set the interface, address and server address and it pings with success. I pointed it at the file and sent the 'tftp' command. I saw it downloading and booting off the binary file and after letting it go for a little bit (I walked away for a little while and came back to my telnet prompt) I noticed it was stuck in a loop:
No bootable image in flash. Please download an image from a network server in the monitor mode
Failed to find an image to boot
Rebooting......
I downloaded a copy of the latest firmware, 'pix804-28.bin', and repeated the process used for the password reset file. After loading, I am greeted with my familiar prompt:
XXXX-XXX-Xx-Xx0-XX>
XXXX-XXX-Xx-Xx0-XX>enable
Username: pix
Password: pix
Username: pix
Password:
Username: cisco
Password: cisco
Access denied.
XXXX-XXX-Xx-Xx0-XX>
I then did a hard reset, and was stuck back in the loop I was in before, asking me to reflash a boot image. I now need to somehow load the IOS back onto the router (As it seems to just be booting from the TFTP server), and then after that still remove the enable password or somehow default the entire firewall to Factory Defaults. If anyone knows how to solve my issue or has any ideas for me to try, you help would be greatly appreciated, thanks!Still having trouble with this, has no one encountered this problem before?
-
How can i reset my disabled ipod touch 5th generation
how do i reset my disabled ipod touch 5th generation
Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
A
1. iOS- Forgotten passcode or device disabled after entering wrong passcode
2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
3. Restoring iPod touch after forgotten passcode
4. What to Do If You've Forgotten Your iPhone's Passcode
5. iOS- Understanding passcodes
6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
7. iOS - Unable to update or restore
Forgotten Restrictions Passcode Help
iPad,iPod,iPod Touch Recovery Mode
You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
Also, see iTunes- Restoring iOS software. -
Message: this photo gallery requires that scripting be enabled
Hallo,
I have added a gallery to my website. When i open this website i get the message "Sorry, this photo gallery requires that scripting be enabled on your web browser and that the Macromedia Flash Player be installed."
I have looked for this mesaage at Google and a few other sites pop up. The difference is that in these sites the message is in de code behind the site but is not shown on the site itself. In stead the gallery is shown. And that is what i want at my site.
Is the possibility to repress the message and show the gallery?
Greetings,
TimoMaybe the message itself can give you a hint?
"Sorry, this photo gallery requires that scripting be enabled on your web browser and that the Macromedia Flash Player be installed."
I would start with installing the latest flash plugin.
After that I would check that I didn't had disabled javascript.
/Andreas -
How to activate I cloud after disable during set up
How to activate I cloud after disable during setup. I have try to restore and setup as new phone, and it works. But once I restore from my backup, it when disable again with my maill setup too..
After update to ios 5 you are require to setup the phone. On iCloud setup I have choose disable I cloud. And now I can find the feature or setting to enable it. The I cloud icon is deactivated.
Maybe you are looking for
-
Hi all, where will be input for following values for RFC Sender Adapter? RFC Server Adapter :- Application Server ( Which server IP is required here ( SAP 4.6 or SAP XI)? Application server service : Where do i find this service name? Program Id ? T
-
Gallery style images? Thumnails enlarging -- how do I do this?
Hi, Just got iWeb this evening, and having a gas w/ it. Very cool, and I'm really surprised at all the customization that can be done. I'm an illustrator and have depended on a buddy all these years that does my web site. iWeb is the chance for me to
-
Archiving attachments???
In ECC 5.0, when you archive purchase orders (MM_EKKO), are the PO attachments also archived? Thanks, Tina
-
Looking for Macintosh Basics/Mouse Basics, probably for System 6, actually
On our old Mac SE, we had a program that would teach you how to use the mouse (Mouse Basics) and there were an assortment of other games. I'm specifically looking for the mazes. I seem to recall a penguin as being the mascot of these mazes. This woul
-
Moving home folders of existing users
Small office, 4 users so manual file moves or individual user settings updates arent a problem. My question is, how do I go about moving the home directories of our users from one hard drive to another? My thought is just copy their existing home fol