Jump to content

Solving USB problems; USB devices do not mount


LioNEXT
 Share

408 posts in this topic

Recommended Posts

Hi

 

Just want to add an observation to this thread.

 

I noticed that some of my external NTFS formatted USB hard drives are not mounting on my desktop hackintosh. Yet it is recognized as an attached device in System Profiler and Disk Utility. This doesn't seem to happen on a genuine Mac (tested on an Alum. MacBook).

 

I found out that if the partition scheme was created using GUID as oppose to MBR, and formatted as NTFS, it'll mount properly. The drive still works under Windows (XP, Vista).

 

Anyway, hope this helps.

Link to comment
Share on other sites

Hey guys,

I've installed the latest iDeneb v1.4 10.5.6 on Voodoo Kernel. I get Kernel Panic within the Desktop as soon as i plug in my USB thumb drive. It seem to work without a problem when I put in a USB External Drive. Seatbelt fix is included. What could be wrong?

Link to comment
Share on other sites

Hey Mac User,

i have a problem:

I installed iDeneb 1.4 10.5.6 with vanilla kernel and IOUSBFamalyFix. Now I can use a USB Mouse and my Wifi Stick, but not my external HDD. My Mac say: Please restart your computer.

Can you help me? May you can give me a Fix for my proplem

 

My system:

Toshiba Sattelite A200-22F

Intel Doual Core 2,16Ghz

System.kext and Kernel 9.6.0

 

Pleas help me!

 

Tahnk you Ryman

 

Edit: I try it with 2 different 9.2.0 Kernels, a 9.2.2 and a 9.5.0 one. Always the same error. Now I try to install other mac versions and kernels.

Link to comment
Share on other sites

  • 1 month later...
There are some USB related threads on this forums here that kind of linger on without much replies or real solutions. I hope we can make one amalgamated thread that is all USB problems related

 

FEW IMPORTANT THINGS FIRST:

 

1) Make a habit of putting signatures in your post. It is very easy. Just go to control center and make one of your own or copy/paste signature from any post you like and edit it. Use mine if you like. This helps a lot for solving your problem and keeping sanity on part of the helper.

 

EDIT (by Moderator): but first read and follow the Signature and Avatar Rules

 

 

2) Make a habit of going through the whole thread. There will be lot of things that would be discussed that may be relevant to you. I learnt this way. All newbies learn this way. But as Mysticus C* calls it, only n00bies (=Stupid) don't read and therefore don't learn. So be a learner. I solved all my major and most minor installation problems without posting even once!! And I was a complete novice to begin with. :censored2:

 

UPDATE (09/28/08): I just figured that after updating to 10.5.5, I started getting USB drives not mounting problem again. I am still using 9.2.0 kernel and system.kext. It appears that since 10.5.5, the IOUSBMassStorageClass.kext is now not included as a plugin in the IOUSBFamily.kext, but separately in Extensions folder. Somehow with 9.2.0 kernel and system.kext, the kernel never picks up the updated massstorageclass kext. So I went ahead and copied this kext to the plugin folder of IOUSBFamily.kext and corrected the permissions. The USB drives mount fine now with updated USB kexts but older kernel and system.kext. I have not investigated extensively, so there may be some other cause. But if anybody cares, then it solved this for me.

 

UPDATE: 06/01/08 05/13/08: At the end of this update, you will find my original post dealing with a workaround procedure (Lingon Method) for solving USB, Firewire problems, etc. They may still work for you if nothing else works. But majority of people should get it solved with the method below and keep in mind all the points mentioned here. Credit goes to Mysticus C* for making a USB fix installer for an easy solution. So here we go!

 

( A ) CHECK YOUR BIOS FIRST:

 

You may have one or all of these options:

enable: plug and play

enable: usb legacy support (this is only needed if you want your usb hdd dvd/cd roms flash disks to be recognized at boot for various reasons, like booting off from usb dvdrom, or hdd or flash memory etc. If disabled, this does not affect at all while in the OS, since the OS (OSX or Windows) will load its appropriate drivers.)

enable: usb keyboard and mouse (this will enable you to work with usb keyboard and mouse at boot. Otherwise, they may not work until any OS is loaded)

 

( B ) MAIN CAUSES OF USB NOT MOUNTING ISSUE:

 

(Some abbreviations: S: System L:Library E:Extensions C:Caches)

 

1) Incompatibility problem: The problem is caused from having different (non-matching) versions of kernel (mach_kernel) and system.kext. Say you have 9.2.0 kernel, but system.kext version is 9.2.2 This will cause USB not mounting issue...

 

How to check kernel version:

The easiest way to check kernel is running terminal window (applications/utilities/terminal) and type:

uname -a

It will show a long line and at the end of the line it should say the version. Check the figure below.

 

How to check system.kext version:

Open a finder window, go to /S/L/E and find the file named "system.kext" right click on it, and click on Get Info. In the Get Info window, you will see the Version number. Alternatively, you can right click on the kext, click "show package contents", and open the "info.plist" file (in text editor, for example). It should show a line like this:

<key>CFBundleVersion</key>
<string>9.2.2</string>

Here is how it should look like:

post-176586-1210576125_thumb.jpg

 

