BMW replaced the crank and bearings in my 07 e90 M3, and the knocking noise remained. In the end, Germany sent down a brand new 2011 engine which I'm just about finished running in. The noise is gone now.
2008 BMW e90 M3 6MT
1990 BMW e30 325i 5MT