Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
Copy new SD card image.
Use hps_dpm.bin for DPM and DTM hps_dtm.bin
dd if=hps_dpm.bin of=/dev/disk2 bs=1000000
There should be multiple partitions available for mounting.
RTEMS RTEMSAPP LINUX SCRATCH BOOT
Mount the first "boot" partition. E.g.:
mount /dev/disk2s1 /mnt/sdcard
After it's content of first partition on sd card image:
boot.bin fpga.bit readme.bot uboot.env uboot_linux.env uboot_ramdisk.env uboot_rce.env (?) version.txt
To set the archLinux environment for a given dpm/dtm host overwrite two boot environment files. To create a boot card for e.g. dpm11:
cp dpm11.env /mnt/sdcard/uboot.env cp dpm11.env /mnt/sdcard/uboot_linux.env
Figure out
Output from crate front panel screen:
“not booted” is fine, we are looking for “not ready”
dpmp1-rce2 - not ready => this is dpm11.env ?
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.
The RTM light will get a green light when it’s plugged in. There is a blue light intermittently when plugging it in.