Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There should be multiple partitions available for mounting.

 

Code Block
RTEMS
RTEMSAPP
LINUX
SCRATCH
BOOT

 

Mount the first "boot" partition. E.g.:

...

Code Block
cp dpm11.env /mnt/sdcard/uboot.env 
cp dpm11.env /mnt/sdcard/uboot_linux.env 
 

Figure out 

 

Output from crate front panel screen:

...

out which RCE the newly created SD card correspond to: see COB Layout.

 

COB Startup Checks

COB status:

  • When COB is inserted the blue light on the front panel should go away. May need to pull the side levers towards the middle so that they latch.
  • Identify RCEs from the front panel by noting the cycling patterns that are printed.
    We are looking for “not ready”

...

  • , e.g. "dpmp1-rce2 - not ready

...

 

 

 

We are replacing sd card 11 (rce 2 on card dpm card 1)

 

After the replacement. Same problem.

 

Pull card out, make sure it’s fully pushed in. 

 

Same problem.

 

Copied an existing dpm fpga.bit file (from dpm0) onto the sd card. Noted that the existing one on the SD card was 4 bytes larger than the one running on dpm1. Will save the existing fpga.bit somewhere on Rafo’s laptop.

 

Plugged SD card into a good now dpm1/rce0 and dpm1/rce2 are "not_ready”. The problem follows the SD card.

 

Going back up to put it into a computer we can access remotely. 

 

Problem was 

dd if=/home.orig/hpsrun/hps_dpm.bin of=/dev/sdb1 bs=1M  

vs (correct)

dd if=/home.orig/hpsrun/hps_dpm.bin of=/dev/sdb bs=1M  

 

Then it worked.

 

Actions: 

Prepare full range of SD cards to be swapped into the cobs that had two failures (top one)

Turn off logging to file system, ryan will help to turn off journaling(?) and I need to turn off logging redirect of the servers. Perhaps log to NFS?

 

COB hot plugging:

After pushing in the blue light should go away on the front panel. Need to pull the side levers towards the middle so that they latch.

...

  • ".

RTM status:

  • When being inserted, there is a blue light intermittently when plugging it in. 
  • The RTM board when inserted, a green light should show up when it’s properly inserted. 

General:

  • Check that links are up for all dpm's and dtm's
  • Check that FEB links are up

 

System Setup after replacing SD Card

  • Check that links are up.
  • Check that host is pingable and ssh access is possible (JLab computing center might have block on host key changes).
  • Setup boot and networking scripts.
Code Block
/usr/clas12/release/1.3.0/slac_svt/svtdaq/daq/rceScripts/setup_linux.sh 'hostname' 
  • NOTE: The first time you setup, the host name might still be e.g. shelf/2/1/1 or similar. You need to active the systemd script. As user "clasrun":
Code Block
$ssh root@'hostname'
$systemctl enable rce_start
  • Next time logging in the hostname should be dpm0-15 or dtm0-1.
  • Load firmware if needed.