Large number of HDLC Abort (6) and HDLC Bad FCS (8) on PRI

Our PRI is currently not functioning but the alarm status shows OK
Getting continuous HDLC errors on the log.
Is it possible to run a loopback test to the smartjack?

http://kb.digium.com/articles/FAQ/How-do-I-run-a-loopback-test-on-a-Digium-E1-T1-card?retURL=%2Fapex%2FknowledgeProduct%3Fc%3DDigital

Thanks,
on step 4,

Compile patlooptest
              # cd <dahdi source direcory>/tools/
              # make patlooptes

I’m not sure what directory the dahdi source directory would be on FreePBX. Any idea where this is or where i could find it?

You will need to download and compile it fromDigium source if not included by your distro.