From: Jarek Poplawski <jarkao2@gmail.com>
To: Philippe De Muyter <phdm@macqel.be>
Cc: grundler@parisc-linux.org, kyle@mcmartin.ca,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: tulip : kernel BUG in tulip_up/tulip_resume
Date: Sun, 29 Nov 2009 01:17:10 +0100 [thread overview]
Message-ID: <20091129001710.GA4055@ami.dom.local> (raw)
In-Reply-To: <20091108223305.GA21072@frolo.macqel>
Philippe De Muyter wrote, On 11/08/2009 11:33 PM:
> Hello,
>
> I have just installed 2.6.31 (from opensuse 11.2) one a tulip-equipped
> computer and I get the following error message from the kernel :
>
> [ 2495.526390] ------------[ cut here ]------------
> [ 2495.526390] kernel BUG at /usr/src/packages/BUILD/kernel-default-2.6.31.5/linux-2.6.31/include/linux/netdevice.h:439!
> [ 2495.526390] invalid opcode: 0000 [#1] SMP
...
> This comes from a BUG_ON in napi_enable in netdevice.h.
>
> napi_enable itself is called by tulip_up as such :
>
> #ifdef CONFIG_TULIP_NAPI
> napi_enable(&tp->napi);
> #endif
>
> At first reading, a matching napi_disable is called in tulip_down.
>
> Does someone know what could be wrong and have a fix or should I look myself ?
Don't know, guess only...
Jarek P.
---
drivers/net/tulip/tulip_core.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c
index 0df983b..6b1456c 100644
--- a/drivers/net/tulip/tulip_core.c
+++ b/drivers/net/tulip/tulip_core.c
@@ -1787,11 +1787,11 @@ static int tulip_resume(struct pci_dev *pdev)
return retval;
}
- netif_device_attach(dev);
-
if (netif_running(dev))
tulip_up(dev);
+ netif_device_attach(dev);
+
return 0;
}
next prev parent reply other threads:[~2009-11-29 0:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-27 16:57 [PATCH] tulip : fix 21142 with 10Mbps without negotiation Philippe De Muyter
2009-01-30 21:49 ` David Miller
[not found] ` <20090129210701.GA8092@frolo.macqel>
2009-11-08 22:33 ` tulip : kernel BUG in tulip_up/tulip_resume Philippe De Muyter
2009-11-21 19:10 ` David Miller
2009-11-29 0:17 ` Jarek Poplawski [this message]
2009-11-29 11:36 ` Jarek Poplawski
2009-12-03 6:25 ` David Miller
2009-12-03 8:47 ` Philippe De Muyter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091129001710.GA4055@ami.dom.local \
--to=jarkao2@gmail.com \
--cc=grundler@parisc-linux.org \
--cc=kyle@mcmartin.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=phdm@macqel.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).