After taking many photos without problem, the mirror on the D90 suddenly started jamming - movement gets part way, but image comes out black or extremely dark, sometimes with a partial image at the top, suggesting the jamming position varies. After some groaning of a motor against whatever is jammed, the mirror eventually releases back to view-finder position. The first time it happened, after a couple more cycles, it successfully took a photo, then jammed on the next. It intermittently works after a long rest, then jams again after one or two shots. The LCD shows "err" when the jam happens.
If the lens is removed upon jamming, the mirror is in the up (or mostly up) position. The shutter is closed.
When no lens is attached, everything works perfectly. The problem happens no matter which lens is attached.
Based on this Q&A, we tried a new battery, and that did not help. Note that this answer addresses D40 and similar, but the "main drive wheel" described is completely different on the D90, so that did not help. Lubrication of the visible gears, part of the Aperture Motor Gear Assembly, didn't help. Also, because all works when lenses are off, it suggests that's not the problem area.
Based on the same answer, we tried lubricating the "pivot around which the shutter and mirror cocking mechanisms rotate", as per the instructions given. That seemed a more likely target given its engagement with the lens, but that didn't help either.
A factory reset had no effect.
Short of completely dismantling the camera or taking it to an expert repairer, is there anything else we can try to free up the mechanism or prevent further jamming? Is there anything that might explain why it works perfectly with no lens, and only jams with a lens on?