( ESNUG 302 Item 5 ) --------------------------------------------- [10/21/98]

From: janick@qualis.qualis.com (Janick Bergeron)
Subject: We BEG YOU To PLEASE Help On Our Cadence Verilog-XL License Problem

John,

We're desperate.  REALLY desperate.  We BEG YOU to PLEASE help us on our
Cadence Verilog-XL FLEXlm licensing problem!   PLEASE!

Earlier this month I posted it on comp.cad.cadence as a description of a 
licensing problem when running Verilog XL on Solaris 5.6.  I was told that
updating to 97AQSR5 is required for Sol5.6.  I did but to no avail. 
Verilog-XL refuses to connect to the license daemon but works fine under
Sol 2.5.1...  The following are transcripts of everything I tried.  The text
between "[]" are my own comments.

Version of the OS we are using [XL and the license server are both running
on the same machine "speedy"]:

    janick@speedy % cd /tools/adm/cadence
    janick@speedy % uname -a
    SunOS speedy 5.6 Generic_105181-06 sun4u sparc SUNW,Ultra-4

I make sure my DEAMON line is correct [it's ok]:

    janick@speedy % grep DAEMON key
    DAEMON cdslmd /tools/home/cadence/97A/tools.sun4v/bin/cdslmd

I verify that the path to the vendor deamon is correct and check its version
at the same time [5.12]:

    janick@speedy % lmver /tools/home/cadence/97A/tools.sun4v/bin/cdslmd

    lmver - Copyright (C) 1989-1998 Globetrotter Software, Inc.
    FLEXlm 5.12 (libmgr_as.a), Copyright (C) 1988-1997 Globetrotter...
    FLEXlm 5.12 (libmgr_s.a), Copyright (C) 1988, 1997 Globetrotter...
    FLEXlm 5.12 (liblmgr.a), Copyright (C) 1988-1997 Globetrotter...

I check the version of the lmgrd that come with 97AQSR5 [5.12 too]:

    janick@speedy % setenv CDS_HOME /tools/home/cadence/97A
    janick@speedy % lmver $CDS_HOME/tools.sun4v/bin/lmgrd

    lmver - Copyright (C) 1989-1998 Globetrotter Software, Inc.
    FLEXlm Copyright 1988-1996, Globetrotter Software, Inc.
    FLEXlm 5.12 (libmgr_s.a), Copyright (C) 1988, 1997 Globetrotter...
    FLEXlm 5.12 (liblmgr.a), Copyright (C) 1988-1997 Globetrotter...

I try to manually start the license server [cdslmd can't talk to lmgrd]:

    janick@speedy % $CDS_HOME/tools.sun4v/bin/lmgrd -t 20 -c key

    10/20 10:01:31 (lmgrd) -----------------------------------
    10/20 10:01:31 (lmgrd) 
       [...]
    10/20 10:01:31 (lmgrd) FLEXlm (v5.12) started on speedy (Sun)
                    (10/20/1998)
    10/20 10:01:31 (lmgrd) FLEXlm Copyright 1988-1996, Globetrotter...
    10/20 10:01:31 (lmgrd) World Wide Web:  http://www.globetrotter.com
    10/20 10:01:31 (lmgrd) License file: "key"
    10/20 10:01:31 (lmgrd) Starting vendor daemons ... 
    10/20 10:01:31 (lmgrd) Started cdslmd (internet tcp_port 60656
             pid 2620)
    10/20 10:01:31 (cdslmd) ----------------------------------
    10/20 10:01:31 (cdslmd) 
       [...]
    10/20 10:01:31 (cdslmd) Server started on speedy for:	100		
    10/20 10:01:31 (cdslmd) 21900		26000		CWAVES		
    10/20 10:01:31 (cdslmd) SimVision	UET		VERILOG-XL	
    10/20 10:01:31 (cdslmd) VXL-TURBO	VXL-VCW		VXL-VET		
    10/20 10:01:31 (cdslmd) VXL-VLS		VXL-VRA		
    10/20 10:01:31 (cdslmd) Vendor daemon can't talk to lmgrd (Cannot
              read data from license server (-16,287:22) Invalid argument)
    10/20 10:01:31 (lmgrd) Vendor daemon died with status 240
    10/20 10:01:31 (lmgrd) Since this is an unknown status, lmgrd will
    10/20 10:01:31 (lmgrd) attempt to re-start the vendor daemon.
    10/20 10:01:31 (lmgrd) REStarted cdslmd (internet tcp_port 60658
              pid 2621)
       [...]

Message repeated several times as lmgrd attempts to restart cdslmd.  It
eventually gives up.  ....

    10/20 10:01:32 (cdslmd) Vendor daemon can't talk to lmgrd (Cannot
              read data from license server (-16,287:22) Invalid argument)
    10/20 10:01:32 (lmgrd) Please correct problem and restart daemons

