Comment 15 for bug 986831

Revision history for this message
Joshua Anhalt (jtree) wrote : Re: system freezes for some seconds: Attempted to yield the CPU while in atomic or interrupt context

lsb_release -rd
Description: Ubuntu 12.04.2 LTS

cat /proc/version_signature
Ubuntu 3.2.0-49.75-generic-pae 3.2.46

32-bit mode

GPU:Nvidia Quadro 4000M, nvidia-current 304.88-0ubuntu0.0.2

In addition to the above mentioned "NVRM: Xid ..." and "NVRM: os_schedule:..." messages, the following extra message had been appearing in dmesg, and syslog. Unfortunately, I don't see these messages in any of the other user's posted dmesgs, so my version of these symptoms, and current fix may be unrelated.

--- begin dmesg snippet
NVRM: Your system is not currently configured to drive a VGA console
NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
NVRM: requires the use of a text-mode VGA console. Use of other console
NVRM: drivers including, but not limited to, vesafb, may result in
NVRM: corruption and stability problems, and is not supported.
--- end dmesg

So I decided to make sure that vesafb (and any fb stuff done by grub) were fully deactivated.

I added "blacklist vesafb" to a modprobe config file, should work by placing in /etc/modprobe.d/nvidia-blacklist.conf". The problems persisted, so I added "GRUB_GFXPAYLOAD_LINUX=text" to /etc/default/grub, ran update-grub, then rebooted.

Now the "NVRM: Xid ..." and "NVRM: os_schedule:..." messages have stopped, and the machine has run reliably for over a week. (The video would become corrupt, and machine would eventually hang once a day.)

Of course your mileage may vary.