Jump to content

AppleIntelE1000e.kext for 10.8/10.7/10.6/10.5


  • Please log in to reply
650 replies to this topic

#201
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
It's definitely 10.8 issue, I think apple changed something in IONetworking frameworks and this cause such bugs

Hope hank can find way to fix it for 10.8

Another issue I've seen using the driver in OS X is DNS resolving sometimes failing for Amazon Route 53/AWS sites. Randomly they'll fail to resolve, and manually looking them up in the console has given timeout errors. Example sites to try are dl.dropbox.com and www.dpreview.com

Only happens with this kext, and in 10.8. Was fine in 10.7, and using a different network card under 10.8 works fine too. Could be related to the youtube and skype issues?



#202
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male
I hope this one works with 10.8.

http://www.mediafire...r5s399ahtox5hbn

#203
samisnake

samisnake

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
just tried on 10.8.1 using built-in 82579. all is fine again.

thanks alot hnak

#204
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male
The issue was (probably) that Mac OS X did not check the actual value of UDP checksum once the driver reports the sum is verified - until 10.8.
Intel hardware "complements the payload checksum" ( as written in the original source file) , so it must be undo-ed for the host which re-checks the value for consistency.
I simply disabled hardware UDP checksum and let the OS do it.

#205
evolution

evolution

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

I hope this one works with 10.8.
http://www.mediafire...r5s399ahtox5hbn

just tried on 10.8.1 using built-in 82579. all is fine again.

thanks alot hnak


That's great news. I'm going to try this tomorrow...

Thanks a million, hnak!

#206
MrSmith3101

MrSmith3101

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Hnak...you are simple the best! :trumpet: You solved it man! Now Skype is working again! No problems with youtube as well! :guitar:

I'm reaaaaaally happy now!!! You just helped me to make my build perfect! :happymac:

Every little thing is now working! You made it!!

I really would like to hug you know :thanks_speechbubble: :thumbsup_anim: :thumbsup_anim: :thanks_speechbubble:

#207
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Yeah LAN is working well now! Thank's a lot for it!

#208
scotia

scotia

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
Hi hnac etc al,

Firstly, thanks for your efforts in maintaining this driver. I bought this NIC hoping for in-built Apple support but that didn't last long!

I have an issue with jumbo frames. I've tried a few values, and have the network stable at 4000 byte MTU. 5000, 8192, 9000 all fail. They DO get one or two pings/ping replies, but beyond that connectivity fails completely (small pings fail). Given that I ping at least once successfully, the card is capable of 9000 MTU. Come to think of it, under Windows it works fine (ie, I can confirm the card does actually support jumbo frames).

I am running the bundle hnac posted on September 8 (at least I hope I am. Does that report version 2.0.0?)

Here are my NIC details:

Type:    Ethernet Controller
  Bus:    PCI
  Vendor ID:    0x8086
  Device ID:    0x10b9
  Subsystem Vendor ID:    0x8086
  Subsystem ID:    0x1083
  Revision ID:    0x0006
  Link Width:    x1
  BSD name:    en0
  Kext name:    AppleIntelE1000e.kext
  Location:    /System/Library/Extensions/AppleIntelE1000e.kext
  Version:    2.0.0

hnac, have you made available an XCode project for this? If so I'd be tempted to check out the code myself and do some compiling. Which might end in tears...

Thanks
Scott

#209
Going Bald

Going Bald

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts

I hope this one works with 10.8.

http://www.mediafire...r5s399ahtox5hbn

Just tried it on the MSI Z77A-GD65 with a core i5 3570K running 10.8.1. No joy. The About this Mac System report doesn't show anything in the Networking but a Firewire - doesn't even show the onboard NIC. Strangely enough, on power on and during the first part of the boot I have an orange light on the RJ45 connector. Watching the boot carefully, when AppleIntelE10003 (info): changing MTU from 0 to 1500 appears, the light goes out. No network available. Is there something else I need? Has to be the driver, because PC-BSD Isotope and Ubuntu both give me 2 orange lights indicating Gigabit ethernet.

#210
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

hnac, have you made available an XCode project for this? If so I'd be tempted to check out the code myself and do some compiling. Which might end in tears...

Project files are available from sourceforge.