I now kill the deamon:

    janick@speedy % lmdown -c key

    lmdown - Copyright (C) 1989-1998 Globetrotter Software, Inc.

           Port@Host            Vendors
        1) 15280@speedy         Unknown (pre-v6 lmgrd)

    Are you sure (y/n)?  y

    Shut down FLEXlm server on node speedy
        1 FLEXlm License Server shut down

    10/20 10:01:40 (lmgrd) SHUTDOWN request from janick at node speedy
    10/20 10:01:40 (lmgrd) lmgrd will now shut down all the vendor daemons

I consult the FAQ from FlexLM [it does not help]:

    Q8.5 Vendor daemon can't talk to lmgrd

    This means a pre-v3.0 lmgrd is being used with a v3.0+ vendor daemon.
    [That's not the case here] Simply use the latest version of lmgrd (MUST
    be a version equal to or greater than the vendor daemon version).  [It's
    already the same but let's try a newer version (6.1)]

    (Rare): This can also happen if TCP networking doesn't function on the
    node where you're trying to run lmgrd. [Everything else works fine]


    Q8.6 Vendor daemon died with status n...Since this is an unknown
    status, lmgrd will attempt to re-start the vendor daemon.

    Often this is accompanied by printing a port number which increases
    over and over.  lmgrd tries to start the vendor daemon using the DAEMON
    line in the license file, which looks like:

                DAEMON demo /usr/bin/demo

    The /usr/bin/demo is a path to a binary, and there's something wrong
    with either the path or the binary itself. One way to debug this is to
    run vendor daemon directly, using this path, and problem then becomes
    more apparent.  [That path is fine]
 
I try using a more recent version of lmgrd [6.1, it works!]:

    janick@speedy % lmver /tools/lib/lmgrd

    lmver - Copyright (C) 1989-1998 Globetrotter Software, Inc.
    FLEXlm Copyright 1988-1998, Globetrotter Software, Inc.
    FLEXlm 6.1 (libmgr_s.a), Copyright (C) 1988, 1997 Globetrotter...
    FLEXlm 6.1 (liblmgr.a), Copyright (C) 1988-1997 Globetrotter...

    janick@speedy % /tools/lib/lmgrd -t 20 -c key

    10:02:03 (lmgrd) ------------------------------------------
        [...]
    10:02:03 (lmgrd) FLEXlm (v6.1) started on speedy (Sun) (10/20/1998)
    10:02:03 (lmgrd) FLEXlm Copyright 1988-1998, Globetrotter Software, Inc.
    10:02:03 (lmgrd) US Patents 5,390,297 and 5,671,412.
    10:02:03 (lmgrd) World Wide Web:  http://www.globetrotter.com
    10:02:03 (lmgrd) License file(s): key
    10:02:03 (lmgrd) lmgrd tcp-port 15280
    10:02:03 (lmgrd) Starting vendor daemons ... 
    10:02:03 (lmgrd) Started cdslmd (internet tcp_port 60680 pid 2637)
    10/20 10:02:03 (cdslmd) lmgrd version 4, cdslmd version 

WHOA!  Here's something odd: cdslmd thinks it's talking to a lmgrd
version 4 !?!?!?!?!

    10/20 10:02:03 (cdslmd) -----------------------------------
       [...]
    10/20 10:02:03 (cdslmd) Server started on speedy for:	100		
    10/20 10:02:03 (cdslmd) 21900		26000		CWAVES		
    10/20 10:02:03 (cdslmd) SimVision	UET		VERILOG-XL	
    10/20 10:02:03 (cdslmd) VXL-TURBO	VXL-VCW		VXL-VET		
    10/20 10:02:03 (cdslmd) VXL-VLS		VXL-VRA		

I then try to run Verilog [it STILL fails]:

    janick@speedy % verilog list.v

    VERILOG-XL 2.5.20   Oct 20, 1998  10:02:27
      [...]
    -------- Qualis Design Corporation Verilog-XL --------
    (use $list_pli_pkgs to display installed PLI packages)

    Compiling source file "list.v"

    Error!    ERROR (LM -15): license server ("speedy")
              communication error - try longer timeout (run
              'lic_error -15' for more information).  Feature
              is VERILOG-XL               [Verilog-LICENSE]
    Exit 1

The original binary version shipped with 97AQSR5 (without PLIs) failed, too.

I try from a Sol 2.5.1 machine [it works]:

    janick@jaguar [~/verilog]% uname -a
    SunOS jaguar 5.5.1 Generic_103640-21 sun4m sparc SUNW,SPARCstation-10
    janick@jaguar [~/verilog]% verilog list.v
    VERILOG-XL 2.5.20   Oct 20, 1998  10:35:44
      [...]
    -------- Qualis Design Corporation Verilog-XL --------
    (use $list_pli_pkgs to display installed PLI packages)
 
    Compiling source file "list.v"
    Highest level modules:
    LIST
 
    This version of Verilog-XL includes:
        Design Acceleration SST Extensions    version 5.3
        Veritools Undertow Interface          version 6.0.9
        Veritools Interactive Tool Interface  version 2.2.8
 
    0 simulation events (use +profile or +listcounts option to count)
    CPU time: 0.4 secs to compile + 0.2 secs to link + 0.0 secs in simulation
    End of VERILOG-XL 2.5.20   Oct 20, 1998  10:35:48

I manually check that licenses can be checked out using lmdiag shipped with
the Cadence software [they all work :-(]:

    janick@speedy % $CDS_HOME/tools.sun4v/bin/lmdiag -c key
    lmdiag - Copyright (C) 1989-1997 Globetrotter Software, Inc.
    FLEXlm diagnostics on Tue 10/20/1998 10:02

    -----------------------------------------------------
    License file: key
    -----------------------------------------------------
    10/20 10:02:43 (cdslmd) OUT: "100" janick@speedy  [lmdiag] 
    "100" v4.400, vendor: cdslmd
      License server: speedy
      floating license  starts: ..., expires: ...

    10/20 10:02:43 (cdslmd) IN: "100" janick@speedy  [lmdiag] (used: 0:00) 
    This license can be checked out
       [...]
    Enter <CR> to continue: 
    10/20 10:02:51 (cdslmd) OUT: "VXL-VRA" janick@speedy  [lmdiag] 
    "VXL-VRA" v2.300, vendor: cdslmd
      License server: speedy
      floating license  starts: ..., expires: ...

    10/20 10:02:51 (cdslmd) IN: "VXL-VRA" janick@speedy [lmdiag] (used: 0:00) 
    This license can be checked out


AAAAAaaaaaarrrrrrggggghhhhhhhhh! *help*

  - Janick Bergeron
    Qualis Design                                   Lake Oswego, OR



 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)