netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 12876] New: irq 18: nobody cared after down-ing an e1000 interface
       [not found] <bug-12876-10286@http.bugzilla.kernel.org/>
@ 2009-03-15 21:30 ` Andrew Morton
  2009-03-21  5:05   ` Brandeburg, Jesse
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 2009-03-15 21:30 UTC (permalink / raw)
  To: e1000-devel, netdev; +Cc: lkundrak, bugme-daemon


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Sun, 15 Mar 2009 06:40:54 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=12876
> 
>            Summary: irq 18: nobody cared after down-ing an e1000 interface
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.29-0.237.rc7.git4.fc11.i586
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Network
>         AssignedTo: drivers_network@kernel-bugs.osdl.org
>         ReportedBy: lkundrak@v3.sk
> 
> 
> Distribution: Fedora
> Hardware Environment:
> http://smolts.org/show?uuid=pub_63f33868-db84-4452-bb6d-eeb440ee5449
> 
> Problem Description:
> 
> I get the following OOPS when I down the e1000 network interface:
> 
> irq 18: nobody cared (try booting with the "irqpoll" option)
> Pid: 9014, comm: udevd Tainted: G        W  2.6.29-0.237.rc7.git4.fc11.i586 #1
> Call Trace:
>  [<c0471f2b>] __report_bad_irq+0x33/0x74
>  [<c047205e>] note_interrupt+0xf2/0x150
>  [<c04711e0>] ? handle_IRQ_event+0x4f/0x58
>  [<c04725e8>] handle_fasteoi_irq+0x94/0xb7
>  [<c0472554>] ? handle_fasteoi_irq+0x0/0xb7
>  <IRQ>  [<c04045ac>] ? common_interrupt+0x2c/0x40
> handlers:
> [<c05f3cb6>] (ata_sff_interrupt+0x0/0xb1)
> [<c06079ec>] (usb_hcd_irq+0x0/0xa3)
> Disabling IRQ #18
> 
> As you can see, the IRQ 18 is shared with ata_sff and usb_hcd.
> 
> I've tried to comment out e1000_free_irq() call from e1000_close() and added a
> printk() to e1000_intr(). After that, the problem didn't occur, but I've not
> seen the output of the printk in e1000_intr() (It was visible while the
> interface was up), as if it weren't called. Seems like the way shared
> interrupts work is beyond my understanding.
> 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bugme-new] [Bug 12876] New: irq 18: nobody cared after down-ing an e1000 interface
  2009-03-15 21:30 ` [Bugme-new] [Bug 12876] New: irq 18: nobody cared after down-ing an e1000 interface Andrew Morton
@ 2009-03-21  5:05   ` Brandeburg, Jesse
  0 siblings, 0 replies; 2+ messages in thread
From: Brandeburg, Jesse @ 2009-03-21  5:05 UTC (permalink / raw)
  To: Andrew Morton
  Cc: e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org,
	bugme-daemon@bugzilla.kernel.org, lkundrak@v3.sk

On Sun, 15 Mar 2009, Andrew Morton wrote:
> > http://bugzilla.kernel.org/show_bug.cgi?id=12876
> > I get the following OOPS when I down the e1000 network interface:
> > 
> > irq 18: nobody cared (try booting with the "irqpoll" option)
> > Pid: 9014, comm: udevd Tainted: G        W  2.6.29-0.237.rc7.git4.fc11.i586 #1
> > Call Trace:
> >  [<c0471f2b>] __report_bad_irq+0x33/0x74
> >  [<c047205e>] note_interrupt+0xf2/0x150
> >  [<c04711e0>] ? handle_IRQ_event+0x4f/0x58
> >  [<c04725e8>] handle_fasteoi_irq+0x94/0xb7
> >  [<c0472554>] ? handle_fasteoi_irq+0x0/0xb7
> >  <IRQ>  [<c04045ac>] ? common_interrupt+0x2c/0x40
> > handlers:
> > [<c05f3cb6>] (ata_sff_interrupt+0x0/0xb1)
> > [<c06079ec>] (usb_hcd_irq+0x0/0xa3)
> > Disabling IRQ #18
> > 
> > As you can see, the IRQ 18 is shared with ata_sff and usb_hcd.
> > 
> > I've tried to comment out e1000_free_irq() call from e1000_close() and added a
> > printk() to e1000_intr(). After that, the problem didn't occur, but I've not
> > seen the output of the printk in e1000_intr() (It was visible while the
> > interface was up), as if it weren't called. Seems like the way shared
> > interrupts work is beyond my understanding.

Please try the patch attached to the bug, Alan Cox pointed out that it was 
likely the driver was racy during close and was re-enabling interrupts.

I spotted two possible areas where this was possible and put in checks for 
__E1000_DOWN before re-enabling ints in those spots.

I'm offline for a week and I'll reconnect and check back when I return.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-21  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <bug-12876-10286@http.bugzilla.kernel.org/>
2009-03-15 21:30 ` [Bugme-new] [Bug 12876] New: irq 18: nobody cared after down-ing an e1000 interface Andrew Morton
2009-03-21  5:05   ` Brandeburg, Jesse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).