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.

Col. Steve Austin

Members
  • Content count

    7
  • Joined

  • Last visited

About Col. Steve Austin

  • Rank
    InsanelyMac Protégé
  • Birthday September 12

Profile Information

  • Gender
    Male
  1. Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?

    Hi Mieze, I was curious myself so yesterday I swapped to my prev DSDT which didn't have it, just to see if there was any change in anyway. That was fruitless. I will try a few more things, to track this down. One curious thing is that this is the only version of the driver, I've seen, that doesn't have IOEthernetAVBController.kext. Adding one from a virgin 10.8 to the plugins of 10.8.5 results in this in the logs: 11/10/2013 17:56:52.000 kernel[0]: AppleBCM5701Ethernet: 0 16b1 getAdapterInfo - Device is unknown 11/10/2013 17:56:52.000 kernel[0]: AppleBCM5701Ethernet: 0 0 start - getAdapterInfo failed, giving up so I came across this thread which is probably behind how PJALMs Asrock dsdt patch, came to have the entry in the first place. I'd love to know how it gets that 16b1, and if it can be intercepted. It's been a couple of decades since my assembler days, but I've even started casually checking the binary in hopper to see if anything jumps out. I appreciate your help, and will be happy to try out any ideas. Serge
  2. Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?

    Done. No Change, but what is now certain is the problem starts with Info.plist: Virgin 10.8.5 kext + 'Sudo touch /System/Library/Extensions' == No kext loaded but no Log Errors reported either as soon as I change Info.plist to include '<string>pci14e4,16b1</string>' + 'Sudo touch /System/Library/Extensions' these Log errors start pouring out immediately and continue after reboot: 11/10/2013 17:04:18.042 sudo[264]: Serge : TTY=ttys000 ; PWD=/System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext/Contents ; USER=root ; COMMAND=/usr/bin/nano info.plist 11/10/2013 17:05:27.434 sudo[268]: Serge : TTY=ttys000 ; PWD=/System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext/Contents ; USER=root ; COMMAND=/usr/bin/touch /System/Library/Extensions/ 11/10/2013 17:05:33.458 sudo[270]: Serge : TTY=ttys000 ; PWD=/System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext/Contents ; USER=root ; COMMAND=/sbin/reboot 11/10/2013 17:05:35.032 com.apple.kextd[12]: AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. 11/10/2013 17:05:35.039 com.apple.kextd[12]: Can't load AppleBCM5701Ethernet.kext - failed to resolve dependencies. 11/10/2013 17:05:35.040 com.apple.kextd[12]: Load com.apple.iokit.AppleBCM5701Ethernet failed; removing personalities from kernel. 11/10/2013 17:05:35.775 com.apple.kextcache[274]: AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. 11/10/2013 17:05:35.776 com.apple.kextcache[274]: AppleBCM5701Ethernet.kext is missing dependencies (including anyway; dependencies may be available from elsewhere) 11/10/2013 17:05:36.391 com.apple.kextcache[274]: AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. 11/10/2013 17:05:38.382 com.apple.kextcache[274]: AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. 11/10/2013 17:05:38.383 com.apple.kextcache[274]: Prelink failed for com.apple.iokit.AppleBCM5701Ethernet; aborting prelink.
  3. Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?

    Hi Mieze, I have tried all of these methods already, having googled extensively. There are no kexts outside of /S/L/E and everything else is in good working order. This is what I have tried so far: sudo rm -r /System/Library/Caches/com.apple.kext.caches Repair permissions: (having deleted above caches) in DiskUtility in Kext Wizard (latest) in Terminal in Safe mode -v in stand alone mode -s While booting -f sudo touch /System/Library/Extensions all of the following fail the same way: sudo kextcache -update-volume / sudo kextcache -system-prelinked-kernel I have removed all network entries and deleted /L/P/SC/Preferences & NetworkInterfaces.plist which got recreated on reboot. The only thing that remains constant is the dependency on "com.apple.iokit.IOEthernetAVBController" for which I cannot find any useful info on the internet. What it is? What it does? and more importantly which part of my fricking system is continuously looking for it? I should also mention that my WiFi card is also Broadcom based and functions perfectly with any version of the driver. Could something in my dsdt be the problem? Thanks again Serge P.S. I've just checked my DSDT source and found the following: Scope (_SB.PCI0) { Device (GLAN) { Name (_ADR, 0x00190000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0D, 0x04)) } Method (_DSM, 4, NotSerialized) { Store (Package () { "Name", Buffer (0x09) {"Ethernet"}, "Model", Buffer (0x12) {"Broadcom 57765-B0"}, "Device-id", Buffer (0x04) {0xB4, 0x16, 0x00, 0x00}, "Vendor-id", Buffer (0x04) {0xE4, 0x14, 0x00, 0x00}, "Compatible", Buffer (0x0D) {"Pci14e4, 16b4"}, "IOName", Buffer (0x0D) {"Pci14e4, 16b4"}, "IONameMatch", Buffer () {"Pci14e4"}, Buffer () {"16b4"}, "built-in", Buffer (One) {0x01} }, Local0) DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } ..... This looks about right to me if indeed it's trying to fool the driver into thinking it's a 57765. Update 2: I replaced the patched IONetworkingFamily with the original 10.8.5 one and rebooted. No further log entries for any dependency. So I cleaned & rebuilt the -system-prelinked-kernel & system-caches which completed without error. Reboot (Still no Ethernet). Replaced with the repatched version (with the only difference being 16b0 -> 16b1) plus the binary patch. Reboot and the Dependency Errors are back again. this is from the logs: 09/10/2013 22:32:51.000 kernel[0]: Kext com.apple.iokit.AppleBCM5701Ethernet - library kext com.apple.iokit.IOEthernetAVBController not found. 09/10/2013 22:32:51.000 kernel[0]: Can't load kext com.apple.iokit.AppleBCM5701Ethernet - failed to resolve library dependencies. 09/10/2013 22:32:51.000 kernel[0]: Kext com.apple.iokit.AppleBCM5701Ethernet failed to load (0xdc00800e). 09/10/2013 22:32:51.000 kernel[0]: Failed to load kext com.apple.iokit.AppleBCM5701Ethernet (error 0xdc00800e). 09/10/2013 22:32:51.000 kernel[0]: Couldn't alloc class "BCM5701Enet" 09/10/2013 22:32:53.744 com.apple.kextd[12]: /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. 09/10/2013 22:32:53.800 com.apple.kextd[12]: Can't load /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext - failed to resolve dependencies. 09/10/2013 22:32:53.801 com.apple.kextd[12]: Load com.apple.iokit.AppleBCM5701Ethernet failed; removing personalities from kernel. Cheers Serge
  4. Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?

    Still unsure as to how to clean up. With the Virgin 10.8.5 IONetworkingFamily.kext patched in place, this fails: sudo kextcache -system-prelinked-kernel Kernel file /mach_kernel does not contain requested arch: i386 AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. AppleBCM5701Ethernet.kext is missing dependencies (including anyway; dependencies may be available from elsewhere) AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. Prelink failed for com.apple.iokit.AppleBCM5701Ethernet; aborting prelink. Failed to generate prelinked kernel. I temporarily added the IOEthernetAVBController.kext from the old not working driver to the Patched one/Plugins, so now the enX interface comes up but with the same problem as before (169.254.xxx.xxx) This is the relevant part of the logs 09/10/2013 13:58:56.000 kernel[0]: AppleBCM5701Ethernet: 0 0 ReadInRom: no 2nd code header found 09/10/2013 13:58:58.000 kernel[0]: BCM5701Enet: Ethernet address bc:5f:f4:4a:28:80 09/10/2013 14:00:29.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en1, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [7949,0003,0de1,0300,0000,0000] 09/10/2013 14:00:29.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link down on en1 09/10/2013 14:00:34.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en1, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [7949,0003,0de1,0300,0000,0000] 09/10/2013 14:00:34.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link down on en1 09/10/2013 14:00:38.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en1, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [7949,0003,0de1,0300,0000,0000] 09/10/2013 14:00:38.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link down on en1 09/10/2013 14:00:42.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en1, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [7949,0003,0de1,0300,0000,0000] 09/10/2013 14:00:42.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link down on en1 09/10/2013 14:00:46.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en1, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [7949,0003,0de1,0300,0000,0000] 09/10/2013 14:00:46.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link down on en1 09/10/2013 14:00:49.000 kernel[0]: Ethernet [AppleBCM5701Ethernet]: Link up on en1, 100-Megabit, Full-duplex, Symmetric flow-control, Debug [796d,0301,0de1,0300,4de1,0000] is there a different procedure to clean up kernel cache with the original patched driver? I also tried Onyx before... ? Cheers Serge
  5. Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?

    Hi Mieze I'll get those together, meanwhile this may be significant: I was trying to install my Audio drivers and a certain MB was failing the solution to which was: sudo kextcache -update-volume / this was failing with: AppleBCM5701Ethernet.kext - no dependency found for com.apple.iokit.IOEthernetAVBController. AppleBCM5701Ethernet.kext is missing dependencies (including anyway; dependencies may be available from elsewhere) etc. quick swap to old kext fixed that, but a quick look at system logs (narrowed with ionetworking) shows the kext not loading because some files need to be 644 but are 755 also this: 08/10/2013 16:13:11.589 com.apple.kextd[12] Can't load /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleBCM5701Ethernet.kext - failed to resolve dependencies. 08/10/2013 17:07:19.000 kernel[0] Refusing new kext com.apple.iokit.IONetworkingFamily, v3.0: a loaded copy with a different executable UUID is already present. Shall I still send the full logs & ioreg dump? Cheers Serge
  6. Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?

    Thanks for the quick reply. I had switch to the old non functioning 10.8 version (169.254.xxx.xxx) which at least loads. kextstat | grep BCM confirmed it, so I switched back to the 10.8.5 patched version and the same command shows that it's not loaded. I edited a new info.plist using nano this time. still not loading. I'm at a loss as to why?? I've attached a patched copy, if it's ok. I'd appreciate if you could have a look, to check that I'm not going blind or crazy. Thanks in advance Serge IONetworkingFamily.kext-SRG.zip
  7. Broadcom bcm57781 - how do I patch the kext for ML 10.8.5?

    Hi Mieze, I have a BCM57781 on my Asrock 77E-ITX which worked fine with 10.8. I had already gathered that the locations would be different for 10.8.5 & I'm using 0xED too. your correction above is actually identical to the original patch since in both cases, it's the middle 5 bytes that are being replaced with (mov $0x14e4,%eax) and (mov $0x16b4,%eax) twice, is that right? Anyway applying the patch to info.plist + AppleBCM5701Ethernet binary of a virgin 10.8.5 IONetworkingFamily.kext still refuses to work. in fact it's not even recognised in SystemInfo which is strange. I have triple checked the files with 0xED and both addresses and contents match your last post. Is there anything else that needs to be done? Thanks for your help Serge
×