Found the problem--there was some sort of U-clip that apparently is part of the QR skewer on the drive that got popped up into the cassette area. The .05 mm shim, or whatever it is, was enough to throw off the whole shifting scheme to the crapper. I slipped the clip back onto the skewer, and it all worked out.