Unintentional violation in cutting his hair: Shabbat 81b
Unintentional violation, where the hair-cutting is a guaranteed side-effect of an intentional deed: Shabbat 81b
Whether multiple cuts are considered separate violations, or one long violation: Makkot 21a