Just tried it on the MSI Z77A-GD65 with a core i5 3570K running 10.8.1. No joy. The About this Mac System report doesn't show anything in the Networking but a Firewire - doesn't even show the onboard NIC. Strangely enough, on power on and during the first part of the boot I have an orange light on the RJ45 connector. Watching the boot carefully, when AppleIntelE10003 (info): changing MTU from 0 to 1500 appears, the light goes out. No network available. Is there something else I need? Has to be the driver, because PC-BSD Isotope and Ubuntu both give me 2 orange lights indicating Gigabit ethernet.

I guess the driver fails in hardware initialization.
Are there any messages ? You might have to build the driver from the source and trace/check where it stops.

#211
Going Bald

Going Bald

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 101 posts

I guess the driver fails in hardware initialization.
Are there any messages ? You might have to build the driver from the source and trace/check where it stops.

Not so far as i can see from the verbose boot. Just that one change to the MTU and it passes on to other things. There are messages in the console, however. Here is the enire console boot log if that will help.
9/11/12 6:16:46.000 PM bootlog[0]: BOOT_TIME 1347405406 0
9/11/12 6:16:56.000 PM kernel[0]: PMAP: PCID enabled
9/11/12 6:16:56.000 PM kernel[0]: PMAP: Supervisor Mode Execute Protection enabled
9/11/12 6:16:56.000 PM kernel[0]: Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
9/11/12 6:16:56.000 PM kernel[0]: vm_page_bootstrap: 2002893 free pages and 77875 wired pages
9/11/12 6:16:56.000 PM kernel[0]: kext submap [0xffffff7f8073e000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800073e000]
9/11/12 6:16:56.000 PM kernel[0]: zone leak detection enabled
9/11/12 6:16:56.000 PM kernel[0]: standard timeslicing quantum is 10000 us
9/11/12 6:16:56.000 PM kernel[0]: standard background quantum is 2500 us
9/11/12 6:16:56.000 PM kernel[0]: mig_table_max_displ = 74
9/11/12 6:16:56.000 PM kernel[0]: TSC Deadline Timer supported and enabled
9/11/12 6:16:56.000 PM kernel[0]: corecrypto kext started!
9/11/12 6:16:56.000 PM kernel[0]: Running kernel space in FIPS MODE
9/11/12 6:16:56.000 PM kernel[0]: Plist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
9/11/12 6:16:56.000 PM kernel[0]: Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS integrity POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS AES CBC POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS TDES CBC POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS AES ECB AESNI POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS AES XTS AESNI POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS SHA POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS HMAC POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS ECDSA POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS DRBG POST test passed!
9/11/12 6:16:56.000 PM kernel[0]: corecrypto.kext FIPS POST passed!
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: Based on code by mercurysquad, superhai ©2008
9/11/12 6:16:56.000 PM kernel[0]: User defined TjMax=0
9/11/12 6:16:56.000 PM kernel[0]: AppleACPICPU: ProcessorId=1 LocalApicId=0 Enabled
9/11/12 6:16:56.000 PM kernel[0]: AppleACPICPU: ProcessorId=2 LocalApicId=2 Enabled
9/11/12 6:16:56.000 PM kernel[0]: AppleACPICPU: ProcessorId=3 LocalApicId=4 Enabled
9/11/12 6:16:56.000 PM kernel[0]: AppleACPICPU: ProcessorId=4 LocalApicId=6 Enabled
9/11/12 6:16:56.000 PM kernel[0]: calling mpo_policy_init for TMSafetyNet
9/11/12 6:16:56.000 PM kernel[0]: Security policy loaded: Safety net for Time Machine (TMSafetyNet)
9/11/12 6:16:56.000 PM kernel[0]: calling mpo_policy_init for Sandbox
9/11/12 6:16:56.000 PM kernel[0]: Security policy loaded: Seatbelt sandbox policy (Sandbox)
9/11/12 6:16:56.000 PM kernel[0]: calling mpo_policy_init for Quarantine
9/11/12 6:16:56.000 PM kernel[0]: Security policy loaded: Quarantine policy (Quarantine)
9/11/12 6:16:56.000 PM kernel[0]: Copyright © 1982, 1986, 1989, 1991, 1993
9/11/12 6:16:56.000 PM kernel[0]: The Regents of the University of California. All rights reserved.
9/11/12 6:16:56.000 PM kernel[0]: MAC Framework successfully initialized
9/11/12 6:16:56.000 PM kernel[0]: using 16384 buffer headers and 10240 cluster IO buffer headers
9/11/12 6:16:56.000 PM kernel[0]: IOAPIC: Version 0x20 Vectors 64:87
9/11/12 6:16:56.000 PM kernel[0]: ACPI: System State [S0 S3 S4 S5] (S3)
9/11/12 6:16:56.000 PM kernel[0]: PFM64 (36 cpu) 0xf10000000, 0xf0000000
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: CPU family 0x6, model 0x3a, stepping 0x9, cores 4, threads 4
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: Using efi
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: BusClock=100MHz FSB=400MHz
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: Platform string k62
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: CPU0 Tjmax 105
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: CPU1 Tjmax 105
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: CPU2 Tjmax 105
9/11/12 6:16:56.000 PM kernel[0]: IntelCPUMonitor: CPU3 Tjmax 105
9/11/12 6:16:56.000 PM kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 2344
9/11/12 6:16:56.000 PM kernel[0]: AppleIntelCPUPowerManagement: (built 23:03:24 Jun 24 2012) initialization complete
9/11/12 6:16:56.000 PM kernel[0]: mbinit: done [96 MB total pool size, (64/32) split]
9/11/12 6:16:56.000 PM kernel[0]: Pthread support ABORTS when sync kernel primitives misused
9/11/12 6:16:56.000 PM kernel[0]: rooting via boot-uuid from /chosen: D3A2FB60-838C-390E-8339-8D1F2E442162
9/11/12 6:16:56.000 PM kernel[0]: Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
9/11/12 6:16:56.000 PM kernel[0]: com.apple.AppleFSCompressionTypeZlib kmod start
9/11/12 6:16:56.000 PM kernel[0]: com.apple.AppleFSCompressionTypeDataless kmod start
9/11/12 6:16:56.000 PM kernel[0]: com.apple.AppleFSCompressionTypeZlib load succeeded
9/11/12 6:16:56.000 PM kernel[0]: com.apple.AppleFSCompressionTypeDataless load succeeded
9/11/12 6:16:56.000 PM kernel[0]: AppleIntelCPUPowerManagementClient: ready
9/11/12 6:16:56.000 PM kernel[0]: [ PCI configuration begin ]
9/11/12 6:16:56.000 PM kernel[0]: console relocated to 0xf10000000
9/11/12 6:16:56.000 PM kernel[0]: PCI configuration changed (bridge=1 device=1 cardbus=0)
9/11/12 6:16:56.000 PM kernel[0]: [ PCI configuration end, bridges 4 devices 13 ]
9/11/12 6:16:56.000 PM kernel[0]: vendor:device: 0x8086:0x1503.
9/11/12 6:16:56.000 PM kernel[0]: HDAEnabler: Copyright © 2008 by Kabyl
9/11/12 6:16:56.000 PM kernel[0]: HDAEnabler: 05/05/2008 Added SP-Audio support by Taruga
9/11/12 6:16:56.000 PM kernel[0]: HDAEnabler: 03/07/2009 Compiled for 32/64-bit by Taruga
9/11/12 6:16:56.000 PM kernel[0]: FireWire runtime power conservation disabled. (2)
9/11/12 6:16:56.000 PM kernel[0]: AppleIntelE1000e(Info): changing MTU from 0 to 1500
9/11/12 6:16:56.000 PM kernel[0]: Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SAT0@1F,2/AppleAHCI/SPT2@2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/Hitachi HTS725016A9A364 Media/IOGUIDPartitionScheme/MtLion@2
9/11/12 6:16:56.000 PM kernel[0]: BSD root: disk0s2, major 1, minor 2
9/11/12 6:16:56.000 PM kernel[0]: FireWire (OHCI) VendorID 1106 ID 3403 built-in now active, GUID 0010dc0001d29036; max speed s400.
9/11/12 6:16:56.000 PM kernel[0]: Kernel is LP64
9/11/12 6:16:47.812 PM com.apple.launchd[1]: *** launchd[1] has started up. ***
9/11/12 6:16:47.821 PM com.apple.launchd[1]: *** Verbose boot, will log to /dev/console. ***
9/11/12 6:16:47.829 PM com.apple.launchd[1]: *** Shutdown logging is enabled. ***
9/11/12 6:16:55.982 PM com.apple.launchd[1]: (com.apple.automountd) Unknown key for boolean: NSSupportsSuddenTermination
9/11/12 6:17:01.014 PM hidd[46]: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
9/11/12 6:17:01.015 PM hidd[46]: void __IOHIDLoadBundles(): Loaded 0 HID plugins
9/11/12 6:17:01.000 PM kernel[0]: macx_swapon SUCCESS
9/11/12 6:17:01.000 PM kernel[0]: Waiting for DSMOS...
9/11/12 6:17:27.139 PM cfprefsd[20]: _CFXPreferencesGetByHostIdentifierString: unable to determine UUID for host... Giving up and returning 00000000-0000-0000-0000-000000000000.
9/11/12 6:17:27.152 PM coreservicesd[59]: FindBestLSSession(), no match for inSessionID 0xfffffffffffffffc auditTokenInfo( uid=0 euid=0 auSessionID=100000 create=false
9/11/12 6:17:27.171 PM configd[17]: network changed.
9/11/12 6:17:27.182 PM com.apple.SecurityServer[15]: Session 100000 created
9/11/12 6:17:27.208 PM com.apple.SecurityServer[15]: Entering service
9/11/12 6:17:27.331 PM UserEventAgent[11]: Captive: [mySCCopyWiFiDevices:162] WiFi Device Name == NULL
9/11/12 6:17:27.332 PM awacsd[56]: Starting awacsd connectivity-77 (Jun 20 2012 15:40:49)
9/11/12 6:17:27.336 PM awacsd[56]: InnerStore CopyAllZones: no info in Dynamic Store
9/11/12 6:17:27.346 PM mds[38]: (Normal) FMW: FMW 0 0
9/11/12 6:17:27.349 PM loginwindow[42]: Login Window Application Started
9/11/12 6:17:27.391 PM apsd[58]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
9/11/12 6:17:27.392 PM apsd[58]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102)
9/11/12 6:17:27.000 PM kernel[0]: HDAEnabler: Copyright © 2008 by Kabyl
9/11/12 6:17:27.000 PM kernel[0]: Previous Shutdown Cause: 3
9/11/12 6:17:27.000 PM kernel[0]: HDAEnabler: 05/05/2008 Added SP-Audio support by Taruga
9/11/12 6:17:27.000 PM kernel[0]: HDAEnabler: 03/07/2009 Compiled for 32/64-bit by Taruga
9/11/12 6:17:27.000 PM kernel[0]: DSMOS has arrived
9/11/12 6:17:27.000 PM kernel[0]: [IOBluetoothHCIController][start] -- completed
9/11/12 6:17:27.000 PM kernel[0]: WARNING: IOPlatformPluginUtil : getCPUIDInfo: this is an unknown CPU model 0x3a
9/11/12 6:17:27.000 PM kernel[0]: -- power management may be incomplete or unsupported
9/11/12 6:17:27.000 PM kernel[0]: Sound assertion in AppleHDACodecGeneric at line 350
9/11/12 6:17:27.428 PM systemkeychain[63]: done file: /var/run/systemkeychaincheck.done
9/11/12 6:17:27.435 PM WindowServer[65]: Server is starting up
9/11/12 6:17:27.492 PM digest-service[83]: label: default
9/11/12 6:17:27.492 PM digest-service[83]: dbname: od:/Local/Default
9/11/12 6:17:27.492 PM digest-service[83]: mkey_file: /var/db/krb5kdc/m-key
9/11/12 6:17:27.492 PM digest-service[83]: acl_file: /var/db/krb5kdc/kadmind.acl
9/11/12 6:17:27.494 PM digest-service[83]: digest-request: uid=0
9/11/12 6:17:27.506 PM mDNSResponder[39]: mDNSResponder mDNSResponder-379.27 (Jun 20 2012 15:40:55) starting OSXVers 12
9/11/12 6:17:27.515 PM appleeventsd[52]: main: Starting up
9/11/12 6:17:27.514 PM rpcsvchost[85]: sandbox_init: com.apple.msrpc.netlogon.sb succeeded
9/11/12 6:17:27.519 PM digest-service[83]: digest-request: init request
9/11/12 6:17:27.522 PM digest-service[83]: digest-request: init return domain: BUILTIN server: LOCALHOST
9/11/12 6:17:27.538 PM com.apple.usbmuxd[27]: usbmuxd-268.5 on Apr 5 2012 at 15:33:48, running 64 bit
9/11/12 6:17:27.000 PM kernel[0]: [AGPM Controller] unknownPlatform
9/11/12 6:17:27.691 PM WindowServer[65]: Session 256 retained (2 references)
9/11/12 6:17:27.691 PM WindowServer[65]: Session 256 released (1 references)
9/11/12 6:17:27.696 PM WindowServer[65]: Session 256 retained (2 references)
9/11/12 6:17:27.696 PM WindowServer[65]: init_page_flip: page flip mode is on
9/11/12 6:17:28.205 PM WindowServer[65]: mux_initialize: Couldn't find any matches
9/11/12 6:17:28.215 PM WindowServer[65]: GLCompositor enabled for tile size [256 x 256]
9/11/12 6:17:28.215 PM WindowServer[65]: CGXGLInitMipMap: mip map mode is on
9/11/12 6:17:28.241 PM WindowServer[65]: WSMachineUsesNewStyleMirroring: false
9/11/12 6:17:28.241 PM WindowServer[65]: Display 0x18ce0881: GL mask 0x2; bounds (0, 0)[1920 x 1080], 16 modes available
Main, Active, on-line, enabled, boot, Vendor 5a63, Model 3822, S/N 0, Unit 1, Rotation 0
UUID 0x00005a63000038220000000018ce0881
9/11/12 6:17:28.241 PM WindowServer[65]: Display 0x003f003e: GL mask 0x4; bounds (0, 0)[0 x 0], 1 modes available
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
UUID 0xffffffffffffffffffffffff003f003e
9/11/12 6:17:28.241 PM WindowServer[65]: Display 0x003f003c: GL mask 0x1; bounds (0, 0)[0 x 0], 1 modes available
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 0, Rotation 0
UUID 0xffffffffffffffffffffffff003f003c
9/11/12 6:17:28.249 PM WindowServer[65]: Created shield window 0x5 for display 0x18ce0881
9/11/12 6:17:28.249 PM WindowServer[65]: Created shield window 0x6 for display 0x003f003e
9/11/12 6:17:28.249 PM WindowServer[65]: Created shield window 0x7 for display 0x003f003c
9/11/12 6:17:28.256 PM WindowServer[65]: Display 0x18ce0881: GL mask 0x2; bounds (0, 0)[1920 x 1080], 16 modes available
Main, Active, on-line, enabled, boot, Vendor 5a63, Model 3822, S/N 0, Unit 1, Rotation 0
UUID 0x00005a63000038220000000018ce0881
9/11/12 6:17:28.256 PM WindowServer[65]: Display 0x003f003e: GL mask 0x4; bounds (2944, 0)[1 x 1], 1 modes available
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 2, Rotation 0
UUID 0xffffffffffffffffffffffff003f003e
9/11/12 6:17:28.256 PM WindowServer[65]: Display 0x003f003c: GL mask 0x1; bounds (2945, 0)[1 x 1], 1 modes available
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 0, Rotation 0
UUID 0xffffffffffffffffffffffff003f003c
9/11/12 6:17:28.256 PM WindowServer[65]: CGXPerformInitialDisplayConfiguration
9/11/12 6:17:28.256 PM WindowServer[65]: Display 0x18ce0881: MappedDisplay Unit 1; Vendor 0x5a63 Model 0x3822 S/N 0 Dimensions 20.47 x 11.42; online enabled, Bounds (0,0)[1920 x 1080], Rotation 0, Resolution 1
9/11/12 6:17:28.256 PM WindowServer[65]: Display 0x003f003e: MappedDisplay Unit 2; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2944,0)[1 x 1], Rotation 0, Resolution 1
9/11/12 6:17:28.256 PM WindowServer[65]: Display 0x003f003c: MappedDisplay Unit 0; Vendor 0xffffffff Model 0xffffffff S/N -1 Dimensions 0.00 x 0.00; offline enabled, Bounds (2945,0)[1 x 1], Rotation 0, Resolution 1
9/11/12 6:17:28.308 PM WindowServer[65]: GLCompositor: GL renderer id 0x01024400, GL mask 0x00000007, accelerator 0x00003a17, unit 0, caps QEX|QGL|MIPMAP, vram 580 MB
9/11/12 6:17:28.308 PM WindowServer[65]: GLCompositor: GL renderer id 0x01024400, GL mask 0x00000007, texture units 8, texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
9/11/12 6:17:28.310 PM loginwindow[42]: **DMPROXY** Found `/System/Library/CoreServices/DMProxy'.
9/11/12 6:17:28.382 PM WindowServer[65]: Created shield window 0x8 for display 0x18ce0881
9/11/12 6:17:28.382 PM WindowServer[65]: Display 0x18ce0881: MappedDisplay Unit 1; ColorProfile { 2, "VX2433wm"}; TransferFormula (1.000000, 1.000000, 1.000000)
9/11/12 6:17:28.414 PM launchctl[99]: com.apple.findmymacmessenger: Already loaded
9/11/12 6:17:28.414 PM com.apple.SecurityServer[15]: Session 100005 created
9/11/12 6:17:28.436 PM loginwindow[42]: Login Window Started Security Agent
9/11/12 6:17:28.485 PM SecurityAgent[107]: This is the first run
9/11/12 6:17:28.485 PM SecurityAgent[107]: MacBuddy was run = 0
9/11/12 6:17:28.488 PM WindowServer[65]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x18ce0881 device: 0x10993b320 isBackBuffered: 1 numComp: 3 numDisp: 3
9/11/12 6:17:28.527 PM SecurityAgent[107]: User info context values set for tester
9/11/12 6:17:28.755 PM loginwindow[42]: Login Window - Returned from Security Agent
9/11/12 6:17:28.785 PM loginwindow[42]: USER_PROCESS: 42 console
9/11/12 6:17:28.828 PM com.apple.launchd.peruser.501[110]: (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple.ReportCrash.Self
9/11/12 6:17:28.831 PM loginwindow[42]: Connection with distnoted server was invalidated
9/11/12 6:17:28.835 PM distnoted[113]: # distnote server agent absolute time: 43.097310825 civil time: Tue Sep 11 18:17:28 2012 pid: 113 uid: 501 root: no
9/11/12 6:17:28.877 PM WindowServer[65]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
9/11/12 6:17:29.201 PM coreservicesd[59]: SendFlattenedData, got error #268435460 (ipc/send) timed out from ::mach_msg(), sending notification kLSNotifyApplicationLaunch to notificationID=115
9/11/12 6:17:29.255 PM com.apple.SecurityServer[15]: Session 100006 created
9/11/12 6:17:29.258 PM NetworkBrowserAgent[131]: Starting NetworkBrowserAgent
9/11/12 6:17:29.281 PM coreaudiod[127]: 2012-09-11 06:17:29.280592 PM [AirPlay] Started browsing for _airplay._tcp.
9/11/12 6:17:29.281 PM coreaudiod[127]: 2012-09-11 06:17:29.281100 PM [AirPlay] Started browsing for _raop._tcp.
9/11/12 6:17:29.282 PM coreaudiod[127]: AHS_DefaultDeviceManager::SynchronizeDeviceList: the device list should never be empty - retrying
9/11/12 6:17:29.283 PM WindowServer[65]: Display 0x18ce0881: MappedDisplay Unit 1; ColorProfile { 2, "VX2433wm"}; TransferFormula (1.000000, 1.000000, 1.000000)
9/11/12 6:17:29.409 PM com.apple.launchd.peruser.501[110]: (com.apple.afpstat-qfa[151]) Exited with code: 2
9/11/12 6:17:29.543 PM com.apple.launchd.peruser.501[110]: (com.apple.mrt.uiagent[141]) Exited with code: 255
9/11/12 6:17:29.602 PM blued[55]: kBTXPCUpdateUserPreferences gConsoleUserUID = 501
9/11/12 6:17:30.283 PM coreaudiod[127]: AHS_DefaultDeviceManager::SynchronizeDeviceList: the device list should never be empty - retrying
9/11/12 6:17:30.395 PM WindowServer[65]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
9/11/12 6:17:30.451 PM WindowServer[65]: Display 0x18ce0881: MappedDisplay Unit 1; ColorProfile { 2, "VX2433wm"}; TransferFormula (1.000000, 1.000000, 1.000000)
9/11/12 6:17:30.464 PM WindowServer[65]: Display 0x18ce0881: MappedDisplay Unit 1; ColorProfile { 2, "VX2433wm"}; TransferFormula (1.000000, 1.000000, 1.000000)
9/11/12 6:17:31.284 PM coreaudiod[127]: AHS_DefaultDeviceManager::SynchronizeDeviceList: the audio device list is empty
9/11/12 6:17:32.672 PM configd[17]: network changed: DNS*
9/11/12 6:17:32.674 PM mDNSResponder[39]: D2D_IPC: Loaded
9/11/12 6:17:32.674 PM mDNSResponder[39]: D2DInitialize succeeded
9/11/12 6:17:32.690 PM locationd[43]: Entitlement com.apple.locationd.status required to use _CLDaemonGetAppsUsingLocation
9/11/12 6:17:32.745 PM locationd[43]: NOTICE,Location icon should now be in state 0
9/11/12 6:17:32.759 PM apsd[58]: Certificate doesn't match host
9/11/12 6:17:32.765 PM UserEventAgent[136]: cannot find fw daemon port 1102
9/11/12 6:17:32.982 PM apsd[58]: Got connection error Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x7fd379c23ee0 {NSUnderlyingError=0x7fd37a92d900 "The Internet connection appears to be offline.", NSErrorFailingURLStringKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSErrorFailingURLKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSLocalizedDescription=The Internet connection appears to be offline.}
9/11/12 6:17:32.982 PM apsd[58]: Failed to get client cert on attempt 1, will retry in 15 seconds
9/11/12 6:17:33.535 PM apsd[58]: Certificate doesn't match host
9/11/12 6:17:42.338 PM awacsd[56]: Exiting
9/11/12 6:17:48.087 PM apsd[58]: Got connection error Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x7fd379c249b0 {NSUnderlyingError=0x7fd37a80c7b0 "The Internet connection appears to be offline.", NSErrorFailingURLStringKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSErrorFailingURLKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSLocalizedDescription=The Internet connection appears to be offline.}
9/11/12 6:17:48.087 PM apsd[58]: Failed to get client cert on attempt 2, will retry in 15 seconds
9/11/12 6:17:48.816 PM com.apple.launchd[1]: (com.apple.coreservices.appleid.authentication[105]) Exit timeout elapsed (20 seconds). Killing
9/11/12 6:17:55.251 PM com.apple.SecurityServer[15]: Session 100004 created
9/11/12 6:17:57.696 PM _eppc[178]: /usr/libexec/ntpd-wrapper: scutil key State:/Network/Global/DNS not present after 30 seconds
9/11/12 6:17:58.088 PM _eppc[181]: Unable to resolve hostname(s)
9/11/12 6:17:58.132 PM ntpd[81]: proto: precision = 1.000 usec
9/11/12 6:18:03.241 PM apsd[58]: Got connection error Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x7fd379c25400 {NSUnderlyingError=0x7fd37a92fa90 "The Internet connection appears to be offline.", NSErrorFailingURLStringKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSErrorFailingURLKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSLocalizedDescription=The Internet connection appears to be offline.}
9/11/12 6:18:03.241 PM apsd[58]: Failed to get client cert on attempt 3, will retry in 30 seconds
9/11/12 6:18:33.399 PM apsd[58]: Got connection error Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x7fd37ac2ae40 {NSUnderlyingError=0x7fd379c255a0 "The Internet connection appears to be offline.", NSErrorFailingURLStringKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSErrorFailingURLKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSLocalizedDescription=The Internet connection appears to be offline.}
9/11/12 6:18:33.399 PM apsd[58]: Failed to get client cert on attempt 4, will retry in 60 seconds
9/11/12 6:18:46.137 PM xpcd[157]: restored permissions (100644 -> 100744) on /Users/tester/Library/Containers/com.apple.TextEdit/Container.plist
9/11/12 6:18:46.423 PM librariand[188]: MMe quota status changed: under quota
9/11/12 6:18:46.463 PM com.apple.security.pboxd[191]: Bug: 12A269: liblaunch.dylib + 23849 [224CB010-6CF8-3FC2-885C-6F80330321EB]: 0x25
9/11/12 6:19:33.526 PM apsd[58]: Got connection error Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo=0x7fd379c258c0 {NSUnderlyingError=0x7fd37a952eb0 "The Internet connection appears to be offline.", NSErrorFailingURLStringKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSErrorFailingURLKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=MacOS, NSLocalizedDescription=The Internet connection appears to be offline.}
9/11/12 6:19:33.526 PM apsd[58]: Failed to get client cert on attempt 5, will retry in 300 seconds
9/11/12 6:22:32.711 PM com.apple.launchd[1]: (com.apple.xprotectupdater[25]) Exited with code: 255

#212
dme237

dme237

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

The issue was (probably) that Mac OS X did not check the actual value of UDP checksum once the driver reports the sum is verified - until 10.8.
Intel hardware "complements the payload checksum" ( as written in the original source file) , so it must be undo-ed for the host which re-checks the value for consistency.
I simply disabled hardware UDP checksum and let the OS do it.


Looking at the driver, it appears that it doesn't actually enable checksum offload in the hardware for UDP traffic (the setting of E1000_TXD_CMD_TCP in the command word doesn't happen). In my testing I see a remote host complain of a bad UDP checksum when the Mac OS X machine is attempting DNS lookups - this affects attempts to lookup 'www.dpreview.com', for example (actually the failure is when following the name chain to an Amazon site).

Perhaps 10.8 started using hardware checksum offload for UDP more aggressively, and this is why the problem has just surfaced?

#213
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

Looking at the driver, it appears that it doesn't actually enable checksum offload in the hardware for UDP traffic (the setting of E1000_TXD_CMD_TCP in the command word doesn't happen). In my testing I see a remote host complain of a bad UDP checksum when the Mac OS X machine is attempting DNS lookups - this affects attempts to lookup 'www.dpreview.com', for example (actually the failure is when following the name chain to an Amazon site).

Perhaps 10.8 started using hardware checksum offload for UDP more aggressively, and this is why the problem has just surfaced?

E1000_TXD_CMD_TCP is set in e1000_tx_checksum() if TCP checksum is requested.
The flag is for transmit and TCP, not for receive and UDP, as far as I know.

#214
dme237

dme237

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

E1000_TXD_CMD_TCP is set in e1000_tx_checksum() if TCP checksum is requested.
The flag is for transmit and TCP, not for receive and UDP, as far as I know.


According to the Intel documentation, that bit is used for both TCP and UDP checksum offload.

In my tests the Mac using this driver is producing packets with an invalid UDP checksum. That would fit with a situation where the protocol stack is requesting UDP checksum offload (and so not generating the checksum) but the hardware has not been requested to insert the checksum.

#215
savestheday

savestheday

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 162 posts
HNAK - thank you!

Are you guys able to sleep/wake with this new kext? I know WoL isn't working (yet - Lnx2Mac announced he's updating his driver and finally releasing source code!) but just does a simple sleep and wake work?

#216
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

According to the Intel documentation, that bit is used for both TCP and UDP checksum offload.

In my tests the Mac using this driver is producing packets with an invalid UDP checksum. That would fit with a situation where the protocol stack is requesting UDP checksum offload (and so not generating the checksum) but the hardware has not been requested to insert the checksum.

Really ? I just followed the Linux driver's logic (netdev.c), which sets the bit only if the protocol is TCP.
Will you add a line of code to set the flag, build the driver and let me know the result ?

#217
dme237

dme237

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

Really ? I just followed the Linux driver's logic (netdev.c), which sets the bit only if the protocol is TCP.
Will you add a line of code to set the flag, build the driver and let me know the result ?


I tried that, it didn't help - a Linux peer is still seeing UDP packets with incorrect checksum. Disabling just UDP checksum offload in the TX side (leaving TCP checksum offload enabled) produces a driver that seems to work just fine (the 'DNS lookup of digiphoto-prod-84399190.us-east-1.elb.amazonaws.com' test works and Youtube loads videos instantly and correctly shows the thumbnails along the right hand side).

So, I think that this is a UDP checksum offload bug, but I'm not sure how to fix it without disabling that offload.

As an aside, unloading the E1000 kext seems to work, but then re-loading without rebooting produces an interface that never seems to receive any packets from the wire - is that a known problem?

#218
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

I tried that, it didn't help - a Linux peer is still seeing UDP packets with incorrect checksum. Disabling just UDP checksum offload in the TX side (leaving TCP checksum offload enabled) produces a driver that seems to work just fine (the 'DNS lookup of digiphoto-prod-84399190.us-east-1.elb.amazonaws.com' test works and Youtube loads videos instantly and correctly shows the thumbnails along the right hand side).

So, I think that this is a UDP checksum offload bug, but I'm not sure how to fix it without disabling that offload.

As an aside, unloading the E1000 kext seems to work, but then re-loading without rebooting produces an interface that never seems to receive any packets from the wire - is that a known problem?

No. I frequently kextload/kextunload during development.
About UDP checksum, can you do the same test on Linux ?

#219
dme237

dme237

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

No. I frequently kextload/kextunload during development.
About UDP checksum, can you do the same test on Linux ?


kext unload/load still doesn't work for me. I'll look into that separately.

I grabbed an updated version of the 82567 specification and I think that you're right - that bit should not be set for UDP packets - sorry!

Anyway, I rebuilt everything with UDP checksum offload enabled and it all works! I'm somewhat puzzled...

#220
hnak

hnak

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 303 posts
  • Gender:Male

...
9/11/12 6:16:56.000 PM kernel[0]: AppleIntelE1000e(Info): changing MTU from 0 to 1500
...

In the driver, mtu is set before initialization, as it needs to allocate buffers according to the size.
Then some message about link information should follow, but not found in your log. So I guess that it fails in initialization and terminates itself - that's all I can tell.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy