This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I want to debug both C6455DSK and C6678EVM under unbuntu Linux, but I can't get CCSv5.0.3-Linux licensed. I used a license file of CCSv4 which worked perfectly with CCSv5.0.x-windows.
The problem seemed to be the wrong HostID value read from Linux. The hostid in the license file is the MAC address of my PC 001axxxxxxxx, but the HostID of unbuntu Linux is 007F0101 which seemed to be a IP 127.0.1.1.
How can I license it?
By the way, here are some details:
The CCSv5.0.3.00028-Linux is installed on a ubuntu10.04.3 virtual machine.
The virtual machine is generated by VMware7.0 under winXP SP3.
regards,
Chengmeng
Hi Cheng Meng,
Yes if you have changed PCs or host IDs you will need a new license file. You can go into your my registered software and have this done.
Please see the details on how to do this, more useful tips and licensing info on the wiki:
http://processors.wiki.ti.com/index.php/Licensing_-_CCS#Q:_I_changed_computers_how_do_I_update_.28re-host.29_my_license.3F
http://processors.wiki.ti.com/index.php/Licensing_-_CCS
Please note that lmgrd download links seem to be temporarily down.
Best Regards,
Lisa
Hi Lisa,
Thanks for your reply. But there is still a problem. I will try to describe it more clearly.
For example, the MAC of my PC is 00.11.22.33.44.55. I got my license file from "www.ti.com/myregisteredsoftware" using this MAC, opened it and found the hostid to be "001122334455".This license file was OK, I could use it to license CCS5.0.2-windows installed on this PC.
Here is the problem. The Operating System of my PC is WinXP, I wanted to develop my applications in linux. I need the CCS5.0.3-linux. So I created a virtual ubuntu on this PC by VMware software, and installed CCS5.0.3-linux in it. Now the CCS5.0.3-linux is installed in the virtual ubuntu, but I can't license it with the license file gotten above. The hostid of the virtual unbuntu was not "001122334455" but "007F0101". It seemed that the hostid in the virtual unbuntu had nothing to do with the MAC of my physical PC.
How can I rehost the license file with the hostid "007F0101" in "www.ti.com/myregisteredsoftware"? The MAC should not be "00.7F.01.01"!
Best Regards
Hi Cheng,
Did you try adding the Ubuntus host ID as a second ID on the license? If it is a node locked license you use you are still allowed two host ids.
Please see this (in the same page as yesterday) and let me know if you still have problems.
http://processors.wiki.ti.com/index.php/Licensing_-_CCS#Q:_How_do_I_add_a_second_computer_to_my_node-locked_license.3F
Best Regards,
Lisa
Hi Lisa,
The hostid wanted in the license managing web page should be a MAC. When I tried to input the hostid 007f0101 got from ubuntu, a error page showed up to indicate the receiving of a invalid hostid.
On the other hand, I had even tried to modify the MAC of the virtual machine to mach the hostid field of the license file, and it did not make any difference either.
Can you please tell me how to license the CCS5.03-Linux under virtual ubuntu? Or should I keep waiting for the GA release of CCS5.1-Linux?
regards
Cheng Meng
Hi Cheng,
Does your VM have an ethernet setup? If so it should give you a full MAC. Please see some advice below. How did you obtain the hostid? Did you/how did you install the VM support files available along with the other tools http://www.globes.com/support/fnp_utilities_download.htm#downloads ? Please note I would have to confirm with a colleague whether you would need this is your particular setup.
Please keep me informed.
Best Regards,
Lisa
Applies to: ARM Developer Suite (ADS), Fast Models, RealView Compilation Tools (RVCT) for BREW, RealView Developer Kit (RVDK) for OKI, RealView Developer Kit (RVDK) for ST, RealView Developer Kit for XScale (RVXDK), RealView Development Suite (RVDS), Tool Licensing (License Management)
A host ID (or hostid) is an identifier unique to a particular computer, and is used by FLEXnet to lock licenses to a particular machine. If the host ID provided at the time the license is generated is wrong, then the license will not enable the tools.
The method of obtaining a host ID will differ depending upon the type of license (see the FAQ entry: What licensing options are available for ARM's development tools? ), the hardware platform and operating system used.
For node locked licenses you must use the host ID of the client machine that the tools will be installed and run on. The host ID can be:
If you have the FLEXnet tools installed, you can get a list of the recognised host IDs by executing the following from a terminal/DOS prompt:
lmutil lmhostid
Alternatively, you can find them manually by executing:
C:\>ipconfig /all ... Physical Address. . . . . . . . . : 00-11-24-64-23-13 ...
The host ID is the 12 digit value, without the dashes. So in the example above, the host ID is 001124642313.
c:\>vol c: Volume in drive C has no label. Volume Serial Number is 80A3-03C1
The host ID is the8 digit value, without the dash. So in the example above, the host ID is 80A303C1. In a license file, you will see this written as DISK_SERIAL_NUM=80A303C1
.
For floating licenses you must use the host ID(s) of the license server(s) hosting the licenses - not that of the client workstations. If you have the FLEXnet tools installed, you can get a list of the recognised host IDs by executing the following from a terminal/DOS prompt:
lmutil lmhostid
OS | Command | Server Host ID Type | Comments |
Windows | ipconfig /all | ETHERNET | The hostid will be returned as the 12 digit hex ‘Physical Address’. Remove the hyphens, ‘-’, before entering it. |
Linux | /sbin/ifconfig eth0 | ETHERNET | Returns a 12 digit hex ‘HWaddr’. Remove the colons. Only eth0 can be used for the host ID. |
Solaris | /usr/bin/hostid | LONG |
Returns the 8 digit hex host ID. |
Hi Cheng,
I just thought I would check whether the last post helped resolve the issue you were having with Host ID addition to your license.
Best Regards,
Lisa
I think I'm having the same issue as the original poster. I'm trying to license CCS 5.1.0.08 on a Ubuntu 10.04 VM. I fixed the MAC of the VM, and used that MAC as as secondary Host ID when regenerating a new license file. When I launch Code Composer, it still complains about a Host ID mismatch. The Hostid string in the License Information View window looks correct for the VM and matches the fixed MAC of the VM.
Hi Brian,
do you get any error messages? Did you note the information in the post regarding finding the correct Host ID? With multiple cards and ethernet adapters etc it is not necessarily obvious.
What type of license are you using?
Best Regards,
Lisa
I'm using fixed node licensing. I attached a screen shot showing the host ID as reported by lmhostid tool, and the Code Composer windows when I go to Help->Code Composer Studio Licensing Information->Show Technical Information.
Hi Brian,
I am unfortunately not a FlexLM software expert, but from the error message you are getting I actually see 2 host IDs. It seems like what must be your old/other host ID followed by a space followed by the Ubuntu host ID. This leads me to wonder if the following situations is occurring.
If you changed the host ID using the TI site and logging on ... did you since modify the file? Have you generated a new file before? There is a limit to the number of times you can switch host ID and change the PC attached to your license file.
Best Regards,
Lisa
Per your post on 09-01-2011 11:20 AM, I added a second Host ID to my license by going through the TI site, so I assume it's legit (the same license file successfully work on my WinXP box). The first host ID is for my physical WinXP machine running CCS. The second Host ID is for the VM.
Hi Brian,
did you restart the license server? Is there any option or way you can make the VM grab the WinXPs host ID?
Best Regards,
Lisa
I'm using a node locked license-I'm not aware of any license server in this case. Regardless, I restarted the VM OS and still have problems.
As for the second suggestion, the host ID's are MAC addresses, so I would have to run from a different machine. Also, you can only fixed a MAC address in VM Player to a certain subrange of MAC addresses, and the host PC's MAC address doesn't fall within this range.
Hi Brian,
ok, my appologies as you are correct on both accounts.
I am going to ask for help from a colleague more expert with flexlm and licensing. We will get back to you with any further feedback.
Best Regards,
Lisa
Hi Brian,
we continued here behind the scenes a bit and can't find anything wrong. We were able to track your adding the MAC address, which fits with your screenshots as well as the fact that you started with a 90 day evaluation.
Did you remove the old license file?
I am going to see if I can find someone who might know a bit more about use in a VM as everything looks ok. The only other current thought is if you would double check that the ports are opened through the firewall. (Ports 2700-28000).
Best Regards,
Lisa
Thanks for continuing to look into this. I believe there are no other license files on the machine and there is no firewall on machine.
Hi Brian,
I am not sure what to say, except we are all at a loss here. I have now run this by at least 2-3 colleagues and all of us can not see something that looks like it is incorrectly set. There are a couple last suggestions. First ... It might be worth clearing the cache etc just in case. Second, have a look at a paste from the FAQ ... please give this a try to ensure there are no remnants of the old license. If you would like, you can also copy the license file ... and rename the copy to something recognizable like ccs_new_license etc and try to point CCS to it to ensure that the correct license file is being pulled by CCS.
Please keep us informed.
Best Regards,
Lisa
You need to do two things.
The license system in CCS caches the license that it is using but you can force it to search for a new license by editing the eclipse.ini file in \ccsv4\eclipse and add the line -DFORCE.REG
You should also edit the licenselocation.txt file and remove the reference to the old license so that CCS doesn't try to use it in the future. In newer versions of CCS this file is in your user folder. Info on where to find this file is available here.
I'm reverting to using CCS on a native Ubuntu install. Not the ideal solution, since it's more difficult to manage the build environment across several developers, but at this point there's no other option.
HI Brian,
ok, all the best. Sorry none of us were able to dig to the bottom of this for you.
Best Regards,
Lisa
Hi Lisa,
I had a similar issue in that I could not get licensing to work on a Ubuntu 12.04 VirtualBox machine. Your third post in this thread had the key piece of information for me: "Only eth0 can be used for the host ID.". Looking into this on my VirtualBox Ubuntu, it was in fact using Eth1 as the adapter.
The solution for me was found in the following post:
http://www.kkoncepts.net/blog/virtual-box-ubuntu-network-eth0-becomes-eth1
The solution involves editing /etc/udev/rules.d/70-persistent-net.rules
There you will find (in my case), 2 udev rules - one for the old virtual network card (no longer in existance) and another for the new virtual network card:
Regards,
Ian