* Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart.
@ 2008-09-21 17:23 Evgeniy Polyakov
2008-09-21 18:04 ` Arjan van de Ven
` (3 more replies)
0 siblings, 4 replies; 42+ messages in thread
From: Evgeniy Polyakov @ 2008-09-21 17:23 UTC (permalink / raw)
To: netdev-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Cc: ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
linux-wireless-u79uwXL29TY76Z2rM5mHXA,
yi.zhu-ral2JQCrhuEAvxtiuMwx3w,
reinette.chatre-ral2JQCrhuEAvxtiuMwx3w,
jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ,
davem-fT/PcQaiUtIeIZ0/mPfg9Q
Hi.
Following bug exists in the ipw2100 driver/firmware for years and Intel
folks never responded to zillions bugzilla entries and forum notices in
the internet with some patch or firmware update (although did request
dmesg and debug info, and received them).
ipw2100: Fatal interrupt. Scheduling firmware restart.
I believe it is a firmware bug because after driver is unloaded and
loaded back again wireless adapter usually starts working (for small
amount of time though). My conspiracy feeling can suggest, that it may
be kind of a force to buy a new one, or trivial error in the firmware,
when it writes to the same place in the flash and essentially given cell
became dead or whatever else.
Intel folks, please fix this problem, I see no other way to force you to do
this than to mark ipw2100 driver as broken, since that is what it is.
Bug exists at least in .15 upto .24 kernels, just search above dmesg
line. I cought it with 2.6.24-19-386 ubuntu kernel, 1.3 firmware
version. lspci:
02:04.0 Network controller: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
Subsystem: Intel Corporation Samsung X10/P30 integrated WLAN
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 8500ns max), Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at 90080000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
dmesg is pretty usual.
Signed-off-by: Evgeniy Polyakov <johnpol-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig
index 9931b5a..c24fc6a 100644
--- a/drivers/net/wireless/Kconfig
+++ b/drivers/net/wireless/Kconfig
@@ -125,7 +125,7 @@ config PCMCIA_RAYCS
config IPW2100
tristate "Intel PRO/Wireless 2100 Network Connection"
- depends on PCI && WLAN_80211
+ depends on PCI && WLAN_80211 && BROKEN
select WIRELESS_EXT
select FW_LOADER
select IEEE80211
--
Evgeniy Polyakov
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 42+ messages in thread* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 17:23 Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart Evgeniy Polyakov @ 2008-09-21 18:04 ` Arjan van de Ven 2008-09-21 18:28 ` Evgeniy Polyakov 2008-09-21 19:35 ` Marcel Holtmann ` (2 subsequent siblings) 3 siblings, 1 reply; 42+ messages in thread From: Arjan van de Ven @ 2008-09-21 18:04 UTC (permalink / raw) To: Evgeniy Polyakov Cc: netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem On Sun, 21 Sep 2008 21:23:17 +0400 Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote: > Hi. > > Following bug exists in the ipw2100 driver/firmware for years and > Intel folks never responded to zillions bugzilla entries and forum > notices in the internet with some patch or firmware update (although > did request dmesg and debug info, and received them). > > ipw2100: Fatal interrupt. Scheduling firmware restart. > > I believe it is a firmware bug because after driver is unloaded and > loaded back again wireless adapter usually starts working (for small > amount of time though). \ > diff --git a/drivers/net/wireless/Kconfig > b/drivers/net/wireless/Kconfig index 9931b5a..c24fc6a 100644 > --- a/drivers/net/wireless/Kconfig > +++ b/drivers/net/wireless/Kconfig > @@ -125,7 +125,7 @@ config PCMCIA_RAYCS > > config IPW2100 > tristate "Intel PRO/Wireless 2100 Network Connection" > - depends on PCI && WLAN_80211 > + depends on PCI && WLAN_80211 && BROKEN > select WIRELESS_EXT > select FW_LOADER > select IEEE80211 > so now you go from an occasional burp to having nothing at all. How about you run with this patch on your own machine only? or.. since you say a reload of the driver fixes it.. why don't you make a patch for the driver that does basically the actions of a reload automatically when the driver detects the issue? (and stick a WARN_ON in for good measure so that kerneloops.org can start tracking these burps) -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 18:04 ` Arjan van de Ven @ 2008-09-21 18:28 ` Evgeniy Polyakov 2008-09-21 18:35 ` Arjan van de Ven 0 siblings, 1 reply; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 18:28 UTC (permalink / raw) To: Arjan van de Ven Cc: netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem On Sun, Sep 21, 2008 at 11:04:22AM -0700, Arjan van de Ven (arjan@infradead.org) wrote: > so now you go from an occasional burp to having nothing at all. > How about you run with this patch on your own machine only? And how else user can get attention to the problem which is not fixed by the vendor? We close our eyes and there is no problem, since we do not see it. I just brought a lamp: no user can see that essentially driver is broken so he can run it on his own risk. > or.. since you say a reload of the driver fixes it.. why don't you make > a patch for the driver that does basically the actions of a reload > automatically when the driver detects the issue? > (and stick a WARN_ON in for good measure so that kerneloops.org can > start tracking these burps) It stops after several seconds (or packets?). Sometimes (but rarely) it works several minutes, sometimes it fires above dmesg line and continues to work, sometimes it fires it for a while and then stops writing it, although driver does not send or receive anything (at least ifconfig counters do not change). Actually, I do not think it is a driver problem, since what it does is pretty much straightforward, but if you will tell me how else can we fix this issue, I will print it and glue near the window so this gotcha could be used with other problems. Or you can (as everyone else who do) just said that this is damn wrong and forget about problem for the next several years. -- Evgeniy Polyakov ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 18:28 ` Evgeniy Polyakov @ 2008-09-21 18:35 ` Arjan van de Ven [not found] ` <20080921113513.16677c4e-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Arjan van de Ven @ 2008-09-21 18:35 UTC (permalink / raw) To: Evgeniy Polyakov Cc: netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem On Sun, 21 Sep 2008 22:28:38 +0400 Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote: > On Sun, Sep 21, 2008 at 11:04:22AM -0700, Arjan van de Ven > (arjan@infradead.org) wrote: > > so now you go from an occasional burp to having nothing at all. > > How about you run with this patch on your own machine only? > > And how else user can get attention to the problem which is not fixed > by the vendor? ... or the community > We close our eyes and there is no problem, since we do > not see it. I just brought a lamp: no user can see that essentially > driver is broken so he can run it on his own risk. > > > or.. since you say a reload of the driver fixes it.. why don't you > > make a patch for the driver that does basically the actions of a > > reload automatically when the driver detects the issue? > > (and stick a WARN_ON in for good measure so that kerneloops.org can > > start tracking these burps) > > It stops after several seconds (or packets?). Sometimes (but rarely) > it works several minutes, sometimes it fires above dmesg line and > continues to work, sometimes it fires it for a while and then stops > writing it, although driver does not send or receive anything (at > least ifconfig counters do not change). again.. so how about you detect this condition and do, in the driver code, the equivalent of rmmod/insmod to the hardware. I'm sure people who have the hardware would appreciate that type of patch a lot more than the one you sent out. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921113513.16677c4e-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921113513.16677c4e-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> @ 2008-09-21 18:52 ` Wei Weng 2008-09-21 19:20 ` Arjan van de Ven 2008-09-21 19:00 ` Evgeniy Polyakov 1 sibling, 1 reply; 42+ messages in thread From: Wei Weng @ 2008-09-21 18:52 UTC (permalink / raw) To: Arjan van de Ven Cc: Evgeniy Polyakov, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q Arjan van de Ven wrote: > On Sun, 21 Sep 2008 22:28:38 +0400 > Evgeniy Polyakov <johnpol-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> wrote: > >> On Sun, Sep 21, 2008 at 11:04:22AM -0700, Arjan van de Ven >> (arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org) wrote: >>> so now you go from an occasional burp to having nothing at all. >>> How about you run with this patch on your own machine only? >> And how else user can get attention to the problem which is not fixed >> by the vendor? > > ... or the community > >> We close our eyes and there is no problem, since we do >> not see it. I just brought a lamp: no user can see that essentially >> driver is broken so he can run it on his own risk. >> >>> or.. since you say a reload of the driver fixes it.. why don't you >>> make a patch for the driver that does basically the actions of a >>> reload automatically when the driver detects the issue? >>> (and stick a WARN_ON in for good measure so that kerneloops.org can >>> start tracking these burps) >> It stops after several seconds (or packets?). Sometimes (but rarely) >> it works several minutes, sometimes it fires above dmesg line and >> continues to work, sometimes it fires it for a while and then stops >> writing it, although driver does not send or receive anything (at >> least ifconfig counters do not change). > > again.. so how about you detect this condition and do, in the driver > code, the equivalent of rmmod/insmod to the hardware. I'm sure people > who have the hardware would appreciate that type of patch a lot more > than the one you sent out. > I guess it is your way of "middle finger" to all the IPW2100 customers who try to use it on a Linux machine. Thanks Wei -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 18:52 ` Wei Weng @ 2008-09-21 19:20 ` Arjan van de Ven 0 siblings, 0 replies; 42+ messages in thread From: Arjan van de Ven @ 2008-09-21 19:20 UTC (permalink / raw) To: Wei Weng Cc: Evgeniy Polyakov, netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem On Sun, 21 Sep 2008 14:52:37 -0400 Wei Weng <wweng@acedsl.com> wrote: > > again.. so how about you detect this condition and do, in the driver > > code, the equivalent of rmmod/insmod to the hardware. I'm sure > > people who have the hardware would appreciate that type of patch a > > lot more than the one you sent out. > > > > I guess it is your way of "middle finger" to all the IPW2100 > customers who try to use it on a Linux machine. if suggesting a workaround is giving the middle finger in your mind, then I don't think it's worth my time to discuss this further with you. -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921113513.16677c4e-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> 2008-09-21 18:52 ` Wei Weng @ 2008-09-21 19:00 ` Evgeniy Polyakov [not found] ` <20080921190050.GA20484-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 1 sibling, 1 reply; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 19:00 UTC (permalink / raw) To: Arjan van de Ven Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, Sep 21, 2008 at 11:35:13AM -0700, Arjan van de Ven (arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org) wrote: > > And how else user can get attention to the problem which is not fixed > > by the vendor? > > ... or the community Which does not have access to the firmware... Which IMO is failing and not the driver itself. > > It stops after several seconds (or packets?). Sometimes (but rarely) > > it works several minutes, sometimes it fires above dmesg line and > > continues to work, sometimes it fires it for a while and then stops > > writing it, although driver does not send or receive anything (at > > least ifconfig counters do not change). > > again.. so how about you detect this condition and do, in the driver > code, the equivalent of rmmod/insmod to the hardware. I'm sure people > who have the hardware would appreciate that type of patch a lot more > than the one you sent out. Reset task does efectively ipw2100_up(), so the difference is power cycles over the PCI bus and enable/disable/request commands. Like this stuff: /* We disable the RETRY_TIMEOUT register (0x41) to keep * PCI Tx retries from interfering with C3 CPU state */ pci_read_config_dword(pci_dev, 0x40, &val); if ((val & 0x0000ff00) != 0) pci_write_config_dword(pci_dev, 0x40, val & 0xffff00ff); I do remember I had a tibet monk course of decoding ipw2100 PCI config address space, just need to find my kimono. Do you want me to implement ipw2100 driver as a big work structure which will run ipw2100_init()/wait/ipw2100_exit() in a loop? And that will be the fix suggested by Intel? That would explain a lot. P.S. And some people tell that asking for bug bisection is a hard pressure on user. Vendor has to ask him to fix bug himself instead, and that will be a solution! Getting the fact, that rmmod/insmod does not always fix the problem (but most of the time for a short period of time), I again want to point, that it looks like a firmware problem related to some inner timings. You ask me to fix the driver and do not even listen to what I said previously and do not get that into account and analyze. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921190050.GA20484-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921190050.GA20484-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 19:14 ` Johannes Berg 2008-09-21 19:38 ` Evgeniy Polyakov 2008-09-21 19:57 ` Alan Cox 1 sibling, 1 reply; 42+ messages in thread From: Johannes Berg @ 2008-09-21 19:14 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q [-- Attachment #1: Type: text/plain, Size: 805 bytes --] On Sun, 2008-09-21 at 23:00 +0400, Evgeniy Polyakov wrote: > Do you want me to implement ipw2100 driver as a big work structure > which will run ipw2100_init()/wait/ipw2100_exit() in a loop? > And that will be the fix suggested by Intel? That would explain a lot. I think what Arjan is saying is that it would be better to put pressure on the responsible folks (I don't think Arjan is anywhere near them at all) if you'd put in a WARN_ON() for this error and that would make the top entry on kerneloops.org all the time... And additionally put in a workaround for yourself for now. And can we keep the flames off this list please? That comment from Wei Weng was absolutely uncalled for, and inciting a flamewar (as you have already blogged) was not really productive either. johannes [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 19:14 ` Johannes Berg @ 2008-09-21 19:38 ` Evgeniy Polyakov [not found] ` <20080921193809.GA8735-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 19:38 UTC (permalink / raw) To: Johannes Berg Cc: Arjan van de Ven, netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem Hi. On Sun, Sep 21, 2008 at 09:14:04PM +0200, Johannes Berg (johannes@sipsolutions.net) wrote: > > Do you want me to implement ipw2100 driver as a big work structure > > which will run ipw2100_init()/wait/ipw2100_exit() in a loop? > > And that will be the fix suggested by Intel? That would explain a lot. > > I think what Arjan is saying is that it would be better to put pressure > on the responsible folks (I don't think Arjan is anywhere near them at Both maintainers were added to the copy list. > all) if you'd put in a WARN_ON() for this error and that would make the > top entry on kerneloops.org all the time... And additionally put in a > workaround for yourself for now. As I pointed, I can rewrite the whole driver's initialization process, so that it looked like init/wait/exit loop, which can be processed at the module load and when fatal interrupt fires. Do this a fix? This is not even a remotely workaround. We can just add rmmod/modprobe/ifdown/ifup to the crontab job. Another users reported in bugzilla that they needed to reboot a machine to make card working again. I'm not sure that user tried to do a rmmod/modprobe though. > And can we keep the flames off this list please? That comment from Wei > Weng was absolutely uncalled for, and inciting a flamewar (as you have > already blogged) was not really productive either. If we will keep silence, no one will notice that problem exists. I do hope this will result in a progress. Arjan, do you aggree to add this patch to the current tree? diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 19a401c..9a7b64c 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -206,6 +206,8 @@ MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])"); static u32 ipw2100_debug_level = IPW_DL_NONE; +static int ipw2100_max_fatal_ints = 10; + #ifdef CONFIG_IPW2100_DEBUG #define IPW_DEBUG(level, message...) \ do { \ @@ -3174,6 +3176,10 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { printk(KERN_WARNING DRV_NAME ": Fatal interrupt. Scheduling firmware restart.\n"); + WARN_ON(1); + + BUG_ON(ipw2100_max_fatal_ints-- <= 0); + priv->inta_other++; write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); -- Evgeniy Polyakov ^ permalink raw reply related [flat|nested] 42+ messages in thread
[parent not found: <20080921193809.GA8735-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921193809.GA8735-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 19:43 ` Arjan van de Ven 2008-09-21 20:20 ` Evgeniy Polyakov 2008-09-21 20:05 ` Cyrill Gorcunov 1 sibling, 1 reply; 42+ messages in thread From: Arjan van de Ven @ 2008-09-21 19:43 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, 21 Sep 2008 23:38:09 +0400 Evgeniy Polyakov <johnpol-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> wrote: > > As I pointed, I can rewrite the whole driver's initialization process, > so that it looked like init/wait/exit loop, which can be processed at > the module load and when fatal interrupt fires. yes please do this. > > I do hope this will result in a progress. Arjan, do you aggree to add > this patch to the current tree? > > diff --git a/drivers/net/wireless/ipw2100.c > b/drivers/net/wireless/ipw2100.c index 19a401c..9a7b64c 100644 > --- a/drivers/net/wireless/ipw2100.c > +++ b/drivers/net/wireless/ipw2100.c > @@ -206,6 +206,8 @@ MODULE_PARM_DESC(disable, "manually disable the > radio (default 0 [radio on])"); > static u32 ipw2100_debug_level = IPW_DL_NONE; > > +static int ipw2100_max_fatal_ints = 10; > + > #ifdef CONFIG_IPW2100_DEBUG > #define IPW_DEBUG(level, message...) \ > do { \ > @@ -3174,6 +3176,10 @@ static void ipw2100_irq_tasklet(struct > ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { > printk(KERN_WARNING DRV_NAME > ": Fatal interrupt. Scheduling firmware > restart.\n"); > + WARN_ON(1); > + > + BUG_ON(ipw2100_max_fatal_ints-- <= 0); BUG_ON in interrupt context is just extremely hostile, since it means the box is dead. also I would suggest using WARN_ON_ONCE() -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 19:43 ` Arjan van de Ven @ 2008-09-21 20:20 ` Evgeniy Polyakov [not found] ` <20080921202057.GB25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 20:20 UTC (permalink / raw) To: Arjan van de Ven Cc: Johannes Berg, netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem On Sun, Sep 21, 2008 at 12:43:32PM -0700, Arjan van de Ven (arjan@infradead.org) wrote: > > @@ -3174,6 +3176,10 @@ static void ipw2100_irq_tasklet(struct > > ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { > > printk(KERN_WARNING DRV_NAME > > ": Fatal interrupt. Scheduling firmware > > restart.\n"); > > + WARN_ON(1); > > + > > + BUG_ON(ipw2100_max_fatal_ints-- <= 0); > > BUG_ON in interrupt context is just extremely hostile, since it means > the box is dead. > > also I would suggest using WARN_ON_ONCE() Well, I actually wanted to have a bug there because of it, but now I think that annoying repeated warning is enough to bring attention to the problem by putting bug information into some magic special place called kerneloops collection. Consider for inclusing for the upcoming kernel to get wider notifications. Yes, it is not a bugfix, I know. diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 19a401c..6599211 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -206,6 +206,9 @@ MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])"); static u32 ipw2100_debug_level = IPW_DL_NONE; +static int ipw2100_max_fatal_ints = 10; +module_param(ipw2100_max_fatal_ints, int, 0644); + #ifdef CONFIG_IPW2100_DEBUG #define IPW_DEBUG(level, message...) \ do { \ @@ -3174,6 +3177,9 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { printk(KERN_WARNING DRV_NAME ": Fatal interrupt. Scheduling firmware restart.\n"); + + WARN_ON(ipw2100_max_fatal_ints-- >= 0); + priv->inta_other++; write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); -- Evgeniy Polyakov ^ permalink raw reply related [flat|nested] 42+ messages in thread
[parent not found: <20080921202057.GB25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921202057.GB25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 20:27 ` Arjan van de Ven [not found] ` <20080921132753.5689b564-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Arjan van de Ven @ 2008-09-21 20:27 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, 22 Sep 2008 00:20:57 +0400 Evgeniy Polyakov <johnpol-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> wrote: > On Sun, Sep 21, 2008 at 12:43:32PM -0700, Arjan van de Ven > (arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org) wrote: > > > @@ -3174,6 +3176,10 @@ static void ipw2100_irq_tasklet(struct > > > ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { > > > printk(KERN_WARNING DRV_NAME > > > ": Fatal interrupt. Scheduling firmware > > > restart.\n"); > > > + WARN_ON(1); > > > + > > > + BUG_ON(ipw2100_max_fatal_ints-- <= 0); > > > > BUG_ON in interrupt context is just extremely hostile, since it > > means the box is dead. > > > > also I would suggest using WARN_ON_ONCE() > > Well, I actually wanted to have a bug there because of it, but now I > think that annoying repeated warning is enough to bring attention to > the problem by putting bug information into some magic special place > called kerneloops collection. are you more interested in bringing attention than finding something that makes the driver work ? I sort of am getting that impression and I'd be disappointed if that is the case. > > Consider for inclusing for the upcoming kernel to get wider > notifications. Yes, it is not a bugfix, I know. still more complex than needed; a WARN_ON_ONCE() will be enough. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921132753.5689b564-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921132753.5689b564-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> @ 2008-09-21 20:57 ` Evgeniy Polyakov [not found] ` <20080921205706.GA24545-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 20:57 UTC (permalink / raw) To: Arjan van de Ven Cc: Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, Sep 21, 2008 at 01:27:53PM -0700, Arjan van de Ven (arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org) wrote: > > Well, I actually wanted to have a bug there because of it, but now I > > think that annoying repeated warning is enough to bring attention to > > the problem by putting bug information into some magic special place > > called kerneloops collection. > > are you more interested in bringing attention than finding something > that makes the driver work ? I sort of am getting that impression and > I'd be disappointed if that is the case. I do think that it can not be fixed without serious intervention of the Intel (hardware) folks, since bug exists more than 4 years in two firmwares and lots of very different driver versions and was reproduced even on 2.4 kernel. I will experiment with reloading issues as Alan suggested and to add/remove more surgery into initialization process to be allowed to 'workaround' the issue, since it looks noone else will. But that's definitely not a fix and in my personal workaround's 10 degrees shit'o'meter this lies around 12. > > Consider for inclusing for the upcoming kernel to get wider > > notifications. Yes, it is not a bugfix, I know. > > still more complex than needed; a WARN_ON_ONCE() will be enough. That allows to dump whatever number of warnings you want. The more we have, the louder will be customers scream. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921205706.GA24545-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921205706.GA24545-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 21:02 ` Arjan van de Ven [not found] ` <20080921140203.4698a2ee-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> 2008-09-21 22:38 ` Alan Cox 1 sibling, 1 reply; 42+ messages in thread From: Arjan van de Ven @ 2008-09-21 21:02 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, 22 Sep 2008 00:57:06 +0400 Evgeniy Polyakov <johnpol-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> wrote: > > > Consider for inclusing for the upcoming kernel to get wider > > > notifications. Yes, it is not a bugfix, I know. > > > > still more complex than needed; a WARN_ON_ONCE() will be enough. > > That allows to dump whatever number of warnings you want. The more we > have, the louder will be customers scream. artificially increasing numbers isn't going to do that; it just shows you're more interested in making a stink than in getting something improved ;( > -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921140203.4698a2ee-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921140203.4698a2ee-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> @ 2008-09-21 21:05 ` Evgeniy Polyakov [not found] ` <20080921210554.GA2135-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-21 21:43 ` Denys Fedoryshchenko 0 siblings, 2 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 21:05 UTC (permalink / raw) To: Arjan van de Ven Cc: Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, Sep 21, 2008 at 02:02:03PM -0700, Arjan van de Ven (arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org) wrote: > > That allows to dump whatever number of warnings you want. The more we > > have, the louder will be customers scream. > > artificially increasing numbers isn't going to do that; it just shows > you're more interested in making a stink than in getting something > improved ;( As practice shows, I'm the only one who is interested in getting something improved, and Intel, as we see right now, is not interested in it at all, since you ask me not only decrease error verbosity, but also do not work towards fixing the bug by trying to understand where it lives. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921210554.GA2135-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921210554.GA2135-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 21:14 ` Arjan van de Ven 2008-09-21 23:27 ` Marcel Holtmann 1 sibling, 0 replies; 42+ messages in thread From: Arjan van de Ven @ 2008-09-21 21:14 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, 22 Sep 2008 01:05:55 +0400 Evgeniy Polyakov <johnpol-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> wrote: > On Sun, Sep 21, 2008 at 02:02:03PM -0700, Arjan van de Ven > (arjan-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org) wrote: > > > That allows to dump whatever number of warnings you want. The > > > more we have, the louder will be customers scream. > > > > artificially increasing numbers isn't going to do that; it just > > shows you're more interested in making a stink than in getting > > something improved ;( > > As practice shows, I'm the only one who is interested in getting > something improved, and Intel, as we see right now, is not interested > in it at all, since you ask me not only decrease error verbosity, but > also do not work towards fixing the bug by trying to understand where > it lives. I did no such thing and you know it. I'm sorry, I'm not going to waste time on this if you keep acting this dishonest; welcome to my mail filter... -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921210554.GA2135-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-21 21:14 ` Arjan van de Ven @ 2008-09-21 23:27 ` Marcel Holtmann 2008-09-22 0:00 ` Evgeniy Polyakov 1 sibling, 1 reply; 42+ messages in thread From: Marcel Holtmann @ 2008-09-21 23:27 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Arjan van de Ven, Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q Hi Evgeniy, > > > That allows to dump whatever number of warnings you want. The more we > > > have, the louder will be customers scream. > > > > artificially increasing numbers isn't going to do that; it just shows > > you're more interested in making a stink than in getting something > > improved ;( > > As practice shows, I'm the only one who is interested in getting > something improved, and Intel, as we see right now, is not interested in > it at all, since you ask me not only decrease error verbosity, but also > do not work towards fixing the bug by trying to understand where it > lives. as Arjan and Alan pointed out already, WARN_ON_ONCE is enough and I agree with them. Just to make this perfectly clear, this is with my community hat on. Please send a proper patch with a simple WARN_ON_ONCE and I am happy to sign off on it. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 23:27 ` Marcel Holtmann @ 2008-09-22 0:00 ` Evgeniy Polyakov 0 siblings, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-22 0:00 UTC (permalink / raw) To: Marcel Holtmann Cc: Arjan van de Ven, Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, Sep 22, 2008 at 01:27:47AM +0200, Marcel Holtmann (holtmann-VuQAYsv1563Yd54FQh9/CA@public.gmane.org) wrote: > as Arjan and Alan pointed out already, WARN_ON_ONCE is enough and I > agree with them. Just to make this perfectly clear, this is with my > community hat on. > > Please send a proper patch with a simple WARN_ON_ONCE and I am happy to > sign off on it. I really do not care about if there is warning at all, I just want that bug to be fixed. And a we can see, something started to change, and that's probably a good sign. I glad there is a result. I will check d3 states tomorrow. Attached patch if you think it is yet needed. diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 19a401c..637dc05 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -3174,16 +3174,18 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { printk(KERN_WARNING DRV_NAME ": Fatal interrupt. Scheduling firmware restart.\n"); + priv->inta_other++; write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); read_nic_dword(dev, IPW_NIC_FATAL_ERROR, &priv->fatal_error); - IPW_DEBUG_INFO("%s: Fatal error value: 0x%08X\n", - priv->net_dev->name, priv->fatal_error); ^ permalink raw reply related [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 21:05 ` Evgeniy Polyakov [not found] ` <20080921210554.GA2135-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 21:43 ` Denys Fedoryshchenko [not found] ` <200809220043.07345.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org> 1 sibling, 1 reply; 42+ messages in thread From: Denys Fedoryshchenko @ 2008-09-21 21:43 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Arjan van de Ven, Johannes Berg, netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem On Monday 22 September 2008, Evgeniy Polyakov wrote: > On Sun, Sep 21, 2008 at 02:02:03PM -0700, Arjan van de Ven (arjan@infradead.org) wrote: > > > That allows to dump whatever number of warnings you want. The more we > > > have, the louder will be customers scream. > > > > artificially increasing numbers isn't going to do that; it just shows > > you're more interested in making a stink than in getting something > > improved ;( > > As practice shows, I'm the only one who is interested in getting > something improved, and Intel, as we see right now, is not interested in > it at all, since you ask me not only decrease error verbosity, but also > do not work towards fixing the bug by trying to understand where it > lives. You are not right. I had totaly disfunctional Intel driver on two laptops and reported about issue to Intel. Yes it took time, they took all debugs and went coma mode (i was thinking that), but suddently i got mail from them, and next kernel/firmware release worked for me flawlessly. So they did perfect job. Don't be negative and prepare yourself for giving long debug outputs. Patience and only patience. ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <200809220043.07345.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <200809220043.07345.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org> @ 2008-09-21 22:07 ` Evgeniy Polyakov [not found] ` <20080921220708.GA31413-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 22:07 UTC (permalink / raw) To: Denys Fedoryshchenko Cc: Arjan van de Ven, Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, Sep 22, 2008 at 12:43:07AM +0300, Denys Fedoryshchenko (denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org) wrote: > You are not right. I had totaly disfunctional Intel driver on two laptops and > reported about issue to Intel. Yes it took time, they took all debugs and > went coma mode (i was thinking that), but suddently i got mail from them, and > next kernel/firmware release worked for me flawlessly. So they did perfect > job. I'm talking about current situation. > Don't be negative and prepare yourself for giving long debug outputs. Patience > and only patience. Just to be clear, did it take 4 years? :) Anyway, I already made conclusions, as probably others: I will experiment with different 'workarounds' for this bug, maybe I will succeed, maybe Intel will decided to fix it, maybe LHC will crash the world. Verbose warning about the bug was frowned upon, so its up to uses to make a progress here... -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921220708.GA31413-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921220708.GA31413-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 22:15 ` Denys Fedoryshchenko [not found] ` <200809220116.00133.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Denys Fedoryshchenko @ 2008-09-21 22:15 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Arjan van de Ven, Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q > Just to be clear, did it take 4 years? :) Any bugzilla entry? I cannot find on http://www.intellinuxwireless.org/bugzilla/ anything about this bug. I submit two reports in my case, one in kernel bugzilla, one in intel linux wireless project.. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <200809220116.00133.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <200809220116.00133.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org> @ 2008-09-21 23:46 ` Evgeniy Polyakov 0 siblings, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 23:46 UTC (permalink / raw) To: Denys Fedoryshchenko Cc: Arjan van de Ven, Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, Sep 22, 2008 at 01:15:59AM +0300, Denys Fedoryshchenko (denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org) wrote: > > Just to be clear, did it take 4 years? :) > Any bugzilla entry? I cannot find on > http://www.intellinuxwireless.org/bugzilla/ anything about this bug. > > I submit two reports in my case, one in kernel bugzilla, one in intel linux > wireless project.. Lucky you :) -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921205706.GA24545-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-21 21:02 ` Arjan van de Ven @ 2008-09-21 22:38 ` Alan Cox [not found] ` <20080921233819.32714483-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> 1 sibling, 1 reply; 42+ messages in thread From: Alan Cox @ 2008-09-21 22:38 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Arjan van de Ven, Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q > > still more complex than needed; a WARN_ON_ONCE() will be enough. > > That allows to dump whatever number of warnings you want. The more we > have, the louder will be customers scream. But if Intel don't care then you can scream all you like 8) A WARN_ON_ONCE is sufficient to capture an idea of how many people it is effecting and maybe to figure out what the trigger is from their reports, at that point there is some chance to get it fixed (especially if its remotely triggerable ;)) Alan -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921233819.32714483-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921233819.32714483-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> @ 2008-09-21 23:44 ` Evgeniy Polyakov [not found] ` <20080921234403.GA17946-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-22 14:22 ` Bill Davidsen 0 siblings, 2 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 23:44 UTC (permalink / raw) To: Alan Cox Cc: Arjan van de Ven, Johannes Berg, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, Sep 21, 2008 at 11:38:19PM +0100, Alan Cox (alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org) wrote: > > > still more complex than needed; a WARN_ON_ONCE() will be enough. > > > > That allows to dump whatever number of warnings you want. The more we > > have, the louder will be customers scream. > > But if Intel don't care then you can scream all you like 8) That's what happens :) > A WARN_ON_ONCE is sufficient to capture an idea of how many people it is > effecting and maybe to figure out what the trigger is from their reports, > at that point there is some chance to get it fixed (especially if its > remotely triggerable ;)) Well, redhat, suse and ubuntu bugzillas happend to be not enough. Why do you believe a single warning at a new place will be? or couple of tens or whatever else? If it cares, it cares. If it does not... I attracted vendor's attention, vendor told me to fix it myself and to create a patch to fill an entry in another 'bugzilla', so that vendor could get results and probably decide to walk down from the cloud and fix it. So, if they do not care, I do not care about their care. That's the deal. I will try to find a workaround, even if it is a real crap, fortunately other users will not strike this bug too frequently. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921234403.GA17946-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921234403.GA17946-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 23:48 ` David Miller 2008-09-22 0:18 ` Evgeniy Polyakov 0 siblings, 1 reply; 42+ messages in thread From: David Miller @ 2008-09-21 23:48 UTC (permalink / raw) To: johnpol-9fLWQ3dKdXwox3rIn2DAYQ Cc: alan-qBU/x9rampVanCEyBjwyrvXRex20P6io, arjan-wEGCiKHe2LqWVfeAwA7xHQ, johannes-cdvu00un1VgdHxzADdlk8Q, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ Evgeniy, you're bordering on being an asshole, if not actually being one. If you behaved this way for a bug I was responsible for, I would absolutely ignore you until you settled down and started to behave more reasonably. You're acting like a bomb which is about to explode, which is probably why the actual Intel maintainers for this driver don't want to touch you with a ten foot pole. You're being volatile and extremely unpleasant to interact with about this issue. The Intel folks replying to you right now are general Intel linux folks who are trying to help you, not the driver maintainers who can look into the firmware and attack that angle. So give them A FUCKING BREAK! Getting the OOPS to kerneloops.org is the way forward and will help your cause, whether you believe it or not. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 23:48 ` David Miller @ 2008-09-22 0:18 ` Evgeniy Polyakov 0 siblings, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-22 0:18 UTC (permalink / raw) To: David Miller Cc: alan, arjan, johannes, netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville On Sun, Sep 21, 2008 at 04:48:29PM -0700, David Miller (davem@davemloft.net) wrote: > Evgeniy, you're bordering on being an asshole, if not actually > being one. Out of curiosity, what's worse: being an asshole and pretend to be good or vice versa? Whatever... :) > If you behaved this way for a bug I was responsible for, I would > absolutely ignore you until you settled down and started to behave > more reasonably. That's the main point: 'until you started to behave more reasonably'. For example filling another bug in rh/suse/ubuntu bugzilla? Put yourself to the user's place, and suddenly picture changes dramatically. We got some progress on this bug, at least there is direct suggestion from Matthew about power state, if it will fix the issue, I think it is a good deal: one bug fix for lot of users for the mail in the killfile and a worsened 'reputation'. I provded a patch like Arjan wanted, and it can only change something because of all this talks I started being an asshole. In my opinion. Maybe there were some other ways around, but it looks like being a provocative is the only way to get to the cloud. Who knows :) -- Evgeniy Polyakov ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 23:44 ` Evgeniy Polyakov [not found] ` <20080921234403.GA17946-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-22 14:22 ` Bill Davidsen 1 sibling, 0 replies; 42+ messages in thread From: Bill Davidsen @ 2008-09-22 14:22 UTC (permalink / raw) To: linux-kernel Cc: linux-wireless, netdev, ipw2100-devel, netdev, linux-kernel, ipw2100-devel Evgeniy Polyakov wrote: > On Sun, Sep 21, 2008 at 11:38:19PM +0100, Alan Cox (alan@lxorguk.ukuu.org.uk) wrote: >>>> still more complex than needed; a WARN_ON_ONCE() will be enough. >>> That allows to dump whatever number of warnings you want. The more we >>> have, the louder will be customers scream. >> But if Intel don't care then you can scream all you like 8) > > That's what happens :) > >> A WARN_ON_ONCE is sufficient to capture an idea of how many people it is >> effecting and maybe to figure out what the trigger is from their reports, >> at that point there is some chance to get it fixed (especially if its >> remotely triggerable ;)) > > Well, redhat, suse and ubuntu bugzillas happend to be not enough. Why do > you believe a single warning at a new place will be? or couple of tens > or whatever else? If it cares, it cares. If it does not... > Has it occurred to you that YOU have a problem on YOUR maschine, and that your patch would kill wireless for all the people who have the hardware on working systems? My experience was somewhat like Denys' except I got no notice, I just found that after an update the wireless worked solidly, and continued to do so until that laptop because obsolete and slow, and went to live with one of the teens in my family. > I attracted vendor's attention, vendor told me to fix it myself and to > create a patch to fill an entry in another 'bugzilla', so that vendor > could get results and probably decide to walk down from the cloud and > fix it. > It would be good to gather data rather than claim it doesn't work, because for some set of machines it certainly does. > So, if they do not care, I do not care about their care. That's the > deal. I will try to find a workaround, even if it is a real crap, > fortunately other users will not strike this bug too frequently. > My experience with laptops has been that you fiddle with power saving, and more, and more, until you find the tricks which make the laptop save power by disabling something you need, like network or display. At least that's been both my practice and observation, that not every machine responds well to every power saving trick. Have you checked for a BIOS update for the machine? Tried disabling all power saving settings and seeing if that changes the problem? I would normally assume you have, but you seem convinced that the bug is in the firmware and you're going to get it fixed. It may be a firmware bug, but if something in your system is triggering it, and most people don't have the problem, you might investigate a solution other than beating on Intel. -- Bill Davidsen <davidsen@tmr.com> "We have more to fear from the bungling of the incompetent than from the machinations of the wicked." - from Slashdot ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921193809.GA8735-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-21 19:43 ` Arjan van de Ven @ 2008-09-21 20:05 ` Cyrill Gorcunov 2008-09-21 20:26 ` Evgeniy Polyakov 1 sibling, 1 reply; 42+ messages in thread From: Cyrill Gorcunov @ 2008-09-21 20:05 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Johannes Berg, Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q [Evgeniy Polyakov - Sun, Sep 21, 2008 at 11:38:09PM +0400] | Hi. | | On Sun, Sep 21, 2008 at 09:14:04PM +0200, Johannes Berg (johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org) wrote: | > > Do you want me to implement ipw2100 driver as a big work structure | > > which will run ipw2100_init()/wait/ipw2100_exit() in a loop? | > > And that will be the fix suggested by Intel? That would explain a lot. | > | > I think what Arjan is saying is that it would be better to put pressure | > on the responsible folks (I don't think Arjan is anywhere near them at | | Both maintainers were added to the copy list. | | > all) if you'd put in a WARN_ON() for this error and that would make the | > top entry on kerneloops.org all the time... And additionally put in a | > workaround for yourself for now. | | As I pointed, I can rewrite the whole driver's initialization process, | so that it looked like init/wait/exit loop, which can be processed at | the module load and when fatal interrupt fires. Do this a fix? This is | not even a remotely workaround. We can just add | rmmod/modprobe/ifdown/ifup to the crontab job. Another users reported in | bugzilla that they needed to reboot a machine to make card working | again. I'm not sure that user tried to do a rmmod/modprobe though. | | > And can we keep the flames off this list please? That comment from Wei | > Weng was absolutely uncalled for, and inciting a flamewar (as you have | > already blogged) was not really productive either. | | If we will keep silence, no one will notice that problem exists. | | I do hope this will result in a progress. Arjan, do you aggree to add | this patch to the current tree? | | diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c | index 19a401c..9a7b64c 100644 | --- a/drivers/net/wireless/ipw2100.c | +++ b/drivers/net/wireless/ipw2100.c | @@ -206,6 +206,8 @@ MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])"); | | static u32 ipw2100_debug_level = IPW_DL_NONE; | | +static int ipw2100_max_fatal_ints = 10; | + | #ifdef CONFIG_IPW2100_DEBUG | #define IPW_DEBUG(level, message...) \ | do { \ | @@ -3174,6 +3176,10 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) | if (inta & IPW2100_INTA_FATAL_ERROR) { | printk(KERN_WARNING DRV_NAME | ": Fatal interrupt. Scheduling firmware restart.\n"); | + WARN_ON(1); | + | + BUG_ON(ipw2100_max_fatal_ints-- <= 0); | + | priv->inta_other++; | write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); | | | | -- | Evgeniy Polyakov | Since it's that serious maybe we should change IPW_DEBUG_INFO("%s: Fatal error value: 0x%08X\n", priv->net_dev->name, priv->fatal_error); to printk(KERN_WARN)? And here is why - as I see now we can't say what exactly is wrong - Evgeniy said he has a suspicious about firmware so this WARNS will be collected by Arjan thru kerneloops and we could not ask users to change debug level and repost problem - oops will have it by default - and if it really firmware problem - firmware engineers could find this _additional_ info usefull and resolve it (probably). - Cyrill - -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 20:05 ` Cyrill Gorcunov @ 2008-09-21 20:26 ` Evgeniy Polyakov [not found] ` <20080921202656.GC25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 0 siblings, 1 reply; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 20:26 UTC (permalink / raw) To: Cyrill Gorcunov Cc: Johannes Berg, Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, Sep 22, 2008 at 12:05:18AM +0400, Cyrill Gorcunov (gorcunov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) wrote: > Since it's that serious maybe we should change > > IPW_DEBUG_INFO("%s: Fatal error value: 0x%08X\n", > priv->net_dev->name, priv->fatal_error); > > to printk(KERN_WARN)? And here is why - as I see now we can't say what > exactly is wrong - Evgeniy said he has a suspicious about firmware so > this WARNS will be collected by Arjan thru kerneloops and we could not > ask users to change debug level and repost problem - oops will have it > by default - and if it really firmware problem - firmware engineers could > find this _additional_ info usefull and resolve it (probably). The only reason for this change is to make a mark at the kerneloops. I.e. users know, there is a bug. Developers know, there is a bug. Everyone knows that there is a bug, but until it is at the special place we look to each other just like there is no bug. Here are dumps for example: http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=245 Bug existed even with 1.2 firmware and .11 kernel. Intel, that's a great marketing slogan: stability everywhere! -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921202656.GC25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921202656.GC25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 20:35 ` Cyrill Gorcunov 2008-09-21 21:06 ` Evgeniy Polyakov 0 siblings, 1 reply; 42+ messages in thread From: Cyrill Gorcunov @ 2008-09-21 20:35 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Johannes Berg, Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q [Evgeniy Polyakov - Mon, Sep 22, 2008 at 12:26:56AM +0400] | On Mon, Sep 22, 2008 at 12:05:18AM +0400, Cyrill Gorcunov (gorcunov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) wrote: | > Since it's that serious maybe we should change | > | > IPW_DEBUG_INFO("%s: Fatal error value: 0x%08X\n", | > priv->net_dev->name, priv->fatal_error); | > | > to printk(KERN_WARN)? And here is why - as I see now we can't say what | > exactly is wrong - Evgeniy said he has a suspicious about firmware so | > this WARNS will be collected by Arjan thru kerneloops and we could not | > ask users to change debug level and repost problem - oops will have it | > by default - and if it really firmware problem - firmware engineers could | > find this _additional_ info usefull and resolve it (probably). | | The only reason for this change is to make a mark at the kerneloops. | I.e. users know, there is a bug. Developers know, there is a bug. | Everyone knows that there is a bug, but until it is at the special place | we look to each other just like there is no bug. | | Here are dumps for example: | http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=245 | | Bug existed even with 1.2 firmware and .11 kernel. | Intel, that's a great marketing slogan: stability everywhere! | | -- | Evgeniy Polyakov | >From dump: > Sep 25 11:31:39 suino wlan0: TX timed out. Scheduling firmware restart. yes Evgeniy - all could know that but this register info could help firmware engineers to distinguish problems (without additional efforts like ask users to pass debug argument - kerneloops will have it by default) if there not only one exist. I mean I don't think anyone would reject additional info about problem ever :) - Cyrill - -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 20:35 ` Cyrill Gorcunov @ 2008-09-21 21:06 ` Evgeniy Polyakov 0 siblings, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 21:06 UTC (permalink / raw) To: Cyrill Gorcunov Cc: Johannes Berg, Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Mon, Sep 22, 2008 at 12:35:03AM +0400, Cyrill Gorcunov (gorcunov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org) wrote: > yes Evgeniy - all could know that but this register info could help > firmware engineers to distinguish problems (without additional efforts > like ask users to pass debug argument - kerneloops will have it > by default) if there not only one exist. I mean I don't think anyone > would reject additional info about problem ever :) Agreed. diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 19a401c..36cdd57 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -206,6 +206,9 @@ MODULE_PARM_DESC(disable, "manually disable the radio (default 0 [radio on])"); static u32 ipw2100_debug_level = IPW_DL_NONE; +static int ipw2100_max_fatal_ints = 10; +module_param(ipw2100_max_fatal_ints, int, 0644); + #ifdef CONFIG_IPW2100_DEBUG #define IPW_DEBUG(level, message...) \ do { \ @@ -3174,16 +3177,21 @@ static void ipw2100_irq_tasklet(struct ipw2100_priv *priv) if (inta & IPW2100_INTA_FATAL_ERROR) { printk(KERN_WARNING DRV_NAME ": Fatal interrupt. Scheduling firmware restart.\n"); + + printk(KERN_WARNING DRV_NAME ": INTA: 0x%08lX\n", + (unsigned long)inta & IPW_INTERRUPT_MASK); + priv->inta_other++; write_register(dev, IPW_REG_INTA, IPW2100_INTA_FATAL_ERROR); read_nic_dword(dev, IPW_NIC_FATAL_ERROR, &priv->fatal_error); - IPW_DEBUG_INFO("%s: Fatal error value: 0x%08X\n", + printk(KERN_WARNING "%s: Fatal error value: 0x%08X\n", priv->net_dev->name, priv->fatal_error); read_nic_dword(dev, IPW_ERROR_ADDR(priv->fatal_error), &tmp); - IPW_DEBUG_INFO("%s: Fatal error address value: 0x%08X\n", + printk(KERN_WARNING "%s: Fatal error address value: 0x%08X\n", priv->net_dev->name, tmp); + WARN_ON(ipw2100_max_fatal_ints-- >= 0); /* Wake up any sleeping jobs */ schedule_reset(priv); -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921190050.GA20484-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-21 19:14 ` Johannes Berg @ 2008-09-21 19:57 ` Alan Cox [not found] ` <20080921205744.2d78f1fa-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> 1 sibling, 1 reply; 42+ messages in thread From: Alan Cox @ 2008-09-21 19:57 UTC (permalink / raw) To: Evgeniy Polyakov Cc: Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q > Getting the fact, that rmmod/insmod does not always fix the problem (but > most of the time for a short period of time), I again want to point, > that it looks like a firmware problem related to some inner timings. You > ask me to fix the driver and do not even listen to what I said > previously and do not get that into account and analyze. Try putting it into D3 counting to 10 and powering it back up. Thats about as close as you can get to pulling the plug when it hangs. Alan -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921205744.2d78f1fa-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921205744.2d78f1fa-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> @ 2008-09-21 21:10 ` Evgeniy Polyakov 2008-09-26 5:56 ` Evgeniy Polyakov 1 sibling, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 21:10 UTC (permalink / raw) To: Alan Cox Cc: Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, Sep 21, 2008 at 08:57:44PM +0100, Alan Cox (alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org) wrote: > Try putting it into D3 counting to 10 and powering it back up. Thats > about as close as you can get to pulling the plug when it hangs. I will experiment with this, thanks Alan. Unfortunately my machine builds this only updated driver for about 10 minutes, so results will appear not too quickly. I will start tests tomorrow. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921205744.2d78f1fa-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> 2008-09-21 21:10 ` Evgeniy Polyakov @ 2008-09-26 5:56 ` Evgeniy Polyakov 1 sibling, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-26 5:56 UTC (permalink / raw) To: Alan Cox Cc: Arjan van de Ven, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q, holtmann-VuQAYsv1563Yd54FQh9/CA, mjg59-1xO5oi07KQx4cg9Nei1l7Q On Sun, Sep 21, 2008 at 08:57:44PM +0100, Alan Cox (alan-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org) wrote: > > Getting the fact, that rmmod/insmod does not always fix the problem (but > > most of the time for a short period of time), I again want to point, > > that it looks like a firmware problem related to some inner timings. You > > ask me to fix the driver and do not even listen to what I said > > previously and do not get that into account and analyze. > > Try putting it into D3 counting to 10 and powering it back up. Thats > about as close as you can get to pulling the plug when it hangs. I made several experimetns with power states in reset handler, like put to d3 (hot), disable device, save/resetore states. Fatal interrupts continue to fire with essentially the same rate. The same error address does not always contain the same error value, but frequently it is finit small set. Here are some data: [41773.200686] ipw2100: Fatal interrupt. Scheduling firmware restart. [41773.200707] eth1: Fatal error value: 0x500185B8, address: 0x08004501, inta: 0x40000000 [41773.200810] ipw2100 0000:02:04.0: PCI INT A disabled [41773.203110] ipw2100: IRQ INTA == 0xFFFFFFFF [41773.224446] ipw2100: IRQ INTA == 0xFFFFFFFF [41773.245781] ipw2100: IRQ INTA == 0xFFFFFFFF [41773.249360] ipw2100 0000:02:04.0: enabling device (0000 -> 0002) [41773.249384] ipw2100 0000:02:04.0: PCI INT A -> Link[C0C8] -> GSI 11 (level, low) -> IRQ 11 [41773.249426] ipw2100 0000:02:04.0: restoring config space at offset 0x1 (was 0x2900002, writing 0x2900006) That is quite harmless, since interrupt handler just sees that device is dissapearing. This brought me to think more about interrupt processing (irq handler and related tasklet), and I found races between interrupt tasklet, ipw2100_wx_event_work() handler, reset task and probably others. Register access in some cases are proteceted by lock (interrupt handler), and in some cases is not (all others). Although every user first disables interrupts, but it can be handled right now and scheduled tasklet already. Also priv->status field is frequently accessed and modified with and without locks. This may be harmless, but still a red flag. Another data about the same failed address: eth1: Fatal error value: 0x50018584, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x50018584, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x5000CEE4, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x50018584, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x5000CEE4, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x50018584, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x50018584, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x5000CEE4, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x50018584, address: 0x61C00000, inta: 0x40000000 eth1: Fatal error value: 0x50018584, address: 0x61C00000, inta: 0x40000000 values are quite limited, but I saw at different address wider set of different data, but still limited. Addresses and values of the fatal interrupt do not follow some immediately obvious law, so this looks more like firmware losts its mind. The reason for this actually may be a register access races described above. I will continue experiments with this. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 17:23 Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart Evgeniy Polyakov 2008-09-21 18:04 ` Arjan van de Ven @ 2008-09-21 19:35 ` Marcel Holtmann 2008-09-21 21:12 ` Evgeniy Polyakov 2008-09-21 22:45 ` Matthew Garrett [not found] ` <20080921172316.GA6306-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-22 16:21 ` [Ipw2100-devel] " Kenneth Crudup 3 siblings, 2 replies; 42+ messages in thread From: Marcel Holtmann @ 2008-09-21 19:35 UTC (permalink / raw) To: Evgeniy Polyakov Cc: netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem Hi Evgeniy, > Following bug exists in the ipw2100 driver/firmware for years and Intel > folks never responded to zillions bugzilla entries and forum notices in > the internet with some patch or firmware update (although did request > dmesg and debug info, and received them). > > ipw2100: Fatal interrupt. Scheduling firmware restart. > > I believe it is a firmware bug because after driver is unloaded and > loaded back again wireless adapter usually starts working (for small > amount of time though). My conspiracy feeling can suggest, that it may > be kind of a force to buy a new one, or trivial error in the firmware, > when it writes to the same place in the flash and essentially given cell > became dead or whatever else. I don't know if it is for this bug or a different one, but Matthew Garrett seem to have some pending patches. At least that is what he told me at PlumbersConf. Lets see if these patches do help. And please follow up with Arjan's suggestion and put a WARN_ON in the upstream code instead of waving CONFIG_BROKEN around. Regards Marcel ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 19:35 ` Marcel Holtmann @ 2008-09-21 21:12 ` Evgeniy Polyakov 2008-09-21 22:45 ` Matthew Garrett 1 sibling, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 21:12 UTC (permalink / raw) To: Marcel Holtmann Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q Hi Marcel. On Sun, Sep 21, 2008 at 09:35:31PM +0200, Marcel Holtmann (holtmann-VuQAYsv1563Yd54FQh9/CA@public.gmane.org) wrote: > I don't know if it is for this bug or a different one, but Matthew > Garrett seem to have some pending patches. At least that is what he told > me at PlumbersConf. Lets see if these patches do help. And please follow > up with Arjan's suggestion and put a WARN_ON in the upstream code > instead of waving CONFIG_BROKEN around. I expect it is something new, since this bug exists at least from the 1.2 firmware version and .11 kernel. It was also reproduced (long ago though) on 2.4. -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 19:35 ` Marcel Holtmann 2008-09-21 21:12 ` Evgeniy Polyakov @ 2008-09-21 22:45 ` Matthew Garrett 1 sibling, 0 replies; 42+ messages in thread From: Matthew Garrett @ 2008-09-21 22:45 UTC (permalink / raw) To: Marcel Holtmann Cc: Evgeniy Polyakov, netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, Sep 21, 2008 at 09:35:31PM +0200, Marcel Holtmann wrote: > I don't know if it is for this bug or a different one, but Matthew > Garrett seem to have some pending patches. At least that is what he told > me at PlumbersConf. Lets see if these patches do help. And please follow > up with Arjan's suggestion and put a WARN_ON in the upstream code > instead of waving CONFIG_BROKEN around. The fix I had for this was actually for ipw2200, but it ought to be applicable for 2100 as well. The ideal fix is probably to ensure that ipw*_down D3s the card and *_up D0s it, which brings enhanced runtime power saving and also has the nice side effect of actually resetting the damned POS in error cases. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <20080921172316.GA6306-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921172316.GA6306-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-21 17:36 ` Michael Buesch [not found] ` <200809211936.00414.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org> 2008-09-21 22:42 ` Matthew Garrett 1 sibling, 1 reply; 42+ messages in thread From: Michael Buesch @ 2008-09-21 17:36 UTC (permalink / raw) To: Evgeniy Polyakov Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sunday 21 September 2008 19:23:17 Evgeniy Polyakov wrote: > Hi. > > Following bug exists in the ipw2100 driver/firmware for years and Intel > folks never responded to zillions bugzilla entries and forum notices in > the internet with some patch or firmware update (although did request > dmesg and debug info, and received them). > > ipw2100: Fatal interrupt. Scheduling firmware restart. > > I believe it is a firmware bug because after driver is unloaded and > loaded back again wireless adapter usually starts working (for small > amount of time though). My conspiracy feeling can suggest, that it may > be kind of a force to buy a new one, or trivial error in the firmware, > when it writes to the same place in the flash and essentially given cell > became dead or whatever else. > > Intel folks, please fix this problem, I see no other way to force you to do > this than to mark ipw2100 driver as broken, since that is what it is. You are pretty funny, actually. :) I think the bug should be fixed, but what makes _you_ think you can _force_ anybody to do so? > Signed-off-by: Evgeniy Polyakov <johnpol-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> > > diff --git a/drivers/net/wireless/Kconfig b/drivers/net/wireless/Kconfig > index 9931b5a..c24fc6a 100644 > --- a/drivers/net/wireless/Kconfig > +++ b/drivers/net/wireless/Kconfig > @@ -125,7 +125,7 @@ config PCMCIA_RAYCS > > config IPW2100 > tristate "Intel PRO/Wireless 2100 Network Connection" > - depends on PCI && WLAN_80211 > + depends on PCI && WLAN_80211 && BROKEN > select WIRELESS_EXT > select FW_LOADER > select IEEE80211 > -- Greetings Michael. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
[parent not found: <200809211936.00414.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>]
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <200809211936.00414.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org> @ 2008-09-21 17:38 ` Evgeniy Polyakov 0 siblings, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 17:38 UTC (permalink / raw) To: Michael Buesch Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q On Sun, Sep 21, 2008 at 07:36:00PM +0200, Michael Buesch (mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org) wrote: > > Intel folks, please fix this problem, I see no other way to force you to do > > this than to mark ipw2100 driver as broken, since that is what it is. > > You are pretty funny, actually. :) > > I think the bug should be fixed, but what makes _you_ think you can _force_ > anybody to do so? Maybe because I bought that adapter and it stopped working and Intel knows about this bug and does not fix it for years? -- Evgeniy Polyakov -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. [not found] ` <20080921172316.GA6306-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> 2008-09-21 17:36 ` Michael Buesch @ 2008-09-21 22:42 ` Matthew Garrett 2008-09-21 23:45 ` Evgeniy Polyakov 1 sibling, 1 reply; 42+ messages in thread From: Matthew Garrett @ 2008-09-21 22:42 UTC (permalink / raw) To: Evgeniy Polyakov Cc: netdev-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, ipw2100-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-wireless-u79uwXL29TY76Z2rM5mHXA, yi.zhu-ral2JQCrhuEAvxtiuMwx3w, reinette.chatre-ral2JQCrhuEAvxtiuMwx3w, jgarzik-e+AXbWqSrlAAvxtiuMwx3w, linville-2XuSBdqkA4R54TAoqtyWWQ, davem-fT/PcQaiUtIeIZ0/mPfg9Q Try D3ing the chip in the firmware restart code. Yes, it's retarded. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 22:42 ` Matthew Garrett @ 2008-09-21 23:45 ` Evgeniy Polyakov 0 siblings, 0 replies; 42+ messages in thread From: Evgeniy Polyakov @ 2008-09-21 23:45 UTC (permalink / raw) To: Matthew Garrett Cc: netdev, linux-kernel, ipw2100-devel, linux-wireless, yi.zhu, reinette.chatre, jgarzik, linville, davem On Sun, Sep 21, 2008 at 11:42:10PM +0100, Matthew Garrett (mjg59@srcf.ucam.org) wrote: > Try D3ing the chip in the firmware restart code. Yes, it's retarded. Thank you, I will start tests tomorrow. -- Evgeniy Polyakov ^ permalink raw reply [flat|nested] 42+ messages in thread
* Re: [Ipw2100-devel] Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart. 2008-09-21 17:23 Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart Evgeniy Polyakov ` (2 preceding siblings ...) [not found] ` <20080921172316.GA6306-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org> @ 2008-09-22 16:21 ` Kenneth Crudup 3 siblings, 0 replies; 42+ messages in thread From: Kenneth Crudup @ 2008-09-22 16:21 UTC (permalink / raw) To: Evgeniy Polyakov Cc: netdev, linux-kernel, ipw2100-devel, yi.zhu, linux-wireless, linville, jgarzik, davem I gotta admit, those "firmware restarts" were pretty annoying, and I'd always wondered why Intel themselves couldn't be bothered to fix 'em. -Kenny -- Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting, Los Angeles O: 3630 S. Sepulveda Blvd. #138, L.A., CA 90034-6809 (888) 454-8181 ^ permalink raw reply [flat|nested] 42+ messages in thread
end of thread, other threads:[~2008-09-26 5:56 UTC | newest]
Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-21 17:23 Mark IPW2100 as BROKEN: Fatal interrupt. Scheduling firmware restart Evgeniy Polyakov
2008-09-21 18:04 ` Arjan van de Ven
2008-09-21 18:28 ` Evgeniy Polyakov
2008-09-21 18:35 ` Arjan van de Ven
[not found] ` <20080921113513.16677c4e-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-09-21 18:52 ` Wei Weng
2008-09-21 19:20 ` Arjan van de Ven
2008-09-21 19:00 ` Evgeniy Polyakov
[not found] ` <20080921190050.GA20484-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 19:14 ` Johannes Berg
2008-09-21 19:38 ` Evgeniy Polyakov
[not found] ` <20080921193809.GA8735-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 19:43 ` Arjan van de Ven
2008-09-21 20:20 ` Evgeniy Polyakov
[not found] ` <20080921202057.GB25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 20:27 ` Arjan van de Ven
[not found] ` <20080921132753.5689b564-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-09-21 20:57 ` Evgeniy Polyakov
[not found] ` <20080921205706.GA24545-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 21:02 ` Arjan van de Ven
[not found] ` <20080921140203.4698a2ee-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-09-21 21:05 ` Evgeniy Polyakov
[not found] ` <20080921210554.GA2135-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 21:14 ` Arjan van de Ven
2008-09-21 23:27 ` Marcel Holtmann
2008-09-22 0:00 ` Evgeniy Polyakov
2008-09-21 21:43 ` Denys Fedoryshchenko
[not found] ` <200809220043.07345.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org>
2008-09-21 22:07 ` Evgeniy Polyakov
[not found] ` <20080921220708.GA31413-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 22:15 ` Denys Fedoryshchenko
[not found] ` <200809220116.00133.denys-EpTYZhqHKuJnTudFRACr3A@public.gmane.org>
2008-09-21 23:46 ` Evgeniy Polyakov
2008-09-21 22:38 ` Alan Cox
[not found] ` <20080921233819.32714483-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2008-09-21 23:44 ` Evgeniy Polyakov
[not found] ` <20080921234403.GA17946-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 23:48 ` David Miller
2008-09-22 0:18 ` Evgeniy Polyakov
2008-09-22 14:22 ` Bill Davidsen
2008-09-21 20:05 ` Cyrill Gorcunov
2008-09-21 20:26 ` Evgeniy Polyakov
[not found] ` <20080921202656.GC25052-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 20:35 ` Cyrill Gorcunov
2008-09-21 21:06 ` Evgeniy Polyakov
2008-09-21 19:57 ` Alan Cox
[not found] ` <20080921205744.2d78f1fa-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org>
2008-09-21 21:10 ` Evgeniy Polyakov
2008-09-26 5:56 ` Evgeniy Polyakov
2008-09-21 19:35 ` Marcel Holtmann
2008-09-21 21:12 ` Evgeniy Polyakov
2008-09-21 22:45 ` Matthew Garrett
[not found] ` <20080921172316.GA6306-9fLWQ3dKdXwox3rIn2DAYQ@public.gmane.org>
2008-09-21 17:36 ` Michael Buesch
[not found] ` <200809211936.00414.mb-fseUSCV1ubazQB+pC5nmwQ@public.gmane.org>
2008-09-21 17:38 ` Evgeniy Polyakov
2008-09-21 22:42 ` Matthew Garrett
2008-09-21 23:45 ` Evgeniy Polyakov
2008-09-22 16:21 ` [Ipw2100-devel] " Kenneth Crudup
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).