Jump to content
Welcome to InsanelyMac Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
zoltankr

AppleUSBCDC: start initDevice failed

21 posts in this topic

Recommended Posts

Chameleon2 RC5-r1167; Mac OS X 10.7 GM

 

AppleUSBCDC: start - initDevice failed

AppleUSBCDC: start - initDevice failed

AppleUSBCDC: start - initDevice failed

AppleUSBCDC: start - initDevice failed

 

org.chameleon.Boot.plist file:

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Kernel</key>

<string>mach_kernel</string>

<key>Kernel Flags</key>

<string></string>

<key>Timeout</key>

<string>1</string>

</dict>

</plist>

 

I would be grateful for any suggestion. Thank you!

post-66455-1310993322_thumb.jpg

Share this post


Link to post
Share on other sites

What did help with the usb error is to use the UseKernelCache option in chameleon.

 

the nstat error is still there :(

Share this post


Link to post
Share on other sites

i had the same thing.. reverted to a relier chameleon and also to "chimera" included in tonymacx86's [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] installer and : issue is gone, booting much faster now.

 

So it is an chameleon issue specific to that version you use. Try another one.

Share this post


Link to post
Share on other sites
UseKernelCache doesn't solve the problem.

Yes, I think there is something wrong with the latest "trunk r1167". I hope someone will look into the code.

 

I will try to use Chimera.

 

wonder if this error even affects something. Everything seems to work nicely after all (except resume from sleep)

Share this post


Link to post
Share on other sites

I'm getting the same error using the latest Chameleon (rev 1187 from trunk).

Share this post


Link to post
Share on other sites
What did help with the usb error is to use the UseKernelCache option in chameleon.

 

the nstat error is still there :unsure:

Hmm.. Mac OS X doesn't like "UseKernelCache" :P

post-66455-1311505490_thumb.jpg

Share this post


Link to post
Share on other sites
Yes, you are right!

I tried "UseKernelCache" one more time and no more USB errors. Altough, there is a problem. OS X doesn't boot with UseKernelCache.

 

Check out the attached image.

with the kernelcache your /e/e will be ignored. You have to copy your needed kext to /s/l/e to make it work.

Guess the error comes from fakesmc missing.

Share this post


Link to post
Share on other sites

There is something wrong with chameleon-trunk.

I tried this:

sudo kextcache -v 1 -a i386 -a x86_64 -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions

same problem.

Share this post


Link to post
Share on other sites
Yes, the only solution is usekernelcache, but I don't understand why no one use it in their org.chameleon.Boot.plist

 

Yeah it worked for me. ;)

 

Now I just have 'nstat_lookup_entry failed: 2' - annoying because there's a slight pause on this error, the USBCDC message didn't delay the boot at all.

Share this post


Link to post
Share on other sites

I fixed mine by running [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] and selecting IOUSBFAMILY rollback and system utilities.

Share this post


Link to post
Share on other sites

Would be really nice if sometimes an hero can make new IOUSB kernel extensions , what fixes that USB init messages (my USB is working beside that messages) and that nstat messages. The stat comes very often, so even no problem it does fill the log fast and also takes some cpu time.

 

Here the thread were someone already made fixed IOUSB up to 10.6.8 - 10.7 Lion src is out so we have an hope someone can try to fix that for 10.7 also.

USB FIX thread http://www.insanelymac.com/forum/index.php?showtopic=239311

Share this post


Link to post
Share on other sites

The USBCDC errors only happen if i plugin my Android Handy and happens also with older Chameleons.

The error games from AppleUSBCDCDriver-4115.4.1 (its within IOUSBFamily).

I made an debug version for that driver and get this when i plugin the android. More detailed that the non debug version

Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: probe
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: probe - Exit
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device Class
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device Subclass
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: start - Device Protocol
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        1 AppleUSBCDC: initDevice
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - Checking Configuration
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        0 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        1 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        1 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:28 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        2 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        2 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        3 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        8        3 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        4 AppleUSBCDC: initDevice - Interface descriptor found
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00       ff        4 AppleUSBCDC: initDevice - Ignoring interface...
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00 e000404e        0 AppleUSBCDC: initDevice - FindNextInterfaceDescriptor returned error
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: initDevice - No valid configuration or preferred configuration error
Aug  2 11:38:29 GA_EP35 kernel[0]: 0        0 AppleUSBCDC: start - initDevice failed
Aug  2 11:38:29 GA_EP35 kernel[0]: 0xffffff800fd97a00        0        0 AppleUSBCDC: free

 

Here the source (orig.): http://www.opensource.apple.com/tarballs/A...4115.4.1.tar.gz

 

I am not an dev but think that this driver is for ethernet/modem over USB devices.

 

Here my debug version (you can kextload it for tests)

AppleUSBCDC.kext.zip

Share this post


Link to post
Share on other sites

I confirm adding these into Boot.plist removes the AppleUSBCDC message during boot.

NOTE: remember to move all kexts from EE into SLE, especially fakesmc, otherwise they are ignored.

 

<key>UseKernelCache</key>
<string>Yes</string>

Share this post


Link to post
Share on other sites
The USBCDC errors only happen if i plugin my Android Handy and happens also with older Chameleons.

----------------removed-------------

 

I am not an dev but think that this driver is for ethernet/modem over USB devices.

 

Here my debug version (you can kextload it for tests)

 

 

most mobile phones are also appearing to the OperatingSystem as USB / and / or Bluetooth mobile modems .. - for example my Samsung S5230 has 3 USB modes that I can select when I attach it via USB to a PC , mass storage,MP3-Player or "PC-Studio". IN the "pc-studio mode" OSX Snow/Lion sees it as USB modem( at least in i386 mode ) ,adds a new network device , and even offers to use it as a Faxing device ( including menubar items for modem and fax ) - and because I have used the phone in Linux as well I know that it is using Unix port "device/ttyACM0" and even Linux' driver which gets loaded has the "ACM" in the name - so I think "ACM" is some generic handler-ID for any sort of USB modem. :

 

And therefore - yes you are correct : usbcdacm is the driver for Apples USB "ACM" modem ; the white one - which was sold as optional peripheral when the macs no longer came with built-in modems. Maybe it uses the exact internal chipset like our mobile phones today and therfore OSX might wonder if it is in fact the "Apple USB Modem" =?

Share this post


Link to post
Share on other sites

Hi,

 

I am also getting those appleusbcdc init errors including random lockups with black and white text on the screen when I plug a usb drive into the system. Not sure where along the install process this happened. Will have to start from scratch again I think unless I could remove every [url=&quot;http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/&quot;]#####[/url] kext installed?

 

Thanks

Share this post


Link to post
Share on other sites

In my case this error happens with Snow Leopard 10.6.5 on a HP DV5 core i3, with vanilla kernel or Legacy

 

The solution for now is to boot with "arch = i386" (with arch = x86_64 the error).

 

Of course, the ideal is to use 64-bit Snow.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.



×