Probably an air leak. Search thread titles for your codes...and search jfoj's sig for link to 'fix your bmw' thread. There are many hoses that can break, but the first is usually the lower intake boot.
dmax on the radio--answering all your car questions as best I can!
watsonnwatson.com every Wednesday at 9 p.m. Call in! (661) 449-9340 Click "Watch and Chat"
Please 'friend' me!