Driver unloading problem in mac os x snowleopard and lion

Hi i want to unload a wifi driver which I am having.. It is not the driver which is for Airport.. My driver creates another interface en2..  That driver contains two classes Controller class and interface class. when I try to unload using sudo kextunload name_of_kext then it is giving as one instance of controller class and one instance of interface class are remaining , I cant unload the kext.. when I give sudo dmesg it will show terminate(kIOServiceSynchronous) timeout.. As terminate is failing free() is not getting called. The driver contains only one kext and both controller and interface classes inherits from IO80211Controller class and IO80211Interface class respectively.. Now how can I unload my driver..
and also after kextunload while doing gdb, when I gave showallworkloopthreads one passive event source of IOCommandGate is remaining.. when i typed
sudo kextutil -m name_of_kext.kext, It is showing as
No kernel file specified ; using running kernel for linking
name_of_kext.kext appears to be loadable (including linkage for on-disk libraries)
When I gave
sudo kextunload -v name_of_kext.kext/
The output is :
(kernel) Can't unload kext com.name.driver; classes have instances:
(kernel) Kext com.name.driver class nameController has 1 instance
(kernel) Kext com.name.driver class nameInterface has 1 instance
Failed to unload com.name.driver - (libkern/kext) kext is in use or retained (cannot unload)
Please could anybody help me in unloading my driver???

along with that while doing gdb, when I gave showallworkloopthreads after kextunload one passive event source of IOCommandGate is remaining.. when i typed
sudo kextutil -m name_of_kext.kext, It is showing as
No kernel file specified ; using running kernel for linking
name_of_kext.kext appears to be loadable (including linkage for on-disk libraries)
When I gave
sudo kextunload -v name_of_kext.kext/
The output is :
(kernel) Can't unload kext com.name.driver; classes have instances:
(kernel) Kext com.name.driver class nameController has 1 instance
(kernel) Kext com.name.driver class nameInterface has 1 instance
Failed to unload com.name.driver - (libkern/kext) kext is in use or retained (cannot unload)
Please could anybody help me in unloading my driver???

