Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-26-09, 02:35 PM   #1
interzoneuk
Registered User
 
Join Date: Mar 2005
Posts: 81
Default Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

Hi.

I have noticed this since using 2.6.29.1 kernel (amd64)

[ 15.617627] IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

here is what is using irqs:-

mrgentoo morgan # cat /proc/interrupts

CPU0 CPU1
0: 125 0 IO-APIC-edge timer
1: 2 633 IO-APIC-edge i8042
4: 0 2 IO-APIC-edge
7: 1 0 IO-APIC-edge
8: 0 0 IO-APIC-edge rtc0
9: 0 0 IO-APIC-fasteoi acpi
14: 0 0 IO-APIC-edge pata_amd
15: 0 0 IO-APIC-edge pata_amd
16: 2 3153 IO-APIC-fasteoi nvidia
18: 0 3 IO-APIC-fasteoi ohci1394
20: 94 33981 IO-APIC-fasteoi ohci_hcd:usb1
22: 37 27539 IO-APIC-fasteoi sata_nv, HDA Intel
23: 56 37136 IO-APIC-fasteoi sata_nv, ehci_hcd:usb2
25: 213 266212 PCI-MSI-edge eth0
NMI: 0 0 Non-maskable interrupts
LOC: 329291 282776 Local timer interrupts
RES: 53901 51045 Rescheduling interrupts
CAL: 1174 118 Function call interrupts
TLB: 2374 1850 TLB shootdowns
SPU: 0 0 Spurious interrupts
ERR: 1
MIS: 0

Anyone know how to prevent the message ?
interzoneuk is offline   Reply With Quote
Old 04-26-09, 03:27 PM   #2
thefirstm
Registered User
 
Join Date: Feb 2009
Posts: 226
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

Is it causing you any problems? If it is not, then just ignore it. I get that message with both 2.6.29 and 2.6.30-rc, but it doesn't cause any problems on either.
thefirstm is offline   Reply With Quote
Old 04-26-09, 03:36 PM   #3
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

if you need a "fix" for this:

ask google

(3rd hit provides one)

Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 04-26-09, 03:53 PM   #4
StringCheesian
Registered User
 
Join Date: May 2004
Posts: 27
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

Quote:
Originally Posted by kernelOfTruth View Post
if you need a "fix" for this:

ask google

(3rd hit provides one)

Re: PATCH: 2.6.26-rc8: Fix IRQF_DISABLED for shared interrupts
But that patch doesn't look like a fix. In fact, it looks like it's probably the patch that introduced the warning in the first place. Which is good, it exposed a preexisting problem between the kernel and the nvidia driver. But it's definitely not a fix.
StringCheesian is offline   Reply With Quote
Old 04-26-09, 04:34 PM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

I don't believe the warning is indicative of a real problem in case of the NVIDIA Linux graphics driver. I'll take a closer look, though.
zander is offline   Reply With Quote
Old 04-26-09, 04:49 PM   #6
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

Quote:
Originally Posted by StringCheesian View Post
But that patch doesn't look like a fix. In fact, it looks like it's probably the patch that introduced the warning in the first place. Which is good, it exposed a preexisting problem between the kernel and the nvidia driver. But it's definitely not a fix.
argh !

sorry, I of course meant the 4th

http://zen-sources.org/content/irqfs...ed-fix-2629-rc

Code:
-----Start-Copy-------

---
kernel/irq/manage.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- a/kernel/irq/manage.c 2008-06-30 12:28:58.000000000 -0700
+++ b/kernel/irq/manage.c 2008-06-30 12:46:54.000000000 -0700
@@ -539,6 +539,18 @@ int request_irq(unsigned int irq, irq_ha
struct irqaction *action;
int retval;

+ /*
+ * handle_IRQ_event() always ignores IRQF_DISABLED except for
+ * the _first_ irqaction (sigh). That can cause oopsing, but
+ * the behavior is classified as "will not fix" so we need to
+ * start nudging drivers away from using that idiom.
+ */
+ if ((irqflags & (IRQF_SHARED|IRQF_DISABLED))
+ == (IRQF_SHARED|IRQF_DISABLED))
+ pr_warning("IRQ %d/%s: IRQF_DISABLED is not "
+ "guaranteed on shared IRQs\n",
+ irq, devname);
+
#ifdef CONFIG_LOCKDEP
/*
* Lockdep wants atomic interrupt handlers:

------END-------
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 04-27-09, 02:54 AM   #7
StringCheesian
Registered User
 
Join Date: May 2004
Posts: 27
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

Quote:
Originally Posted by zander View Post
I don't believe the warning is indicative of a real problem in case of the NVIDIA Linux graphics driver. I'll take a closer look, though.
I just assumed that the warning was something serious. Sorry, I didn't mean to exaggerate.
StringCheesian is offline   Reply With Quote
Old 04-27-09, 05:32 AM   #8
interzoneuk
Registered User
 
Join Date: Mar 2005
Posts: 81
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

Thanks for taking a look Zander. I am getting the segfault with some 3d apps (rarely)..

I did search on google and found that exact patch but was under the impression that it was already in the kernel and that it just warned you..

I have tried the following (in case that helped)
Kernel settings:-

] Support for Interrupt Remapping (EXPERIMENTAL)
] Support for DMA Remapping Devices (EXPERIMENTAL)

- I have also installed a beta bios for my MB that enables dma remapping

Still the same

I have also tried putting it in MSI mode - NVreg_EnableMSI=1

And get similar warning although a different irq is now shared

26: 0 581 PCI-MSI-edge nvidia

cheers
interzoneuk is offline   Reply With Quote

Old 04-27-09, 10:50 AM   #9
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

@interzoneuk: It is unlikely that an NVIDIA GPU interrupt delivery problem would manifest itself in user-space segmentation faults.
zander is offline   Reply With Quote
Old 04-27-09, 06:30 PM   #10
botio
Registered User
 
Join Date: Apr 2004
Posts: 14
Default Re: Default 2.6.29 IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

Hi, my 6600GT AGP shares an IRQ with an USB bus.
I also get this message:
IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

16: 5545144 0 IO-APIC-fasteoi uhci_hcd:usb2, uhci_hcd:usb5, nvidia

My system freezed every time I used an bluetooth dongle plugged on this port, I changed the port and now it's ok. I didn't checked if it still responded to ping though

I guess there are actually issues sharing IRQs with the graphic card.
botio is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
Nvidia GF4 MX 440 + Mandrake tomchristopher NVIDIA Linux 3 08-18-02 09:42 AM
nVidia drivers + Red Hat Linux 7.3 Error404 NVIDIA Linux 17 08-16-02 11:34 AM

All times are GMT -5. The time now is 02:34 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.