The S38 requires mechanical valve adjustments every 15,000-60,000 miles; the dual-row timing chain itself is durable but tensioner and guides should be addressed preventively, with valve springs being the typical weak point.
Valve adjustment and timing chain maintenance
BMW E34 M5 · mechanical