Similar Messages

  • MAC os X SnowLeopard and Lion integration with edir

    Hi,
    I have been reading a bit on the subject as my MAC server is nearing it's end of life and I still have an OES 2 server in use (old OES sp1).
    Does someone know what is in plans for MAC users regarding ease of use when logging in to a SLES/OES system in the future?
    OES3 and Filr seems intresting, but will there be any help in the MAC integration?
    Currently have a SBS 5 user license but don't want to deploy it until it's easier to manage/use with macs
    Running SLES11+Groupwise8 on my MAC server virtually and it's a perfect combination.
    Thinkin about virtualizing the new SBS when it's launched - any news on that?
    I know Simon Flood is a specialist in this area with MACs - have you any insight?
    Sincerely,
    DB

    Originally Posted by smflood
    On 27/10/2011 08:06, dominicus wrote:
    > I have been reading a bit on the subject as my MAC server is nearing
    > it's end of life and I still have an OES 2 server in use (old OES sp1).
    Not sure what you mean by "OES 2 server in use (old OES sp1)", an OES2
    server that was upgraded from original OES[v1] SP2 perhaps? OES2 SP3
    (on SLES10 SP4) is latest available version and has (or will have once
    the next Scheduled Maintenance patch comes out) improved AFP support for
    Mac OS X Lion.
    Yes an OES2 sp1 server and have not had the need to update.
    Want to do a fresh install when it's easier to implement in a all MAC enviroment
    > Does someone know what is in plans for MAC users regarding ease of use
    > when logging in to a SLES/OES system in the future?
    Whilst I'd like to see Novell implement something in OES to make Mac
    integration easier (I and others have had conversations) there's nothing
    currently planned.
    Too bad. Do you recommend a third party product for that?
    > OES3 and Filr seems intresting, but will there be any help in the MAC
    > integration?
    There is no OES3, OES11 is the next version.
    OES11 will include support for DHX2 in the AFP protocol implementation
    so there will be no need to configure each Mac client to use DHX[v1]
    (this fix is also being backported to OES2 SP3 hence the earlier
    reference to next OES2 SP3 Scheduled Maintenance patch). Other than
    that it's the same as with OES2.
    Filr is very interesting but doesn't help with Mac integration. There
    will be an iOS client for iDevices but as it currently stands a Mac
    client will follow in "version 2". Personally I'd like to see a Mac
    client with version 1 but I'm assured Mac users will still be able to
    use Filr.
    > Currently have a SBS 5 user license but don't want to deploy it until
    > it's easier to manage/use with macs
    SBS? Are you referring to Microsoft's or Novell's small business
    solution? Hopefully the latter and you mean NOWS SBE perhaps?
    Yes Nows SBE, sorry for the confusion
    > Running SLES11+Groupwise8 on my MAC server virtually and it's a perfect
    > combination.
    > Thinkin about virtualizing the new SBS when it's launched - any news on
    > that?
    Which virtualisation product are you using on your Mac server
    (presumably an Xserve)? Whilst I know it can be done I'm not aware of
    anyone who is virtualising Novell solutions on an Apple server but then
    I don't get out much! ;-)
    I'm currently using the VMware Fusion desktop product and it has been working flawless since the start
    one year ago.
    Running all on a MAC mini server edition with 8GB ram and all data stored on a NAS attached to my mac via firewire.
    For a small office with only 5 users this has proven to be a sufficient.
    > I know Simon Flood is a specialist in this area with MACs - have you
    > any insight?
    I'm still around. Hopefully the above answers some questions but
    unfortunately asks more!
    In the end I guess it all depends on what you want to achieve. Can you
    have a user logging into a Mac authenticating against OES with the
    user's home directory on an OES server. Yes sure and there is more than
    one way to do it though the problem is support by Novell but we're
    working on that!
    Thanks for your reply. I'll work slowly on this and if I have any questions I'll post back or start a new conversation.
    HTH.
    Simon
    Novell Knowledge Partner (NKP)
    Do you work with Novell technologies at a university, college or school?
    If so, your campus could benefit from joining the Novell Technology
    Transfer Partner (TTP) program. See novell.com/ttp for more details.

  • Incompatibility problems with mac mini MA206LL/A* and linksys WRT610N

    i purchased a new wrt610n and one of the machines that is connected is a mac mini, 1.66 ghz intel core duo.
    #ma2066/ll/a for those who want to compare notes. the computer is stock with the 802.11g wireless card that came with the machine. it is running the current software and all the updates are up to date.
    i am using wpa 2 personal w / aes
    their is some kind of incompatibility or issue between the wrt610n and the mac mini.
    either using the wireless connection OR connected directly to the router, web pages are very slow to load. sometimes it can take up to 45 seconds for the mac mini to open up a webpage. for 45 seconds it is at 'contacting website'
    when i try to run software update, i get a time out error -1001, make sure you can connect to the internet and try again.
    hulu desktop is also running slow.
    copying a file from the mac mini to a another computer over wifi averages about 1 mb/s
    when i informed linksys about this problem, they took my phone number and said that a linksys Technician / senior tech support employee would call me back. that was a day or so ago. i asked if i can have any newer firmware, considering the latest is 5 months old.
    i am considering returning this router, but i don't see a lot of good alternatives that have similar features. i have 21 days to return this. the restocking fee will be 15% i am also considering various 802.11n solutions for the mac mini, even including the dell 1500 wireless mini card, i heard it works as an airport card.
    if i do get a different model router i would like external antennas.
    my previous router was a 5 year old wrt54gs version 2.0, and it never had a problem with any of the computers with the network.
    the trouble shooting steps involved changing the beacon to 75 and the mtu to something else, i forgot. it did not make a difference.
    i moved the mini and connected it wired to the wrt610 and turned off the airport wireless card and there was no improvement.
    when i disconnected the wrt610n and connected the mac mini directly to my dsl modem. the issues were suddenly gone.
    theres some kind of problem with this particular unit. and i would like to hear from others who have solved this or are experiencing the same problem

    Just out of curiosity: what internet provider do you have? I'm just asking since I had similar issues after switching from AT&T DSL to AT&T U-verse. Sometimes pages took a very long time to load, or just a part or image of the page. Sometimes I would get a page not found error or something like this and only refreshing the page several times would retrieve and display the actual page.
    Here's what I did: I went into my iMac's network preferences and switched the DNS server IP with one from OpenDNS.com, such as 208.67.222.222.
    Since then I haven't had these issues anymore. Don't ask me why though; but I would be curious to hear whether this may fix your issue as well!

  • Have a old macbook 2006 with newer 500 GB seagate Momentus hard drive. I took mac to apple store and they said logic board is bad. Can I purcase another used macbook and install my old seagate hard drive and have saved my information? Thanks for any imput

    Have a old macbook 2006 with newer 500 GB seagate Momentus hard drive. I did not backup any docs or pictures. The macbook crashed my fault. I took mac to apple store and they said logic board is bad. Can I purcase another used macbook and install my old seagate hard drive and have saved all my information? Thanks for any imput.

    mgott55 wrote:
    Can I install my used existing hard drive in a compatible macbook to save everything?
    If you need to extract the drive's content you can remove it and install it in a $10 USB enclosure. It will be readable by any recent Mac.

  • ICloud Drive Sync Problems on Mac OS X Yosemite

    Hello all,
    I have been having issues with my iCloud drive for many months with slow syncing and documents being outdated. Typically a restart would solve the problem but it seems that it has gotten worse lately. Especially after purchasing the 20GB plan and starting its use heavily for work and personal.
    The problem seems to be sporadic where the Sync takes several hours to complete. I am not sure what's the best way to identify the progress of the Sync, but I know that some of my files are out of date when I get home after working on them all day in the Office. I have been trying to solve this problem by restarting my laptop or iMac once, twice, and three times until the bars show up and the sync actually starts.  If I don't force the sync by restarting the documents are never updated.
    This morning, it has got really bad and I ended up signing out of my iCloud on my MacBook Pro, restarted, and then logged in again to iCloud drive. Its been hours and only a portion of the documents have been synced, the rest are basically stuck...I am not sure whats the best way to debug this problem and fix it.
    I have gone through the basic debugging steps, so checking that I have the right ID, restarted the Mac, etc are all tried and many times. I need a serious set of steps to debug this problem. I am a fairly accomplished power user and have been using Macs since the late 80s.
    Thanks for the help.

    Hi,
    My problem continues with no solution - I narrowed down the issue to the following:
    1) When I open the lid of my MacBook Pro and go to iCloud, the cloud icon with a down arrow appears on all the new files that need to be synced
    2) The files never download or update
    3) Performing 2 or 3 restarts kicks the sync process off
    Interestingly, on my work MacBook Pro and my iMac this issue doesn't exist. So it seems there os something on my MacBook pro that is causing the sync to get stuck.
    Any ideas what to check?

  • 4GB Flash Drive not loading on Mac (but on Windows and Ubuntu)

    Hello,
    I have a 4GB flash drive (probably from LG) that I bought about 3 years ago. It was working just fine all this time but now, all of a sudden, it's gone. Not working, showing up neither in Finder nor in Disk Utility. But it works just fine on Windows 7 and Ubuntu. Files are even readable there. I tried re-formatting it on Ubuntu in FAT-32 but it still won't show up on a Mac.
    Any other flash drive is showing up on my computer (tested with 2 different ones).
    Any clue?

    I don't claim to know the solution to your problem, but in your situation I would try either or both administrator install methods: 1) Right-click the downloaded install file, choose "Run as Administrator" and install the software as usual. 2) Try using a different Windows account that you are positively certain has full administrator rights or the actual Administrator login name, install with that account.
    Also, make sure you empty the browser cache before retrying the http pages. What about other browser settings, like security or privacy settings? Any add-ons or antivirus browser helper objects?
    Do you only use Internet Explorer, or is this issue the same in Firefox, Opera, Chrome and Safari?
    Good luck, hope you get the error fixed.

  • Problems with Mac OS X Server and webperfcache...

    I'm running Mac OS X server 10.4.11 and I'm trying to get mod_rewrite to work (thus far unsuccessfully). As part of my debugging strategy I want to turn everything around apache off and start pulling things apart to see if I can get them to make sense. When I turn the web performance cache off on all my sites using the site administration utility, apache gets a bus error when it attempts to restart. When I turn web performance caching back on, apache continues to get a bus error. Reboots, et al. don't clear up the problem and all I can do is go back to my system backup and bring up the previous day's version, which I can currently live with.
    Has anybody seen this before? Alternatively, has anybody had problems getting mod_rewrite to work and can give some advice. I'm doing pretty much everything that works on other U*x based systems and has worked before, but the lack of control over the ports used by the web sites on my system is problematic and I would, at the very least, like to be able to turn off webperfcache.
    Thanks in advance,
    Dick Munroe

    I am actually going to be doing almost exactly the same thing in the next 1-2 weeks. My plan is to make the OS X server a BDC on the domain, then promote it to PDC and retire the Windows Server 2k3 PDC.
    I have 1 Win2k3 PDC and 1 Win2k3 (64-bit) Terminal Server. My main worry is whether the PDC is handling the licence CALs for the TS.... if it is, that will interfere with the plan.
    Email me and let's discuss this off-line.
    Thanks,

  • 9171 driver installation problem with LV 8.5.1 and NIDAQ9.3

    Hello,
    I just bought an NI9171 chassis with a NI9477 DO board after checking the compatibility (driver, LV version). Everything seems to be ok, but I can't manage to get the right driver installed within NIDAQ 9.3. I tried it with NIDAQ 9.4. Here the driver was installed properly and I could do some tests in MAX, but my DAQmx LabVIEW library was completely deleted during the installation of 9.4...Re-intsllation of NIDAQ9.3 brought back the DAQmx library, but the driver is not working anymore. One thought is to copy the library somewhere else and install 9.4 again....but in case this would work, it should not be the correct way to solve the problem. Could anyone tell me, if there is something wrong with the 9.3 readme or suggest a solution for that problem? Unfortunatly I have no SSP anymore and can't get direct support by NI ;-(
    Here you can find the readme:
    http://download.ni.com/support/softlib//multifunction_daq/nidaqmx/9.3.0/readme.html#OS
    Thanks for any hint!
    Olli
    Solved!
    Go to Solution.

    Hi Olli,
    Sorry for the inconvenience, however DAQmx 9.3 does not support 9171. This is error in our documentation. It was first supported in 9.4. However I do have a workaround for you. It involves installing DAQmx 9.4/9.5's core components with DAQmx 9.3 LabVIEW support:
    1) Uninstall all versions of DAQmx
    2) Install DAQmx 9.3 Full and reboot
    3) Run the DAQmx 9.4/9.5 installer
        a. Select Custom then click Next
         b. For "Application Development Support" select "Do not install this feature"
      c. Click through the next few menus until you get to "Start Installation." Make sure that Application Development Support is NOT under the Upgrading section
          d. Continue the install as normal and reboot.
    5) The DAQmx palette should be in LabVIEW 8.5.1
    Please let me know if you have any question. Again I apologize for the error.
    Steven K.
    National Instruments
    DAQ Software Engineer

  • I have problem my Mac shut down alone and I can't back it cuz in my country we dint have apple store ..?

    Hello
    This mohanned, I'm from Saudi Arabia but I'm living in California, I bought MacBook Pro from ur store couple months ago it was great but now  I have problem shut don't and look like I and downlod a new a new OS X but really I  can't do it !! Also we don't have in my city good store to fix it. So I need ur help guys

    Hello
    This mohanned, I'm from Saudi Arabia but I'm living in California, I bought MacBook Pro from ur store couple months ago it was great but now  I have problem shut don't and look like I and downlod a new a new OS X but really I  can't do it !! Also we don't have in my city good store to fix it. So I need ur help guys

  • HT1338 Problem: My Mac Pro is heating and the fan produce a lot of noise, what shall I do? I got the new Montain Lion

    Dear best Users,
    What shall I do? My Mac Pro 2.53 GHz Intel Core 2 Duo/OS X 10.8 13-inch 2009= Is heating and producing a lot of noise with the internal Fan.
    Best,
    Dario van der Lündin

    If you can, open Activity Monitor and see what's using up all the %CPU.
    If its kernel_task, shutdown immediately and do a PRAM reset, like this:
    1. Power down the machine.
    2. Locate the following keys on your keyboard in preparation for Step 4:
    ‘command’ – ‘option’ – ‘P’ – ‘R’
    3. Press the ‘power on’ button.
    4. Immediately – and before the grey screen appears – hold down ‘command-option-P-R’ all together.
    5. Keep them held down until you’ve heard the start-up chime twice. After you release them you should hear it again, and hopefully your Mac will boot up as it should and with the kernel_task process back to normal.
    If that's not it, try quitting whatever the process is by selecting it in the Activity monitor window, then 'Quit' in the task bar. If the process refuses to quit, post back with the name of the process.

  • Had a new hard drive installed on my Mac. Now how to get ALL my music/photos from iPhone to Mac?

    I had a hard drive crash on my Mac laptop over Xmas, and had a new one installed.  The iCloud contains all my purchased music, but I need to sync from my existing iPhone to get all the songs I previously had uploaded to my library from CDs.  (Don't want to do that again if I can avoid it!)  My iTunes library (actually on iCloud now) is about 600 songs short.  Is there a way to do this?  Every time I attempt to sync, I get a warning that all my songs on the iPhone will be wiped and replaced with what's in the library.  That's exactly the opposite of what I want to do.

    The iphone is not a backup/storage device.  It simply mirrors the selected content of your computer.  The sync is one way - computer to iphone.  The only exception is itunes purchases.
    It has always been very basic to always maintain a backup copy of your computer for this very occasion.  Use your backup copy to put everything back.
    If for some reason you have failed to backup, not good, then you can purchase third party programs to retrieve the other music, at your risk.

  • Easiest way to transfer iTunes library on an external drive to a new Mac?

    Hello,
    I currently have my entire iTunes Library (Music, Movies, TV Shows, etc.) on an external hard drive.
    I have a new Mac arriving tomorrow, to replace my current one. What is the easiest way to get my entire Library into iTunes on my new Mac?
    I know Migration Assistant is normally supposed to help with this, but I assume that's only if the Library has been stored internally. Can I simply plug the external drive into the new Mac, authorize the computer, and Import my entire Library from the File menu?
    Any pointers would be appreciated. Thanks!

    mattfromallston wrote:
    I have a new Mac arriving tomorrow, to replace my current one. What is the easiest way to get my entire Library into iTunes on my new Mac?
    From your OLD computer...
    Copy your ENTIRE iTunes FOLDER to an External Drive... and then from the External Drive to your New Computer..
    Full Details Here  >  http://support.apple.com/kb/HT1751
    An Added Bonus is that you will have a Backup of iTunes.
    Also... Have a look at these 2 Videos...
    http://macmost.com/moving-your-itunes-library.html
    http://macmost.com/moving-your-itunes-media-to-an-external-drive.html
    NOTE:
    It is important that the External Hard Drive is formatted as Mac OS Extended (journaled).

  • Mac mail 4.5 and yahoo mail

    Anyone else having problems with mac mail 4.5 and sending mail with yahoo.mail server.  Mine is so erratic It's driving me crazy.  It works fine for a while then all of sudden it will just stop working for days at a time.  This happens without me changing any settings whatsoever.  I have other mail programs using the same servers AND THEY WORK FINE.  So this is total crap.  When I try getting help from my ISP they said it is a mac mail problem.  When I try to get help from APPLE (which is pretty much non existant) they say its an ISP problem.  The only thing I know is that its' my problem and I've given both these companies tons of money and they've left me hanging out in the breeze with arguably the most basic and important funciton of having a computer and an internet connection.  Screw them all I say.
    Anyone out there to help with this quandry.  By the way I've used mail connection doctor.  It has problem connecting to the outgoing server, but then it does and says all is fine.  But I still cant send mail.  I go back to connecton doctor and do a "check again" and now it CANT connect.  Jeez this is just awful

    I finally got my "Send" to work:
    Mac Mail Version 4.5 (1084) Settings for YahooPlus email accounts:
    In your Yahoo account:
    Before setting up Mac Mail, check that you have:
         Subscribed to Yahoo! Mail Plus
         Enabled POP
    In Mac Mail:
    Preferences > Accounts >
         Select your Yahoo account.
    Account Information tab:
         Incoming Mail Server: plus.pop.mail.yahoo.com
    Advanced tab:
         Port: 995
         Select: Use SSL
    Account Information tab: > Outgoing Mail Server (SMTP)
         Click on the up/down arrow and select Edit SMTP Server List
         Select  your Yahoo account
         Select the Account Information tab
              Server Name: plus.smtp.mail.yahoo.com
          Select Advanced tab:
              Port: Use default ports (25, 465, 587)   [Or you can also select  Use Custom Port: 465]
              Select Use Secure Sockets Layer (SSL)
              Click OK
         Close Preferences (Save settings when prompted)
    The information was extracted from
    http://help.yahoo.com/l/us/yahoo/mail/ymail/mailplus/pop/pop-30.html;_ylt=Akicod 1myG2IJofQmUDz9qdfPnpG

  • I run Tiger OSX on one MacBook and SnowLeopard on another. Photos were downloaded from Tiger to SnowLeopard, and now iPhoto won't open on the Tiger Mac. Will upgrading iPhoto fix this problem?

    I run Tiger OSX on one MacBook and SnowLeopard on another. Photos were downloaded from Tiger to SnowLeopard, and now iPhoto won't open on the Tiger Mac. Will upgrading iPhoto fix this problem?

    What matters is the version of iPhoto you have on the different machines. Can you tell us what they are, and what exact error message you get.
    Regards
    TD

  • Graphic card problem maybe? Since when I have changed the hard drive to my macbook pro and I installed all the new softwares, my mac is very slow and the screen gives crazy pictures,could maybe be the graphic card, does anybody have experienced this?

    Graphic card problem maybe? Since when I have changed the hard drive to my macbook pro and I installed all the new softwares, my mac is very slow and the screen gives crazy pictures,could maybe be the graphic card, does anybody have experienced this?

    after a restart it works for a time, but always slow. I went to the Applestore this afternoon and the made a check and said it would be the logicboard and they would have to change it for CHF 600 and it would be ready in 10 - 15 days

Maybe you are looking for