It might be interesting later to add a capability to the script to have it be able to receive and execute arbitrary commands sent to it over the same mechanism (broadcast datagrams). This could be handy to provide an emergency way to regain control of the script in case it loses its connection to the server. However, this is not a high priority - table it for now, maybe think about it in more depth later.
Some priorities for today:
- [/] Finish repairing Quartus license server installation.
- [ ] Continue implementing GPS command pass-through capability in CTU and server-side intelligent GPS driver.
- [ ] Meeting with Ray and David (maybe) this PM to talk about journal article.
I wonder if I can just reinstall LMTOOLS from the old version of it, and fix the problem that way?
Let me be a little careful here about versions. The actual current Quartus version on COSMICI is:
- Quartus II Version 9.1 Build 222 10/21/2009 SJ Full Version
- Service Pack Installed: None
While we're at it, let's also check the version numbers on the various IDEs for Nios firmware development. First, the legacy Nios IDE:
- Nios II Integrated Development Environment, Version 9.1, Build 222
- Eclipse Platform, Version 3.4.1, Build id: M20080911-1700
I got an email back from FlexNet, let's see what they said... No help. Do they expect me to buy support separately from them?
Let's see, trying to figure it out, taking some notes... My present license file setting in Quartus is:
C:\flexlm\license.dat; C:\Users\Public\Documents\AlteraDE3boardCD\Terasic IP License\license_de3_regulator.dat
Present license.dat header is:
SERVER COSMICi 000761C947C6 1800
VENDOR alterad C:\altera\91\quartus\bin\alterad.exe
VENDOR mgcld C:\altera\91\quartus\bin\mgcld.exe
USE_SERVER
OK, I seem to have it working at the moment. Here's what I did:
- Copied lmgrd.exe, lmtools.exe, lmutil.exe, alterad.exe (Altera vendor daemon), and mgcld.exe (Mentor Graphics vendor daemon, used for ModelSim) from C:\altera\91\quartus\bin to C:\flexlm for easier reference.
- Also copied license_de3_regulator.dat into C:\flexlm.
- In there, manually started lmgrd.exe using the command:
lmgrd.exe -c "license.dat; license_de3_regulator.dat" - Manually killed some extra processes as instructed by the log window that popped up.
- Typed "lmutil lmreread" to ask the license server to reread the license file.
David & I were able to connect to it successfully from Quartun 9.1 running in the Quartus account on the XP VirtualBox under the VirtualBox account in the center Mac! We unplugged the Ethernet cable and connected the AirPort to the COSMOS router. Apparently the connection got routed through to the VirtualBox. Input license filename "1800@192.168.0.2" and clicked "Wait for Floating Licenses." Got 'em!
LMTOOLS is still hosed for some reason (corrupted registry entries or something?), so we'll just have to give up on using it for the time being. Fine; that app always sucked rotten donkey balls anyway.
OK, now trying again to install Mentor PADS and lmadmin. (This time, I obeyed its instruction to halt the existing license servers before installing.)
Still having trouble getting it to work. Let's try reinstalling without the service option.
OK, I finally (I think) have everything working. Some things I did:
- Make a new C:\flexnet folder for the new version of all the license-related stuff for use with PADS.
- Copied key utility and daemon executables into there from the Mentor folders, for easy reference.
- Edited the license.txt file from Mentor as appropriate to make C:\flexnet\license.dat.
- Made a new C:\flexnet\startserver.bat file to start up the new license server.
- Edited the old C:\flexlm\license.dat to remove the reference to mgcld.exe (Mentor's vendor daemon), since we can't have two copies of that running.
There was one error message during PADS installation, but other than that everything is seeming to go OK, so far.
Still waiting for the install to finish.
Oops, spoke too soon, there were several more errors during installation. And the PADS Layout executable doesn't work. I think I might have screwed things up by trying to run the new LMTOOLS in the middle, which caused LMGRD (new one) to reread its license file. Might have screwed up Mentor executables that were running during the install. Uninstall and reinstall PADS.
Maybe next time, I'll try running the installer as Administrator in case there is some kind of funky Vista issue going on. Some of the error messages I saw seemed suggestive of that.
No comments:
Post a Comment