write\_intr: wrong transfer direction

I tried ripping a CD recently on my desktop machine running Debian testing. grip seemed to hang, and I kept getting this error message in the logs:

hdc: write_intr: wrong transfer direction!

Google didn't turn up much that helped, except to suggest a simpler test case (cdparanoia -d /dev/hdc 1-1). Data CDs seemed to work just fine.

Finally tried upgrading the kernel package, from kernel-image-2.6.8-2-386 (the default kernel after installation) to linux-image-2.6.18-4-686, and that did the trick nicely.