Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2012-01-03 23:02:37
Size: 296
Editor: localhost
Comment: converted to 1.6 markup
Revision 10 as of 2022-08-03 23:10:33
Size: 2308
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
https://cdswiki.ligo-la.caltech.edu/foswiki/bin/view/CDS/DolphinHowTo

== How to setup Gen-1 Dolphin Cards ==

  1. Install card in front end

  1.#2 Check that card is available to FE machine, say c1sus2, using:
  {{{#!highlight bash numbers=disable
  controls@c1sus2:~ 0$ lspci | grep Stargen
  2a:00.0 Bridge: Stargen Inc. Device 0101 (rev 02)
  2a:00.1 PCI bridge: Stargen Inc. Device 0102 (rev 02)
  ...
  }}}

  1.#3 Make sure the IOP model - c1x07 in the case - has {{{"pciRfm=1"}}} in its cds parameter block, so that its dependence on dis_irm is evident as shown below:
  {{{#!highlight bash numbers=disable
  controls@c1sus2:~ 0$ rtcds lsmod
  mbuf 16931 24 c1su2,c1hpc,c1bac,c1x07
  symmetricom 12874 0
  open_mx 79466 11
  dis_kosif 51702 1 dis_dx
  dis_dx 131446 1 dis_irm
  dis_irm 382462 3 c1x07

  c1x07 9352231 3 c1su2,c1hpc,c1bac
  ...
  }}}

  1.#4 Log in to frame builder and edit '/etc/dis/disthosts.conf' following the pattern to add a new host, i.e. add lines for ''HOSTNAME'', ''ADAPTER'' and ''SOCKET''.
  {{{
  controls@fb1:~ 0$ tail -n21 /etc/dis/dishosts.conf
  HOSTNAME: c1sus
  ADAPTER: c1sus_a0 8 0 4

  HOSTNAME: c1lsc
  ADAPTER: c1lsc_a0 12 0 4

  HOSTNAME: c1ioo
  ADAPTER: c1ioo_a0 16 0 4

  HOSTNAME: c1sus2
  ADAPTER: c1sus2_a0 20 0 4

  # Here we define a socket adapter in single mode.
  SOCKETADAPTER: sockad_0 SINGLE 0
  # Finally, we define which IP interfaces will be enabled for SuperSockets
  # and which physical or virtual adapters will be used.
  # Keyword name/IP adapter name
  SOCKET: c1sus c1sus_a0
  SOCKET: c1lsc c1lsc_a0
  SOCKET: c1ioo c1ioo_a0
  SOCKET: c1sus2 c1sus2_a0
}}}

  1.#5 After update '/etc/dis/disthosts.conf', restart the netwirk manager service on framebuilder using:
  {{{
  controls@fb1:~ 0$ sudo systemctl restart dis_networkmgr
  }}}
Line 3: Line 62:
1) ssh -X fb
2) /opt/DIS/sbin/dxadmin
  1. log on to fb with X forwarding:
Line 6: Line 64:
This bring up a GUI interface which talks to the Dolphin cards. ssh -X fb
Line 8: Line 66:
3) Click connect. Wait a few moments (up to 30 seconds or so).   1.#2 launch the Dolphin configuration/admin gui:
Line 10: Line 68:
This should bring up a display of the dolphin cards as well as the network router. /opt/DIS/sbin/dxadmin

  1.#3 Click connect. Wait a few moments (up to 30 seconds or so).
This should bring up a display of the dolphin cards as well as the network router.

https://cdswiki.ligo-la.caltech.edu/foswiki/bin/view/CDS/DolphinHowTo

How to setup Gen-1 Dolphin Cards

  1. Install card in front end
  2. Check that card is available to FE machine, say c1sus2, using:
      controls@c1sus2:~ 0$ lspci | grep Stargen
      2a:00.0 Bridge: Stargen Inc. Device 0101 (rev 02)
      2a:00.1 PCI bridge: Stargen Inc. Device 0102 (rev 02)
      ...
    
  3. Make sure the IOP model - c1x07 in the case - has "pciRfm=1" in its cds parameter block, so that its dependence on dis_irm is evident as shown below:

      controls@c1sus2:~ 0$ rtcds lsmod
      mbuf                   16931  24 c1su2,c1hpc,c1bac,c1x07
      symmetricom            12874  0 
      open_mx                79466  11 
      dis_kosif              51702  1 dis_dx
      dis_dx                131446  1 dis_irm
      dis_irm               382462  3 c1x07
    
      c1x07                9352231  3 c1su2,c1hpc,c1bac
      ...
    
  4. Log in to frame builder and edit '/etc/dis/disthosts.conf' following the pattern to add a new host, i.e. add lines for HOSTNAME, ADAPTER and SOCKET.

      controls@fb1:~ 0$ tail -n21 /etc/dis/dishosts.conf
      HOSTNAME: c1sus
      ADAPTER:  c1sus_a0 8 0 4
    
      HOSTNAME: c1lsc
      ADAPTER:  c1lsc_a0 12 0 4
    
      HOSTNAME: c1ioo
      ADAPTER:  c1ioo_a0 16 0 4
    
      HOSTNAME: c1sus2
      ADAPTER:  c1sus2_a0 20 0 4
    
      # Here we define a socket adapter in single mode.
      SOCKETADAPTER: sockad_0 SINGLE 0
      # Finally, we define which IP interfaces will be enabled for SuperSockets
      # and which physical or virtual adapters will be used.
      # Keyword name/IP adapter name
      SOCKET: c1sus c1sus_a0
      SOCKET: c1lsc c1lsc_a0
      SOCKET: c1ioo c1ioo_a0
      SOCKET: c1sus2 c1sus2_a0
  5. After update '/etc/dis/disthosts.conf', restart the netwirk manager service on framebuilder using:
      controls@fb1:~ 0$ sudo systemctl restart dis_networkmgr

How to debug Dolphin Cards

  1. log on to fb with X forwarding:

ssh -X fb

  1. launch the Dolphin configuration/admin gui:

/opt/DIS/sbin/dxadmin

  1. Click connect. Wait a few moments (up to 30 seconds or so). This should bring up a display of the dolphin cards as well as the network router.

CDS/How_to_debug_Dolphin_cards (last edited 2022-08-03 23:10:33 by TegaedoATligoDOTorg)