Both should match in versions. If you have 9.2.2 kernel, then system.kext should also be 9.2.2. However, if your kernel and system.kext versions are not matching, that is then the root of the problem. So in order to fix these issues, use the installer provided below. Once you can confirm the details and you know you have non-matching versions, you can continue to Install Guide and follow the instructions

 

2) PCGENUSB2 problem: There is another possible way that things may not work as intended. This is however a very specific situation and may be needed for some of you. You must know your system details. There is a good chance there is someone out there who has a similar configuration. Therefore, searching and reading first really helps. The problem is called: "USB 2.0 aka high speed bus is not working". This problem exists on certain laptops (and old desktop configurations) that contains non-standard bioses, or some old motherboards. In order to fix this issue, "PCGENUSB2.kext" can be installed as part of plugins inside "IOUSBFamily.kext". Kalyway installation adds this by default. To check it, go to /S/L/E and right click IOUSBFamily.kext, open package contents, go to plugins folder and see if you have this kext there). What it does is that it forces the bios to release the information regarding the USB 2.0 controller, so that OSX can handle high speed bus as well. Nevertheless, most people have recent hardware configurations and may not even have this issue and much less need it. On the other hand, it seems for at least some of them, having PCGENUSB2 actually complicates or worsens their USB problems (for example, see noam's post here having a weird wireless USB issue). So it may be advisable to remove this unnecessary part and leave IOUSBFamily.kext vanilla.

 

How you may got this pcgenusb2 file?:

  • You deliberately installed it yourself.
  • You installed Kalyway 10.5.2 dvd with default settings (by default, PCGENUSB2 is selected in the patches section).

What to do about it?:

 

This you may have to verify yourself if you need it or not. If you are sure that you have the USB 2.0 issue, that you must install the pcgenusb2 file, then do not delete this. So uncheck the last option in the installer (If the option is checked, the installer places a vanilla IOUSBFamily.kext that lacks this PCGENUSB2). A cautionary warning: although PCGENUSB2 helps for those folks who need it, it may cause some USB devices to not work as intended. Sorry, there is no other way... (or buy a new mobo :) )

 

If you are sure that you dont have this issue and don't need it, make sure you check the last option so that it installs a vanilla IOUSBFamily.kext.

 

( C ) HOW-TO GUIDE FOR FIXING THE ISSUE "USING USB fix 1.3.MPKG" (aka USB Fix Installer)

 

1 ) Download the zip file

2 ) Extract the file on your desktop or where ever you like

3 ) Open the folder wherever you extracted the file

4 ) Double click/run the file "USB Fix 1.3.mpkg"

5 ) This has to be installed on the partition you are running OSX, so, no location change on this version

6 ) Click on "Customize", to be able make your own choices...

7 ) By Default: "9.2.0 System.kext only" and "USB Family Original Restore Backup" is selected.

 

Reasons for default selections:

  • I see that many people are using Kalyway 10.5.2 DVD, which by default has 9.2.0 sleep kernel, selected but installs 9.2.2 system.kext... To solve one of the two issues, you need to have correct system.kext. So this is why I made 9.2.0 system.kext only default
  • As default on the Kalyway 10.5.2 DVD, PCGENUSB2 is also selected. This is a full driver package that is needed only on handful of mobos/laptops which has problematic bios that doesnt release the USB 2.0 high speed bus information to OS as a result it causes High Speed ports to not work. However majority of the people do not have this issue... Therefore I made this by default selection for people who accidently installed pcgenusb2...

Although at this stage you can restart, I HIGHLY RECOMMEND Steps 8,9,10 that are optional but useful on some unique situations...

 

8 ) Open a finder window, and locate /S/L/Extensions.mkext file. Right Click on it, and select Move To Trash (enter password of course later)

9 ) Locate /S/L/E/C/com.apple.kext.info file and same right click and move to trash

10 ) Restart and at boot press F8 where it waits for 5 secs. Type: -v -f (this is gonna recreate driver caches and fast boot caches. the reason why we are doing 7,8 is sometimes these caches prevent new drivers from loading. Although Leopard has auto update function on these caches, sometimes better take precaution...)

 

WARNING: The installer is fairly safe but still use it at your own risk. Any problem, please report :)

 

post-176586-1210711843_thumb.png

 

DOWNLOAD (usb_fix_1.3.mpkg.zip)

Update: 05/18/08: New Installer version 1.3; Installer fixed for force-deleting of kexts; Have been tested extensively. If you had used earlier version and were unsuccessful in getting your problem solved, I urge you to try this one out. There was little bug in the earlier version.

 

The below given information is ONLY FOR THOSE FOLKS who like to tinker on their own inside the hood just to make sure that the fix is performed 100%. If you are using going to use the installer, you don't need to read this. Here is what you can do to manually replace the relevant system.kext . The replacement below is for 9.2.0 system.kext . You can find other versions elsewhere or use pacifist to extract from the installer above.

1) Remove the current non-matching system.kext

2) Remove the Lingon created plist, eg USBstarter (it is in /Library/LaunchDaemons folder), if you have created one using the previous method I had described before (see the end of this post below)

3) Put the 9.2.0 system.kext in /System/Library/Extension folder

4) Repair permissions:

sudo chown -R 0:0 /S/L/E/System.kext
sudo chmod -R 755 /S/L/E/System.kext

