BUG: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
I get the error "NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context" reasonably frequently while running wine 3d apps in the linux 3.0-rc3 kernel. It causes the application to hang and shortly afterwards the entire desktop hangs and the intel interrupt driver reports missing PM interrupts. The crash appears to be random but I find it likely to occur in less than five minutes of running a 3d-intensive app like a game in wine.
It happens with both the 275.09.04 and the 270.41.09 drivers (with the latter suitably patched to compile for kernel 3.0-rc3).
Note though that it doesn't happen with the stock 2.6.38-10-generic Ubuntu kernel (ie I haven't been able to reproduce it).