You are not logged in.

#1 2014-07-21 23:12:00

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

NVRM: os_schedule: Attempted to yield the CPU while in atomic context

I have an older Nvidia 6200 card which uses the nvidia-304xx driver.  Within the past few days, I have observed high CPU use (X was the culprit) accompanied by glitchy video playback using xbmc.  In addition, my ssh session in the terminal freezes up for 1-2 seconds.  My dmesg is filled with lines line the below.  I have attempted to use a 3.10 series of kernel and corresponding nvidia-304xx (utils and libgl) version 304.121 which I custom build along with the kernel, but this too causes the errors.  Errors are seen under:

* linux package (3.15.6-1)
* lnux-lts package (3.14.13-1)
* linux-custom package (3.10.49-1)

The hardware is old so it is conceivable that it is a hardware issue.  Googling shows me cases of this back to 2008 but with no resolutions.

[   40.800219] NVRM: Xid (0000:01:05): 8, Channel 00000002
[   42.800144] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[   44.810013] [sched_delayed] sched: RT throttling activated
[   52.810097] NVRM: Xid (0000:01:05): 8, Channel 00000002
[   54.810050] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[   64.820108] NVRM: Xid (0000:01:05): 8, Channel 00000002
[   66.820058] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[   76.820108] NVRM: Xid (0000:01:05): 8, Channel 00000002
[   78.820055] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[   81.820261] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[   89.820117] NVRM: Xid (0000:01:05): 8, Channel 00000020
[   90.820168] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[   97.820097] NVRM: Xid (0000:01:05): 8, Channel 00000020
[   98.820171] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  106.820098] NVRM: Xid (0000:01:05): 8, Channel 00000002
[  108.820046] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[  177.820098] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  178.820177] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  186.820104] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  188.820170] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  195.820159] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  196.820245] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  204.820104] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  205.820179] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  213.820093] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  214.820158] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  221.820153] NVRM: Xid (0000:01:05): 8, Channel 00000002
[  223.820081] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[  233.820099] NVRM: Xid (0000:01:05): 8, Channel 00000002
[  235.820044] NVRM: os_schedule: Attempted to yield the CPU while in atomic or interrupt context
[  238.820176] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  245.820176] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  246.820167] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  253.820104] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  254.820173] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  261.820108] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  262.820174] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  270.820114] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  271.820258] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  279.820120] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  298.820101] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  299.820182] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  307.820108] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  308.820177] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  315.820113] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  316.820200] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000
[  324.820095] NVRM: Xid (0000:01:05): 8, Channel 00000020
[  325.820165] NVRM: Xid (0000:01:05): 9, Channel 00000020 Instance 00000000 Intr 00100000

Last edited by graysky (2014-07-21 23:17:52)

Offline

#2 2014-08-02 21:55:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: NVRM: os_schedule: Attempted to yield the CPU while in atomic context

Replaced the card with a new one and everything is fine.  Highly likely these sorts of error are hardware related.  Title too big to mark as solved.

Last edited by graysky (2014-08-02 21:55:28)

Offline

#3 2014-08-03 20:53:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,601

Re: NVRM: os_schedule: Attempted to yield the CPU while in atomic context

Out of curiosity,  does 'new' mean a card of more recent design? Or does it mean one that is the same model as the last one that is not as long-in-the-tooth?

In other words, was a hardware malfunction or is it a compatibility issue?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2014-09-17 13:24:00

Vdragon
Member
From: 台灣(Taiwan)
Registered: 2014-09-17
Posts: 2

Re: NVRM: os_schedule: Attempted to yield the CPU while in atomic context

Hi, I'm here to inform you my system status as I have the same issue while using Ubuntu 14.04 with Ubuntu 14.10 pre-release Linux kernel, I encountered the issue when I'm playing SuperTuxKart while using this configuration

Graphics: NVIDIA GTS-250 based GIGABYTE GV-N2501GI card with NVIDIA proprietary driver nvidia-331-updates(version 331.38) from Ubuntu 14.04 software sources
OS architecture: x86 32-bit

Offline

#5 2014-09-17 19:06:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: NVRM: os_schedule: Attempted to yield the CPU while in atomic context

@ewaller - Sorry didn't see your post until just now.  New = same model, NIB.  Has to have an svideo out for this application.
@Vdragon - Suspect it's hardware related.

Offline

#6 2014-09-18 01:54:44

Vdragon
Member
From: 台灣(Taiwan)
Registered: 2014-09-17
Posts: 2

Re: NVRM: os_schedule: Attempted to yield the CPU while in atomic context

@graysky I have confirmed the bug could not reproduce in 3.13.0 Linux kernel from Ubuntu 14.04, I suspect it's a regression in somewhere...

Offline

#7 2014-09-18 08:51:42

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,729
Website

Re: NVRM: os_schedule: Attempted to yield the CPU while in atomic context

In my case, it was definetly the hardware.  Could not even enter X after a few months.

Offline

Board footer

Powered by FluxBB