British. Very similar to 'all to cock'; messed up, not working as it/they should, unreliable.
Sorry I'm late; the trains are all to buggery again.