* forcedeth unknown events 0x21
@ 2003-12-18 8:05 Madis Janson
2003-12-22 3:39 ` Carl-Daniel Hailfinger
0 siblings, 1 reply; 5+ messages in thread
From: Madis Janson @ 2003-12-18 8:05 UTC (permalink / raw)
To: netdev
[-- Attachment #1: Type: TEXT/PLAIN, Size: 577 bytes --]
When trying forcedeth_2_6_patch_v19.txt, i got the following message
fastly repeating after ifup eth0:
"eth0: received irq with unknown events 0x21. Please report"
and it didn't work eighter (ifup just stalled).
kernel:
2.6.0 release + patches:
http://www.held.org.il/patches/patch-lirc-2.6.0-test9-oh.diff.bz2
http://www.hailfinger.org/carldani/linux/patches/forcedeth/forcedeth_2_6_patch_v19.txt
hardware:
AMD Athlon(tm) XP 2000+ cpu,
MSI K7N2 Delta-L(601-6570-020) motherboard.
attached .tar.bz2 contains dmesg and
pci, interrupts, kernel config from /proc.
--
mzz
[-- Attachment #2: Type: APPLICATION/OCTET-STREAM, Size: 9816 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: forcedeth unknown events 0x21
2003-12-18 8:05 forcedeth unknown events 0x21 Madis Janson
@ 2003-12-22 3:39 ` Carl-Daniel Hailfinger
2004-01-05 12:58 ` madis
0 siblings, 1 reply; 5+ messages in thread
From: Carl-Daniel Hailfinger @ 2003-12-22 3:39 UTC (permalink / raw)
To: Madis Janson; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
Madis Janson wrote:
> When trying forcedeth_2_6_patch_v19.txt, i got the following message
> fastly repeating after ifup eth0:
>
> "eth0: received irq with unknown events 0x21. Please report"
>
> and it didn't work eighter (ifup just stalled).
>
> kernel:
>
> 2.6.0 release + patches:
> http://www.held.org.il/patches/patch-lirc-2.6.0-test9-oh.diff.bz2
> http://www.hailfinger.org/carldani/linux/patches/forcedeth/forcedeth_2_6_patch_v19.txt
Please try the attached patch on top of it and report back if it works.
Carl-Daniel
--
http://www.hailfinger.org/
[-- Attachment #2: forcedeth_19test1.diff --]
[-- Type: text/plain, Size: 1536 bytes --]
===== drivers/net/forcedeth.c 1.8 vs edited =====
--- 1.8/drivers/net/forcedeth.c Mon Dec 8 17:58:03 2003
+++ edited/drivers/net/forcedeth.c Mon Dec 22 04:05:36 2003
@@ -127,6 +127,7 @@
#define NVREG_IRQSTAT_MIIEVENT 0x040
#define NVREG_IRQSTAT_MASK 0x1ff
NvRegIrqMask = 0x004,
+#define NVREG_IRQ_RX_ERR 0x0001
#define NVREG_IRQ_RX 0x0002
#define NVREG_IRQ_RX_NOBUF 0x0004
#define NVREG_IRQ_TX_ERR 0x0008
@@ -136,7 +137,7 @@
#define NVREG_IRQ_TX1 0x0100
#define NVREG_IRQMASK_WANTED_1 0x005f
#define NVREG_IRQMASK_WANTED_2 0x0147
-#define NVREG_IRQ_UNKNOWN (~(NVREG_IRQ_RX|NVREG_IRQ_RX_NOBUF|NVREG_IRQ_TX_ERR|NVREG_IRQ_TX2|NVREG_IRQ_TIMER|NVREG_IRQ_LINK|NVREG_IRQ_TX1))
+#define NVREG_IRQ_UNKNOWN (~(NVREG_IRQ_RX_ERR|NVREG_IRQ_RX|NVREG_IRQ_RX_NOBUF|NVREG_IRQ_TX_ERR|NVREG_IRQ_TX2|NVREG_IRQ_TIMER|NVREG_IRQ_LINK|NVREG_IRQ_TX1))
NvRegUnknownSetupReg6 = 0x008,
#define NVREG_UNKSETUP6_VAL 3
@@ -1056,7 +1057,7 @@
spin_unlock(&np->lock);
}
- if (events & (NVREG_IRQ_RX|NVREG_IRQ_RX_NOBUF)) {
+ if (events & (NVREG_IRQ_RX_ERR|NVREG_IRQ_RX|NVREG_IRQ_RX_NOBUF)) {
rx_process(dev);
if (alloc_rx(dev)) {
spin_lock(&np->lock);
@@ -1071,6 +1072,9 @@
link_irq(dev);
spin_unlock(&np->lock);
}
+ if (events & (NVREG_IRQ_RX_ERR)) {
+ dprintk(KERN_DEBUG "%s: received irq with events 0x%x. Probably RX fail.\n",
+ dev->name, events);
if (events & (NVREG_IRQ_TX_ERR)) {
dprintk(KERN_DEBUG "%s: received irq with events 0x%x. Probably TX fail.\n",
dev->name, events);
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: forcedeth unknown events 0x21
2003-12-22 3:39 ` Carl-Daniel Hailfinger
@ 2004-01-05 12:58 ` madis
2004-01-11 22:41 ` Carl-Daniel Hailfinger
0 siblings, 1 reply; 5+ messages in thread
From: madis @ 2004-01-05 12:58 UTC (permalink / raw)
To: Carl-Daniel Hailfinger; +Cc: Madis Janson, netdev
On Mon, 22 Dec 2003, Carl-Daniel Hailfinger wrote:
> Madis Janson wrote:
> > When trying forcedeth_2_6_patch_v19.txt, i got the following message
> > fastly repeating after ifup eth0:
> >
> > "eth0: received irq with unknown events 0x21. Please report"
> >
> > and it didn't work eighter (ifup just stalled).
> >
> > kernel:
> >
> > 2.6.0 release + patches:
> > http://www.held.org.il/patches/patch-lirc-2.6.0-test9-oh.diff.bz2
> > http://www.hailfinger.org/carldani/linux/patches/forcedeth/forcedeth_2_6_patch_v19.txt
>
> Please try the attached patch on top of it and report back if it works.
>
the unknown events message disappeared,
but the network did not start to work...
========================================================
+ if (events & (NVREG_IRQ_RX_ERR)) {
+ dprintk(KERN_DEBUG "%s: received irq with events
0x%x.
Probably RX fail.\n",
+ dev->name, events);
here were '}' missing.
--
mzz
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: forcedeth unknown events 0x21
2004-01-05 12:58 ` madis
@ 2004-01-11 22:41 ` Carl-Daniel Hailfinger
2004-02-24 16:04 ` Madis Janson
0 siblings, 1 reply; 5+ messages in thread
From: Carl-Daniel Hailfinger @ 2004-01-11 22:41 UTC (permalink / raw)
To: madis; +Cc: Madis Janson, netdev
madis wrote:
> On Mon, 22 Dec 2003, Carl-Daniel Hailfinger wrote:
>
>>Madis Janson wrote:
>>
>>>When trying forcedeth_2_6_patch_v19.txt, i got the following message
>>>fastly repeating after ifup eth0:
>>>
>>>"eth0: received irq with unknown events 0x21. Please report"
>>>
>>>and it didn't work eighter (ifup just stalled).
[...]
>>
>>Please try the attached patch on top of it and report back if it works.
>
> the unknown events message disappeared,
> but the network did not start to work...
Do you use any powermanagement software (athcool, lvcool, fvcool, coolon,
athlon cooling patch, anything STPGNT related)? Does your BIOS list
anything STPGNT related?
> + if (events & (NVREG_IRQ_RX_ERR)) {
> + dprintk(KERN_DEBUG "%s: received irq with events
> 0x%x.
> Probably RX fail.\n",
> + dev->name, events);
> here were '}' missing.
Thanks for the hint.
If you see anything powermanagement related enabled, please disable it and
try again. Does that fix it?
Carl-Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: forcedeth unknown events 0x21
2004-01-11 22:41 ` Carl-Daniel Hailfinger
@ 2004-02-24 16:04 ` Madis Janson
0 siblings, 0 replies; 5+ messages in thread
From: Madis Janson @ 2004-02-24 16:04 UTC (permalink / raw)
To: Carl-Daniel Hailfinger; +Cc: netdev
On Sun, 11 Jan 2004, Carl-Daniel Hailfinger wrote:
> madis wrote:
> > On Mon, 22 Dec 2003, Carl-Daniel Hailfinger wrote:
> >
> >>Madis Janson wrote:
> >>
> >>>When trying forcedeth_2_6_patch_v19.txt, i got the following message
> >>>fastly repeating after ifup eth0:
> >>>
> >>>"eth0: received irq with unknown events 0x21. Please report"
> >>>
> >>>and it didn't work eighter (ifup just stalled).
> [...]
> >>
> >>Please try the attached patch on top of it and report back if it works.
> >
> > the unknown events message disappeared,
> > but the network did not start to work...
>
> Do you use any powermanagement software (athcool, lvcool, fvcool, coolon,
> athlon cooling patch, anything STPGNT related)? Does your BIOS list
> anything STPGNT related?
>
I didn't found anything STPGNT related to be installed or in BIOS.
But seems that the reason for it to not work was actually stupid cable
modem, that remembered other end network cards hardware address and
refused to respond.
That solved, the 2.6.3 kernels forcedeth works, but about half of the
packets are dropped (rtl8139 used for same thing drops almost nothing).
Also it complains now very much about "unknown event 0x1" (instead of
0x21 which was complained when I tried before).
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-02-24 16:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-18 8:05 forcedeth unknown events 0x21 Madis Janson
2003-12-22 3:39 ` Carl-Daniel Hailfinger
2004-01-05 12:58 ` madis
2004-01-11 22:41 ` Carl-Daniel Hailfinger
2004-02-24 16:04 ` Madis Janson
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).