# ecmc server cfg Repo containing cfg for **ecmc servers**, only **ecmc servers**. **THE SETTINGS IN THIS REPO IS ONLY SUPPOSED TO BE A TEMPLATE AND WILL NOT WORK FOR ALL MACHINES** **THE PERSON COMMISSIONING THE SERVER IS RESPONSIBLE FOR THE SETTINGS** ## Usage Clone the repository to the host: ``` cd /ioc/hosts/ git clone git@git.psi.ch:motion/ecmc_server_cfg.git cfg # then check the settings are valid ``` ## Note on IGB driver The file ETHERCATDRVR defines what devices to use: ``` DEVICE_MODULES="igb generic" ``` The default setup is that igb-driver will be used if possible and fallback to generic otherwise. The "S10-eth-irq-prio" script will only have effect if generic driver is used. In the default case when igb-drivber is used the script might give some error messages but should not affect anything in a negative way. ### Check which driver is in use: On ecmc server: ``` lsmod | grep ec_ ec_generic 16384 0 ec_igb 249856 1 ec_master 421888 4 ec_igb,ec_generic ``` In this case igb (ec_igb) driver is in use. # Workflow for new server See [WORKFLOW](WORKFLOW.md)