Stargate SG-1: Season 3, Episode 4
When Daniel goes insane, SG-1 must deal with the legacy of Machello's anti-Goa'uld technology.