5) OPTIONAL: If you don't need PCGENUSB2, then delete IOUSBFamily.kext and replace a vanilla copy in its place. Repair permissions for this one as well.

5) Delete the extension.mkext file and the file inside /S/L/E/Caches folder (com.apple.kext.info)

6) Restart. Use -v -f option during boot during rebuild the cache (Press F8 at the darwin bootloader to get to the boot option, if needed). Plug in any USB drive. It should work wonders. Don't worry if you don't see IOUSBMassStorage.kext in Terminal using kextstat after boot. It gets invoked once you put a USB device and the kext will also be visible in Terminal

 

System_9.2.0.kext.zip

 

 

( D ) GENERAL INFORMATION

I am adding this section for tid-bits that we gather from discussions in this thread.

  • [1] This solution should fix your Firewire issues (that are related to this non-matching problem) as well. Firewire devices should mount now.
     
    [2] If you happen to replace the IOUSBFamily.kext but figured that you actually need PCGENUSB2, here is a place to get IOUSBFamily.kext that has the PCGENUSB2.kext in its plugins.
http://osx86.wikidot.com/utilities-resources
 
[3] If you are a blackberry user and you get something about the current being insufficient for charging check drivers etc, check Toonces Katt's post #212 for a fix.
 
[4] If you have matching kernel and system.kext but still find that USB devices do not mount or would only mount sometimes, the problem may be caused by other hardware such as problematic card readers. Once again, check Toonces Katt's post #223 how removing the card reader (a cheap Dell one) helped him diagnose and solve the USB problem.

Happy USB plugging!

 

LioNEXT

 

--------------------------------------------------------------------------------------------------------------

*******************************************************************************

--------------------------------------------------------------------------------------------------------------

 

Below is my original post for posterity and for learning purposes. You can also use this if you can not solve the problem using the above method. I would also suggest reading this so that you get acquainted with troubleshooting mac problems.

 

[uPDATES]

The updates below were using Lingon method.

 

Update 04/30/08: McKack and BoNeS solved problem of Firewire devices not mounting with this method as well. See post #54 and post #231 by adding daemons for:

 

kextload -b com.apple.iokit.IOFireWireAVC

kextload -b com.apple.iokit.IOFireWireSBP2

 

Update 04/09/08:

Following USB related kexts should be loaded for the devices to work ( check with kextstat | grep "USB" ). Also, see post #17 below.

 

com.apple.iokit.IOUSBFamily

com.apple.driver.AppleUSBUHCI

com.apple.driver.AppleUSBEHCI

com.apple.iokit.IOUSBUserClient

com.apple.driver.AppleUSBHub

com.apple.driver.AppleUSBComposite

com.apple.iokit.IOUSBHIDDriver

com.apple.iokit.IOUSBMassStorageClass

 

See the attachment below for a screenshot of Lingon app and the things that need to be checked.

Lingon.pdf

 

Update 04/08/08: Make sure you check the box next to Enable and then hit save. If there are more than one kext that does not get loaded, create daemon for each kext and enable and save.

 

[/uPDATES]

 

 

Alright, here is my USB problem and how I resolved it and I believe it probably can resolve some other issues as well.

 

My USB devices like pen drives or USB external storage disks won't mount in Leopard 10.5.2. Well, let me qualify my statement. On my configuration, they would do so with stock kernel but then I won't have shut down and restart. So I installed Netkas' sleep/shutdown kernel (modified toh 9.2.0), which works absolutely well for me, but now USB devices do not mount. I read somewhere that at every startup, kexts get their links from the kernel. So one has to appropriately match kernel with kexts. So the system.kext and kernel should be compatible. Since Netkas' kernel is 9.2.0 (and not 9.2.2), some stuff doesn't work (I hope he will release updated kernel).

 

So I confirmed that IOUSBMassStorageClass kext does not get loaded during startup. In Terminal,

sudo -s

enter password (don't worry if you don't see it :D )

kextstat | grep "USB"

There is no com.apple.iokit.IOUSBMassStorageClass loaded.

 

(There is also a small app called USBProber available from apple in its USB debug kit that you can also use to see directly to check what kexts are loaded for USB and globally).

 

Now if you type in Terminal:

 

kextload -b com.apple.iokit.IOUSBMassStorageClass

 

So now the appropriate kext would load and everything would work.

(credits to TheG33K:

http://forum.insanelymac.com/index.php?s=&...st&p=532849 )

 

So after looking for a way to create an applescript or shell commands that would run at startup, I found little overwhelming for this rookie. I could not manage to run the command in the above link with script. Then I came across this little app, Lingon, from Peter Borg

 

http://lingon.sourceforge.net/

 

Install this

click new script/user daemon

Box 1: Name it as something (eg. USBstarter)

Box 2: put the required command or app; in this case:

kextload -b com.apple.iokit.IOUSBMassStorageClass

Box 3: select the second option "run it when it is loaded by the system at startup or login"

 

Check the box next to "Enable" (right top corner)

 

Hit Save. It will recommend restart. Restart and enjoy USB mounting all the time with Shutdown/restart/sleep (with S3) all well. :)

