General E46 Forum
P0171 & P0174 Diagnostic help here you go
1. Check additive and multiplicative values
2. Perform smoke test of intake using inert smoke
3. Check Crankcase pressure with Manometer
4. Use a VE calc(volumetric efficiency calc) I posted how to do this and the file a while ago don't remember when...