* Re: [RFC] Changes in mac80211 to make at76c50x-usb working again
From: Kalle Valo @ 2010-06-17 6:27 UTC (permalink / raw)
To: Sebastian Smolorz
Cc: Johannes Berg, John W. Linville, linux-wireless, Marcel Holtmann
In-Reply-To: <201006160946.54197.Sebastian.Smolorz@gmx.de>
Sebastian Smolorz <Sebastian.Smolorz@gmx.de> writes:
> Kalle Valo wrote:
>
>> I debugged this a long time ago. The problem is that firmware's
>> CMD_JOIN only works if bssid is correct one. I remember trying
>> ff:ff:ff:ff:ff:ff, but that didn't work for some reason. The join
>> command needs to be sent before association, otherwise transmission
>> won't work at all. And if I use a random bssid the firmware will
>> filter the replies. But I tested this a long time ago, I might
>> remember something wrong.
>>
>> I was thinking a hack which would get bssid from association frames
>> and then send CMD_JOIN, before the association frame.
>
> Could you elaborate a little bit on this?
Basically my idea is this (all in tx path):
1. if tx frame is an association frame, get bssid from the frame
2. if bssid == priv->bssid, goto step 6
3. store tx frame, don't transmit it yet
4. send CMD_JOIN with new bssid
5. wait for command completion
6. priv->bssid = bssid
7. transmit tx frame
8. done
Ugly as hell, but one option to get the driver working again.
> How do we proceed to make the driver working again? Do you want to work on
> this issue?
Sorry, currently I only have time to review patches and send comments.
If you have the time, it would be great to if you could fix the driver
finally.
--
Kalle Valo
^ permalink raw reply
* [PATCHv3] mac80211: Add interface for driver to temporarily disable dynamic ps
From: Juuso Oikarinen @ 2010-06-17 5:42 UTC (permalink / raw)
To: linville; +Cc: linux-wireless
This mechanism introduced in this patch applies (at least) for hardware
designs using a single shared antenna for both WLAN and BT. In these designs,
the antenna must be toggled between WLAN and BT.
In those hardware, managing WLAN co-existence with Bluetooth requires WLAN
full power save whenever there is Bluetooth activity in order for WLAN to be
able to periodically relinquish the antenna to be used for BT. This is because
BT can only access the shared antenna when WLAN is idle or asleep.
Some hardware, for instance the wl1271, are able to indicate to the host
whenever there is BT traffic. In essence, the hardware will send an indication
to the host whenever there is, for example, SCO traffic or A2DP traffic, and
will send another indication when the traffic is over.
The hardware gets information of Bluetooth traffic via hardware co-existence
control lines - these lines are used to negotiate the shared antenna
ownership. The hardware will give the antenna to BT whenever WLAN is sleeping.
This patch adds the interface to mac80211 to facilitate temporarily disabling
of dynamic power save as per request of the WLAN driver. This interface will
immediately force WLAN to full powersave, hence allowing BT coexistence as
described above.
In these kind of shared antenna desings, when WLAN powersave is fully disabled,
Bluetooth will not work simultaneously with WLAN at all. This patch does not
address that problem. This interface will not change PSM state, so if PSM is
disabled it will remain so. Solving this problem requires knowledge about BT
state, and is best done in user-space.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
---
v3: separate ieee80211_dyn_ps_enable/ieee80211_dyn_ps_enable functions
include/net/mac80211.h | 39 +++++++++++++++++++++++++++++++++++++++
net/mac80211/ieee80211_i.h | 3 +++
net/mac80211/mlme.c | 41 +++++++++++++++++++++++++++++++++++++++--
3 files changed, 81 insertions(+), 2 deletions(-)
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index e3c1d47..204975c 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1254,6 +1254,15 @@ ieee80211_get_alt_retry_rate(const struct ieee80211_hw *hw,
* dynamic PS feature in stack and will just keep %IEEE80211_CONF_PS
* enabled whenever user has enabled powersave.
*
+ * Some hardware need to toggle a single shared antenna between WLAN and
+ * Bluetooth to facilitate co-existence. These types of hardware set
+ * limitations on the use of host controlled dynamic powersave whenever there
+ * is simultaneous WLAN and Bluetooth traffic. For these types of hardware, the
+ * driver may request temporarily going into full power save, in order to
+ * enable toggling the antenna between BT and WLAN. If the driver requests
+ * disabling dynamic powersave, the @dynamic_ps_timeout value will be
+ * temporarily set to zero until the driver re-enables dynamic powersave.
+ *
* Driver informs U-APSD client support by enabling
* %IEEE80211_HW_SUPPORTS_UAPSD flag. The mode is configured through the
* uapsd paramater in conf_tx() operation. Hardware needs to send the QoS
@@ -2465,6 +2474,36 @@ void ieee80211_beacon_loss(struct ieee80211_vif *vif);
void ieee80211_connection_loss(struct ieee80211_vif *vif);
/**
+ * ieee80211_disable_dyn_ps - force mac80211 to temporarily disable dynamic psm
+ *
+ * @vif: &struct ieee80211_vif pointer from the add_interface callback.
+ *
+ * Some hardware require full power save to manage simultaneous BT traffic
+ * on the WLAN frequency. Full PSM is required periodically, whenever there are
+ * burst of BT traffic. The hardware gets information of BT traffic via
+ * hardware co-existence lines, and consequentially requests mac80211 to
+ * (temporarily) enter full psm.
+ * This function will only temporarily disable dynamic PS, not enable PSM if
+ * it was not already enabled.
+ * The driver must make sure to re-enable dynamic PS using
+ * ieee80211_enable_dyn_ps() if the driver has disabled it.
+ *
+ */
+void ieee80211_disable_dyn_ps(struct ieee80211_vif *vif);
+
+/**
+ * ieee80211_enable_dyn_ps - restore dynamic psm after being disabled
+ *
+ * @vif: &struct ieee80211_vif pointer from the add_interface callback.
+ *
+ * This function restores dynamic PS after being temporarily disabled via
+ * ieee80211_disable_dyn_ps(). Each ieee80211_disable_dyn_ps() call must
+ * be coupled with an eventual call to this function.
+ *
+ */
+void ieee80211_enable_dyn_ps(struct ieee80211_vif *vif);
+
+/**
* ieee80211_cqm_rssi_notify - inform a configured connection quality monitoring
* rssi threshold triggered
*
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 4d3883e..f21e9b3 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -853,6 +853,9 @@ struct ieee80211_local {
struct notifier_block network_latency_notifier;
struct notifier_block ifa_notifier;
+ int dynamic_ps_user_timeout;
+ bool disable_dynamic_ps;
+
int user_power_level; /* in dBm */
int power_constr_level; /* in dBm */
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 2ab4e86..f9afdbb 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -478,6 +478,39 @@ static void ieee80211_handle_pwr_constr(struct ieee80211_sub_if_data *sdata,
}
}
+void ieee80211_enable_dyn_ps(struct ieee80211_vif *vif)
+{
+ struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
+ struct ieee80211_local *local = sdata->local;
+ struct ieee80211_conf *conf = &local->hw.conf;
+
+ WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION ||
+ !(local->hw.flags & IEEE80211_HW_SUPPORTS_PS) ||
+ (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_PS));
+
+ local->disable_dynamic_ps = false;
+ conf->dynamic_ps_timeout = local->dynamic_ps_user_timeout;
+}
+EXPORT_SYMBOL(ieee80211_enable_dyn_ps);
+
+void ieee80211_disable_dyn_ps(struct ieee80211_vif *vif)
+{
+ struct ieee80211_sub_if_data *sdata = vif_to_sdata(vif);
+ struct ieee80211_local *local = sdata->local;
+ struct ieee80211_conf *conf = &local->hw.conf;
+
+ WARN_ON(sdata->vif.type != NL80211_IFTYPE_STATION ||
+ !(local->hw.flags & IEEE80211_HW_SUPPORTS_PS) ||
+ (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_PS));
+
+ local->disable_dynamic_ps = true;
+ conf->dynamic_ps_timeout = 0;
+ del_timer_sync(&local->dynamic_ps_timer);
+ ieee80211_queue_work(&local->hw,
+ &local->dynamic_ps_enable_work);
+}
+EXPORT_SYMBOL(ieee80211_disable_dyn_ps);
+
/* powersave */
static void ieee80211_enable_ps(struct ieee80211_local *local,
struct ieee80211_sub_if_data *sdata)
@@ -553,6 +586,7 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
found->u.mgd.associated->beacon_ies &&
!(found->u.mgd.flags & (IEEE80211_STA_BEACON_POLL |
IEEE80211_STA_CONNECTION_POLL))) {
+ struct ieee80211_conf *conf = &local->hw.conf;
s32 beaconint_us;
if (latency < 0)
@@ -561,7 +595,7 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
beaconint_us = ieee80211_tu_to_usec(
found->vif.bss_conf.beacon_int);
- timeout = local->hw.conf.dynamic_ps_forced_timeout;
+ timeout = conf->dynamic_ps_forced_timeout;
if (timeout < 0) {
/*
* The 2 second value is there for compatibility until
@@ -579,7 +613,10 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
else
timeout = 0;
}
- local->hw.conf.dynamic_ps_timeout = timeout;
+ local->dynamic_ps_user_timeout = timeout;
+ if (!local->disable_dynamic_ps)
+ conf->dynamic_ps_timeout =
+ local->dynamic_ps_user_timeout;
if (beaconint_us > latency) {
local->ps_sdata = NULL;
--
1.6.3.3
^ permalink raw reply related
* Compat-wireless release for 2010-06-17-v2 is baked
From: Compat-wireless cronjob account @ 2010-06-17 5:41 UTC (permalink / raw)
To: linux-wireless, linux-bluetooth
>From git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/compat-wireless-2.6
90bb273..d584ab0 wl -> origin/wl
compat-wireless code metrics
498472 - Total upstream lines of code being pulled
1410 - backport code changes
1177 - backport code additions
233 - backport code deletions
5748 - backport from compat module
7158 - total backport code
1.4360 - % of code consists of backport work
1218 - Crap changes not yet posted
1179 - Crap additions not yet merged
39 - Crap deletions not yet posted
0.2443 - % of crap code
Base tree: linux-next.git
Base tree version: next-20100617
compat-wireless release: compat-wireless-2010-06-17
^ permalink raw reply
* Re: [PATCH] compat-wireless: backport netdev->br_port
From: Luis R. Rodriguez @ 2010-06-17 5:35 UTC (permalink / raw)
To: Hauke Mehrtens; +Cc: linux-wireless, mcgrof
In-Reply-To: <1276721366-8054-1-git-send-email-hauke@hauke-m.de>
On Wed, Jun 16, 2010 at 1:49 PM, Hauke Mehrtens <hauke@hauke-m.de> wrote:
> In commit f350a0a87374418635689471606454abc7beaa3a the br_port
> attribute was replaced with a private flag.
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Thanks, applied!
Luis
^ permalink raw reply
* Re: [ath5k-devel] Race condition in CRDA calls?
From: Luis R. Rodriguez @ 2010-06-17 5:05 UTC (permalink / raw)
To: Bruno Randolf
Cc: Lukáš Turek, ath5k-devel@lists.ath5k.org,
linux-wireless
In-Reply-To: <201006171347.58712.br1@einfach.org>
On Wed, Jun 16, 2010 at 9:47 PM, Bruno Randolf <br1@einfach.org> wrote:
> hi!
>
> are there any news on that? i think i hit the same bug, now...
I provided verbose instructions what can be done to further debug this.
Luis
^ permalink raw reply
* [PATCH] ath9k_htc: Update supported product list
From: Sujith @ 2010-06-17 4:59 UTC (permalink / raw)
To: linville; +Cc: linux-wireless
This patch adds USB IDs for some more supported
devices.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
---
drivers/net/wireless/ath/ath9k/hif_usb.c | 20 +++++++++++++-------
drivers/net/wireless/ath/ath9k/htc_drv_init.c | 9 ++-------
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c
index 5f3ea70..74bc80f 100644
--- a/drivers/net/wireless/ath/ath9k/hif_usb.c
+++ b/drivers/net/wireless/ath/ath9k/hif_usb.c
@@ -17,9 +17,17 @@
#include "htc.h"
static struct usb_device_id ath9k_hif_usb_ids[] = {
- { USB_DEVICE(0x0cf3, 0x9271) },
- { USB_DEVICE(0x0cf3, 0x1006) },
- { USB_DEVICE(0x0cf3, 0x7010) },
+ { USB_DEVICE(0x0cf3, 0x9271) }, /* Atheros */
+ { USB_DEVICE(0x0cf3, 0x1006) }, /* Atheros */
+ { USB_DEVICE(0x0cf3, 0x7010) }, /* Atheros */
+ { USB_DEVICE(0x0cf3, 0x7015) }, /* Atheros */
+ { USB_DEVICE(0x0846, 0x9030) }, /* Netgear N150 */
+ { USB_DEVICE(0x0846, 0x9018) }, /* Netgear WNDA3200 */
+ { USB_DEVICE(0x07D1, 0x3A10) }, /* Dlink Wireless 150 */
+ { USB_DEVICE(0x13D3, 0x3327) }, /* Azurewave */
+ { USB_DEVICE(0x13D3, 0x3328) }, /* Azurewave */
+ { USB_DEVICE(0x04CA, 0x4605) }, /* Liteon */
+ { USB_DEVICE(0x083A, 0xA704) }, /* SMC Networks */
{ },
};
@@ -879,17 +887,15 @@ static int ath9k_hif_usb_probe(struct usb_interface *interface,
/* Find out which firmware to load */
switch(hif_dev->device_id) {
- case 0x9271:
- case 0x1006:
- hif_dev->fw_name = "ar9271.fw";
- break;
case 0x7010:
+ case 0x9018:
if (le16_to_cpu(udev->descriptor.bcdDevice) == 0x0202)
hif_dev->fw_name = "ar7010_1_1.fw";
else
hif_dev->fw_name = "ar7010.fw";
break;
default:
+ hif_dev->fw_name = "ar9271.fw";
break;
}
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index a63ae88..148b433 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -244,17 +244,12 @@ static int ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid)
*/
switch(devid) {
- case 0x9271:
- case 0x1006:
- priv->htc->credits = 33;
- break;
case 0x7010:
+ case 0x9018:
priv->htc->credits = 45;
break;
default:
- dev_err(priv->dev, "ath9k_htc: Unsupported device id: 0x%x\n",
- devid);
- goto err;
+ priv->htc->credits = 33;
}
ret = htc_init(priv->htc);
--
1.7.1
^ permalink raw reply related
* Re: [PATCHv2] mac80211: Add interface for driver to temporarily disable dynamic ps
From: Juuso Oikarinen @ 2010-06-17 4:49 UTC (permalink / raw)
To: ext John W. Linville; +Cc: linux-wireless@vger.kernel.org
In-Reply-To: <20100616185706.GC3138@tuxdriver.com>
On Wed, 2010-06-16 at 20:57 +0200, ext John W. Linville wrote:
> On Wed, Jun 16, 2010 at 09:01:32AM +0300, Juuso Oikarinen wrote:
> > This mechanism introduced in this patch applies (at least) for hardware
> > designs using a single shared antenna for both WLAN and BT. In these designs,
> > the antenna must be toggled between WLAN and BT.
> >
> > In those hardware, managing WLAN co-existence with Bluetooth requires WLAN
> > full power save whenever there is Bluetooth activity in order for WLAN to be
> > able to periodically relinquish the antenna to be used for BT. This is because
> > BT can only access the shared antenna when WLAN is idle or asleep.
>
> Maybe it is just me, but
>
> void ieee80211_enable_dyn_ps(struct ieee80211_vif *vif)
> void ieee80211_disable_dyn_ps(struct ieee80211_vif *vif)
>
> would make more sense than
>
> void ieee80211_disable_dyn_ps(struct ieee80211_vif *vif, bool disable)
Well.. can't argue with that ;)
I'll submit v3 shortly.
-Juuso
> John
^ permalink raw reply
* Re: [ath5k-devel] Race condition in CRDA calls?
From: Bruno Randolf @ 2010-06-17 4:47 UTC (permalink / raw)
To: Luis R. Rodriguez, Lukáš Turek
Cc: ath5k-devel@lists.ath5k.org, linux-wireless
In-Reply-To: <20100526214658.GB10931@tux>
hi!
are there any news on that? i think i hit the same bug, now...
thanks,
bruno
On Thu May 27 2010 06:46:58 Luis R. Rodriguez wrote:
> Just FYI, you want to use linux-wireless for reporting such things,
> not ath5k-devel. Also I have been real busy in March (and stil am but
> just trying to reply) so if I do not reply maybe others can. In
> linux-wireless you'll likely get much more review/help than ath5k-devel
> for this.
>
> More below.
>
> On Thu, Mar 25, 2010 at 10:01:54AM -0700, Lukáš Turek wrote:
> > Hi,
> >
> > I've been testing current vanilla 2.6.34 from git today on a computer
> > with three Atheros PCI cards and noticed a strange behavior: although
> > all the cards have the same regulatory domain (0x36), only the last one
> > (phy2) had the correct channels enabled, the other two (phy0 and phy1)
> > stayed in US regulatory domain with channels 52-140 disabled.
> >
> > It seems the reply from CRDA for the first request gets into the kernel
> > after the last card is detected and all the replies get mixed up some
> > way:
> >
> > ath5k 0000:02:01.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
> > ath5k 0000:02:01.0: registered as 'phy0'
> > ath: EEPROM regdomain: 0x36
> > ath: EEPROM indicates we should expect a direct regpair map
> > ath: Country alpha2 being used: CZ
> > ath: Regpair used: 0x36
> > udev: renamed network interface eth0 to eth2
> > udev: renamed network interface eth1_rename to eth0
> > phy0: Selected rate control algorithm 'minstrel'
> > ath5k phy0: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
> > ath5k 0000:02:02.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
> > ath5k 0000:02:02.0: registered as 'phy1'
> > ath: EEPROM regdomain: 0x36
> > ath: EEPROM indicates we should expect a direct regpair map
> > ath: Country alpha2 being used: CZ
> > ath: Regpair used: 0x36
> > cfg80211: Calling CRDA for country: CZ
> > phy1: Selected rate control algorithm 'minstrel'
> > ath5k phy1: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
> > ath5k 0000:02:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
> > ath5k 0000:02:03.0: registered as 'phy2'
> > ath: EEPROM regdomain: 0x36
> > ath: EEPROM indicates we should expect a direct regpair map
> > ath: Country alpha2 being used: CZ
> > ath: Regpair used: 0x36
> > cfg80211: Calling CRDA for country: CZ
> > udev: renamed network interface wlan1 to wlan3
> > phy2: Selected rate control algorithm 'minstrel'
> > ath5k phy2: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
> > cfg80211: Calling CRDA for country: CZ
> > udev: renamed network interface wlan1 to wlan2
> > cfg80211: Current regulatory domain intersected:
> > (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> > (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> > (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
> > (2474000 KHz - 2483500 KHz @ 9500 KHz), (N/A, 2000 mBm)
> > (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> > cfg80211: Current regulatory domain intersected:
> > (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> > (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> > (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
> > (2474000 KHz - 2483500 KHz @ 9500 KHz), (N/A, 2000 mBm)
> > (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> > cfg80211: Current regulatory domain intersected:
> > (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
> > (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> > (2457000 KHz - 2482000 KHz @ 20000 KHz), (N/A, 2000 mBm)
> > (2474000 KHz - 2483500 KHz @ 9500 KHz), (N/A, 2000 mBm)
> > (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
> >
> > Another reason might be udev messing up with device names. I will try to
> > debug this, but any hints would be greatly appreciated, because there's
> > not much info about the CRDA <-> kernel interaction.
>
> You forgot to supply the kernel log of when cfg80211 loads, that
> would have been helpful. After cfg80211 loads then leave a window
> open with 'iw event -t' running. Then load ath5k, and if you want to
> debug udev you can use udevadm, for example to debug only
> kernel messages:
>
> udevadm monitor --environment kernel
>
> In short cfg80211 will do an intersection if the core had a regulatory
> domain set for some reason and then a driver suggested to use another
> country. If cfg80211 was world roaming and a driver then just used
> a request for CZ then it shuld stick to CZ. If a second device comes
> up with CZ then -EALREADY should be expected IIRC, if this is not happening
> it smells like a bug.
>
> Luis
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless"
> in the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply
* intel 5100/iwlagn bug in 2.6.35-rc2 during large file transfer
From: Richard Farina @ 2010-06-17 2:56 UTC (permalink / raw)
To: linux-wireless
The repeated line appears ad infinitum filling my dmesg buffer. This of
hangcheck timer seem to trigger with every large file transfer on my
intel 5100. What would you like me to do to provide a more useful
output as this is currently extremely easy to reproduce. Kernel 2.6.34
using compat-wireless stable 2.6.35-rc2
Thanks,
Rick Farina
phy0: failed to reallocate TX buffer
phy0: failed to reallocate TX buffer
phy0: failed to reallocate TX buffer
phy0: failed to reallocate TX buffer
phy0: failed to reallocate TX buffer
phy0: failed to reallocate TX buffer
phy0: failed to reallocate TX buffer
net_ratelimit: 22 callbacks suppressed
__alloc_pages_slowpath: 3799 callbacks suppressed
swapper: page allocation failure. order:1, mode:0x4020
Pid: 0, comm: swapper Not tainted 2.6.34-pentoo #5
Call Trace:
<IRQ> [<ffffffff8109cb74>] __alloc_pages_nodemask+0x571/0x5b9
[<ffffffff816732e9>] ? skb_release_data+0xc4/0xc9
[<ffffffffa04701e4>] iwlagn_rx_allocate+0x98/0x25a [iwlagn]
[<ffffffffa046fbd3>] ? iwlagn_rx_reply_rx+0x332/0x34d [iwlagn]
[<ffffffff814739c5>] ? is_swiotlb_buffer+0x2e/0x3b
[<ffffffffa04704f7>] iwlagn_rx_replenish_now+0x16/0x23 [iwlagn]
[<ffffffffa0464bb3>] iwl_rx_handle+0x2b8/0x2d1 [iwlagn]
[<ffffffffa04652c0>] iwl_irq_tasklet+0x2f7/0x412 [iwlagn]
[<ffffffff81044f58>] tasklet_action+0x6f/0xba
[<ffffffff81045998>] __do_softirq+0x91/0x119
[<ffffffff8100384c>] call_softirq+0x1c/0x28
[<ffffffff8100550b>] do_softirq+0x33/0x68
[<ffffffff81045695>] irq_exit+0x36/0x87
[<ffffffff81004bef>] do_IRQ+0xa7/0xbe
[<ffffffff8176c253>] ret_from_intr+0x0/0xa
<EOI> [<ffffffff81058ca9>] ? __atomic_notifier_call_chain+0x28/0x4c
[<ffffffff814e822d>] ? acpi_idle_enter_simple+0x150/0x17b
[<ffffffff814e8223>] ? acpi_idle_enter_simple+0x146/0x17b
[<ffffffff816407cc>] cpuidle_idle_call+0x8b/0xc3
[<ffffffff81001ca7>] cpu_idle+0xa6/0xe7
[<ffffffff81003750>] ? kernel_thread_helper+0x0/0x10
[<ffffffff8174a8e1>] rest_init+0xb5/0xba
[<ffffffff81cc1b5c>] start_kernel+0x3f7/0x402
[<ffffffff81cc10b6>] x86_64_start_reservations+0xb3/0xb7
[<ffffffff81cc119a>] x86_64_start_kernel+0xe0/0xe7
Mem-Info:
DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
CPU 1: hi: 0, btch: 1 usd: 0
DMA32 per-cpu:
CPU 0: hi: 186, btch: 31 usd: 156
CPU 1: hi: 186, btch: 31 usd: 156
Normal per-cpu:
CPU 0: hi: 186, btch: 31 usd: 155
CPU 1: hi: 186, btch: 31 usd: 162
active_anon:324509 inactive_anon:110799 isolated_anon:0
active_file:223980 inactive_file:241231 isolated_file:270
unevictable:23 dirty:95383 writeback:565 unstable:41418
free:7201 slab_reclaimable:8226 slab_unreclaimable:18924
mapped:32967 shmem:11570 pagetables:3468 bounce:0
DMA free:15636kB min:28kB low:32kB high:40kB active_anon:52kB
inactive_anon:128kB active_file:0kB inactive_file:0kB unevictable:0kB
isolated(anon):0kB isolated(file):0kB present:15708kB mlocked:0kB
dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB
slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB
bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 2900 3910 3910
DMA32 free:11032kB min:5924kB low:7404kB high:8884kB
active_anon:1148572kB inactive_anon:292840kB active_file:602436kB
inactive_file:671388kB unevictable:0kB isolated(anon):0kB
isolated(file):136kB present:2970488kB mlocked:0kB dirty:270116kB
writeback:1904kB mapped:102852kB shmem:14292kB slab_reclaimable:14856kB
slab_unreclaimable:46416kB kernel_stack:296kB pagetables:3980kB
unstable:109116kB bounce:0kB writeback_tmp:0kB pages_scanned:0
all_unreclaimable? no
lowmem_reserve[]: 0 0 1010 1010
Normal free:2136kB min:2060kB low:2572kB high:3088kB
active_anon:149412kB inactive_anon:150228kB active_file:293484kB
inactive_file:293536kB unevictable:92kB isolated(anon):0kB
isolated(file):944kB present:1034240kB mlocked:0kB dirty:111416kB
writeback:356kB mapped:29016kB shmem:31988kB slab_reclaimable:18048kB
slab_unreclaimable:29272kB kernel_stack:1904kB pagetables:9892kB
unstable:56556kB bounce:0kB writeback_tmp:0kB pages_scanned:0
all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 3*4kB 1*8kB 2*16kB 2*32kB 3*64kB 0*128kB 2*256kB 1*512kB 2*1024kB
2*2048kB 2*4096kB = 15668kB
DMA32: 2480*4kB 121*8kB 2*16kB 2*32kB 0*64kB 1*128kB 0*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB = 11112kB
Normal: 442*4kB 34*8kB 2*16kB 0*32kB 1*64kB 0*128kB 0*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB = 2136kB
477072 total pagecache pages
125 pages in swap cache
Swap cache stats: add 584, delete 459, find 25/46
Free swap = 4199436kB
Total swap = 4200992kB
1048560 pages RAM
83434 pages reserved
612955 pages shared
380169 pages non-shared
iwlagn 0000:02:00.0: Failed to alloc_pages with GFP_ATOMIC. Only 0 free
buffers remaining.
^ permalink raw reply
* Re: pull request: wireless-2.6 2010-06-16 v2
From: Sedat Dilek @ 2010-06-16 22:57 UTC (permalink / raw)
To: John W. Linville; +Cc: David Miller, linux-wireless, netdev, linux-kernel
In-Reply-To: <20100616201300.GD3138@tuxdriver.com>
[-- Attachment #1: Type: text/plain, Size: 17488 bytes --]
Quick feedback:
I have applied latest wireless-2.6 master GIT against 2.6.35-rc3:
wireless-2.6/0001-iwlwifi-serialize-station-management-actions.patch
wireless-2.6/0002-iwlagn-verify-flow-id-in-compressed-BA-packet.patch
wireless-2.6/0003-libertas_tf-Fix-warning-in-lbtf_rx-for-stats-struct.patch
wireless-2.6/0004-p54pci-add-Symbol-AP-300-minipci-adapters-pciid.patch
wireless-2.6/0005-wireless-orphan-ipw2x00-drivers.patch
wireless-2.6/0006-iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch
wireless-2.6/0007-hostap-Protect-against-initialization-interrupt.patch
wireless-2.6/0008-mac80211-fix-warn-enum-may-be-used-uninitialized.patch
Unfortunately, I get here an issue with iwl3945 (full dmesg attached):
[ dmesg ]
[ 26.423844] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
...
[ 26.432470] iwl3945 0000:10:00.0: Can't stop Rx DMA.
Hope this helps.
- Sedat -
On Wed, Jun 16, 2010 at 10:13 PM, John W. Linville
<linville@tuxdriver.com> wrote:
> On Wed, Jun 16, 2010 at 11:50:08AM -0700, David Miller wrote:
>> From: "John W. Linville" <linville@tuxdriver.com>
>> Date: Wed, 16 Jun 2010 14:28:48 -0400
>>
>> > Here is another passel of of fixes intended for 2.6.35. Included are
>> > some build warning fixes, a PCI identifier, a fix for premature
>> > IRQs during hostap initialization, a fix for a warning caused by
>> > failing to cancel a scan watchdog in iwlwifi, a fix for a null
>> > pointer dereference in iwlwifi, and a fix for a race condition in
>> > the same driver. Also included is the MAINTAINERS change for the
>> > orphaning of the older Intel wireless drivers. All but the last few
>> > warning fixes have spent some time in linux-next already.
>> >
>> > Please let me know if there are problems!
>>
>> The patches removing unused function variables just to kill compile
>> warnings are not appropriate, _at_ _all_. They don't fix any real
>> bug, and they definitely don't fix entries in the regression list do
>> they?
>>
>> Kill all of those and resend this pull request.
>
> Fair enough...I dropped the warning fixes for the unused variables.
> But I kept the ones related to uninitialized variables, since
> those seem potentially more dangerous to ignore. Hopefully that
> is acceptable.
>
> Please let me know if there are problems!
>
> John
>
> ---
>
> The following changes since commit fed396a585d8e1870b326f2e8e1888a72957abb8:
> Herbert Xu (1):
> bridge: Fix OOM crash in deliver_clone
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master
>
> Christoph Fritz (1):
> mac80211: fix warn, enum may be used uninitialized
>
> Joerg Albert (1):
> p54pci: add Symbol AP-300 minipci adapters pciid
>
> John W. Linville (1):
> iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
>
> Prarit Bhargava (1):
> libertas_tf: Fix warning in lbtf_rx for stats struct
>
> Reinette Chatre (1):
> iwlwifi: serialize station management actions
>
> Shanyu Zhao (1):
> iwlagn: verify flow id in compressed BA packet
>
> Tim Gardner (1):
> hostap: Protect against initialization interrupt
>
> Zhu Yi (1):
> wireless: orphan ipw2x00 drivers
>
> MAINTAINERS | 10 ++--------
> drivers/net/wireless/hostap/hostap_cs.c | 15 +++++++++++++--
> drivers/net/wireless/hostap/hostap_hw.c | 13 +++++++++++++
> drivers/net/wireless/hostap/hostap_wlan.h | 2 +-
> drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 5 +++++
> drivers/net/wireless/iwlwifi/iwl-agn.c | 8 ++++++--
> drivers/net/wireless/iwlwifi/iwl-scan.c | 1 +
> drivers/net/wireless/iwlwifi/iwl-sta.c | 4 ++++
> drivers/net/wireless/iwlwifi/iwl3945-base.c | 9 +++++++--
> drivers/net/wireless/libertas_tf/main.c | 2 +-
> drivers/net/wireless/p54/p54pci.c | 2 ++
> net/mac80211/work.c | 2 +-
> 12 files changed, 56 insertions(+), 17 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 83be538..837a754 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2966,20 +2966,14 @@ F: drivers/net/ixgb/
> F: drivers/net/ixgbe/
>
> INTEL PRO/WIRELESS 2100 NETWORK CONNECTION SUPPORT
> -M: Reinette Chatre <reinette.chatre@intel.com>
> -M: Intel Linux Wireless <ilw@linux.intel.com>
> L: linux-wireless@vger.kernel.org
> -W: http://ipw2100.sourceforge.net
> -S: Odd Fixes
> +S: Orphan
> F: Documentation/networking/README.ipw2100
> F: drivers/net/wireless/ipw2x00/ipw2100.*
>
> INTEL PRO/WIRELESS 2915ABG NETWORK CONNECTION SUPPORT
> -M: Reinette Chatre <reinette.chatre@intel.com>
> -M: Intel Linux Wireless <ilw@linux.intel.com>
> L: linux-wireless@vger.kernel.org
> -W: http://ipw2200.sourceforge.net
> -S: Odd Fixes
> +S: Orphan
> F: Documentation/networking/README.ipw2200
> F: drivers/net/wireless/ipw2x00/ipw2200.*
>
> diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
> index db72461..29b31a6 100644
> --- a/drivers/net/wireless/hostap/hostap_cs.c
> +++ b/drivers/net/wireless/hostap/hostap_cs.c
> @@ -594,6 +594,7 @@ static int prism2_config(struct pcmcia_device *link)
> local_info_t *local;
> int ret = 1;
> struct hostap_cs_priv *hw_priv;
> + unsigned long flags;
>
> PDEBUG(DEBUG_FLOW, "prism2_config()\n");
>
> @@ -625,9 +626,15 @@ static int prism2_config(struct pcmcia_device *link)
> local->hw_priv = hw_priv;
> hw_priv->link = link;
>
> + /*
> + * Make sure the IRQ handler cannot proceed until at least
> + * dev->base_addr is initialized.
> + */
> + spin_lock_irqsave(&local->irq_init_lock, flags);
> +
> ret = pcmcia_request_irq(link, prism2_interrupt);
> if (ret)
> - goto failed;
> + goto failed_unlock;
>
> /*
> * This actually configures the PCMCIA socket -- setting up
> @@ -636,11 +643,13 @@ static int prism2_config(struct pcmcia_device *link)
> */
> ret = pcmcia_request_configuration(link, &link->conf);
> if (ret)
> - goto failed;
> + goto failed_unlock;
>
> dev->irq = link->irq;
> dev->base_addr = link->io.BasePort1;
>
> + spin_unlock_irqrestore(&local->irq_init_lock, flags);
> +
> /* Finally, report what we've done */
> printk(KERN_INFO "%s: index 0x%02x: ",
> dev_info, link->conf.ConfigIndex);
> @@ -667,6 +676,8 @@ static int prism2_config(struct pcmcia_device *link)
>
> return ret;
>
> + failed_unlock:
> + spin_unlock_irqrestore(&local->irq_init_lock, flags);
> failed:
> kfree(hw_priv);
> prism2_release((u_long)link);
> diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c
> index ff9b5c8..2f999fc 100644
> --- a/drivers/net/wireless/hostap/hostap_hw.c
> +++ b/drivers/net/wireless/hostap/hostap_hw.c
> @@ -2621,6 +2621,18 @@ static irqreturn_t prism2_interrupt(int irq, void *dev_id)
> iface = netdev_priv(dev);
> local = iface->local;
>
> + /* Detect early interrupt before driver is fully configued */
> + spin_lock(&local->irq_init_lock);
> + if (!dev->base_addr) {
> + if (net_ratelimit()) {
> + printk(KERN_DEBUG "%s: Interrupt, but dev not configured\n",
> + dev->name);
> + }
> + spin_unlock(&local->irq_init_lock);
> + return IRQ_HANDLED;
> + }
> + spin_unlock(&local->irq_init_lock);
> +
> prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 0);
>
> if (local->func->card_present && !local->func->card_present(local)) {
> @@ -3138,6 +3150,7 @@ prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx,
> spin_lock_init(&local->cmdlock);
> spin_lock_init(&local->baplock);
> spin_lock_init(&local->lock);
> + spin_lock_init(&local->irq_init_lock);
> mutex_init(&local->rid_bap_mtx);
>
> if (card_idx < 0 || card_idx >= MAX_PARM_DEVICES)
> diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h
> index 3d23891..1ba33be 100644
> --- a/drivers/net/wireless/hostap/hostap_wlan.h
> +++ b/drivers/net/wireless/hostap/hostap_wlan.h
> @@ -654,7 +654,7 @@ struct local_info {
> rwlock_t iface_lock; /* hostap_interfaces read lock; use write lock
> * when removing entries from the list.
> * TX and RX paths can use read lock. */
> - spinlock_t cmdlock, baplock, lock;
> + spinlock_t cmdlock, baplock, lock, irq_init_lock;
> struct mutex rid_bap_mtx;
> u16 infofid; /* MAC buffer id for info frame */
> /* txfid, intransmitfid, next_txtid, and next_alloc are protected by
> diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> index a732f10..7d614c4 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
> @@ -1299,6 +1299,11 @@ void iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
> sta_id = ba_resp->sta_id;
> tid = ba_resp->tid;
> agg = &priv->stations[sta_id].tid[tid].agg;
> + if (unlikely(agg->txq_id != scd_flow)) {
> + IWL_ERR(priv, "BA scd_flow %d does not match txq_id %d\n",
> + scd_flow, agg->txq_id);
> + return;
> + }
>
> /* Find index just before block-ack window */
> index = iwl_queue_dec_wrap(ba_resp_scd_ssn & 0xff, txq->q.n_bd);
> diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
> index 7726e67..24aff65 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-agn.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
> @@ -3391,10 +3391,12 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
> int ret;
> u8 sta_id;
>
> - sta_priv->common.sta_id = IWL_INVALID_STATION;
> -
> IWL_DEBUG_INFO(priv, "received request to add station %pM\n",
> sta->addr);
> + mutex_lock(&priv->mutex);
> + IWL_DEBUG_INFO(priv, "proceeding to add station %pM\n",
> + sta->addr);
> + sta_priv->common.sta_id = IWL_INVALID_STATION;
>
> atomic_set(&sta_priv->pending_frames, 0);
> if (vif->type == NL80211_IFTYPE_AP)
> @@ -3406,6 +3408,7 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
> IWL_ERR(priv, "Unable to add station %pM (%d)\n",
> sta->addr, ret);
> /* Should we return success if return code is EEXIST ? */
> + mutex_unlock(&priv->mutex);
> return ret;
> }
>
> @@ -3415,6 +3418,7 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
> IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n",
> sta->addr);
> iwl_rs_rate_init(priv, sta, sta_id);
> + mutex_unlock(&priv->mutex);
>
> return 0;
> }
> diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c
> index 5d3f51f..386c5f9 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-scan.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c
> @@ -491,6 +491,7 @@ void iwl_bg_abort_scan(struct work_struct *work)
>
> mutex_lock(&priv->mutex);
>
> + cancel_delayed_work_sync(&priv->scan_check);
> set_bit(STATUS_SCAN_ABORTING, &priv->status);
> iwl_send_scan_abort(priv);
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c
> index 83a2636..c27c13f 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-sta.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-sta.c
> @@ -1373,10 +1373,14 @@ int iwl_mac_sta_remove(struct ieee80211_hw *hw,
>
> IWL_DEBUG_INFO(priv, "received request to remove station %pM\n",
> sta->addr);
> + mutex_lock(&priv->mutex);
> + IWL_DEBUG_INFO(priv, "proceeding to remove station %pM\n",
> + sta->addr);
> ret = iwl_remove_station(priv, sta_common->sta_id, sta->addr);
> if (ret)
> IWL_ERR(priv, "Error removing station %pM\n",
> sta->addr);
> + mutex_unlock(&priv->mutex);
> return ret;
> }
> EXPORT_SYMBOL(iwl_mac_sta_remove);
> diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
> index 6c353ca..a27872d 100644
> --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
> +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
> @@ -3437,10 +3437,13 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
> bool is_ap = vif->type == NL80211_IFTYPE_STATION;
> u8 sta_id;
>
> - sta_priv->common.sta_id = IWL_INVALID_STATION;
> -
> IWL_DEBUG_INFO(priv, "received request to add station %pM\n",
> sta->addr);
> + mutex_lock(&priv->mutex);
> + IWL_DEBUG_INFO(priv, "proceeding to add station %pM\n",
> + sta->addr);
> + sta_priv->common.sta_id = IWL_INVALID_STATION;
> +
>
> ret = iwl_add_station_common(priv, sta->addr, is_ap, &sta->ht_cap,
> &sta_id);
> @@ -3448,6 +3451,7 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
> IWL_ERR(priv, "Unable to add station %pM (%d)\n",
> sta->addr, ret);
> /* Should we return success if return code is EEXIST ? */
> + mutex_unlock(&priv->mutex);
> return ret;
> }
>
> @@ -3457,6 +3461,7 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
> IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n",
> sta->addr);
> iwl3945_rs_rate_init(priv, sta, sta_id);
> + mutex_unlock(&priv->mutex);
>
> return 0;
> }
> diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c
> index 6a04c21..817fffc 100644
> --- a/drivers/net/wireless/libertas_tf/main.c
> +++ b/drivers/net/wireless/libertas_tf/main.c
> @@ -549,7 +549,7 @@ int lbtf_rx(struct lbtf_private *priv, struct sk_buff *skb)
>
> prxpd = (struct rxpd *) skb->data;
>
> - stats.flag = 0;
> + memset(&stats, 0, sizeof(stats));
> if (!(prxpd->status & cpu_to_le16(MRVDRV_RXPD_STATUS_OK)))
> stats.flag |= RX_FLAG_FAILED_FCS_CRC;
> stats.freq = priv->cur_freq;
> diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c
> index 07c4528..a5ea89c 100644
> --- a/drivers/net/wireless/p54/p54pci.c
> +++ b/drivers/net/wireless/p54/p54pci.c
> @@ -41,6 +41,8 @@ static DEFINE_PCI_DEVICE_TABLE(p54p_table) = {
> { PCI_DEVICE(0x1260, 0x3877) },
> /* Intersil PRISM Javelin/Xbow Wireless LAN adapter */
> { PCI_DEVICE(0x1260, 0x3886) },
> + /* Intersil PRISM Xbow Wireless LAN adapter (Symbol AP-300) */
> + { PCI_DEVICE(0x1260, 0xffff) },
> { },
> };
>
> diff --git a/net/mac80211/work.c b/net/mac80211/work.c
> index be3d4a6..b025dc7 100644
> --- a/net/mac80211/work.c
> +++ b/net/mac80211/work.c
> @@ -715,7 +715,7 @@ static void ieee80211_work_rx_queued_mgmt(struct ieee80211_local *local,
> struct ieee80211_rx_status *rx_status;
> struct ieee80211_mgmt *mgmt;
> struct ieee80211_work *wk;
> - enum work_action rma;
> + enum work_action rma = WORK_ACT_NONE;
> u16 fc;
>
> rx_status = (struct ieee80211_rx_status *) skb->cb;
> --
> John W. Linville Someday the world will need a hero, and you
> linville@tuxdriver.com might be all we have. Be ready.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
[-- Attachment #2: dmesg.txt --]
[-- Type: text/plain, Size: 62977 bytes --]
0.310984] pci 0000:00:1c.3: PCI bridge to [bus 20-20]
[ 0.310988] pci 0000:00:1c.3: bridge window [io 0x2000-0x3fff]
[ 0.310995] pci 0000:00:1c.3: bridge window [mem 0xdc000000-0xdfffffff]
[ 0.311001] pci 0000:00:1c.3: bridge window [mem 0x84400000-0x845fffff 64bit pref]
[ 0.311011] pci 0000:02:06.0: BAR 15: assigned [mem 0x80000000-0x83ffffff pref]
[ 0.311014] pci 0000:02:06.0: BAR 16: assigned [mem 0x88000000-0x8bffffff]
[ 0.311017] pci 0000:02:06.0: BAR 13: assigned [io 0x8000-0x80ff]
[ 0.311020] pci 0000:02:06.0: BAR 14: assigned [io 0x8400-0x84ff]
[ 0.311022] pci 0000:02:06.0: CardBus bridge to [bus 03-06]
[ 0.311025] pci 0000:02:06.0: bridge window [io 0x8000-0x80ff]
[ 0.311031] pci 0000:02:06.0: bridge window [io 0x8400-0x84ff]
[ 0.311038] pci 0000:02:06.0: bridge window [mem 0x80000000-0x83ffffff pref]
[ 0.311044] pci 0000:02:06.0: bridge window [mem 0x88000000-0x8bffffff]
[ 0.311051] pci 0000:00:1e.0: PCI bridge to [bus 02-03]
[ 0.311054] pci 0000:00:1e.0: bridge window [io 0x8000-0x8fff]
[ 0.311062] pci 0000:00:1e.0: bridge window [mem 0xe0200000-0xe05fffff]
[ 0.311067] pci 0000:00:1e.0: bridge window [mem 0x80000000-0x83ffffff pref]
[ 0.311081] alloc irq_desc for 16 on node -1
[ 0.311083] alloc kstat_irqs on node -1
[ 0.311089] pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.311093] pci 0000:00:01.0: setting latency timer to 64
[ 0.311103] pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 0.311109] pci 0000:00:1c.0: setting latency timer to 64
[ 0.311119] alloc irq_desc for 17 on node -1
[ 0.311121] alloc kstat_irqs on node -1
[ 0.311125] pci 0000:00:1c.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[ 0.311130] pci 0000:00:1c.1: setting latency timer to 64
[ 0.311141] alloc irq_desc for 19 on node -1
[ 0.311142] alloc kstat_irqs on node -1
[ 0.311146] pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[ 0.311151] pci 0000:00:1c.3: setting latency timer to 64
[ 0.311160] pci 0000:00:1e.0: setting latency timer to 64
[ 0.311173] alloc irq_desc for 18 on node -1
[ 0.311175] alloc kstat_irqs on node -1
[ 0.311179] pci 0000:02:06.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 0.311186] pci_bus 0000:00: resource 0 [io 0x0000-0xffff]
[ 0.311189] pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffff]
[ 0.311191] pci_bus 0000:01: resource 0 [io 0x4000-0x4fff]
[ 0.311194] pci_bus 0000:01: resource 1 [mem 0xe0600000-0xe06fffff]
[ 0.311196] pci_bus 0000:01: resource 2 [mem 0xd8000000-0xdbffffff 64bit pref]
[ 0.311199] pci_bus 0000:08: resource 0 [io 0x6000-0x6fff]
[ 0.311201] pci_bus 0000:08: resource 1 [mem 0xe0100000-0xe01fffff]
[ 0.311204] pci_bus 0000:08: resource 2 [mem 0x84000000-0x841fffff 64bit pref]
[ 0.311207] pci_bus 0000:10: resource 0 [io 0x7000-0x7fff]
[ 0.311209] pci_bus 0000:10: resource 1 [mem 0xe0000000-0xe00fffff]
[ 0.311212] pci_bus 0000:10: resource 2 [mem 0x84200000-0x843fffff 64bit pref]
[ 0.311214] pci_bus 0000:20: resource 0 [io 0x2000-0x3fff]
[ 0.311217] pci_bus 0000:20: resource 1 [mem 0xdc000000-0xdfffffff]
[ 0.311219] pci_bus 0000:20: resource 2 [mem 0x84400000-0x845fffff 64bit pref]
[ 0.311222] pci_bus 0000:02: resource 0 [io 0x8000-0x8fff]
[ 0.311224] pci_bus 0000:02: resource 1 [mem 0xe0200000-0xe05fffff]
[ 0.311227] pci_bus 0000:02: resource 2 [mem 0x80000000-0x83ffffff pref]
[ 0.311229] pci_bus 0000:02: resource 4 [io 0x0000-0xffff]
[ 0.311232] pci_bus 0000:02: resource 5 [mem 0x00000000-0xffffffff]
[ 0.311234] pci_bus 0000:03: resource 0 [io 0x8000-0x80ff]
[ 0.311237] pci_bus 0000:03: resource 1 [io 0x8400-0x84ff]
[ 0.311239] pci_bus 0000:03: resource 2 [mem 0x80000000-0x83ffffff pref]
[ 0.311242] pci_bus 0000:03: resource 3 [mem 0x88000000-0x8bffffff]
[ 0.311269] NET: Registered protocol family 2
[ 0.311323] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.311560] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.311948] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.312138] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.312140] TCP reno registered
[ 0.312144] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.312152] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.312218] NET: Registered protocol family 1
[ 0.312354] pci 0000:01:00.0: Boot video device
[ 0.312383] PCI: CLS 64 bytes, default 64
[ 0.312427] Unpacking initramfs...
[ 0.597299] Freeing initrd memory: 9644k freed
[ 0.603890] audit: initializing netlink socket (disabled)
[ 0.603908] type=2000 audit(1276735235.602:1): initialized
[ 0.604102] highmem bounce pool size: 64 pages
[ 0.604107] HugeTLB registered 4 MB page size, pre-allocated 0 pages
[ 0.607128] VFS: Disk quotas dquot_6.5.2
[ 0.607223] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.607372] msgmni has been set to 1733
[ 0.607612] alg: No test for stdrng (krng)
[ 0.607731] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.607734] io scheduler noop registered
[ 0.607737] io scheduler deadline registered
[ 0.607747] io scheduler cfq registered (default)
[ 0.607883] pcieport 0000:00:01.0: setting latency timer to 64
[ 0.607915] alloc irq_desc for 40 on node -1
[ 0.607917] alloc kstat_irqs on node -1
[ 0.607928] pcieport 0000:00:01.0: irq 40 for MSI/MSI-X
[ 0.608063] pcieport 0000:00:1c.0: setting latency timer to 64
[ 0.608111] alloc irq_desc for 41 on node -1
[ 0.608113] alloc kstat_irqs on node -1
[ 0.608122] pcieport 0000:00:1c.0: irq 41 for MSI/MSI-X
[ 0.608317] pcieport 0000:00:1c.1: setting latency timer to 64
[ 0.608365] alloc irq_desc for 42 on node -1
[ 0.608367] alloc kstat_irqs on node -1
[ 0.608376] pcieport 0000:00:1c.1: irq 42 for MSI/MSI-X
[ 0.608573] pcieport 0000:00:1c.3: setting latency timer to 64
[ 0.608621] alloc irq_desc for 43 on node -1
[ 0.608623] alloc kstat_irqs on node -1
[ 0.608632] pcieport 0000:00:1c.3: irq 43 for MSI/MSI-X
[ 0.609282] ERST: Table is not found!
[ 0.609339] EINJ: Table is not found!
[ 0.609348] isapnp: Scanning for PnP cards...
[ 0.966244] isapnp: No Plug & Play device found
[ 0.969952] Linux agpgart interface v0.103
[ 0.970007] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.970299] serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
[ 0.970943] Fixed MDIO Bus: probed
[ 0.971079] PNP: PS/2 Controller [PNP0303:C216,PNP0f13:C217] at 0x60,0x64 irq 1,12
[ 0.972763] i8042.c: Detected active multiplexing controller, rev 1.1.
[ 0.973442] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.973448] serio: i8042 AUX0 port at 0x60,0x64 irq 12
[ 0.973452] serio: i8042 AUX1 port at 0x60,0x64 irq 12
[ 0.973455] serio: i8042 AUX2 port at 0x60,0x64 irq 12
[ 0.973458] serio: i8042 AUX3 port at 0x60,0x64 irq 12
[ 0.973632] mice: PS/2 mouse device common for all mice
[ 0.973700] cpuidle: using governor ladder
[ 0.973703] cpuidle: using governor menu
[ 0.974020] TCP cubic registered
[ 0.974075] Using IPI No-Shortcut mode
[ 0.974223] registered taskstats version 1
[ 0.974672] Freeing unused kernel memory: 368k freed
[ 0.974887] Write protecting the kernel text: 2208k
[ 0.974911] Write protecting the kernel read-only data: 856k
[ 1.001922] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
[ 1.125853] tg3.c:v3.110 (April 9, 2010)
[ 1.125880] tg3 0000:08:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 1.125891] tg3 0000:08:00.0: setting latency timer to 64
[ 1.186578] SCSI subsystem initialized
[ 1.199854] usbcore: registered new interface driver usbfs
[ 1.200135] usbcore: registered new interface driver hub
[ 1.218276] usbcore: registered new device driver usb
[ 1.230231] sdhci: Secure Digital Host Controller Interface driver
[ 1.230233] sdhci: Copyright(c) Pierre Ossman
[ 1.231339] sdhci-pci 0000:02:06.3: SDHCI controller found [104c:803c] (rev 0)
[ 1.231363] alloc irq_desc for 22 on node -1
[ 1.231366] alloc kstat_irqs on node -1
[ 1.231374] sdhci-pci 0000:02:06.3: PCI INT C -> GSI 22 (level, low) -> IRQ 22
[ 1.231447] Registered led device: mmc0::
[ 1.231484] mmc0: SDHCI controller on PCI [0000:02:06.3] using PIO
[ 1.232357] tg3 0000:08:00.0: eth0: Tigon3 [partno(BCM95751M) rev 4201] (PCI Express) MAC address 00:16:d4:be:36:66
[ 1.232361] tg3 0000:08:00.0: eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
[ 1.232365] tg3 0000:08:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
[ 1.232368] tg3 0000:08:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[ 1.233590] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.233615] alloc irq_desc for 20 on node -1
[ 1.233618] alloc kstat_irqs on node -1
[ 1.233627] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 1.233641] ehci_hcd 0000:00:1d.7: setting latency timer to 64
[ 1.233645] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[ 1.233665] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 1.233685] ehci_hcd 0000:00:1d.7: using broken periodic workaround
[ 1.233698] ehci_hcd 0000:00:1d.7: debug port 1
[ 1.235011] libata version 3.00 loaded.
[ 1.237573] ehci_hcd 0000:00:1d.7: cache line size of 64 is not supported
[ 1.237590] ehci_hcd 0000:00:1d.7: irq 20, io mem 0xe0704000
[ 1.240609] thermal LNXTHERM:01: registered as thermal_zone0
[ 1.240619] ACPI: Thermal Zone [TZ0] (80 C)
[ 1.247528] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 1.247552] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.247555] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.247558] usb usb1: Product: EHCI Host Controller
[ 1.247560] usb usb1: Manufacturer: Linux 2.6.35-rc3-iniza-686-kms ehci_hcd
[ 1.247562] usb usb1: SerialNumber: 0000:00:1d.7
[ 1.247743] hub 1-0:1.0: USB hub found
[ 1.247748] hub 1-0:1.0: 8 ports detected
[ 1.247877] ata_piix 0000:00:1f.1: version 2.13
[ 1.247889] ata_piix 0000:00:1f.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 1.247928] ata_piix 0000:00:1f.1: setting latency timer to 64
[ 1.248153] scsi0 : ata_piix
[ 1.248310] scsi1 : ata_piix
[ 1.251927] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x5080 irq 14
[ 1.251930] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x5088 irq 15
[ 1.251952] ahci 0000:00:1f.2: version 3.0
[ 1.251966] alloc irq_desc for 21 on node -1
[ 1.251969] alloc kstat_irqs on node -1
[ 1.251974] ahci 0000:00:1f.2: PCI INT B -> GSI 21 (level, low) -> IRQ 21
[ 1.252013] alloc irq_desc for 44 on node -1
[ 1.252015] alloc kstat_irqs on node -1
[ 1.252025] ahci 0000:00:1f.2: irq 44 for MSI/MSI-X
[ 1.252077] ahci: SSS flag set, parallel bus scan disabled
[ 1.252105] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 1.5 Gbps 0x1 impl SATA mode
[ 1.252109] ahci 0000:00:1f.2: flags: 64bit ncq ilck stag pm led clo pmp pio slum part
[ 1.252114] ahci 0000:00:1f.2: setting latency timer to 64
[ 1.255010] scsi2 : ahci
[ 1.255120] scsi3 : ahci
[ 1.255225] scsi4 : ahci
[ 1.255339] scsi5 : ahci
[ 1.255612] ata2: port disabled. ignoring.
[ 1.256744] thermal LNXTHERM:02: registered as thermal_zone1
[ 1.256754] ACPI: Thermal Zone [TZ1] (86 C)
[ 1.267478] ata3: SATA max UDMA/133 abar m1024@0xe0705000 port 0xe0705100 irq 44
[ 1.267481] ata4: DUMMY
[ 1.267483] ata5: DUMMY
[ 1.267484] ata6: DUMMY
[ 1.273242] thermal LNXTHERM:03: registered as thermal_zone2
[ 1.273257] ACPI: Thermal Zone [TZ2] (85 C)
[ 1.287800] thermal LNXTHERM:04: registered as thermal_zone3
[ 1.287810] ACPI: Thermal Zone [TZ3] (65 C)
[ 1.299119] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.299151] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 1.299159] uhci_hcd 0000:00:1d.0: setting latency timer to 64
[ 1.299163] uhci_hcd 0000:00:1d.0: UHCI Host Controller
[ 1.299174] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 1.299204] uhci_hcd 0000:00:1d.0: irq 20, io base 0x00005000
[ 1.299242] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.299245] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.299247] usb usb2: Product: UHCI Host Controller
[ 1.299250] usb usb2: Manufacturer: Linux 2.6.35-rc3-iniza-686-kms uhci_hcd
[ 1.299257] usb usb2: SerialNumber: 0000:00:1d.0
[ 1.299260] thermal LNXTHERM:05: registered as thermal_zone4
[ 1.299270] ACPI: Thermal Zone [TZ4] (35 C)
[ 1.299390] hub 2-0:1.0: USB hub found
[ 1.299395] hub 2-0:1.0: 2 ports detected
[ 1.299490] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 22 (level, low) -> IRQ 22
[ 1.299497] uhci_hcd 0000:00:1d.1: setting latency timer to 64
[ 1.299501] uhci_hcd 0000:00:1d.1: UHCI Host Controller
[ 1.299509] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 1.299538] uhci_hcd 0000:00:1d.1: irq 22, io base 0x00005020
[ 1.299572] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.299575] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.299577] usb usb3: Product: UHCI Host Controller
[ 1.299579] usb usb3: Manufacturer: Linux 2.6.35-rc3-iniza-686-kms uhci_hcd
[ 1.299582] usb usb3: SerialNumber: 0000:00:1d.1
[ 1.299655] hub 3-0:1.0: USB hub found
[ 1.299659] hub 3-0:1.0: 2 ports detected
[ 1.299740] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18
[ 1.299747] uhci_hcd 0000:00:1d.2: setting latency timer to 64
[ 1.299750] uhci_hcd 0000:00:1d.2: UHCI Host Controller
[ 1.299758] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 1.299797] uhci_hcd 0000:00:1d.2: irq 18, io base 0x00005040
[ 1.299830] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.299833] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.299835] usb usb4: Product: UHCI Host Controller
[ 1.299838] usb usb4: Manufacturer: Linux 2.6.35-rc3-iniza-686-kms uhci_hcd
[ 1.299840] usb usb4: SerialNumber: 0000:00:1d.2
[ 1.299913] hub 4-0:1.0: USB hub found
[ 1.299917] hub 4-0:1.0: 2 ports detected
[ 1.299998] uhci_hcd 0000:00:1d.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
[ 1.300005] uhci_hcd 0000:00:1d.3: setting latency timer to 64
[ 1.300009] uhci_hcd 0000:00:1d.3: UHCI Host Controller
[ 1.300017] uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
[ 1.300056] uhci_hcd 0000:00:1d.3: irq 19, io base 0x00005060
[ 1.300092] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
[ 1.300095] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.300097] usb usb5: Product: UHCI Host Controller
[ 1.300099] usb usb5: Manufacturer: Linux 2.6.35-rc3-iniza-686-kms uhci_hcd
[ 1.300102] usb usb5: SerialNumber: 0000:00:1d.3
[ 1.300175] hub 5-0:1.0: USB hub found
[ 1.300179] hub 5-0:1.0: 2 ports detected
[ 1.302559] thermal LNXTHERM:06: registered as thermal_zone5
[ 1.302571] ACPI: Thermal Zone [TZ5] (77 C)
[ 1.409523] ata1.00: ATAPI: MATSHITADVD-RAM UJ-842S, 1.01, max MWDMA2
[ 1.415427] ata1.00: configured for MWDMA2
[ 1.417671] scsi 0:0:0:0: CD-ROM MATSHITA DVD-RAM UJ-842S 1.01 PQ: 0 ANSI: 5
[ 1.804012] usb 1-5: new high speed USB device using ehci_hcd and address 5
[ 1.931016] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[ 1.933478] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1.933483] ata3.00: ACPI cmd b1/c1:00:00:00:00:a0 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 1.933636] ata3.00: ACPI cmd c6/00:10:00:00:00:a0 (SET MULTIPLE MODE) succeeded
[ 1.933640] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1.934358] ata3.00: ATA-7: Hitachi HTS541680J9SA00, SB2OC7BP, max UDMA/100
[ 1.934361] ata3.00: 156301488 sectors, multi 16: LBA48
[ 1.934924] usb 1-5: New USB device found, idVendor=152d, idProduct=2329
[ 1.934928] usb 1-5: New USB device strings: Mfr=10, Product=11, SerialNumber=3
[ 1.934930] usb 1-5: Product: Storagebird 35EV821
[ 1.934932] usb 1-5: Manufacturer: 0123456
[ 1.934934] usb 1-5: SerialNumber: 000000000340
[ 1.937009] ata3.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[ 1.937013] ata3.00: ACPI cmd b1/c1:00:00:00:00:a0 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 1.937229] ata3.00: ACPI cmd c6/00:10:00:00:00:a0 (SET MULTIPLE MODE) succeeded
[ 1.937233] ata3.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[ 1.937982] ata3.00: configured for UDMA/100
[ 1.943184] Initializing USB Mass Storage driver...
[ 1.943264] scsi6 : usb-storage 1-5:1.0
[ 1.943333] usbcore: registered new interface driver usb-storage
[ 1.943335] USB Mass Storage support registered.
[ 1.949943] ata3.00: configured for UDMA/100
[ 1.949946] ata3: EH complete
[ 1.950046] scsi 2:0:0:0: Direct-Access ATA Hitachi HTS54168 SB2O PQ: 0 ANSI: 5
[ 1.974682] sd 2:0:0:0: [sda] 156301488 512-byte logical blocks: (80.0 GB/74.5 GiB)
[ 1.974743] sd 2:0:0:0: [sda] Write Protect is off
[ 1.974746] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 1.974771] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.974930] sda:
[ 1.974976] ACPI: Fan [C335] (off)
[ 1.975357] ACPI: Fan [C336] (off)
[ 1.975706] ACPI: Fan [C337] (off)
[ 1.976064] ACPI: Fan [C338] (off)
[ 1.977332] ACPI: Fan [C339] (off)
[ 1.977697] ACPI: Fan [C33A] (off)
[ 1.978059] ACPI: Fan [C33B] (off)
[ 1.978422] ACPI: Fan [C33C] (off)
[ 1.980309] ACPI: Fan [C33D] (off)
[ 1.980534] ACPI: Fan [C33E] (off)
[ 1.980711] ACPI: Fan [C33F] (off)
[ 2.141012] usb 2-2: new full speed USB device using uhci_hcd and address 2
[ 2.290117] usb 2-2: New USB device found, idVendor=03f0, idProduct=1e1d
[ 2.290120] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.290123] usb 2-2: Product: HP hs2300 HSDPA Broadband Wireless Module
[ 2.290125] usb 2-2: Manufacturer: HP
[ 2.356430] sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
[ 2.413609] sd 2:0:0:0: [sda] Attached SCSI disk
[ 2.420758] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 2.420761] Uniform CD-ROM driver Revision: 3.20
[ 2.420841] sr 0:0:0:0: Attached scsi CD-ROM sr0
[ 2.425022] sr 0:0:0:0: Attached scsi generic sg0 type 5
[ 2.425906] sd 2:0:0:0: Attached scsi generic sg1 type 0
[ 2.502011] usb 3-1: new full speed USB device using uhci_hcd and address 2
[ 2.653405] usb 3-1: New USB device found, idVendor=08ff, idProduct=2580
[ 2.653409] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.653412] usb 3-1: Product: Fingerprint Sensor
[ 2.862010] usb 3-2: new low speed USB device using uhci_hcd and address 3
[ 2.985194] scsi 6:0:0:0: Direct-Access WDC WD10 EAVS-00D7B0 PQ: 0 ANSI: 2 CCS
[ 2.985684] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 2.986181] sd 6:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 2.986927] sd 6:0:0:0: [sdb] Write Protect is off
[ 2.986930] sd 6:0:0:0: [sdb] Mode Sense: 34 00 00 00
[ 2.986932] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 2.989304] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 2.989363] sdb: sdb1 sdb2 sdb3 sdb4 < sdb5
[ 3.025360] usb 3-2: New USB device found, idVendor=046d, idProduct=c00e
[ 3.025364] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.025366] usb 3-2: Product: USB-PS/2 Optical Mouse
[ 3.025368] usb 3-2: Manufacturer: Logitech
[ 3.030551] sdb6 sdb7 sdb8 >
[ 3.071794] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 3.071854] sd 6:0:0:0: [sdb] Attached SCSI disk
[ 3.076229] usbcore: registered new interface driver hiddev
[ 3.088558] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/input/input1
[ 3.088609] generic-usb 0003:046D:C00E.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.1-2/input0
[ 3.088624] usbcore: registered new interface driver usbhid
[ 3.088626] usbhid: USB HID core driver
[ 4.259401] device-mapper: uevent: version 1.0.3
[ 4.259514] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com
[ 4.264139] PM: Starting manual resume from disk
[ 4.293469] EXT3-fs: barriers not enabled
[ 4.307758] kjournald starting. Commit interval 5 seconds
[ 4.307780] EXT3-fs (sda2): mounted filesystem with writeback data mode
[ 6.972973] udev: starting version 157
[ 7.759424] ACPI: acpi_idle registered with cpuidle
[ 7.766009] Monitor-Mwait will be used to enter C-1 state
[ 7.766857] Monitor-Mwait will be used to enter C-2 state
[ 7.766865] Marking TSC unstable due to TSC halts in idle
[ 7.767843] Switching to clocksource hpet
[ 7.886561] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[ 7.886568] ACPI: Sleep Button [C242]
[ 7.886619] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input3
[ 7.886696] ACPI: Lid Switch [C23A]
[ 7.886759] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
[ 7.886763] ACPI: Power Button [PWRF]
[ 7.931096] [Firmware Bug]: ACPI: ACPI brightness control misses _BQC function
[ 7.931219] [Firmware Bug]: _BCQ is used instead of _BQC
[ 7.932380] acpi device:02: registered as cooling_device13
[ 7.932883] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input5
[ 7.932890] ACPI: Video Device [C12F] (multi-head: yes rom: no post: no)
[ 8.325247] ACPI: WMI: Mapper loaded
[ 8.336085] ACPI: AC Adapter [C1B8] (on-line)
[ 8.383762] ACPI: Battery Slot [C1BA] (battery present)
[ 8.383934] ACPI: Battery Slot [C1B9] (battery absent)
[ 8.415720] parport_pc 00:03: reported by Plug and Play ACPI
[ 8.415800] parport0: PC-style at 0x378 (0x778), irq 7, dma 1 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 8.580646] lis3lv02d: hardware type NC64x0 found.
[ 8.584533] lis3lv02d: 12 bits sensor found
[ 8.608396] NET: Registered protocol family 23
[ 8.758900] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input6
[ 8.758972] Registered led device: hp::hddprotect
[ 8.759011] lis3lv02d driver loaded.
[ 8.782732] tpm_tis 00:04: 1.2 TPM (device-id 0xB, rev-id 16)
[ 8.800175] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x2580b1, caps: 0xa04793/0x300000/0x0
[ 8.800184] serio: Synaptics pass-through port at isa0060/serio4/input0
[ 8.843742] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input7
[ 9.181463] input: PC Speaker as /devices/platform/pcspkr/input/input8
[ 9.510065] found SMC SuperIO Chip (devid=0x7a rev=01 base=0x004e): LPC47N227
[ 9.510090] smsc_superio_flat(): fir: 0x100, sir: 0x3e8, dma: 03, irq: 7, mode: 0x0e
[ 9.510094] smsc_ircc_present: can't get sir_base of 0x3e8
[ 9.608935] input: HP WMI hotkeys as /devices/virtual/input/input9
[ 9.839444] rtc_cmos 00:08: RTC can wake from S4
[ 9.839509] rtc_cmos 00:08: rtc core: registered rtc_cmos as rtc0
[ 9.839544] rtc0: alarms up to one month, y3k, 114 bytes nvram, hpet irqs
[ 9.906166] [drm] Initialized drm 1.1.0 20060810
[ 9.983007] iTCO_vendor_support: vendor-support=0
[ 9.984992] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
[ 9.985430] iTCO_wdt: Found a ICH7-M or ICH7-U TCO device (Version=2, TCOBASE=0x1060)
[ 9.985584] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[ 10.054873] yenta_cardbus 0000:02:06.0: CardBus bridge found [103c:30ac]
[ 10.054897] yenta_cardbus 0000:02:06.0: Enabling burst memory read transactions
[ 10.054904] yenta_cardbus 0000:02:06.0: Using INTVAL to route CSC interrupts to PCI
[ 10.054906] yenta_cardbus 0000:02:06.0: Routing CardBus interrupts to PCI
[ 10.054913] yenta_cardbus 0000:02:06.0: TI: mfunc 0x01aa1b22, devctl 0x64
[ 10.238573] intel_rng: FWH not detected
[ 10.277703] yenta_cardbus 0000:02:06.0: ISA IRQ mask 0x0c78, PCI irq 18
[ 10.277707] yenta_cardbus 0000:02:06.0: Socket status: 30000006
[ 10.277712] pci_bus 0000:02: Raising subordinate bus# of parent bus (#02) from #03 to #06
[ 10.277720] yenta_cardbus 0000:02:06.0: pcmcia: parent PCI bridge window: [io 0x8000-0x8fff]
[ 10.277724] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x8000-0x8fff: excluding 0x8000-0x80ff 0x8400-0x84ff
[ 10.285452] yenta_cardbus 0000:02:06.0: pcmcia: parent PCI bridge window: [mem 0xe0200000-0xe05fffff]
[ 10.285456] pcmcia_socket pcmcia_socket0: cs: memory probe 0xe0200000-0xe05fffff: excluding 0xe0200000-0xe023ffff
[ 10.285473] yenta_cardbus 0000:02:06.0: pcmcia: parent PCI bridge window: [mem 0x80000000-0x83ffffff pref]
[ 10.285476] pcmcia_socket pcmcia_socket0: cs: memory probe 0x80000000-0x83ffffff: excluding 0x80000000-0x83ffffff
[ 10.285849] tifm_7xx1 0000:02:06.2: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 10.479416] cfg80211: Calling CRDA to update world regulatory domain
[ 10.778369] [drm] VGACON disable radeon kernel modesetting.
[ 10.778955] pci 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 10.778961] pci 0000:01:00.0: setting latency timer to 64
[ 10.779133] [drm] Initialized radeon 1.33.0 20080528 for 0000:01:00.0 on minor 0
[ 10.798168] usbcore: registered new interface driver usbserial
[ 10.798188] USB Serial support registered for generic
[ 10.798217] usbcore: registered new interface driver usbserial_generic
[ 10.798220] usbserial: USB Serial Driver core
[ 10.925591] USB Serial support registered for Sierra USB modem
[ 10.925613] sierra 2-2:1.0: Sierra USB modem converter detected
[ 10.927600] usb 2-2: Sierra USB modem converter now attached to ttyUSB0
[ 10.927674] usb 2-2: Sierra USB modem converter now attached to ttyUSB1
[ 10.927745] usb 2-2: Sierra USB modem converter now attached to ttyUSB2
[ 10.927774] usbcore: registered new interface driver sierra
[ 10.927778] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
[ 11.396343] psmouse serio5: ID: 10 00 64
[ 11.708405] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: excluding 0x100-0x107 0x170-0x177 0x1f0-0x1f7 0x370-0x37f
[ 11.710684] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: excluding 0x3e8-0x3f7 0x4d0-0x4d7
[ 11.711615] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
[ 11.712435] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
[ 11.713308] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcffff 0xe0000-0xfffff
[ 11.713371] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff: clean.
[ 11.713433] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
[ 11.713496] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
[ 11.872137] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:ds
[ 11.872140] iwl3945: Copyright(c) 2003-2010 Intel Corporation
[ 11.872213] iwl3945 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 11.872228] iwl3945 0000:10:00.0: setting latency timer to 64
[ 11.926601] iwl3945 0000:10:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 11.926604] iwl3945 0000:10:00.0: Detected Intel Wireless WiFi Link 3945ABG
[ 11.926719] alloc irq_desc for 45 on node -1
[ 11.926721] alloc kstat_irqs on node -1
[ 11.926754] iwl3945 0000:10:00.0: irq 45 for MSI/MSI-X
[ 12.019609] phy0: Selected rate control algorithm 'iwl-3945-rs'
[ 13.151994] cfg80211: World regulatory domain updated:
[ 13.151997] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 13.152001] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.152004] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.152007] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 13.152010] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.152024] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 13.203453] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
[ 13.203490] HDA Intel 0000:00:1b.0: power state changed by ACPI to D0
[ 13.203501] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 13.203565] alloc irq_desc for 46 on node -1
[ 13.203568] alloc kstat_irqs on node -1
[ 13.203581] HDA Intel 0000:00:1b.0: irq 46 for MSI/MSI-X
[ 13.203618] HDA Intel 0000:00:1b.0: setting latency timer to 64
[ 13.203623] hda-intel: chipset global capabilities = 0x4401
[ 13.211048] hda-intel: codec_mask = 0x3
[ 13.211206] hda-intel: codec #0 probed OK
[ 13.211268] hda-intel: codec #1 probed OK
[ 13.244200] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input10
[ 13.244240] hda_codec: model 'hp' is selected for config 103c:0 (HP nx)
[ 14.098884] input: PS/2 Generic Mouse as /devices/platform/i8042/serio4/serio5/input/input11
[ 17.474655] EXT3-fs (sda2): using internal journal
[ 20.790551] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[ 20.900881] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 21.122017] fuse init (API version 7.14)
[ 24.365045] iwl3945 0000:10:00.0: loaded firmware version 15.32.2.9
[ 26.376069] iwl3945 0000:10:00.0: Wait for START_ALIVE timeout after 2000ms.
[ 26.414078] iwl3945 0000:10:00.0: Microcode SW error detected. Restarting 0x82000008.
[ 26.414290] iwl3945 0000:10:00.0: Loaded firmware version: 15.32.2.9
[ 26.414451] iwl3945 0000:10:00.0: Start IWL Error Log Dump:
[ 26.414583] iwl3945 0000:10:00.0: Status: 0x000202E4, count: 1
[ 26.414714] iwl3945 0000:10:00.0: Desc Time asrtPC blink2 ilink1 nmiPC Line
[ 26.415150] iwl3945 0000:10:00.0: SYSASSERT (#5) 0000012081 0x008B6 0x00274 0x00320 0x00320 116
[ 26.415152]
[ 26.415611] iwl3945 0000:10:00.0: Start IWL Event Log Dump: display last 20 count
[ 26.415856] iwl3945 0000:10:00.0: 0000001260 0x00209377 0450
[ 26.416006] iwl3945 0000:10:00.0: 0000001262 0x00209377 0450
[ 26.416022] iwl3945 0000:10:00.0: 0000001264 0x00209377 0450
[ 26.416022] iwl3945 0000:10:00.0: 0000001267 0x00209377 0450
[ 26.416022] iwl3945 0000:10:00.0: 0000001268 0x00000fff 0451
[ 26.416022] iwl3945 0000:10:00.0: 0000001339 0x04030047 0401
[ 26.416022] iwl3945 0000:10:00.0: 0000001443 0x04040047 0401
[ 26.416022] iwl3945 0000:10:00.0: 0000001539 0x04050097 0401
[ 26.416022] iwl3945 0000:10:00.0: 0000001541 0x00000001 0451
[ 26.416022] iwl3945 0000:10:00.0: 0000001561 0x00000000 0451
[ 26.416022] iwl3945 0000:10:00.0: 0000001584 0x000000d9 0106
[ 26.416022] iwl3945 0000:10:00.0: 0000001586 0x00000000 0301
[ 26.416022] iwl3945 0000:10:00.0: 0000001822 0x00000001 0353
[ 26.416022] iwl3945 0000:10:00.0: 0000001832 0x00000000 0352
[ 26.416022] iwl3945 0000:10:00.0: 0000001840 0x000000d9 0106
[ 26.416022] iwl3945 0000:10:00.0: 0000001842 0x00000000 0301
[ 26.416022] iwl3945 0000:10:00.0: 0000002076 0x00000002 0353
[ 26.416022] iwl3945 0000:10:00.0: 0000002087 0x00000000 0352
[ 26.416022] iwl3945 0000:10:00.0: 0000012079 0x00000004 0123
[ 26.416022] iwl3945 0000:10:00.0: 0000012082 0x00000100 0125
[ 26.418857] ------------[ cut here ]------------
[ 26.418871] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.418874] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.418877] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.418879] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.418973] Pid: 0, comm: swapper Not tainted 2.6.35-rc3-iniza-686-kms #1
[ 26.418976] Call Trace:
[ 26.418983] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.418991] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.418995] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.419001] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.419016] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.419020] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.419026] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.419030] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.419033] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.419037] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.419040] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.419044] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.419048] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.419059] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.419065] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.419068] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.419072] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.419075] ---[ end trace 995b9da0cb4183e1 ]---
[ 26.419078] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.419289] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.419499] ------------[ cut here ]------------
[ 26.419506] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.419509] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.419511] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.419513] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.419592] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.419594] Call Trace:
[ 26.419598] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.419606] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.419610] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.419616] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.419622] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.419626] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.419631] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.419635] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.419638] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.419642] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.419645] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.419648] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.419652] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.419660] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.419665] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.419668] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.419671] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.419674] ---[ end trace 995b9da0cb4183e2 ]---
[ 26.419676] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.419886] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.420103] ------------[ cut here ]------------
[ 26.420110] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.420113] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.420116] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.420117] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.420196] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.420198] Call Trace:
[ 26.420202] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.420210] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.420214] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.420220] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.420226] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.420230] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.420235] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.420239] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.420242] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.420246] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.420249] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.420252] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.420255] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.420264] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.420268] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.420271] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.420275] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.420277] ---[ end trace 995b9da0cb4183e3 ]---
[ 26.420280] iwl data: 00000000: 00 ee 79 f6 00 00 00 00 00 00 00 00 00 00 00 00 ..y.............
[ 26.420490] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.420700] ------------[ cut here ]------------
[ 26.420707] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.420709] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.420712] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.420714] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.420792] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.420794] Call Trace:
[ 26.420798] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.420806] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.420810] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.420816] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.420822] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.420825] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.420831] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.420834] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.420838] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.420841] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.420844] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.420847] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.420851] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.420859] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.420864] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.420867] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.420870] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.420873] ---[ end trace 995b9da0cb4183e4 ]---
[ 26.420875] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.421093] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.421303] ------------[ cut here ]------------
[ 26.421310] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.421313] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.421315] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.421317] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.421396] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.421398] Call Trace:
[ 26.421402] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.421410] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.421414] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.421420] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.421426] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.421430] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.421435] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.421439] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.421442] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.421445] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.421449] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.421452] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.421455] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.421463] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.421468] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.421471] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.421474] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.421477] ---[ end trace 995b9da0cb4183e5 ]---
[ 26.421479] iwl data: 00000000: 00 ce 79 f6 00 00 00 00 00 00 00 00 00 00 00 00 ..y.............
[ 26.421689] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.421903] ------------[ cut here ]------------
[ 26.421910] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.421912] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.421915] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.421917] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.421996] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.421998] Call Trace:
[ 26.422009] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.422017] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.422021] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.422027] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.422033] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.422037] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.422042] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.422046] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.422050] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.422053] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.422056] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.422059] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.422063] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.422071] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.422076] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.422079] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.422082] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.422085] ---[ end trace 995b9da0cb4183e6 ]---
[ 26.422087] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.422300] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.422513] ------------[ cut here ]------------
[ 26.422520] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.422523] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.422525] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.422527] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.422606] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.422608] Call Trace:
[ 26.422611] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.422619] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.422623] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.422630] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.422636] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.422639] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.422644] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.422648] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.422652] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.422655] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.422658] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.422661] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.422665] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.422673] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.422678] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.422681] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.422684] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.422686] ---[ end trace 995b9da0cb4183e7 ]---
[ 26.422689] iwl data: 00000000: 00 ae 79 f6 00 00 00 00 00 00 00 00 00 00 00 00 ..y.............
[ 26.422903] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.423124] ------------[ cut here ]------------
[ 26.423131] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.423133] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.423136] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.423138] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.423217] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.423219] Call Trace:
[ 26.423223] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.423231] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.423234] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.423241] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.423247] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.423250] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.423256] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.423259] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.423263] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.423266] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.423269] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.423273] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.423276] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.423285] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.423289] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.423292] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.423295] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.423298] ---[ end trace 995b9da0cb4183e8 ]---
[ 26.423300] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.423514] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.423728] ------------[ cut here ]------------
[ 26.423735] WARNING: at drivers/net/wireless/iwlwifi/iwl-tx.c:611 iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]()
[ 26.423737] Hardware name: HP Compaq nc6400 (RH572EA#ABD)
[ 26.423740] wrong command queue 0, sequence 0x0 readp=0 writep=2
[ 26.423742] Modules linked in: fuse ext4 jbd2 crc16 snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi arc4 ecb iwl3945 snd_rawmidi snd_seq_midi_event iwlcore snd_seq snd_timer snd_seq_device sierra usbserial radeon pcmcia mac80211 cfg80211 ttm rng_core drm_kms_helper snd tifm_7xx1 yenta_socket pcmcia_rsrc pcmcia_core iTCO_wdt iTCO_vendor_support drm soundcore intel_agp i2c_algo_bit hp_wmi i2c_core snd_page_alloc rtc_cmos tifm_core joydev tpm_infineon pcspkr rfkill evdev rtc_core rtc_lib tpm_tis tpm container irda hp_accel psmouse lis3lv02d parport_pc parport battery ac wmi tpm_bios crc_ccitt serio_raw input_polldev video button output processor ext3 jbd mbcache dm_mod usbhid hid sg sr_mod cdrom fan sd_mod pata_acpi ata_generic usb_storage uhci_hcd ahci ata_piix libahci ehci_hcd sdhci_pci sdhci libata mmc_core scsi_mod usbcore tg3 led_class nls_base thermal [last unloaded: scsi_wait_scan]
[ 26.423820] Pid: 0, comm: swapper Tainted: G W 2.6.35-rc3-iniza-686-kms #1
[ 26.423823] Call Trace:
[ 26.423826] [<c102e931>] ? warn_slowpath_common+0x6a/0x7b
[ 26.423834] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.423838] [<c102e9a8>] ? warn_slowpath_fmt+0x28/0x2c
[ 26.423844] [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
[ 26.423850] [<f92be25b>] ? iwl3945_rx_handle+0x282/0x387 [iwl3945]
[ 26.423854] [<c103cb6f>] ? __queue_work+0x1e/0x2a
[ 26.423859] [<f92be9c3>] ? iwl3945_irq_tasklet+0x3d5/0x5f8 [iwl3945]
[ 26.423863] [<c1032b17>] ? tasklet_action+0x87/0xda
[ 26.423866] [<c10330f4>] ? __do_softirq+0x80/0xfc
[ 26.423870] [<c103319e>] ? do_softirq+0x2e/0x38
[ 26.423873] [<c103326b>] ? irq_exit+0x29/0x64
[ 26.423876] [<c100440a>] ? do_IRQ+0x81/0x92
[ 26.423879] [<c10033a9>] ? common_interrupt+0x29/0x30
[ 26.423888] [<f86dc0bf>] ? acpi_idle_enter_simple+0xff/0x13c [processor]
[ 26.423892] [<c119f6b6>] ? cpuidle_idle_call+0x6b/0xa1
[ 26.423896] [<c100216b>] ? cpu_idle+0x46/0x73
[ 26.423899] [<c133089d>] ? start_kernel+0x31c/0x31f
[ 26.423901] ---[ end trace 995b9da0cb4183e9 ]---
[ 26.423903] iwl data: 00000000: 00 8e 79 f6 00 00 00 00 00 00 00 00 00 00 00 00 ..y.............
[ 26.424121] iwl data: 00000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
[ 26.424360] iwl3945 0000:10:00.0: Command REPLY_RXON failed: FW Error
[ 26.424493] iwl3945 0000:10:00.0: Error setting new configuration (-5).
[ 26.432470] iwl3945 0000:10:00.0: Can't stop Rx DMA.
[ 27.573761] NET: Registered protocol family 10
[ 27.574472] lo: Disabled Privacy Extensions
[ 27.575252] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 31.382911] lp0: using parport0 (interrupt-driven).
[ 31.382914] lp0: console ready
[ 31.411368] ppdev: user-space parallel port driver
[ 36.550818] Bluetooth: Core ver 2.15
[ 36.550841] NET: Registered protocol family 31
[ 36.550843] Bluetooth: HCI device and connection manager initialized
[ 36.550846] Bluetooth: HCI socket layer initialized
[ 36.588427] Bluetooth: L2CAP ver 2.14
[ 36.588429] Bluetooth: L2CAP socket layer initialized
[ 36.666979] Bluetooth: RFCOMM TTY layer initialized
[ 36.666984] Bluetooth: RFCOMM socket layer initialized
[ 36.666986] Bluetooth: RFCOMM ver 1.11
[ 36.730094] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 36.730097] Bluetooth: BNEP filters: protocol multicast
[ 36.826526] Bridge firewalling registered
[ 36.946506] Bluetooth: SCO (Voice Link) ver 0.6
[ 36.946509] Bluetooth: SCO socket layer initialized
[ 40.428470] CPUFREQ: Per core ondemand sysfs interface is deprecated - up_threshold
[ 40.429463] CPUFREQ: Per core ondemand sysfs interface is deprecated - ignore_nice_load
[ 66.130247] [drm] Module unloaded
[ 68.714386] [drm] Initialized drm 1.1.0 20060810
[ 68.749138] [drm] radeon kernel modesetting enabled.
[ 68.749183] radeon 0000:01:00.0: setting latency timer to 64
[ 68.750442] [drm] initializing kernel modesetting (RV515 0x1002:0x714A).
[ 68.753159] [drm] register mmio base: 0xE0600000
[ 68.753164] [drm] register mmio size: 65536
[ 68.753493] ATOM BIOS: M52T
[ 68.753520] [drm] Generation 2 PCI interface, using max accessible memory
[ 68.753525] radeon 0000:01:00.0: VRAM: 64M 0x00000000 - 0x03FFFFFF (64M used)
[ 68.753529] radeon 0000:01:00.0: GTT: 512M 0x04000000 - 0x23FFFFFF
[ 68.753603] alloc irq_desc for 47 on node -1
[ 68.753606] alloc kstat_irqs on node -1
[ 68.753617] radeon 0000:01:00.0: irq 47 for MSI/MSI-X
[ 68.753623] [drm] radeon: using MSI.
[ 68.753654] [drm] radeon: irq initialized.
[ 68.754826] [drm] Detected VRAM RAM=64M, BAR=64M
[ 68.754831] [drm] RAM width 64bits DDR
[ 68.754939] [TTM] Zone kernel: Available graphics memory: 443958 kiB.
[ 68.754942] [TTM] Zone highmem: Available graphics memory: 1037786 kiB.
[ 68.754944] [TTM] Initializing pool allocator.
[ 68.754967] [drm] radeon: 64M of VRAM memory ready
[ 68.754969] [drm] radeon: 512M of GTT memory ready.
[ 68.754995] [drm] GART: num cpu pages 131072, num gpu pages 131072
[ 68.756538] [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[ 68.757774] [drm] PCIE GART of 512M enabled (table at 0x00040000).
[ 68.757826] [drm] Loading R500 Microcode
[ 68.799743] [drm] radeon: ring at 0x0000000004000000
[ 68.799780] [drm] ring test succeeded in 10 usecs
[ 68.799968] [drm] radeon: ib pool ready.
[ 68.800071] [drm] ib test succeeded in 0 usecs
[ 68.800099] [drm] Default TV standard: NTSC
[ 68.800104] [drm] Default TV standard: NTSC
[ 68.800211] [drm] Default TV standard: NTSC
[ 68.800297] [drm] Radeon Display Connectors
[ 68.800299] [drm] Connector 0:
[ 68.800301] [drm] VGA
[ 68.800304] [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[ 68.800306] [drm] Encoders:
[ 68.800308] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 68.800310] [drm] Connector 1:
[ 68.800311] [drm] LVDS
[ 68.800314] [drm] DDC: 0x7e30 0x7e30 0x7e34 0x7e34 0x7e38 0x7e38 0x7e3c 0x7e3c
[ 68.800316] [drm] Encoders:
[ 68.800317] [drm] LCD1: INTERNAL_LVTM1
[ 68.800319] [drm] Connector 2:
[ 68.800321] [drm] S-video
[ 68.800322] [drm] Encoders:
[ 68.800324] [drm] TV1: INTERNAL_KLDSCP_DAC2
[ 68.800326] [drm] Connector 3:
[ 68.800327] [drm] DVI-I
[ 68.800329] [drm] HPD1
[ 68.800331] [drm] DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[ 68.800333] [drm] Encoders:
[ 68.800335] [drm] DFP1: INTERNAL_KLDSCP_TMDS1
[ 68.860565] [drm] radeon: power management initialized
[ 69.203842] [drm] fb mappable at 0xD80C0000
[ 69.203845] [drm] vram apper at 0xD8000000
[ 69.203847] [drm] size 4096000
[ 69.203849] [drm] fb depth is 24
[ 69.203851] [drm] pitch is 5120
[ 69.203911] fbcon: radeondrmfb (fb0) is primary device
[ 69.361280] Console: switching to colour frame buffer device 160x50
[ 69.366774] fb0: radeondrmfb frame buffer device
[ 69.366776] drm: registered panic notifier
[ 69.366780] Slow work thread pool: Starting up
[ 69.366873] Slow work thread pool: Ready
[ 69.366879] [drm] Initialized radeon 2.5.0 20080528 for 0000:01:00.0 on minor 0
[ 210.467312] iwl3945 0000:10:00.0: PCI INT A disabled
[ 225.541479] cfg80211: Calling CRDA to update world regulatory domain
[ 225.550830] cfg80211: World regulatory domain updated:
[ 225.550833] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 225.550837] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 225.550840] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 225.550843] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 225.550846] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 225.550849] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 225.583717] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:ds
[ 225.583720] iwl3945: Copyright(c) 2003-2010 Intel Corporation
[ 225.583798] iwl3945 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 225.583818] iwl3945 0000:10:00.0: setting latency timer to 64
[ 225.624390] iwl3945 0000:10:00.0: Tunable channels: 13 802.11bg, 23 802.11a channels
[ 225.624393] iwl3945 0000:10:00.0: Detected Intel Wireless WiFi Link 3945ABG
[ 225.624539] iwl3945 0000:10:00.0: irq 45 for MSI/MSI-X
[ 225.624944] phy0: Selected rate control algorithm 'iwl-3945-rs'
[ 237.107632] iwl3945 0000:10:00.0: loaded firmware version 15.32.2.9
[ 237.271672] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 237.388901] NET: Registered protocol family 17
[ 247.432406] wlan0: authenticate with 00:04:0e:e4:00:3d (try 1)
[ 247.434146] wlan0: authenticated
[ 247.434772] wlan0: associate with 00:04:0e:e4:00:3d (try 1)
[ 247.438402] wlan0: RX AssocResp from 00:04:0e:e4:00:3d (capab=0x411 status=0 aid=1)
[ 247.438409] wlan0: associated
[ 247.441688] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 247.520606] padlock: VIA PadLock not detected.
[ 258.210035] wlan0: no IPv6 routers present
^ permalink raw reply
* Re: pull request: wireless-2.6 2010-06-16 v2
From: David Miller @ 2010-06-16 21:43 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, netdev, linux-kernel
In-Reply-To: <20100616201300.GD3138@tuxdriver.com>
From: "John W. Linville" <linville@tuxdriver.com>
Date: Wed, 16 Jun 2010 16:13:00 -0400
> On Wed, Jun 16, 2010 at 11:50:08AM -0700, David Miller wrote:
>> From: "John W. Linville" <linville@tuxdriver.com>
>> Date: Wed, 16 Jun 2010 14:28:48 -0400
>>
>> > Here is another passel of of fixes intended for 2.6.35. Included are
>> > some build warning fixes, a PCI identifier, a fix for premature
>> > IRQs during hostap initialization, a fix for a warning caused by
>> > failing to cancel a scan watchdog in iwlwifi, a fix for a null
>> > pointer dereference in iwlwifi, and a fix for a race condition in
>> > the same driver. Also included is the MAINTAINERS change for the
>> > orphaning of the older Intel wireless drivers. All but the last few
>> > warning fixes have spent some time in linux-next already.
>> >
>> > Please let me know if there are problems!
>>
>> The patches removing unused function variables just to kill compile
>> warnings are not appropriate, _at_ _all_. They don't fix any real
>> bug, and they definitely don't fix entries in the regression list do
>> they?
>>
>> Kill all of those and resend this pull request.
>
> Fair enough...I dropped the warning fixes for the unused variables.
> But I kept the ones related to uninitialized variables, since
> those seem potentially more dangerous to ignore. Hopefully that
> is acceptable.
>
> Please let me know if there are problems!
Pulled, thanks!
^ permalink raw reply
* Re: 2.6.35-rc2-git2: Reported regressions from 2.6.34
From: Andrew Morton @ 2010-06-16 21:34 UTC (permalink / raw)
To: sedat.dilek
Cc: Sedat Dilek, Rafael J. Wysocki, Linux Kernel Mailing List,
Maciej Rutecki, Linus Torvalds, Kernel Testers List,
Network Development, Linux ACPI, Linux PM List, Linux SCSI List,
Linux Wireless List, DRI, dmonakhov
In-Reply-To: <AANLkTil-X5IMZMer7fHVPOMalsTJNliv-gMimzKmJ3Od@mail.gmail.com>
On Wed, 16 Jun 2010 23:00:37 +0200
Sedat Dilek <sedat.dilek@googlemail.com> wrote:
> On Wed, Jun 16, 2010 at 10:42 PM, Andrew Morton
> <akpm@linux-foundation.org> wrote:
> > On Wed, 9 Jun 2010 11:22:35 +0200
> > "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> >
> >> On Wednesday 09 June 2010, Sedat Dilek wrote:
> >> > The patch from [1] is still missing.
> >> >
> >> > __ __"cpufreq-call-nr_iowait_cpu-with-disabled-preemption.patch" from
> >> > Dmitry Monakhoc
> >> >
> >> > Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
> >> > Tested-by Maciej Rutecki <maciej.rutecki@gmail.com>
> >> >
> >> > I have already reported this issue on LKML [2] and cpufreq ML [3].
> >> >
> >> > - Sedat -
> >> >
> >> > [1] http://www.spinics.net/lists/cpufreq/msg01631.html
> >> > [2] http://lkml.org/lkml/2010/5/31/77
> >> > [3] http://www.spinics.net/lists/cpufreq/msg01637.html
> >>
> >> Thanks, added.
> >
> > I just merged a different patch whcih should address this:
>
> How do cpu-freq related stuff find its way into mainline?
> Is there a GIT repository/branch on <git.kernel.org> where you can pull from?
>
(top-posting repaired. Please don't)
Usually via the cpufreq git tree, mailing list and maintainer, as
described in ./MAINTAINERS.
But for a patch like this one, I'll just scoot it into mainline unless
Dave happens to grab it before I do that.
^ permalink raw reply
* Re: 2.6.35-rc2-git2: Reported regressions from 2.6.34
From: Sedat Dilek @ 2010-06-16 21:00 UTC (permalink / raw)
To: Andrew Morton
Cc: Rafael J. Wysocki, Linux Kernel Mailing List, Maciej Rutecki,
Linus Torvalds, Kernel Testers List, Network Development,
Linux ACPI, Linux PM List, Linux SCSI List, Linux Wireless List,
DRI, dmonakhov
In-Reply-To: <20100616134231.23ff30da.akpm@linux-foundation.org>
How do cpu-freq related stuff find its way into mainline?
Is there a GIT repository/branch on <git.kernel.org> where you can pull from?
- Sedat -
On Wed, Jun 16, 2010 at 10:42 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Wed, 9 Jun 2010 11:22:35 +0200
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
>> On Wednesday 09 June 2010, Sedat Dilek wrote:
>> > The patch from [1] is still missing.
>> >
>> > "cpufreq-call-nr_iowait_cpu-with-disabled-preemption.patch" from
>> > Dmitry Monakhoc
>> >
>> > Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
>> > Tested-by Maciej Rutecki <maciej.rutecki@gmail.com>
>> >
>> > I have already reported this issue on LKML [2] and cpufreq ML [3].
>> >
>> > - Sedat -
>> >
>> > [1] http://www.spinics.net/lists/cpufreq/msg01631.html
>> > [2] http://lkml.org/lkml/2010/5/31/77
>> > [3] http://www.spinics.net/lists/cpufreq/msg01637.html
>>
>> Thanks, added.
>
> I just merged a different patch whcih should address this:
>
>
> From: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
>
> Fix
>
> BUG: using smp_processor_id() in preemptible [00000000] code: s2disk/3392
> caller is nr_iowait_cpu+0xe/0x1e
> Pid: 3392, comm: s2disk Not tainted 2.6.35-rc3-dbg-00106-ga75e02b #2
> Call Trace:
> [<c1184c55>] debug_smp_processor_id+0xa5/0xbc
> [<c10282a5>] nr_iowait_cpu+0xe/0x1e
> [<c104ab7c>] update_ts_time_stats+0x32/0x6c
> [<c104ac73>] get_cpu_idle_time_us+0x36/0x58
> [<c124229b>] get_cpu_idle_time+0x12/0x74
> [<c1242963>] cpufreq_governor_dbs+0xc3/0x2dc
> [<c1240437>] __cpufreq_governor+0x51/0x85
> [<c1241190>] __cpufreq_set_policy+0x10c/0x13d
> [<c12413d3>] cpufreq_add_dev_interface+0x212/0x233
> [<c1241b1e>] ? handle_update+0x0/0xd
> [<c1241a18>] cpufreq_add_dev+0x34b/0x35a
> [<c103c973>] ? schedule_delayed_work_on+0x11/0x13
> [<c12c14db>] cpufreq_cpu_callback+0x59/0x63
> [<c1042f39>] notifier_call_chain+0x26/0x48
> [<c1042f7d>] __raw_notifier_call_chain+0xe/0x10
> [<c102efb9>] __cpu_notify+0x15/0x29
> [<c102efda>] cpu_notify+0xd/0xf
> [<c12bfb30>] _cpu_up+0xaf/0xd2
> [<c12b3ad4>] enable_nonboot_cpus+0x3d/0x94
> [<c1055eef>] hibernation_snapshot+0x104/0x1a2
> [<c1058b49>] snapshot_ioctl+0x24b/0x53e
> [<c1028ad1>] ? sub_preempt_count+0x7c/0x89
> [<c10ab91d>] vfs_ioctl+0x2e/0x8c
> [<c10588fe>] ? snapshot_ioctl+0x0/0x53e
> [<c10ac2c7>] do_vfs_ioctl+0x42f/0x45a
> [<c10a0ba5>] ? fsnotify_modify+0x4f/0x5a
> [<c11e9dc3>] ? tty_write+0x0/0x1d0
> [<c10a12d6>] ? vfs_write+0xa2/0xda
> [<c10ac333>] sys_ioctl+0x41/0x62
> [<c10027d3>] sysenter_do_call+0x12/0x2d
>
> The initial fix was to use get_cpu/put_cpu in nr_iowait_cpu. However,
> Arjan stated that "the bug is that it needs to be nr_iowait_cpu(int cpu)".
>
> This patch introduces nr_iowait_cpu(int cpu) and changes to it callers.
>
> akpm: addresses about 30,000,000 different bug reports.
>
> Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> Cc: Arjan van de Ven <arjan@infradead.org>
> Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
> Cc: Maxim Levitsky <maximlevitsky@gmail.com>
> Cc: Len Brown <len.brown@intel.com>
> Cc: Pavel Machek <pavel@ucw.cz>
> Cc: Jiri Slaby <jslaby@suse.cz>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/cpuidle/governors/menu.c | 10 ++++++++--
> include/linux/sched.h | 2 +-
> kernel/sched.c | 4 ++--
> kernel/time/tick-sched.c | 4 +++-
> 4 files changed, 14 insertions(+), 6 deletions(-)
>
> diff -puN drivers/cpuidle/governors/menu.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu drivers/cpuidle/governors/menu.c
> --- a/drivers/cpuidle/governors/menu.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
> +++ a/drivers/cpuidle/governors/menu.c
> @@ -137,15 +137,18 @@ static inline int which_bucket(unsigned
> {
> int bucket = 0;
>
> + int cpu = get_cpu();
> /*
> * We keep two groups of stats; one with no
> * IO pending, one without.
> * This allows us to calculate
> * E(duration)|iowait
> */
> - if (nr_iowait_cpu())
> + if (nr_iowait_cpu(cpu))
> bucket = BUCKETS/2;
>
> + put_cpu();
> +
> if (duration < 10)
> return bucket;
> if (duration < 100)
> @@ -169,13 +172,16 @@ static inline int which_bucket(unsigned
> static inline int performance_multiplier(void)
> {
> int mult = 1;
> + int cpu = get_cpu();
>
> /* for higher loadavg, we are more reluctant */
>
> mult += 2 * get_loadavg();
>
> /* for IO wait tasks (per cpu!) we add 5x each */
> - mult += 10 * nr_iowait_cpu();
> + mult += 10 * nr_iowait_cpu(cpu);
> +
> + put_cpu();
>
> return mult;
> }
> diff -puN include/linux/sched.h~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu include/linux/sched.h
> --- a/include/linux/sched.h~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
> +++ a/include/linux/sched.h
> @@ -139,7 +139,7 @@ extern int nr_processes(void);
> extern unsigned long nr_running(void);
> extern unsigned long nr_uninterruptible(void);
> extern unsigned long nr_iowait(void);
> -extern unsigned long nr_iowait_cpu(void);
> +extern unsigned long nr_iowait_cpu(int cpu);
> extern unsigned long this_cpu_load(void);
>
>
> diff -puN kernel/sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu kernel/sched.c
> --- a/kernel/sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
> +++ a/kernel/sched.c
> @@ -2864,9 +2864,9 @@ unsigned long nr_iowait(void)
> return sum;
> }
>
> -unsigned long nr_iowait_cpu(void)
> +unsigned long nr_iowait_cpu(int cpu)
> {
> - struct rq *this = this_rq();
> + struct rq *this = cpu_rq(cpu);
> return atomic_read(&this->nr_iowait);
> }
>
> diff -puN kernel/time/tick-sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu kernel/time/tick-sched.c
> --- a/kernel/time/tick-sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
> +++ a/kernel/time/tick-sched.c
> @@ -159,10 +159,12 @@ update_ts_time_stats(struct tick_sched *
> ktime_t delta;
>
> if (ts->idle_active) {
> + int cpu = get_cpu();
> delta = ktime_sub(now, ts->idle_entrytime);
> ts->idle_sleeptime = ktime_add(ts->idle_sleeptime, delta);
> - if (nr_iowait_cpu() > 0)
> + if (nr_iowait_cpu(cpu) > 0)
> ts->iowait_sleeptime = ktime_add(ts->iowait_sleeptime, delta);
> + put_cpu();
> ts->idle_entrytime = now;
> }
>
> _
>
>
^ permalink raw reply
* [PATCH] compat-wireless: backport netdev->br_port
From: Hauke Mehrtens @ 2010-06-16 20:49 UTC (permalink / raw)
To: lrodriguez; +Cc: linux-wireless, mcgrof, Hauke Mehrtens
In commit f350a0a87374418635689471606454abc7beaa3a the br_port
attribute was replaced with a private flag.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
patches/30-br-port-backport.patch | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 patches/30-br-port-backport.patch
diff --git a/patches/30-br-port-backport.patch b/patches/30-br-port-backport.patch
new file mode 100644
index 0000000..bb2491e
--- /dev/null
+++ b/patches/30-br-port-backport.patch
@@ -0,0 +1,31 @@
+In commit f350a0a87374418635689471606454abc7beaa3a the br_port
+attribute was replaced with a private flag.
+
+--- a/net/wireless/nl80211.c
++++ b/net/wireless/nl80211.c
+@@ -1109,7 +1109,11 @@ static int nl80211_valid_4addr(struct cf
+ enum nl80211_iftype iftype)
+ {
+ if (!use_4addr) {
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
+ if (netdev && (netdev->priv_flags & IFF_BRIDGE_PORT))
++#else
++ if (netdev && netdev->br_port)
++#endif
+ return -EBUSY;
+ return 0;
+ }
+--- a/net/wireless/util.c
++++ b/net/wireless/util.c
+@@ -770,7 +770,11 @@ int cfg80211_change_iface(struct cfg8021
+ return -EOPNOTSUPP;
+
+ /* if it's part of a bridge, reject changing type to station/ibss */
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36))
+ if ((dev->priv_flags & IFF_BRIDGE_PORT) &&
++#else
++ if (dev->br_port &&
++#endif
+ (ntype == NL80211_IFTYPE_ADHOC || ntype == NL80211_IFTYPE_STATION))
+ return -EBUSY;
+
--
1.7.0.4
^ permalink raw reply related
* Re: 2.6.35-rc2-git2: Reported regressions from 2.6.34
From: Andrew Morton @ 2010-06-16 20:42 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: sedat.dilek, Linux Kernel Mailing List, Maciej Rutecki,
Linus Torvalds, Kernel Testers List, Network Development,
Linux ACPI, Linux PM List, Linux SCSI List, Linux Wireless List,
DRI, dmonakhov
In-Reply-To: <201006091122.35304.rjw@sisk.pl>
On Wed, 9 Jun 2010 11:22:35 +0200
"Rafael J. Wysocki" <rjw@sisk.pl> wrote:
> On Wednesday 09 June 2010, Sedat Dilek wrote:
> > The patch from [1] is still missing.
> >
> > "cpufreq-call-nr_iowait_cpu-with-disabled-preemption.patch" from
> > Dmitry Monakhoc
> >
> > Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
> > Tested-by Maciej Rutecki <maciej.rutecki@gmail.com>
> >
> > I have already reported this issue on LKML [2] and cpufreq ML [3].
> >
> > - Sedat -
> >
> > [1] http://www.spinics.net/lists/cpufreq/msg01631.html
> > [2] http://lkml.org/lkml/2010/5/31/77
> > [3] http://www.spinics.net/lists/cpufreq/msg01637.html
>
> Thanks, added.
I just merged a different patch whcih should address this:
From: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Fix
BUG: using smp_processor_id() in preemptible [00000000] code: s2disk/3392
caller is nr_iowait_cpu+0xe/0x1e
Pid: 3392, comm: s2disk Not tainted 2.6.35-rc3-dbg-00106-ga75e02b #2
Call Trace:
[<c1184c55>] debug_smp_processor_id+0xa5/0xbc
[<c10282a5>] nr_iowait_cpu+0xe/0x1e
[<c104ab7c>] update_ts_time_stats+0x32/0x6c
[<c104ac73>] get_cpu_idle_time_us+0x36/0x58
[<c124229b>] get_cpu_idle_time+0x12/0x74
[<c1242963>] cpufreq_governor_dbs+0xc3/0x2dc
[<c1240437>] __cpufreq_governor+0x51/0x85
[<c1241190>] __cpufreq_set_policy+0x10c/0x13d
[<c12413d3>] cpufreq_add_dev_interface+0x212/0x233
[<c1241b1e>] ? handle_update+0x0/0xd
[<c1241a18>] cpufreq_add_dev+0x34b/0x35a
[<c103c973>] ? schedule_delayed_work_on+0x11/0x13
[<c12c14db>] cpufreq_cpu_callback+0x59/0x63
[<c1042f39>] notifier_call_chain+0x26/0x48
[<c1042f7d>] __raw_notifier_call_chain+0xe/0x10
[<c102efb9>] __cpu_notify+0x15/0x29
[<c102efda>] cpu_notify+0xd/0xf
[<c12bfb30>] _cpu_up+0xaf/0xd2
[<c12b3ad4>] enable_nonboot_cpus+0x3d/0x94
[<c1055eef>] hibernation_snapshot+0x104/0x1a2
[<c1058b49>] snapshot_ioctl+0x24b/0x53e
[<c1028ad1>] ? sub_preempt_count+0x7c/0x89
[<c10ab91d>] vfs_ioctl+0x2e/0x8c
[<c10588fe>] ? snapshot_ioctl+0x0/0x53e
[<c10ac2c7>] do_vfs_ioctl+0x42f/0x45a
[<c10a0ba5>] ? fsnotify_modify+0x4f/0x5a
[<c11e9dc3>] ? tty_write+0x0/0x1d0
[<c10a12d6>] ? vfs_write+0xa2/0xda
[<c10ac333>] sys_ioctl+0x41/0x62
[<c10027d3>] sysenter_do_call+0x12/0x2d
The initial fix was to use get_cpu/put_cpu in nr_iowait_cpu. However,
Arjan stated that "the bug is that it needs to be nr_iowait_cpu(int cpu)".
This patch introduces nr_iowait_cpu(int cpu) and changes to it callers.
akpm: addresses about 30,000,000 different bug reports.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
| 10 ++++++++--
include/linux/sched.h | 2 +-
kernel/sched.c | 4 ++--
kernel/time/tick-sched.c | 4 +++-
4 files changed, 14 insertions(+), 6 deletions(-)
diff -puN drivers/cpuidle/governors/menu.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu drivers/cpuidle/governors/menu.c
--- a/drivers/cpuidle/governors/menu.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
+++ a/drivers/cpuidle/governors/menu.c
@@ -137,15 +137,18 @@ static inline int which_bucket(unsigned
{
int bucket = 0;
+ int cpu = get_cpu();
/*
* We keep two groups of stats; one with no
* IO pending, one without.
* This allows us to calculate
* E(duration)|iowait
*/
- if (nr_iowait_cpu())
+ if (nr_iowait_cpu(cpu))
bucket = BUCKETS/2;
+ put_cpu();
+
if (duration < 10)
return bucket;
if (duration < 100)
@@ -169,13 +172,16 @@ static inline int which_bucket(unsigned
static inline int performance_multiplier(void)
{
int mult = 1;
+ int cpu = get_cpu();
/* for higher loadavg, we are more reluctant */
mult += 2 * get_loadavg();
/* for IO wait tasks (per cpu!) we add 5x each */
- mult += 10 * nr_iowait_cpu();
+ mult += 10 * nr_iowait_cpu(cpu);
+
+ put_cpu();
return mult;
}
diff -puN include/linux/sched.h~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu include/linux/sched.h
--- a/include/linux/sched.h~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
+++ a/include/linux/sched.h
@@ -139,7 +139,7 @@ extern int nr_processes(void);
extern unsigned long nr_running(void);
extern unsigned long nr_uninterruptible(void);
extern unsigned long nr_iowait(void);
-extern unsigned long nr_iowait_cpu(void);
+extern unsigned long nr_iowait_cpu(int cpu);
extern unsigned long this_cpu_load(void);
diff -puN kernel/sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu kernel/sched.c
--- a/kernel/sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
+++ a/kernel/sched.c
@@ -2864,9 +2864,9 @@ unsigned long nr_iowait(void)
return sum;
}
-unsigned long nr_iowait_cpu(void)
+unsigned long nr_iowait_cpu(int cpu)
{
- struct rq *this = this_rq();
+ struct rq *this = cpu_rq(cpu);
return atomic_read(&this->nr_iowait);
}
diff -puN kernel/time/tick-sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu kernel/time/tick-sched.c
--- a/kernel/time/tick-sched.c~cpuidle-avoid-using-smp_processor_id-in-preemptible-code-nr_iowait_cpu
+++ a/kernel/time/tick-sched.c
@@ -159,10 +159,12 @@ update_ts_time_stats(struct tick_sched *
ktime_t delta;
if (ts->idle_active) {
+ int cpu = get_cpu();
delta = ktime_sub(now, ts->idle_entrytime);
ts->idle_sleeptime = ktime_add(ts->idle_sleeptime, delta);
- if (nr_iowait_cpu() > 0)
+ if (nr_iowait_cpu(cpu) > 0)
ts->iowait_sleeptime = ktime_add(ts->iowait_sleeptime, delta);
+ put_cpu();
ts->idle_entrytime = now;
}
_
^ permalink raw reply
* Re: [PATCH 2.6.32.y] ath9k: re-enable ps by default for new single chip families
From: Justin P. Mattock @ 2010-06-16 20:40 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: Luis Rodriguez, Kristoffer Ericson, stable@kernel.org,
greg@kroah.com, linux-wireless@vger.kernel.org, Peter Stuge,
John W. Linville
In-Reply-To: <20100616200624.GE26198@tux>
On 06/16/2010 01:06 PM, Luis R. Rodriguez wrote:
> On Wed, Jun 16, 2010 at 12:14:51PM -0700, Justin P. Mattock wrote:
>> On 06/16/2010 11:16 AM, Luis R. Rodriguez wrote:
>>> On Wed, Jun 16, 2010 at 11:15:29AM -0700, Justin P. Mattock wrote:
>>>> On 06/16/2010 10:53 AM, Luis R. Rodriguez wrote:
>>>>> On Wed, Jun 16, 2010 at 09:01:36AM -0700, Justin P. Mattock wrote:
>>>>>> On 06/16/2010 08:49 AM, Luis R. Rodriguez wrote:
>>>>>>> On Wed, Jun 16, 2010 at 6:33 AM, Justin P. Mattock
>>>>>>> <justinmattock@gmail.com> wrote:
>>>>>>>> On 06/16/2010 01:12 AM, Kristoffer Ericson wrote:
>>>>>>>>>
>>>>>>>>> On Tue, Jun 15, 2010 at 06:19:19PM -0400, Luis R. Rodriguez wrote:
>>>>>>>>>>
>>>>>>>>>> commit 14acdde6e527950f66c084dbf19bad6fbfcaeedc upstream.
>>>>>>>>>>
>>>>>>>>>> The newer single chip hardware family of chipsets have not been
>>>>>>>>>> experiencing issues with power saving set by default with recent
>>>>>>>>>> fixes merged (even into stable). The remaining issues are only
>>>>>>>>>> reported with AR5416 and since enabling PS by default can increase
>>>>>>>>>> power savings considerably best to take advantage of that feature
>>>>>>>>>> as this has been tested properly.
>>>>>>>>>
>>>>>>>>> I havent had any issues lately. But that said Ive moved on to
>>>>>>>>> 2.6.33, 2.6.34 which seems to work fine. Believe you set
>>>>>>>>> to disabled by default on those?
>>>>>>>>>
>>>>>>>>> /Kristoffer
>>>>>>>>>
>>>>>>>>
>>>>>>>> just tried to add this patch to the latest HEAD, but realized
>>>>>>>> ath_set_hw_capab is missing(or I cant seem to grep it)
>>>>>>>> if you have a patch for the latest tree let me know I can see if I'm hitting
>>>>>>>> anything like before.
>>>>>>>
>>>>>>> The patch would already be merged since 2.6.33.y, this patch is a
>>>>>>> backport for 2.6.32.y. I just hadn't had time to backport it yet,
>>>>>>> until today.
>>>>>>>
>>>>>>> Luis
>>>>>>>
>>>>>>
>>>>>> so its already in there then..
>>>>>
>>>>> Right
>>>>>
>>>>>> if that's the case then the system runs
>>>>>> good with powersave on then..
>>>>>
>>>>> Did you read the patch by chance? It only enables power save for
>>>>> non-AR5416 hardware. What do you have?
>>>>>
>>>>> Luis
>>>>>
>>>>
>>>> mine is the AR5008
>>>
>>> Ok I should say, all AR5008 and AR9001 family chipsets have
>>> power save disabled still. Only AR9002 and up have it enabled
>>> now. The patch was doing the same for 2.6.32.
>>>
>>> Luis
>>>
>>
>> o.k. I have not tried what powersave does since the last time I looked
>> into this bug(if I remember 2.6.31/2 or so) I can manually
>> turn it on with iwconfig and see..
>
> Thanks but no need, its not the purpose of the patch.
>
> Luis
>
o.k.
Justin P. Mattock
^ permalink raw reply
* pull request: wireless-2.6 2010-06-16 v2
From: John W. Linville @ 2010-06-16 20:13 UTC (permalink / raw)
To: David Miller; +Cc: linux-wireless, netdev, linux-kernel
In-Reply-To: <20100616.115008.226776050.davem@davemloft.net>
On Wed, Jun 16, 2010 at 11:50:08AM -0700, David Miller wrote:
> From: "John W. Linville" <linville@tuxdriver.com>
> Date: Wed, 16 Jun 2010 14:28:48 -0400
>
> > Here is another passel of of fixes intended for 2.6.35. Included are
> > some build warning fixes, a PCI identifier, a fix for premature
> > IRQs during hostap initialization, a fix for a warning caused by
> > failing to cancel a scan watchdog in iwlwifi, a fix for a null
> > pointer dereference in iwlwifi, and a fix for a race condition in
> > the same driver. Also included is the MAINTAINERS change for the
> > orphaning of the older Intel wireless drivers. All but the last few
> > warning fixes have spent some time in linux-next already.
> >
> > Please let me know if there are problems!
>
> The patches removing unused function variables just to kill compile
> warnings are not appropriate, _at_ _all_. They don't fix any real
> bug, and they definitely don't fix entries in the regression list do
> they?
>
> Kill all of those and resend this pull request.
Fair enough...I dropped the warning fixes for the unused variables.
But I kept the ones related to uninitialized variables, since
those seem potentially more dangerous to ignore. Hopefully that
is acceptable.
Please let me know if there are problems!
John
---
The following changes since commit fed396a585d8e1870b326f2e8e1888a72957abb8:
Herbert Xu (1):
bridge: Fix OOM crash in deliver_clone
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master
Christoph Fritz (1):
mac80211: fix warn, enum may be used uninitialized
Joerg Albert (1):
p54pci: add Symbol AP-300 minipci adapters pciid
John W. Linville (1):
iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
Prarit Bhargava (1):
libertas_tf: Fix warning in lbtf_rx for stats struct
Reinette Chatre (1):
iwlwifi: serialize station management actions
Shanyu Zhao (1):
iwlagn: verify flow id in compressed BA packet
Tim Gardner (1):
hostap: Protect against initialization interrupt
Zhu Yi (1):
wireless: orphan ipw2x00 drivers
MAINTAINERS | 10 ++--------
drivers/net/wireless/hostap/hostap_cs.c | 15 +++++++++++++--
drivers/net/wireless/hostap/hostap_hw.c | 13 +++++++++++++
drivers/net/wireless/hostap/hostap_wlan.h | 2 +-
drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 5 +++++
drivers/net/wireless/iwlwifi/iwl-agn.c | 8 ++++++--
drivers/net/wireless/iwlwifi/iwl-scan.c | 1 +
drivers/net/wireless/iwlwifi/iwl-sta.c | 4 ++++
drivers/net/wireless/iwlwifi/iwl3945-base.c | 9 +++++++--
drivers/net/wireless/libertas_tf/main.c | 2 +-
drivers/net/wireless/p54/p54pci.c | 2 ++
net/mac80211/work.c | 2 +-
12 files changed, 56 insertions(+), 17 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 83be538..837a754 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2966,20 +2966,14 @@ F: drivers/net/ixgb/
F: drivers/net/ixgbe/
INTEL PRO/WIRELESS 2100 NETWORK CONNECTION SUPPORT
-M: Reinette Chatre <reinette.chatre@intel.com>
-M: Intel Linux Wireless <ilw@linux.intel.com>
L: linux-wireless@vger.kernel.org
-W: http://ipw2100.sourceforge.net
-S: Odd Fixes
+S: Orphan
F: Documentation/networking/README.ipw2100
F: drivers/net/wireless/ipw2x00/ipw2100.*
INTEL PRO/WIRELESS 2915ABG NETWORK CONNECTION SUPPORT
-M: Reinette Chatre <reinette.chatre@intel.com>
-M: Intel Linux Wireless <ilw@linux.intel.com>
L: linux-wireless@vger.kernel.org
-W: http://ipw2200.sourceforge.net
-S: Odd Fixes
+S: Orphan
F: Documentation/networking/README.ipw2200
F: drivers/net/wireless/ipw2x00/ipw2200.*
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
index db72461..29b31a6 100644
--- a/drivers/net/wireless/hostap/hostap_cs.c
+++ b/drivers/net/wireless/hostap/hostap_cs.c
@@ -594,6 +594,7 @@ static int prism2_config(struct pcmcia_device *link)
local_info_t *local;
int ret = 1;
struct hostap_cs_priv *hw_priv;
+ unsigned long flags;
PDEBUG(DEBUG_FLOW, "prism2_config()\n");
@@ -625,9 +626,15 @@ static int prism2_config(struct pcmcia_device *link)
local->hw_priv = hw_priv;
hw_priv->link = link;
+ /*
+ * Make sure the IRQ handler cannot proceed until at least
+ * dev->base_addr is initialized.
+ */
+ spin_lock_irqsave(&local->irq_init_lock, flags);
+
ret = pcmcia_request_irq(link, prism2_interrupt);
if (ret)
- goto failed;
+ goto failed_unlock;
/*
* This actually configures the PCMCIA socket -- setting up
@@ -636,11 +643,13 @@ static int prism2_config(struct pcmcia_device *link)
*/
ret = pcmcia_request_configuration(link, &link->conf);
if (ret)
- goto failed;
+ goto failed_unlock;
dev->irq = link->irq;
dev->base_addr = link->io.BasePort1;
+ spin_unlock_irqrestore(&local->irq_init_lock, flags);
+
/* Finally, report what we've done */
printk(KERN_INFO "%s: index 0x%02x: ",
dev_info, link->conf.ConfigIndex);
@@ -667,6 +676,8 @@ static int prism2_config(struct pcmcia_device *link)
return ret;
+ failed_unlock:
+ spin_unlock_irqrestore(&local->irq_init_lock, flags);
failed:
kfree(hw_priv);
prism2_release((u_long)link);
diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c
index ff9b5c8..2f999fc 100644
--- a/drivers/net/wireless/hostap/hostap_hw.c
+++ b/drivers/net/wireless/hostap/hostap_hw.c
@@ -2621,6 +2621,18 @@ static irqreturn_t prism2_interrupt(int irq, void *dev_id)
iface = netdev_priv(dev);
local = iface->local;
+ /* Detect early interrupt before driver is fully configued */
+ spin_lock(&local->irq_init_lock);
+ if (!dev->base_addr) {
+ if (net_ratelimit()) {
+ printk(KERN_DEBUG "%s: Interrupt, but dev not configured\n",
+ dev->name);
+ }
+ spin_unlock(&local->irq_init_lock);
+ return IRQ_HANDLED;
+ }
+ spin_unlock(&local->irq_init_lock);
+
prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 0);
if (local->func->card_present && !local->func->card_present(local)) {
@@ -3138,6 +3150,7 @@ prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx,
spin_lock_init(&local->cmdlock);
spin_lock_init(&local->baplock);
spin_lock_init(&local->lock);
+ spin_lock_init(&local->irq_init_lock);
mutex_init(&local->rid_bap_mtx);
if (card_idx < 0 || card_idx >= MAX_PARM_DEVICES)
diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h
index 3d23891..1ba33be 100644
--- a/drivers/net/wireless/hostap/hostap_wlan.h
+++ b/drivers/net/wireless/hostap/hostap_wlan.h
@@ -654,7 +654,7 @@ struct local_info {
rwlock_t iface_lock; /* hostap_interfaces read lock; use write lock
* when removing entries from the list.
* TX and RX paths can use read lock. */
- spinlock_t cmdlock, baplock, lock;
+ spinlock_t cmdlock, baplock, lock, irq_init_lock;
struct mutex rid_bap_mtx;
u16 infofid; /* MAC buffer id for info frame */
/* txfid, intransmitfid, next_txtid, and next_alloc are protected by
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
index a732f10..7d614c4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
@@ -1299,6 +1299,11 @@ void iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
sta_id = ba_resp->sta_id;
tid = ba_resp->tid;
agg = &priv->stations[sta_id].tid[tid].agg;
+ if (unlikely(agg->txq_id != scd_flow)) {
+ IWL_ERR(priv, "BA scd_flow %d does not match txq_id %d\n",
+ scd_flow, agg->txq_id);
+ return;
+ }
/* Find index just before block-ack window */
index = iwl_queue_dec_wrap(ba_resp_scd_ssn & 0xff, txq->q.n_bd);
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 7726e67..24aff65 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3391,10 +3391,12 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
int ret;
u8 sta_id;
- sta_priv->common.sta_id = IWL_INVALID_STATION;
-
IWL_DEBUG_INFO(priv, "received request to add station %pM\n",
sta->addr);
+ mutex_lock(&priv->mutex);
+ IWL_DEBUG_INFO(priv, "proceeding to add station %pM\n",
+ sta->addr);
+ sta_priv->common.sta_id = IWL_INVALID_STATION;
atomic_set(&sta_priv->pending_frames, 0);
if (vif->type == NL80211_IFTYPE_AP)
@@ -3406,6 +3408,7 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
IWL_ERR(priv, "Unable to add station %pM (%d)\n",
sta->addr, ret);
/* Should we return success if return code is EEXIST ? */
+ mutex_unlock(&priv->mutex);
return ret;
}
@@ -3415,6 +3418,7 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n",
sta->addr);
iwl_rs_rate_init(priv, sta, sta_id);
+ mutex_unlock(&priv->mutex);
return 0;
}
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c
index 5d3f51f..386c5f9 100644
--- a/drivers/net/wireless/iwlwifi/iwl-scan.c
+++ b/drivers/net/wireless/iwlwifi/iwl-scan.c
@@ -491,6 +491,7 @@ void iwl_bg_abort_scan(struct work_struct *work)
mutex_lock(&priv->mutex);
+ cancel_delayed_work_sync(&priv->scan_check);
set_bit(STATUS_SCAN_ABORTING, &priv->status);
iwl_send_scan_abort(priv);
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c
index 83a2636..c27c13f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-sta.c
+++ b/drivers/net/wireless/iwlwifi/iwl-sta.c
@@ -1373,10 +1373,14 @@ int iwl_mac_sta_remove(struct ieee80211_hw *hw,
IWL_DEBUG_INFO(priv, "received request to remove station %pM\n",
sta->addr);
+ mutex_lock(&priv->mutex);
+ IWL_DEBUG_INFO(priv, "proceeding to remove station %pM\n",
+ sta->addr);
ret = iwl_remove_station(priv, sta_common->sta_id, sta->addr);
if (ret)
IWL_ERR(priv, "Error removing station %pM\n",
sta->addr);
+ mutex_unlock(&priv->mutex);
return ret;
}
EXPORT_SYMBOL(iwl_mac_sta_remove);
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 6c353ca..a27872d 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -3437,10 +3437,13 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
bool is_ap = vif->type == NL80211_IFTYPE_STATION;
u8 sta_id;
- sta_priv->common.sta_id = IWL_INVALID_STATION;
-
IWL_DEBUG_INFO(priv, "received request to add station %pM\n",
sta->addr);
+ mutex_lock(&priv->mutex);
+ IWL_DEBUG_INFO(priv, "proceeding to add station %pM\n",
+ sta->addr);
+ sta_priv->common.sta_id = IWL_INVALID_STATION;
+
ret = iwl_add_station_common(priv, sta->addr, is_ap, &sta->ht_cap,
&sta_id);
@@ -3448,6 +3451,7 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
IWL_ERR(priv, "Unable to add station %pM (%d)\n",
sta->addr, ret);
/* Should we return success if return code is EEXIST ? */
+ mutex_unlock(&priv->mutex);
return ret;
}
@@ -3457,6 +3461,7 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n",
sta->addr);
iwl3945_rs_rate_init(priv, sta, sta_id);
+ mutex_unlock(&priv->mutex);
return 0;
}
diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c
index 6a04c21..817fffc 100644
--- a/drivers/net/wireless/libertas_tf/main.c
+++ b/drivers/net/wireless/libertas_tf/main.c
@@ -549,7 +549,7 @@ int lbtf_rx(struct lbtf_private *priv, struct sk_buff *skb)
prxpd = (struct rxpd *) skb->data;
- stats.flag = 0;
+ memset(&stats, 0, sizeof(stats));
if (!(prxpd->status & cpu_to_le16(MRVDRV_RXPD_STATUS_OK)))
stats.flag |= RX_FLAG_FAILED_FCS_CRC;
stats.freq = priv->cur_freq;
diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c
index 07c4528..a5ea89c 100644
--- a/drivers/net/wireless/p54/p54pci.c
+++ b/drivers/net/wireless/p54/p54pci.c
@@ -41,6 +41,8 @@ static DEFINE_PCI_DEVICE_TABLE(p54p_table) = {
{ PCI_DEVICE(0x1260, 0x3877) },
/* Intersil PRISM Javelin/Xbow Wireless LAN adapter */
{ PCI_DEVICE(0x1260, 0x3886) },
+ /* Intersil PRISM Xbow Wireless LAN adapter (Symbol AP-300) */
+ { PCI_DEVICE(0x1260, 0xffff) },
{ },
};
diff --git a/net/mac80211/work.c b/net/mac80211/work.c
index be3d4a6..b025dc7 100644
--- a/net/mac80211/work.c
+++ b/net/mac80211/work.c
@@ -715,7 +715,7 @@ static void ieee80211_work_rx_queued_mgmt(struct ieee80211_local *local,
struct ieee80211_rx_status *rx_status;
struct ieee80211_mgmt *mgmt;
struct ieee80211_work *wk;
- enum work_action rma;
+ enum work_action rma = WORK_ACT_NONE;
u16 fc;
rx_status = (struct ieee80211_rx_status *) skb->cb;
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply related
* Re: [PATCH 2.6.32.y] ath9k: re-enable ps by default for new single chip families
From: Luis R. Rodriguez @ 2010-06-16 20:06 UTC (permalink / raw)
To: Justin P. Mattock
Cc: Luis Rodriguez, Kristoffer Ericson, stable@kernel.org,
greg@kroah.com, linux-wireless@vger.kernel.org, Peter Stuge,
John W. Linville
In-Reply-To: <4C1922AB.9090604@gmail.com>
On Wed, Jun 16, 2010 at 12:14:51PM -0700, Justin P. Mattock wrote:
> On 06/16/2010 11:16 AM, Luis R. Rodriguez wrote:
> > On Wed, Jun 16, 2010 at 11:15:29AM -0700, Justin P. Mattock wrote:
> >> On 06/16/2010 10:53 AM, Luis R. Rodriguez wrote:
> >>> On Wed, Jun 16, 2010 at 09:01:36AM -0700, Justin P. Mattock wrote:
> >>>> On 06/16/2010 08:49 AM, Luis R. Rodriguez wrote:
> >>>>> On Wed, Jun 16, 2010 at 6:33 AM, Justin P. Mattock
> >>>>> <justinmattock@gmail.com> wrote:
> >>>>>> On 06/16/2010 01:12 AM, Kristoffer Ericson wrote:
> >>>>>>>
> >>>>>>> On Tue, Jun 15, 2010 at 06:19:19PM -0400, Luis R. Rodriguez wrote:
> >>>>>>>>
> >>>>>>>> commit 14acdde6e527950f66c084dbf19bad6fbfcaeedc upstream.
> >>>>>>>>
> >>>>>>>> The newer single chip hardware family of chipsets have not been
> >>>>>>>> experiencing issues with power saving set by default with recent
> >>>>>>>> fixes merged (even into stable). The remaining issues are only
> >>>>>>>> reported with AR5416 and since enabling PS by default can increase
> >>>>>>>> power savings considerably best to take advantage of that feature
> >>>>>>>> as this has been tested properly.
> >>>>>>>
> >>>>>>> I havent had any issues lately. But that said Ive moved on to
> >>>>>>> 2.6.33, 2.6.34 which seems to work fine. Believe you set
> >>>>>>> to disabled by default on those?
> >>>>>>>
> >>>>>>> /Kristoffer
> >>>>>>>
> >>>>>>
> >>>>>> just tried to add this patch to the latest HEAD, but realized
> >>>>>> ath_set_hw_capab is missing(or I cant seem to grep it)
> >>>>>> if you have a patch for the latest tree let me know I can see if I'm hitting
> >>>>>> anything like before.
> >>>>>
> >>>>> The patch would already be merged since 2.6.33.y, this patch is a
> >>>>> backport for 2.6.32.y. I just hadn't had time to backport it yet,
> >>>>> until today.
> >>>>>
> >>>>> Luis
> >>>>>
> >>>>
> >>>> so its already in there then..
> >>>
> >>> Right
> >>>
> >>>> if that's the case then the system runs
> >>>> good with powersave on then..
> >>>
> >>> Did you read the patch by chance? It only enables power save for
> >>> non-AR5416 hardware. What do you have?
> >>>
> >>> Luis
> >>>
> >>
> >> mine is the AR5008
> >
> > Ok I should say, all AR5008 and AR9001 family chipsets have
> > power save disabled still. Only AR9002 and up have it enabled
> > now. The patch was doing the same for 2.6.32.
> >
> > Luis
> >
>
> o.k. I have not tried what powersave does since the last time I looked
> into this bug(if I remember 2.6.31/2 or so) I can manually
> turn it on with iwconfig and see..
Thanks but no need, its not the purpose of the patch.
Luis
^ permalink raw reply
* OOPS in ath5k when setting coverage class
From: Steve Brown @ 2010-06-16 19:32 UTC (permalink / raw)
To: ath5k-devel; +Cc: linux-wireless
From the printk's, it appears that ah->ah_current_channel isn't set at
the time of the callback.
The following produces the oops with compat-wireless-2010-06-10.
Steve
---------------------------------
rmmod ath5k
insmod ath5k
iw phy0 set distance 11000
pcu.c:ath5k_hw_set_coverage_class:849 ah:cf8c0000 coverage_class:25
pcu.c:ath5k_hw_get_default_slottime:254 ah:cf8c0000 channel:(null)
BUG: unable to handle kernel NULL pointer dereference at 00000006
IP: [<d0a1ff24>] ath5k_hw_set_coverage_class+0x74/0x1b0 [ath5k]
*pde = 00000000
Oops: 0000 [#1]
last sysfs file: /sys/devices/pci0000:00/0000:00:0e.0/ieee80211/phy0/index
Modules linked in: usbhid option usb_storage usbserial usblp evdev lm90
scx200_acb i2c_algo_bit i2c_dev i2c_core via_rhine ohci_hcd ne2k_pci
8390 leds_alix2 xt_IMQ imq nf_nat_tftp nf_conntrack_tftp nf_nat_irc nf_cc
Pid: 1597, comm: iw Not tainted (2.6.32.14 #8)
EIP: 0060:[<d0a1ff24>] EFLAGS: 00010296 CPU: 0
EIP is at ath5k_hw_set_coverage_class+0x74/0x1b0 [ath5k]
EAX: 000000c2 EBX: 00000000 ECX: ffffffff EDX: c12d2080
ESI: 00000019 EDI: cf8c0000 EBP: d0a30edc ESP: cfa09bf4
DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
Process iw (pid: 1597, ti=cfa09000 task=cf88a000 task.ti=cfa09000)
Stack:
d0a34f35 d0a353f8 d0a30edc 000000fe cf8c0000 00000000 1900063d cfa8c9e0
<0> cfa8c9e8 cfa8c0c0 cfa8c000 d0a27f0c 199d84b4 cfa8c200 00000010 d09bfdc7
<0> 00000000 00000000 ffffffff d08e0d28 cf9263c0 00000001 cfa09cc4 00000000
Call Trace:
[<d0a27f0c>] ? ath5k_hw_attach+0xc8c/0x3c10 [ath5k]
[<d09bfdc7>] ? __ieee80211_request_smps+0x1347/0x1580 [mac80211]
[<d08e0d28>] ? nl80211_send_scan_start+0x7b8/0x4520 [cfg80211]
[<c10f5db9>] ? nla_parse+0x59/0xc0
[<c11ca8d9>] ? genl_rcv_msg+0x169/0x1a0
[<c11ca770>] ? genl_rcv_msg+0x0/0x1a0
[<c11c7e68>] ? netlink_rcv_skb+0x38/0x90
[<c11c9649>] ? genl_rcv+0x19/0x30
[<c11c7c03>] ? netlink_unicast+0x1b3/0x220
[<c11c893e>] ? netlink_sendmsg+0x26e/0x290
[<c11a409e>] ? sock_sendmsg+0xbe/0xf0
[<c1032780>] ? autoremove_wake_function+0x0/0x50
[<c104d846>] ? __alloc_pages_nodemask+0x106/0x530
[<c1074933>] ? do_lookup+0x53/0x1b0
[<c10766f9>] ? __link_path_walk+0x9b9/0x9e0
[<c11acab0>] ? verify_iovec+0x50/0x90
[<c11a42b1>] ? sys_sendmsg+0x1e1/0x270
[<c1048e50>] ? find_get_page+0x10/0x50
[<c104a96f>] ? filemap_fault+0x5f/0x370
[<c1059159>] ? __do_fault+0x319/0x370
[<c11a55b4>] ? sys_socketcall+0x244/0x290
[<c101962c>] ? do_page_fault+0x1ec/0x270
[<c1019440>] ? do_page_fault+0x0/0x270
[<c1002ae5>] ? syscall_call+0x7/0xb
Code: 00 b8 fe 00 00 00 b9 f8 53 a3 d0 89 5c 24 14 89 7c 24 10 89 44 24
0c 89 6c 24 08 89 4c 24 04 c7 04 24 35 4f a3 d0 e8 7c 30 60 f0 <0f> b7
43 06 ba 06 00 00 00 a8 10 75 0e 83 e0 20 83 f8 01 19 d2
EIP: [<d0a1ff24>] ath5k_hw_set_coverage_class+0x74/0x1b0 [ath5k] SS:ESP
0068:cfa09bf4
CR2: 0000000000000006
---[ end trace 54f73d6b10ceb87b ]---
Killed
^ permalink raw reply
* Re: [PATCH 2.6.32.y] ath9k: re-enable ps by default for new single chip families
From: Justin P. Mattock @ 2010-06-16 19:14 UTC (permalink / raw)
To: Luis R. Rodriguez
Cc: Luis Rodriguez, Kristoffer Ericson, stable@kernel.org,
greg@kroah.com, linux-wireless@vger.kernel.org, Peter Stuge,
John W. Linville
In-Reply-To: <20100616181622.GD26198@tux>
On 06/16/2010 11:16 AM, Luis R. Rodriguez wrote:
> On Wed, Jun 16, 2010 at 11:15:29AM -0700, Justin P. Mattock wrote:
>> On 06/16/2010 10:53 AM, Luis R. Rodriguez wrote:
>>> On Wed, Jun 16, 2010 at 09:01:36AM -0700, Justin P. Mattock wrote:
>>>> On 06/16/2010 08:49 AM, Luis R. Rodriguez wrote:
>>>>> On Wed, Jun 16, 2010 at 6:33 AM, Justin P. Mattock
>>>>> <justinmattock@gmail.com> wrote:
>>>>>> On 06/16/2010 01:12 AM, Kristoffer Ericson wrote:
>>>>>>>
>>>>>>> On Tue, Jun 15, 2010 at 06:19:19PM -0400, Luis R. Rodriguez wrote:
>>>>>>>>
>>>>>>>> commit 14acdde6e527950f66c084dbf19bad6fbfcaeedc upstream.
>>>>>>>>
>>>>>>>> The newer single chip hardware family of chipsets have not been
>>>>>>>> experiencing issues with power saving set by default with recent
>>>>>>>> fixes merged (even into stable). The remaining issues are only
>>>>>>>> reported with AR5416 and since enabling PS by default can increase
>>>>>>>> power savings considerably best to take advantage of that feature
>>>>>>>> as this has been tested properly.
>>>>>>>
>>>>>>> I havent had any issues lately. But that said Ive moved on to
>>>>>>> 2.6.33, 2.6.34 which seems to work fine. Believe you set
>>>>>>> to disabled by default on those?
>>>>>>>
>>>>>>> /Kristoffer
>>>>>>>
>>>>>>
>>>>>> just tried to add this patch to the latest HEAD, but realized
>>>>>> ath_set_hw_capab is missing(or I cant seem to grep it)
>>>>>> if you have a patch for the latest tree let me know I can see if I'm hitting
>>>>>> anything like before.
>>>>>
>>>>> The patch would already be merged since 2.6.33.y, this patch is a
>>>>> backport for 2.6.32.y. I just hadn't had time to backport it yet,
>>>>> until today.
>>>>>
>>>>> Luis
>>>>>
>>>>
>>>> so its already in there then..
>>>
>>> Right
>>>
>>>> if that's the case then the system runs
>>>> good with powersave on then..
>>>
>>> Did you read the patch by chance? It only enables power save for
>>> non-AR5416 hardware. What do you have?
>>>
>>> Luis
>>>
>>
>> mine is the AR5008
>
> Ok I should say, all AR5008 and AR9001 family chipsets have
> power save disabled still. Only AR9002 and up have it enabled
> now. The patch was doing the same for 2.6.32.
>
> Luis
>
o.k. I have not tried what powersave does since the last time I looked
into this bug(if I remember 2.6.31/2 or so) I can manually
turn it on with iwconfig and see..
Justin P. Mattock
^ permalink raw reply
* Re: [PATCHv2] mac80211: Add interface for driver to temporarily disable dynamic ps
From: John W. Linville @ 2010-06-16 18:57 UTC (permalink / raw)
To: Juuso Oikarinen; +Cc: linux-wireless
In-Reply-To: <1276668092-28872-1-git-send-email-juuso.oikarinen@nokia.com>
On Wed, Jun 16, 2010 at 09:01:32AM +0300, Juuso Oikarinen wrote:
> This mechanism introduced in this patch applies (at least) for hardware
> designs using a single shared antenna for both WLAN and BT. In these designs,
> the antenna must be toggled between WLAN and BT.
>
> In those hardware, managing WLAN co-existence with Bluetooth requires WLAN
> full power save whenever there is Bluetooth activity in order for WLAN to be
> able to periodically relinquish the antenna to be used for BT. This is because
> BT can only access the shared antenna when WLAN is idle or asleep.
Maybe it is just me, but
void ieee80211_enable_dyn_ps(struct ieee80211_vif *vif)
void ieee80211_disable_dyn_ps(struct ieee80211_vif *vif)
would make more sense than
void ieee80211_disable_dyn_ps(struct ieee80211_vif *vif, bool disable)
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply
* Re: pull request: wireless-2.6 2010-06-16
From: David Miller @ 2010-06-16 18:50 UTC (permalink / raw)
To: linville; +Cc: linux-wireless, netdev, linux-kernel
In-Reply-To: <20100616182847.GB3138@tuxdriver.com>
From: "John W. Linville" <linville@tuxdriver.com>
Date: Wed, 16 Jun 2010 14:28:48 -0400
> Here is another passel of of fixes intended for 2.6.35. Included are
> some build warning fixes, a PCI identifier, a fix for premature
> IRQs during hostap initialization, a fix for a warning caused by
> failing to cancel a scan watchdog in iwlwifi, a fix for a null
> pointer dereference in iwlwifi, and a fix for a race condition in
> the same driver. Also included is the MAINTAINERS change for the
> orphaning of the older Intel wireless drivers. All but the last few
> warning fixes have spent some time in linux-next already.
>
> Please let me know if there are problems!
The patches removing unused function variables just to kill compile
warnings are not appropriate, _at_ _all_. They don't fix any real
bug, and they definitely don't fix entries in the regression list do
they?
Kill all of those and resend this pull request.
Thanks.
^ permalink raw reply
* Re: [REGRESSION] [IWL3945] Broadcast is broken?
From: Maciej Rutecki @ 2010-06-16 18:34 UTC (permalink / raw)
To: Maxim Levitsky
Cc: LKML, reinette.chatre, wey-yi.w.guy, ilw, linux-wireless,
Berg Johannes, iwlwifi maling list
In-Reply-To: <1276538138.7931.3.camel@maxim-laptop>
On poniedziałek, 14 czerwca 2010 o 19:55:38 Maxim Levitsky wrote:
> On Mon, 2010-06-14 at 19:24 +0200, Maciej Rutecki wrote:
> > Hardware:
> > 08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
> > [Golan] Network Connection (rev 02)
> >
> > Last known good kernel: 2.6.34
> >
> > Failing kernels: since 2.6.35-rc1 to 2.6.35-rc3
> >
> > Symptoms:
> > During connect do wireless network authentication seems be OK, but I
> > cannot get IP from dhcp serwer. I do:
> > echo 0x43fff > /sys/class/net/wlan0/device/debug_level
> >
> > Syslog is here:
> > http://unixy.pl/maciek/download/kernel/2.6.35-rc3/gumis/syslog-before.txt
> >
> > From syslog I guess the problem is that it doesn't receive broadcast
> > frames (but I'm not sure), so I try:
> > sudo ifconfig wlan0 promisc
> >
> > Syslog:
> > http://unixy.pl/maciek/download/kernel/2.6.35-rc3/gumis/syslog-after.txt
> >
> > And then I can get IP address.
> >
> > Any advice?
>
> Very likely commit 3474ad635db371b0d8d0ee40086f15d223d5b6a4,
> because I have same problem.
>
> Try to revert it.
Thanks for information; revert this commit solves problem.
>
> Best regards,
> Maxim Levitsky
Regards
--
Maciej Rutecki
http://www.maciek.unixy.pl
^ permalink raw reply
* Re: 2.6.35-rc3: Reported regressions 2.6.33 -> 2.6.34
From: Nick Bowler @ 2010-06-16 18:30 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Linux Kernel Mailing List, Maciej Rutecki, Andrew Morton,
Linus Torvalds, Kernel Testers List, Network Development,
Linux ACPI, Linux PM List, Linux SCSI List, Linux Wireless List,
DRI
In-Reply-To: <g77CuMUl7QI.A.5wF.V5OFMB@chimera>
On 16:45 Sun 13 Jun , Rafael J. Wysocki wrote:
> * This report has been delayed, because I had to go through all of the
> entries and filter out the fixed ones, invalid ones etc. Of course, I might
> have missed some, but hopefully not too many.
This regression from 2.6.33 still seems to be missing from the list, and
is still present in 2.6.35-rc3.
r600 CS checker rejects narrow FBO renderbuffers.
https://bugs.freedesktop.org/show_bug.cgi?id=27609
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
^ permalink raw reply
* pull request: wireless-2.6 2010-06-16
From: John W. Linville @ 2010-06-16 18:28 UTC (permalink / raw)
To: davem; +Cc: linux-wireless, netdev, linux-kernel
Dave,
Here is another passel of of fixes intended for 2.6.35. Included are
some build warning fixes, a PCI identifier, a fix for premature
IRQs during hostap initialization, a fix for a warning caused by
failing to cancel a scan watchdog in iwlwifi, a fix for a null
pointer dereference in iwlwifi, and a fix for a race condition in
the same driver. Also included is the MAINTAINERS change for the
orphaning of the older Intel wireless drivers. All but the last few
warning fixes have spent some time in linux-next already.
Please let me know if there are problems!
Thanks,
John
---
The following changes since commit fed396a585d8e1870b326f2e8e1888a72957abb8:
Herbert Xu (1):
bridge: Fix OOM crash in deliver_clone
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master
Christoph Fritz (1):
mac80211: fix warn, enum may be used uninitialized
Joerg Albert (1):
p54pci: add Symbol AP-300 minipci adapters pciid
John W. Linville (1):
iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
Justin P. Mattock (2):
wireless:hostap_main.c warning: variable 'iface' set but not used
wireless:hostap_ap.c Fix warning: variable 'fc' set but not used
Prarit Bhargava (1):
libertas_tf: Fix warning in lbtf_rx for stats struct
Reinette Chatre (1):
iwlwifi: serialize station management actions
Shanyu Zhao (1):
iwlagn: verify flow id in compressed BA packet
Tim Gardner (1):
hostap: Protect against initialization interrupt
Zhu Yi (1):
wireless: orphan ipw2x00 drivers
MAINTAINERS | 10 ++--------
drivers/net/wireless/hostap/hostap_ap.c | 3 +--
drivers/net/wireless/hostap/hostap_cs.c | 15 +++++++++++++--
drivers/net/wireless/hostap/hostap_hw.c | 13 +++++++++++++
drivers/net/wireless/hostap/hostap_main.c | 2 --
drivers/net/wireless/hostap/hostap_wlan.h | 2 +-
drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 5 +++++
drivers/net/wireless/iwlwifi/iwl-agn.c | 8 ++++++--
drivers/net/wireless/iwlwifi/iwl-scan.c | 1 +
drivers/net/wireless/iwlwifi/iwl-sta.c | 4 ++++
drivers/net/wireless/iwlwifi/iwl3945-base.c | 9 +++++++--
drivers/net/wireless/libertas_tf/main.c | 2 +-
drivers/net/wireless/p54/p54pci.c | 2 ++
net/mac80211/work.c | 2 +-
14 files changed, 57 insertions(+), 21 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 83be538..837a754 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2966,20 +2966,14 @@ F: drivers/net/ixgb/
F: drivers/net/ixgbe/
INTEL PRO/WIRELESS 2100 NETWORK CONNECTION SUPPORT
-M: Reinette Chatre <reinette.chatre@intel.com>
-M: Intel Linux Wireless <ilw@linux.intel.com>
L: linux-wireless@vger.kernel.org
-W: http://ipw2100.sourceforge.net
-S: Odd Fixes
+S: Orphan
F: Documentation/networking/README.ipw2100
F: drivers/net/wireless/ipw2x00/ipw2100.*
INTEL PRO/WIRELESS 2915ABG NETWORK CONNECTION SUPPORT
-M: Reinette Chatre <reinette.chatre@intel.com>
-M: Intel Linux Wireless <ilw@linux.intel.com>
L: linux-wireless@vger.kernel.org
-W: http://ipw2200.sourceforge.net
-S: Odd Fixes
+S: Orphan
F: Documentation/networking/README.ipw2200
F: drivers/net/wireless/ipw2x00/ipw2200.*
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c
index 231dbd7..9cadaa2 100644
--- a/drivers/net/wireless/hostap/hostap_ap.c
+++ b/drivers/net/wireless/hostap/hostap_ap.c
@@ -688,7 +688,7 @@ static void hostap_ap_tx_cb_assoc(struct sk_buff *skb, int ok, void *data)
struct ap_data *ap = data;
struct net_device *dev = ap->local->dev;
struct ieee80211_hdr *hdr;
- u16 fc, status;
+ u16 status;
__le16 *pos;
struct sta_info *sta = NULL;
char *txt = NULL;
@@ -699,7 +699,6 @@ static void hostap_ap_tx_cb_assoc(struct sk_buff *skb, int ok, void *data)
}
hdr = (struct ieee80211_hdr *) skb->data;
- fc = le16_to_cpu(hdr->frame_control);
if ((!ieee80211_is_assoc_resp(hdr->frame_control) &&
!ieee80211_is_reassoc_resp(hdr->frame_control)) ||
skb->len < IEEE80211_MGMT_HDR_LEN + 4) {
diff --git a/drivers/net/wireless/hostap/hostap_cs.c b/drivers/net/wireless/hostap/hostap_cs.c
index db72461..29b31a6 100644
--- a/drivers/net/wireless/hostap/hostap_cs.c
+++ b/drivers/net/wireless/hostap/hostap_cs.c
@@ -594,6 +594,7 @@ static int prism2_config(struct pcmcia_device *link)
local_info_t *local;
int ret = 1;
struct hostap_cs_priv *hw_priv;
+ unsigned long flags;
PDEBUG(DEBUG_FLOW, "prism2_config()\n");
@@ -625,9 +626,15 @@ static int prism2_config(struct pcmcia_device *link)
local->hw_priv = hw_priv;
hw_priv->link = link;
+ /*
+ * Make sure the IRQ handler cannot proceed until at least
+ * dev->base_addr is initialized.
+ */
+ spin_lock_irqsave(&local->irq_init_lock, flags);
+
ret = pcmcia_request_irq(link, prism2_interrupt);
if (ret)
- goto failed;
+ goto failed_unlock;
/*
* This actually configures the PCMCIA socket -- setting up
@@ -636,11 +643,13 @@ static int prism2_config(struct pcmcia_device *link)
*/
ret = pcmcia_request_configuration(link, &link->conf);
if (ret)
- goto failed;
+ goto failed_unlock;
dev->irq = link->irq;
dev->base_addr = link->io.BasePort1;
+ spin_unlock_irqrestore(&local->irq_init_lock, flags);
+
/* Finally, report what we've done */
printk(KERN_INFO "%s: index 0x%02x: ",
dev_info, link->conf.ConfigIndex);
@@ -667,6 +676,8 @@ static int prism2_config(struct pcmcia_device *link)
return ret;
+ failed_unlock:
+ spin_unlock_irqrestore(&local->irq_init_lock, flags);
failed:
kfree(hw_priv);
prism2_release((u_long)link);
diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c
index ff9b5c8..2f999fc 100644
--- a/drivers/net/wireless/hostap/hostap_hw.c
+++ b/drivers/net/wireless/hostap/hostap_hw.c
@@ -2621,6 +2621,18 @@ static irqreturn_t prism2_interrupt(int irq, void *dev_id)
iface = netdev_priv(dev);
local = iface->local;
+ /* Detect early interrupt before driver is fully configued */
+ spin_lock(&local->irq_init_lock);
+ if (!dev->base_addr) {
+ if (net_ratelimit()) {
+ printk(KERN_DEBUG "%s: Interrupt, but dev not configured\n",
+ dev->name);
+ }
+ spin_unlock(&local->irq_init_lock);
+ return IRQ_HANDLED;
+ }
+ spin_unlock(&local->irq_init_lock);
+
prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 0);
if (local->func->card_present && !local->func->card_present(local)) {
@@ -3138,6 +3150,7 @@ prism2_init_local_data(struct prism2_helper_functions *funcs, int card_idx,
spin_lock_init(&local->cmdlock);
spin_lock_init(&local->baplock);
spin_lock_init(&local->lock);
+ spin_lock_init(&local->irq_init_lock);
mutex_init(&local->rid_bap_mtx);
if (card_idx < 0 || card_idx >= MAX_PARM_DEVICES)
diff --git a/drivers/net/wireless/hostap/hostap_main.c b/drivers/net/wireless/hostap/hostap_main.c
index eb57d1e..eaee84b 100644
--- a/drivers/net/wireless/hostap/hostap_main.c
+++ b/drivers/net/wireless/hostap/hostap_main.c
@@ -741,9 +741,7 @@ void hostap_set_multicast_list_queue(struct work_struct *work)
local_info_t *local =
container_of(work, local_info_t, set_multicast_list_queue);
struct net_device *dev = local->dev;
- struct hostap_interface *iface;
- iface = netdev_priv(dev);
if (hostap_set_word(dev, HFA384X_RID_PROMISCUOUSMODE,
local->is_promisc)) {
printk(KERN_INFO "%s: %sabling promiscuous mode failed\n",
diff --git a/drivers/net/wireless/hostap/hostap_wlan.h b/drivers/net/wireless/hostap/hostap_wlan.h
index 3d23891..1ba33be 100644
--- a/drivers/net/wireless/hostap/hostap_wlan.h
+++ b/drivers/net/wireless/hostap/hostap_wlan.h
@@ -654,7 +654,7 @@ struct local_info {
rwlock_t iface_lock; /* hostap_interfaces read lock; use write lock
* when removing entries from the list.
* TX and RX paths can use read lock. */
- spinlock_t cmdlock, baplock, lock;
+ spinlock_t cmdlock, baplock, lock, irq_init_lock;
struct mutex rid_bap_mtx;
u16 infofid; /* MAC buffer id for info frame */
/* txfid, intransmitfid, next_txtid, and next_alloc are protected by
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
index a732f10..7d614c4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
@@ -1299,6 +1299,11 @@ void iwlagn_rx_reply_compressed_ba(struct iwl_priv *priv,
sta_id = ba_resp->sta_id;
tid = ba_resp->tid;
agg = &priv->stations[sta_id].tid[tid].agg;
+ if (unlikely(agg->txq_id != scd_flow)) {
+ IWL_ERR(priv, "BA scd_flow %d does not match txq_id %d\n",
+ scd_flow, agg->txq_id);
+ return;
+ }
/* Find index just before block-ack window */
index = iwl_queue_dec_wrap(ba_resp_scd_ssn & 0xff, txq->q.n_bd);
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/iwl-agn.c
index 7726e67..24aff65 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn.c
@@ -3391,10 +3391,12 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
int ret;
u8 sta_id;
- sta_priv->common.sta_id = IWL_INVALID_STATION;
-
IWL_DEBUG_INFO(priv, "received request to add station %pM\n",
sta->addr);
+ mutex_lock(&priv->mutex);
+ IWL_DEBUG_INFO(priv, "proceeding to add station %pM\n",
+ sta->addr);
+ sta_priv->common.sta_id = IWL_INVALID_STATION;
atomic_set(&sta_priv->pending_frames, 0);
if (vif->type == NL80211_IFTYPE_AP)
@@ -3406,6 +3408,7 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
IWL_ERR(priv, "Unable to add station %pM (%d)\n",
sta->addr, ret);
/* Should we return success if return code is EEXIST ? */
+ mutex_unlock(&priv->mutex);
return ret;
}
@@ -3415,6 +3418,7 @@ static int iwlagn_mac_sta_add(struct ieee80211_hw *hw,
IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n",
sta->addr);
iwl_rs_rate_init(priv, sta, sta_id);
+ mutex_unlock(&priv->mutex);
return 0;
}
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c
index 5d3f51f..386c5f9 100644
--- a/drivers/net/wireless/iwlwifi/iwl-scan.c
+++ b/drivers/net/wireless/iwlwifi/iwl-scan.c
@@ -491,6 +491,7 @@ void iwl_bg_abort_scan(struct work_struct *work)
mutex_lock(&priv->mutex);
+ cancel_delayed_work_sync(&priv->scan_check);
set_bit(STATUS_SCAN_ABORTING, &priv->status);
iwl_send_scan_abort(priv);
diff --git a/drivers/net/wireless/iwlwifi/iwl-sta.c b/drivers/net/wireless/iwlwifi/iwl-sta.c
index 83a2636..c27c13f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-sta.c
+++ b/drivers/net/wireless/iwlwifi/iwl-sta.c
@@ -1373,10 +1373,14 @@ int iwl_mac_sta_remove(struct ieee80211_hw *hw,
IWL_DEBUG_INFO(priv, "received request to remove station %pM\n",
sta->addr);
+ mutex_lock(&priv->mutex);
+ IWL_DEBUG_INFO(priv, "proceeding to remove station %pM\n",
+ sta->addr);
ret = iwl_remove_station(priv, sta_common->sta_id, sta->addr);
if (ret)
IWL_ERR(priv, "Error removing station %pM\n",
sta->addr);
+ mutex_unlock(&priv->mutex);
return ret;
}
EXPORT_SYMBOL(iwl_mac_sta_remove);
diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 6c353ca..a27872d 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -3437,10 +3437,13 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
bool is_ap = vif->type == NL80211_IFTYPE_STATION;
u8 sta_id;
- sta_priv->common.sta_id = IWL_INVALID_STATION;
-
IWL_DEBUG_INFO(priv, "received request to add station %pM\n",
sta->addr);
+ mutex_lock(&priv->mutex);
+ IWL_DEBUG_INFO(priv, "proceeding to add station %pM\n",
+ sta->addr);
+ sta_priv->common.sta_id = IWL_INVALID_STATION;
+
ret = iwl_add_station_common(priv, sta->addr, is_ap, &sta->ht_cap,
&sta_id);
@@ -3448,6 +3451,7 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
IWL_ERR(priv, "Unable to add station %pM (%d)\n",
sta->addr, ret);
/* Should we return success if return code is EEXIST ? */
+ mutex_unlock(&priv->mutex);
return ret;
}
@@ -3457,6 +3461,7 @@ static int iwl3945_mac_sta_add(struct ieee80211_hw *hw,
IWL_DEBUG_INFO(priv, "Initializing rate scaling for station %pM\n",
sta->addr);
iwl3945_rs_rate_init(priv, sta, sta_id);
+ mutex_unlock(&priv->mutex);
return 0;
}
diff --git a/drivers/net/wireless/libertas_tf/main.c b/drivers/net/wireless/libertas_tf/main.c
index 6a04c21..817fffc 100644
--- a/drivers/net/wireless/libertas_tf/main.c
+++ b/drivers/net/wireless/libertas_tf/main.c
@@ -549,7 +549,7 @@ int lbtf_rx(struct lbtf_private *priv, struct sk_buff *skb)
prxpd = (struct rxpd *) skb->data;
- stats.flag = 0;
+ memset(&stats, 0, sizeof(stats));
if (!(prxpd->status & cpu_to_le16(MRVDRV_RXPD_STATUS_OK)))
stats.flag |= RX_FLAG_FAILED_FCS_CRC;
stats.freq = priv->cur_freq;
diff --git a/drivers/net/wireless/p54/p54pci.c b/drivers/net/wireless/p54/p54pci.c
index 07c4528..a5ea89c 100644
--- a/drivers/net/wireless/p54/p54pci.c
+++ b/drivers/net/wireless/p54/p54pci.c
@@ -41,6 +41,8 @@ static DEFINE_PCI_DEVICE_TABLE(p54p_table) = {
{ PCI_DEVICE(0x1260, 0x3877) },
/* Intersil PRISM Javelin/Xbow Wireless LAN adapter */
{ PCI_DEVICE(0x1260, 0x3886) },
+ /* Intersil PRISM Xbow Wireless LAN adapter (Symbol AP-300) */
+ { PCI_DEVICE(0x1260, 0xffff) },
{ },
};
diff --git a/net/mac80211/work.c b/net/mac80211/work.c
index be3d4a6..b025dc7 100644
--- a/net/mac80211/work.c
+++ b/net/mac80211/work.c
@@ -715,7 +715,7 @@ static void ieee80211_work_rx_queued_mgmt(struct ieee80211_local *local,
struct ieee80211_rx_status *rx_status;
struct ieee80211_mgmt *mgmt;
struct ieee80211_work *wk;
- enum work_action rma;
+ enum work_action rma = WORK_ACT_NONE;
u16 fc;
rx_status = (struct ieee80211_rx_status *) skb->cb;
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
^ permalink raw reply related
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox