A slight missfire at tickover indicated an issue with the 540i. It could have been one of the following:
Air leak in vacuum hoses
Bad MAF
Dodgy coil pack
Oil in the spark plug wells
Or a combination of those.
To prove it wasn't an air leak or the MAF I disconnected the MAF at idle and the missfire was still there. So, coils or oil in the plug wells.
I knew the rocker gaskets had failed from when I changed my sparkies last weekend so that was an obvious one to try first.
New gasket set and off I went
Removing anciliary components:
Not a good sign. Oil all over the coil pack:
Yup. Oil shouldn't be there:
Removing the pollen filter ducting:
Removing airbox:
Gently tap rocker cover to release gasket seal:
Off comes the drivers side cover:
Pretty clean in there:
New gasket fitted:
Other side was a bit harder. Fuel lines and all sorts of junk in the way:
Getting it off. Easy. Getting it back on. Hard:
On:
After that was done. I decided to swap out the rear discs. Check out that scorring and corrosion where the handbrake shoes go:
Those caliper bolts were a bit of an arse:
So, new gaskets on both rocker boxes. 2 new rear disks.
Took about 4 hours with plenty of tab breaks.
The best news though. Missfire is gone.
Air leak in vacuum hoses
Bad MAF
Dodgy coil pack
Oil in the spark plug wells
Or a combination of those.
To prove it wasn't an air leak or the MAF I disconnected the MAF at idle and the missfire was still there. So, coils or oil in the plug wells.
I knew the rocker gaskets had failed from when I changed my sparkies last weekend so that was an obvious one to try first.
New gasket set and off I went
Removing anciliary components:

Not a good sign. Oil all over the coil pack:

Yup. Oil shouldn't be there:

Removing the pollen filter ducting:

Removing airbox:

Gently tap rocker cover to release gasket seal:

Off comes the drivers side cover:

Pretty clean in there:

New gasket fitted:

Other side was a bit harder. Fuel lines and all sorts of junk in the way:

Getting it off. Easy. Getting it back on. Hard:

On:

After that was done. I decided to swap out the rear discs. Check out that scorring and corrosion where the handbrake shoes go:

Those caliper bolts were a bit of an arse:

So, new gaskets on both rocker boxes. 2 new rear disks.
Took about 4 hours with plenty of tab breaks.
The best news though. Missfire is gone.