[i have seen that if I clean out kernel and other caches etc using a system utility like Cocktail , the plist (or in other words, kext won't load). It needs double reboot to get it loaded again. But after that, it will get loaded everytime. If for some reason, it still does not work, open lingon again, uncheck "Enable" and check it back again and hit save. Now it should load. I am not sure why this is so, since the USBstarter.plist is always present in the /Library/LaunchDaemons folder]

 

It should solve many other USB problems also. Please do post your USB problems and solutions you have come across.

 

 

-----

Link to comment
Share on other sites

Hi, ive been trying to solve my problem using your way, but it doesnt seem to work, my problem is my USB doesnot work properly if i plug my USB devices (thumb drive, mouse, keyboard, etc) after the mac os x loaded, if i plugged first before mac os x loaded, it works.

 

for example, i plug a mouse when mac os x already running, my mouse isnt detected, but if i plug my mouse just after i turn on my laptop, it works

 

btw, im using mac os x 10.5.7, and the kernel version is 9.7.0, its vanilla install in my laptop HP Pavillion DV 8000 series, Intel based

 

any suggestion or idea? thanks in advance

Link to comment
Share on other sites

Hi there, I've a little issue that you might have a solution for.

 

Sometimes at startup one of my USB preipherals (Keyboard or Mouse) isn't detected. It doesn't happen everytime, but only seldom. If I unplug it and plug it back in, Leoaprd recognize it and everything goes back to nomal.

Do you know why does this happen?

 

Thanks

Link to comment
Share on other sites

  • 3 weeks later...

Help please!

 

 

I'm running 10.5.7, kernel version 9.7.0, fully Vanilla kernel.

When I plug in a USB key or device, OSX freezes up like a kernel panic or something.

 

My motherboard is Gigabyte GA-EX38-DS5.

Everything else works but USB doesnt work after booting. If i have USB devices plugged in when booting, no problem, but cant plug in while running.

 

Here is my iname details:

uname -a
Darwin OPTIMUS.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386

 

Can anyone shed any light?

Should I use the 1.3 installer? It doesnt seem the correct version for my kernel.

 

Thanks.

Link to comment
Share on other sites

Hi-

 

I have a msi wind that until recently was running OSX with the following information:

Darwin/x86 boot v5.0.132 2037MB

VESA v.3.0 7MB

 

I installed the following fix: http://www.mediafire.com/download.php?3ntigkflwrh from Mysticus which I read about here: http://www.insanelymac.com/forum/lofiversi...t95789-300.html in a effort to get my USB mouse working. I had tried to install the fix posted earlier in this thread, but it was not working, perhaps because of the version of OSX (10.4.6) I was running. I am sorry I don't have more details, but that is due to the fact that now I cannot boot into my computer and I can't remember everything.

 

After install the above link fix, when I restarted my computer it would not boot into OSX and none of the flags will work, including single user mode and safe mode. I think that perhaps there was a kext deleted that is the cause of this, but I am not sure, it may be mach-kernel related. Does anyone have any idea if there is a way to fix this without a fresh install or a start-up disc?

 

This is way out of my computer skills league, and since I got the computer secondhand I will need to contact the owner (a fellow student) in order to get the backup and get it freshly installed if I can't get it working again. Also, I am an idiot and did not have a recent back up of my files, so I any advice on how to recover anything before I do the fresh install would be much appreciated. Otherwise I suppose I will have to pay some expert a lot of money to get my files back.

 

Thanks for any help or advice anyone might have to offer.

Link to comment
Share on other sites

  • 4 weeks later...

hi , first of all thx for the whole thread it helped me understanding things :D

but here is my problem

 

i installed the USB fix 1.3.MPKG with the default options...and did all the steps...

now before installing it i was able to see my USB memory stick detected in system profiler and when i reboot it mounted..

now after installing it all things went wrong ! system profiler didn`t detect the plugged in usb card...and when i reboot with the usb plugged in ... it not mounted ... :D:(

 

please help :(

Link to comment
Share on other sites

Hello.

 

I have iATKOS v7 10.5.7 on Asus P5N32-E. All works fine. All my USB devices mounting correctly, but it's only until machine go to sleep. After it's wakes up and I trying to mounting flash-drive or external USB HDD i have a kernel panic.

 

Anyone can halp me?

 

Sorry for my english.

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

I have tried to follow this thread and still get nothing. My System.kext version = 9.8.0 and my terminal version = 9.5.0. I cannot get them to match even after trying the suggestions in this forum.

 

I started with iATKOS v5 using the basic setup - PC EFI v9 bootloader, AppleDecrypt and matching video cards.

 

I have emachines Intel P4 with nVidia graphics card. I don't know how to find out what the motherboard is.

 

Any suggestions would be helpful.

Link to comment
Share on other sites

thank you very much, my kalyway 10.5.2 was working great but usb ports, Now I got my McClone working as a proxy server(Squid) and as Mail Server(kerio) as well, really smoking, amazingly fast and stable . Thank you very much again for all you efforts, installation was a breeze, asked me to reboot it and voilla!

This forum really rocks!

Link to comment
Share on other sites

I have tried everything I could to get my USB to work, the only time it works is if I start my computer with them connected, or plug them in as soon as the light blueish screen appears after the apple symbol. I have tried the usb fix a hundred times in a hundred different ways. I know that my problem is with the non-matching kernels, but have had no luck with the usb fix.

I installed the usb fix so many times, but haven't had any luck. When I install it and restart, the usb ports do not work at all. Things don't even power up after i install it. It's the only thing I have left to get working to have a full on mac, without spending $1500. All I ask is someone guide me through the process, I would be super appreciative.

(I HAVE READ THROUGH THE ENTIRE TOPIC, WITH NO LUCK)

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

Having done a clean install of Kalyway 10.5.2, everything but USB worked.

 

Having then read/printed/read your post several times, I tried your usb_fix_1.3, but I'm afraid it caused more trouble than it was worth.

 

After running it exactly as specified, I restarted, and got a kernel panic. This turned out to be because both system.kext and iousbfamily.kext had disappeared completely.

 

I found the backups of the old files in the backups folder, but there was no sign of the new ones. Fortunately, I was able to grab a system.kext from the install dvd (v9.2.1) via the Terminal on the installer, and from that I could get the main system up again.

 

I've since followed the instructions manually and have the correct system.kext in place. Deleting the extensions.kext and the cache/plist file were essential; I got another kernel panic by leaving them there.

 

So... now the system starts, all of the listed USB kexts are loaded at startup (according to kextstat), but the only USB drive that seems to be recognized is one that has already been formatted by a mac in the past. All of my other IDE drives I have that are ex-windows or linux fail to register with osx, even in disk utility.

 

Thanks for the post though; it taught me a lot about where things sit on the os.

 

ozmac

Link to comment
Share on other sites

Hello Guys im very much new to mac OSx i just installed OSX 10.5.1 on my intel pc(First time) Nd i updated it to 10.5.8

 

I hardly managed to install audio driver... but i cant make my usb devices detect, al though they can be seen in the boot menu ex:Flash drive. external HDD IDE i totally installed the os 3 times in 2 days i searched this forum but couldnt find a solution can u guys help me out atleast with a proper understandable link thanx in advance.....

Link to comment
Share on other sites

Hi,

 

further to my last message, USB is now working fine. I've done nothing extra to make this happen other than manually kextload the IOUSBMassStorageClass once and restart.

 

Now all drives load, so long as they are plugged directly into the PC's USB ports. If I connect them to a unpowered usb hub, then they don't show up. I note though that my canon mp780 shows up OK when connected via the same usb hub.

 

Whilst some people may be shy of doing things manually, I recommend it. The various automatic tools seem to either do nothing, or cause more trouble than they're worth in my experience.

 

Thanks to those who have posted so much generous information.

 

ozmac

Link to comment
Share on other sites

  • 1 month later...

Just wanted to say THANK YOU for the mkpg 1.3 installer...., as well as all the background information for doing it manually. I read it all, but just chose to use the installer. Worked perfectly! I had kernal 9.2.0 and system.kext of 9.2.2. I wasn't able to mount a USB drive if I plugged it in after startup. This fixed that!

 

Thanks again!

 

Bhavesh

Link to comment
Share on other sites

thanks so much for all the help. unfortunately, I can't seem to download the installer unless I become a rapidshare premium member. Could a kind soul upload it onto another free hosting site? I'd much rather resolve this through an installer than attacking it manually.

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

Thank you so much for this! I am still running 9.2 Kernel and System.kext is just what I needed to get this resolved. All my external and thumb drives work accordingly, the one hang up is a M-Audio Oxygen 8 v2 controller I have it would power up before but was not detected in SP but now won't even power up any suggestions? Thanks a bunch! :D :D

Link to comment
Share on other sites

  • 2 weeks later...

Hello All,

 

I am trying to get my usb drive to work. It works randomly. I believe it works when I start my mac os x iDeneb (10.5.5 Darwin 9.2.0, System.kext v 9.2.0)(running in vmware player) with the usb drive attached. I want to develop for iphone and it is very inconvenient.

So here is my problem:

 

Of the following kexts:

 

com.apple.iokit.IOUSBFamily (3.1.0)

com.apple.driver.AppleUSBUHCI (3.1.0)

com.apple.driver.AppleUSBEHCI (3.1.0)

com.apple.iokit.IOUSBUserClient (3.0.7)

com.apple.driver.AppleUSBHub (3.1.0)

com.apple.driver.AppleUSBComposite

com.apple.iokit.IOUSBHIDDriver

com.apple.iokit.IOUSBMassStorageClass

 

only the first 5 are loaded. I am trying to load the last three. Below I have given the input commands and their respective output.

 

bash-3.2# kextload -b com.apple.driver.AppleUSBComposite
kextload: loaded version 3.1.0 of module com.apple.iokit.IOUSBFamily differs from requested version 3.0.8
kextload: a link/load error occured for kernel extension /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext
link/load failed for extension /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBCompositeDriver.kext
 (run kextload with -t for diagnostic output)

 

 

bash-3.2# kextload -b com.apple.iokit.IOUSBHIDDriver
kextload: loaded version 3.1.0 of module com.apple.iokit.IOUSBFamily differs from requested version 3.0.8
kextload: a link/load error occured for kernel extension /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBHIDDriver.kext
link/load failed for extension /System/Library/Extensions/IOUSBFamily.kext/Contents/PlugIns/IOUSBHIDDriver.kext
 (run kextload with -t for diagnostic output)

 

 

bash-3.2# kextload -b com.apple.iokit.IOUSBMassStorageClass
kextload: loaded version 2.0.2 of module com.apple.iokit.IOSCSIArchitectureModelFamily differs from requested version 2.0.4
kextload: a link/load error occured for kernel extension /System/Library/Extensions/IOUSBMassStorageClass.kext
link/load failed for extension /System/Library/Extensions/IOUSBMassStorageClass.kext
 (run kextload with -t for diagnostic output)

 

 

I've been looking for a solution for a few days now on google and on this forum. Now I am posting the issue.

 

Can someone please guide me what to do.

Link to comment
Share on other sites

  • 1 month later...

i have downloaded voodoo kernel 9.5.0 since uname-a gave me 9.5.0 and system.kext 9.8.0.

 

The problems are fixed, including even an cracking sound issue in itunes and in games, so if you're newer than 9.2.0 or 9.2.2 then download this. (voodoo 9.7.0 is incompatible with my amd athlon).

Link to comment
Share on other sites

  • 1 month later...
There are some USB related threads on this forums here that kind of linger on without much replies or real solutions. I hope we can make one amalgamated thread that is all USB problems related

 

FEW IMPORTANT THINGS FIRST:

 

1) Make a habit of putting signatures in your post. It is very easy. Just go to control center and make one of your own or copy/paste signature from any post you like and edit it. Use mine if you like. This helps a lot for solving your problem and keeping sanity on part of the helper.

 

EDIT (by Moderator): but first read and follow the Signature and Avatar Rules

 

 

2) Make a habit of going through the whole thread. There will be lot of things that would be discussed that may be relevant to you. I learnt this way. All newbies learn this way. But as Mysticus C* calls it, only n00bies (=Stupid) don't read and therefore don't learn. So be a learner. I solved all my major and most minor installation problems without posting even once!! And I was a complete novice to begin with. ;)

 

UPDATE (09/28/08): I just figured that after updating to 10.5.5, I started getting USB drives not mounting problem again. I am still using 9.2.0 kernel and system.kext. It appears that since 10.5.5, the IOUSBMassStorageClass.kext is now not included as a plugin in the IOUSBFamily.kext, but separately in Extensions folder. Somehow with 9.2.0 kernel and system.kext, the kernel never picks up the updated massstorageclass kext. So I went ahead and copied this kext to the plugin folder of IOUSBFamily.kext and corrected the permissions. The USB drives mount fine now with updated USB kexts but older kernel and system.kext. I have not investigated extensively, so there may be some other cause. But if anybody cares, then it solved this for me.

 

UPDATE: 06/01/08 05/13/08: At the end of this update, you will find my original post dealing with a workaround procedure (Lingon Method) for solving USB, Firewire problems, etc. They may still work for you if nothing else works. But majority of people should get it solved with the method below and keep in mind all the points mentioned here. Credit goes to Mysticus C* for making a USB fix installer for an easy solution. So here we go!

 

( A ) CHECK YOUR BIOS FIRST:

 

You may have one or all of these options:

enable: plug and play

enable: usb legacy support (this is only needed if you want your usb hdd dvd/cd roms flash disks to be recognized at boot for various reasons, like booting off from usb dvdrom, or hdd or flash memory etc. If disabled, this does not affect at all while in the OS, since the OS (OSX or Windows) will load its appropriate drivers.)

enable: usb keyboard and mouse (this will enable you to work with usb keyboard and mouse at boot. Otherwise, they may not work until any OS is loaded)

 

( B ) MAIN CAUSES OF USB NOT MOUNTING ISSUE:

 

(Some abbreviations: S: System L:Library E:Extensions C:Caches)

 

1) Incompatibility problem: The problem is caused from having different (non-matching) versions of kernel (mach_kernel) and system.kext. Say you have 9.2.0 kernel, but system.kext version is 9.2.2 This will cause USB not mounting issue...

 

How to check kernel version:

The easiest way to check kernel is running terminal window (applications/utilities/terminal) and type:

uname -a

It will show a long line and at the end of the line it should say the version. Check the figure below.

 

How to check system.kext version:

Open a finder window, go to /S/L/E and find the file named "system.kext" right click on it, and click on Get Info. In the Get Info window, you will see the Version number. Alternatively, you can right click on the kext, click "show package contents", and open the "info.plist" file (in text editor, for example). It should show a line like this:

<key>CFBundleVersion</key>
<string>9.2.2</string>

Here is how it should look like:

post-176586-1210576125_thumb.jpg

 

Both should match in versions. If you have 9.2.2 kernel, then system.kext should also be 9.2.2. However, if your kernel and system.kext versions are not matching, that is then the root of the problem. So in order to fix these issues, use the installer provided below. Once you can confirm the details and you know you have non-matching versions, you can continue to Install Guide and follow the instructions

 

2) PCGENUSB2 problem: There is another possible way that things may not work as intended. This is however a very specific situation and may be needed for some of you. You must know your system details. There is a good chance there is someone out there who has a similar configuration. Therefore, searching and reading first really helps. The problem is called: "USB 2.0 aka high speed bus is not working". This problem exists on certain laptops (and old desktop configurations) that contains non-standard bioses, or some old motherboards. In order to fix this issue, "PCGENUSB2.kext" can be installed as part of plugins inside "IOUSBFamily.kext". Kalyway installation adds this by default. To check it, go to /S/L/E and right click IOUSBFamily.kext, open package contents, go to plugins folder and see if you have this kext there). What it does is that it forces the bios to release the information regarding the USB 2.0 controller, so that OSX can handle high speed bus as well. Nevertheless, most people have recent hardware configurations and may not even have this issue and much less need it. On the other hand, it seems for at least some of them, having PCGENUSB2 actually complicates or worsens their USB problems (for example, see noam's post here having a weird wireless USB issue). So it may be advisable to remove this unnecessary part and leave IOUSBFamily.kext vanilla.

 

How you may got this pcgenusb2 file?:

  • You deliberately installed it yourself.
  • You installed Kalyway 10.5.2 dvd with default settings (by default, PCGENUSB2 is selected in the patches section).

What to do about it?:

 

This you may have to verify yourself if you need it or not. If you are sure that you have the USB 2.0 issue, that you must install the pcgenusb2 file, then do not delete this. So uncheck the last option in the installer (If the option is checked, the installer places a vanilla IOUSBFamily.kext that lacks this PCGENUSB2). A cautionary warning: although PCGENUSB2 helps for those folks who need it, it may cause some USB devices to not work as intended. Sorry, there is no other way... (or buy a new mobo :) )

 

If you are sure that you dont have this issue and don't need it, make sure you check the last option so that it installs a vanilla IOUSBFamily.kext.

 

( C ) HOW-TO GUIDE FOR FIXING THE ISSUE "USING USB fix 1.3.MPKG" (aka USB Fix Installer)

 

1 ) Download the zip file

2 ) Extract the file on your desktop or where ever you like

3 ) Open the folder wherever you extracted the file

4 ) Double click/run the file "USB Fix 1.3.mpkg"

5 ) This has to be installed on the partition you are running OSX, so, no location change on this version

6 ) Click on "Customize", to be able make your own choices...

7 ) By Default: "9.2.0 System.kext only" and "USB Family Original Restore Backup" is selected.

 

Reasons for default selections:

  • I see that many people are using Kalyway 10.5.2 DVD, which by default has 9.2.0 sleep kernel, selected but installs 9.2.2 system.kext... To solve one of the two issues, you need to have correct system.kext. So this is why I made 9.2.0 system.kext only default
  • As default on the Kalyway 10.5.2 DVD, PCGENUSB2 is also selected. This is a full driver package that is needed only on handful of mobos/laptops which has problematic bios that doesnt release the USB 2.0 high speed bus information to OS as a result it causes High Speed ports to not work. However majority of the people do not have this issue... Therefore I made this by default selection for people who accidently installed pcgenusb2...

Although at this stage you can restart, I HIGHLY RECOMMEND Steps 8,9,10 that are optional but useful on some unique situations...

 

8 ) Open a finder window, and locate /S/L/Extensions.mkext file. Right Click on it, and select Move To Trash (enter password of course later)

9 ) Locate /S/L/E/C/com.apple.kext.info file and same right click and move to trash

10 ) Restart and at boot press F8 where it waits for 5 secs. Type: -v -f (this is gonna recreate driver caches and fast boot caches. the reason why we are doing 7,8 is sometimes these caches prevent new drivers from loading. Although Leopard has auto update function on these caches, sometimes better take precaution...)

 

WARNING: The installer is fairly safe but still use it at your own risk. Any problem, please report :)

 

post-176586-1210711843_thumb.png

 

DOWNLOAD (usb_fix_1.3.mpkg.zip)

Update: 05/18/08: New Installer version 1.3; Installer fixed for force-deleting of kexts; Have been tested extensively. If you had used earlier version and were unsuccessful in getting your problem solved, I urge you to try this one out. There was little bug in the earlier version.

 

The below given information is ONLY FOR THOSE FOLKS who like to tinker on their own inside the hood just to make sure that the fix is performed 100%. If you are using going to use the installer, you don't need to read this. Here is what you can do to manually replace the relevant system.kext . The replacement below is for 9.2.0 system.kext . You can find other versions elsewhere or use pacifist to extract from the installer above.

1) Remove the current non-matching system.kext

2) Remove the Lingon created plist, eg USBstarter (it is in /Library/LaunchDaemons folder), if you have created one using the previous method I had described before (see the end of this post below)

3) Put the 9.2.0 system.kext in /System/Library/Extension folder

4) Repair permissions:

sudo chown -R 0:0 /S/L/E/System.kext
sudo chmod -R 755 /S/L/E/System.kext

5) OPTIONAL: If you don't need PCGENUSB2, then delete IOUSBFamily.kext and replace a vanilla copy in its place. Repair permissions for this one as well.

5) Delete the extension.mkext file and the file inside /S/L/E/Caches folder (com.apple.kext.info)

6) Restart. Use -v -f option during boot during rebuild the cache (Press F8 at the darwin bootloader to get to the boot option, if needed). Plug in any USB drive. It should work wonders. Don't worry if you don't see IOUSBMassStorage.kext in Terminal using kextstat after boot. It gets invoked once you put a USB device and the kext will also be visible in Terminal

 

System_9.2.0.kext.zip

 

 

( D ) GENERAL INFORMATION

I am adding this section for tid-bits that we gather from discussions in this thread.

  • [1] This solution should fix your Firewire issues (that are related to this non-matching problem) as well. Firewire devices should mount now.
     
    [2] If you happen to replace the IOUSBFamily.kext but figured that you actually need PCGENUSB2, here is a place to get IOUSBFamily.kext that has the PCGENUSB2.kext in its plugins.
http://osx86.wikidot.com/utilities-resources
 
[3] If you are a blackberry user and you get something about the current being insufficient for charging check drivers etc, check Toonces Katt's post #212 for a fix.
 
[4] If you have matching kernel and system.kext but still find that USB devices do not mount or would only mount sometimes, the problem may be caused by other hardware such as problematic card readers. Once again, check Toonces Katt's post #223 how removing the card reader (a cheap Dell one) helped him diagnose and solve the USB problem.

Happy USB plugging!

 

LioNEXT

 

--------------------------------------------------------------------------------------------------------------

*******************************************************************************

--------------------------------------------------------------------------------------------------------------

 

Below is my original post for posterity and for learning purposes. You can also use this if you can not solve the problem using the above method. I would also suggest reading this so that you get acquainted with troubleshooting mac problems.

 

[uPDATES]

The updates below were using Lingon method.

 

Update 04/30/08: McKack and BoNeS solved problem of Firewire devices not mounting with this method as well. See post #54 and post #231 by adding daemons for:

 

kextload -b com.apple.iokit.IOFireWireAVC

kextload -b com.apple.iokit.IOFireWireSBP2

 

Update 04/09/08:

Following USB related kexts should be loaded for the devices to work ( check with kextstat | grep "USB" ). Also, see post #17 below.

 

com.apple.iokit.IOUSBFamily

com.apple.driver.AppleUSBUHCI

com.apple.driver.AppleUSBEHCI

com.apple.iokit.IOUSBUserClient

com.apple.driver.AppleUSBHub

com.apple.driver.AppleUSBComposite

com.apple.iokit.IOUSBHIDDriver

com.apple.iokit.IOUSBMassStorageClass

 

See the attachment below for a screenshot of Lingon app and the things that need to be checked.

Lingon.pdf

 

Update 04/08/08: Make sure you check the box next to Enable and then hit save. If there are more than one kext that does not get loaded, create daemon for each kext and enable and save.

 

[/uPDATES]

 

 

Alright, here is my USB problem and how I resolved it and I believe it probably can resolve some other issues as well.

 

My USB devices like pen drives or USB external storage disks won't mount in Leopard 10.5.2. Well, let me qualify my statement. On my configuration, they would do so with stock kernel but then I won't have shut down and restart. So I installed Netkas' sleep/shutdown kernel (modified toh 9.2.0), which works absolutely well for me, but now USB devices do not mount. I read somewhere that at every startup, kexts get their links from the kernel. So one has to appropriately match kernel with kexts. So the system.kext and kernel should be compatible. Since Netkas' kernel is 9.2.0 (and not 9.2.2), some stuff doesn't work (I hope he will release updated kernel).

 

So I confirmed that IOUSBMassStorageClass kext does not get loaded during startup. In Terminal,

sudo -s

enter password (don't worry if you don't see it :D )

kextstat | grep "USB"

There is no com.apple.iokit.IOUSBMassStorageClass loaded.

 

(There is also a small app called USBProber available from apple in its USB debug kit that you can also use to see directly to check what kexts are loaded for USB and globally).

 

Now if you type in Terminal:

 

kextload -b com.apple.iokit.IOUSBMassStorageClass

 

So now the appropriate kext would load and everything would work.

(credits to TheG33K:

http://forum.insanelymac.com/index.php?s=&...st&p=532849 )

 

So after looking for a way to create an applescript or shell commands that would run at startup, I found little overwhelming for this rookie. I could not manage to run the command in the above link with script. Then I came across this little app, Lingon, from Peter Borg

 

http://lingon.sourceforge.net/

 

Install this

click new script/user daemon

Box 1: Name it as something (eg. USBstarter)

Box 2: put the required command or app; in this case:

kextload -b com.apple.iokit.IOUSBMassStorageClass

Box 3: select the second option "run it when it is loaded by the system at startup or login"

 

Check the box next to "Enable" (right top corner)

 

Hit Save. It will recommend restart. Restart and enjoy USB mounting all the time with Shutdown/restart/sleep (with S3) all well. :)

[i have seen that if I clean out kernel and other caches etc using a system utility like Cocktail , the plist (or in other words, kext won't load). It needs double reboot to get it loaded again. But after that, it will get loaded everytime. If for some reason, it still does not work, open lingon again, uncheck "Enable" and check it back again and hit save. Now it should load. I am not sure why this is so, since the USBstarter.plist is always present in the /Library/LaunchDaemons folder]

 

It should solve many other USB problems also. Please do post your USB problems and solutions you have come across.

 

 

-----

 

 

Well My Kernal And My System.kext thing is all matching but its still not mounting WTF is this im getting very {censored} Annoid with this {censored} problem what is this When ever i insert my {censored} usb flash drive the light is on but its not mounting on ym desktop or finder some one give me step by step Please This is {censored} crazy im getting really mad on this

Link to comment
Share on other sites

 Share

×
×
  • Create New...