• Author
    Posts
  • Todd Miller
    Post count: 0
    #16393 |

    I am getting logs generated in CCM\Logs upon start and finish of a BITS job but there are no status messages being sent to SCCM (2012R2SP1) The log appears to be hung up on gathering the MAC address of the NIC.

    Here is the contents of an “End” log

    Using UUID of: 4C4C4544-0057-4A10-8031-REDACTED 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Using SerialNumber of: REDACTED 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Executing Sending method using ConfigMgr. 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Host name REDACTED.edu resolve to IP(s):REDACTED (this is the DP where the client downloaded the package from) 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Trying IP resolved to: RE.DA.CT.ED 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Made it back from best route! 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Best Route IP is:REDACTED (it’s the client’s gateway address) 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Made it back from GetBestInterface! 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    The best interface is:11 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)
    Getting MAC Address for interface 11 2Pint BITS BranchCache Reporter 8/26/2016 11:10:41 AM 268 (0x010C)

    I am not sure what you are using for interface numbers, but if it is the subkeys that appear under the {4D36E972-E325-11CE-BFC1-08002BE10318} class or the Win32_NetowrkAdapter class in WMI, then my NIC is deviceID 7 – not 11. (although deviceID 7’s interfaceIndex is 11 so maybe that’s were the 11 comes from.

    Here are WMI dumps of deviceID=7 and DeviceID = 11 from Win32_NetworkAdapter – #7 is the wired network adapter. We have network port protection enabled (802.1x) if that affects anything.

    instance of Win32_NetworkAdapter
    {
    AdapterType = “Ethernet 802.3”;
    AdapterTypeId = 0;
    Availability = 3;
    Caption = “[00000007] Intel(R) 82579LM Gigabit Network Connection”;
    ConfigManagerErrorCode = 0;
    ConfigManagerUserConfig = FALSE;
    CreationClassName = “Win32_NetworkAdapter”;
    Description = “Intel(R) 82579LM Gigabit Network Connection”;
    DeviceID = “7”;
    GUID = “{AA389BD3-EB40-44FD-B0D6-B0D2A40CDAF2}”;
    Index = 7;
    Installed = TRUE;
    InterfaceIndex = 11;
    MACAddress = “RE:DA:CT:ED”;
    Manufacturer = “Intel”;
    MaxNumberControlled = 0;
    Name = “Intel(R) 82579LM Gigabit Network Connection”;
    NetConnectionID = “Local Area Connection”;
    NetConnectionStatus = 2;
    NetEnabled = TRUE;
    PhysicalAdapter = TRUE;
    PNPDeviceID = “PCI\\VEN_8086&DEV_1502&SUBSYS_052C1028&REV_04\\3&11583659&0&C8”;
    PowerManagementSupported = FALSE;
    ProductName = “Intel(R) 82579LM Gigabit Network Connection”;
    ServiceName = “e1cexpress”;
    Speed = “1000000000”;
    SystemCreationClassName = “Win32_ComputerSystem”;
    SystemName = “REDACTED”;
    TimeOfLastReset = “20160825171749.610798-300”;
    };

    Here is a dump of DeviceID #11

    instance of Win32_NetworkAdapter
    {
    Availability = 3;
    Caption = “[00000011] Microsoft Windows Mobile Remote Adapter”;
    CreationClassName = “Win32_NetworkAdapter”;
    Description = “Microsoft Windows Mobile Remote Adapter”;
    DeviceID = “11”;
    Index = 11;
    Installed = TRUE;
    InterfaceIndex = 12;
    MaxNumberControlled = 0;
    Name = “Microsoft Windows Mobile Remote Adapter”;
    PhysicalAdapter = FALSE;
    PowerManagementSupported = FALSE;
    ProductName = “Microsoft Windows Mobile Remote Adapter”;
    SystemCreationClassName = “Win32_ComputerSystem”;
    SystemName = “REDACTED”;
    TimeOfLastReset = “20160825171749.610798-300”;
    };

  • Andreas Hammarskjöld
    Keymaster
    Post count: 64

    Hey Todd,

    Without looking at the code I am pretty sure its using InterfaceIndex, which is 11 for the wired NIC.

    I don’t think we can see what is going on without enabling the debug log. Can you set that in the registry and retry?

    //A

  • Todd Miller
    Post count: 0

    I enabled logging and it added some lines to the earlier part of the log but the last three lines are the same. I set SendIPData to 0, and this has allowed messags to be created and sent. So at least I am getting data and can have a look at reporting. Not sure what I lose by disabling SendIPData.

    I will have another look and enable SentIPData when the update is released

  • Todd Miller
    Post count: 0

    Version 2.4.1 of the client agent has the same problem of crashing when SendIPInfo is set to 1. The installer script sets this value to 0, so maybe it is OK. I am not sure what is gained by having SendIPInfo configured with “1” so I will leave it set to 0. The information I am seeing in your custom BC reports seems OK.

    The error message in the event log is a .NET error. It appears there is an exception when the client agent is attempting to retreive the IPv6 inforamtion. We have IPv6 disable on our clients.

    The error looks like this
    Application: BITSBCReporter.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Net.NetworkInformation.NetworkInformationException
    at System.Net.NetworkInformation.SystemIPInterfaceProperties.GetIPv6Properties()
    at  +.(System.Net.NetworkInformation.NetworkInterface)
    at System.Linq.Enumerable+WhereArrayIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
    at System.Linq.Enumerable.First[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IEnumerable`1<System.__Canon>)
    at  .(Int32)
    at  .(System.String, Boolean, Boolean)
    at  .(Int32)
    at  .(System.String[])
    at  .(System.String[])

  • Andreas Hammarskjöld
    Keymaster
    Post count: 64

    Awesome, its likely something with the disabled IPv6 stuff. The MAC and IP Subnet info is just used for future reports to group clients in locations etc. Its safe to run with 0 as no current reports are using it.

    I will send you a debug build that works with the IPv6 turned off once I get that going.

    //A

You must be logged in to reply to this topic.