Linux wireless drivers development
 help / color / mirror / Atom feed
* Re: wireless-regdb: Add A band in IL - And general point regarding tx power limits in the dbase
From: John W. Linville @ 2010-06-21 14:57 UTC (permalink / raw)
  To: Michael Green
  Cc: linux-wireless@vger.kernel.org, David Quan, Emmanuel Grumbach
In-Reply-To: <93781E992CBA7843962D8B0E7D683F3C1172BD0B6D@SC1EXMB-MBCL.global.atheros.com>

On Mon, Jun 21, 2010 at 07:51:56AM -0700, Michael Green wrote:
> Here are my comments on the proposed patch...
> 
> country IL:
> > >       (2402 - 2482 @ 40), (N/A, 20)
> > > +     (5150 - 5250 @ 40). (N/A, 200 mW), NO-OUTDOOR
> > > +     (5250 - 5350 @ 40). (N/A, 200 mW), NO-OUTDOOR, DFS

> b) I think all entries in the dbase should be in dBm (not mW).
> dBm vs. mW are absolutely equivalent. No reason to retain "mW"
> unit from the source docs.  I think this was agreed by all before,
> but wanted to reiterate.

I'm not sure I see the fuss.  If anything, using the same units as
the source docs seems less error-prone to me.  Why not stick with
the source units and let the tool do the conversion rather than risk
introducing an error in the manual conversion?

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

* wireless-regdb: Add A band in IL - And general point regarding tx power limits in the dbase
From: Michael Green @ 2010-06-21 14:51 UTC (permalink / raw)
  To: John W. Linville
  Cc: linux-wireless@vger.kernel.org, David Quan, Emmanuel Grumbach
In-Reply-To: <AANLkTimN8oZ63m7cp2lE5MuFiEJ8iAGKswKIENTjIhMg@mail.gmail.com>

Here are my comments on the proposed patch...

country IL:
> >       (2402 - 2482 @ 40), (N/A, 20)
> > +     (5150 - 5250 @ 40). (N/A, 200 mW), NO-OUTDOOR
> > +     (5250 - 5350 @ 40). (N/A, 200 mW), NO-OUTDOOR, DFS


a) I agree with channels above and enabling HT40 per above.

b) I think all entries in the dbase should be in dBm (not mW).   dBm vs. mW are absolutely equivalent. No reason to retain "mW" unit from the source docs.  I think this was agreed by all before, but wanted to reiterate. 

c) I don't understand why "Indoor/Outdoor" is stated in the table for any/all countries.   5150-5250 is globally allocated for indoor use.  So I am not reviewing/commenting on the indoor/outdoor comments in the dbase.


d) Reminder...Israel and most other countries state max tx power limit in 'EIRP' (ie takes into account actual antenna gain of the end device).  Therefore, the entire dbase must be clearly flagged so developers know the tx power limits in this dbase only apply when devices have 0dB (or negative) gain antennas.  

In other words, the software (or the hw/sw developer) must somehow reduce tx powers below the values in the dbase, dB-for-dB, when antenna+cable has positive gain.

The exception is FCC target power, where FCC (and the dBase) quotes "conducted power" rather than EIRP.

Issue d) is not a concern for manufacturers/developers who produce products that limit regulatory tx powers in the hw (factory set/limited). In that case they take into account actual antenna gains during original conformance testing and program in compliant tx powers into hw (and don't rely at all on the tx powers in the dbase).

But developers who don't have tx powers limited in hw, who actually use the tx power in the dbase, must take into account antenna gain as explained above, else the product may not comply with tx limits for most countries.  

Fine if you want to discuss point d) separately since it's a global issue (not limited to this particular IL patch).

tks,

Michael Green
Atheros Communications, Inc.
mgreen@atheros.com
Desk:   +1-781-400-1491
Mobile: +1-508-380-4921


-----Original Message-----
From: Emmanuel Grumbach [mailto:egrumbach@gmail.com] 
Sent: Sunday, June 20, 2010 1:41 AM
To: John W. Linville
Cc: Emmanuel Grumbach; linux-wireless@vger.kernel.org; Michael Green; David Quan
Subject: Re: [RFC] wireless-regdb: Add A band in IL

Emmanuel Grumbach
egrumbach@gmail.com


On Fri, Jun 18, 2010 at 21:42, John W. Linville <linville@tuxdriver.com> wrote:
>
> On Wed, May 26, 2010 at 09:49:29AM +0300, Emmanuel Grumbach wrote:
> > A band in allowed in IL, according to official document issued by the Ministry
> > of Communications: http://www.moc.gov.il/sip_storage/FILES/1/1061.pdf.
> >
> > 5150 - 5250 200mW e.i.r.p. OUTDOOR forbidden
> > 5250 - 5350 200mW e.i.r.p. OUTDOOR forbidden DFS mandatory
> >
> > 40Mhz is allowed in A band for every WiFi-Alliance certified equipment.
> >
> > ***************************************************************
> > Not to be merged for the moment
> > ***************************************************************
> >
> > CC: Michael Green <Michael.Green@atheros.com>
> > CC: David Quan <David.Quan@atheros.com>
> > Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
> > ---
> >  db.txt |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> >
> > diff --git a/db.txt b/db.txt
> > index e63a43e..d49c397 100644
> > --- a/db.txt
> > +++ b/db.txt
> > @@ -319,6 +319,8 @@ country IE:
> >
> >  country IL:
> >       (2402 - 2482 @ 40), (N/A, 20)
> > +     (5150 - 5250 @ 40). (N/A, 200 mW), NO-OUTDOOR
> > +     (5250 - 5350 @ 40). (N/A, 200 mW), NO-OUTDOOR, DFS
> >
> >  country IN:
> >       (2402 - 2482 @ 40), (N/A, 20)
>
> Is this issue now settled?

Yes, I think that Michael Green agreed for this patch. Once he will
reply to make sure, we will be able to move on to a real patch.

^ permalink raw reply

* Re: 2.6.35-rc3: Reported regressions from 2.6.34
From: Nick Bowler @ 2010-06-21 13:58 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: <lc60d4toGTL.A.QzD._LpHMB@chimera>

On 00:11 Mon 21 Jun     , Rafael J. Wysocki wrote:
> If you know of any other unresolved regressions from 2.6.34, please let us
> know either and we'll add them to the list.  Also, please let us know
> if any of the entries below are invalid.

Didn't see this one in the list:

  Why is kslowd accumulating so much CPU time?
  http://thread.gmane.org/gmane.linux.kernel/996907

-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)

^ permalink raw reply

* Re: [PATCH 2/2] wl1251: fix ELP_CTRL register reads
From: Denis 'GNUtoo' Carikli @ 2010-06-21 12:46 UTC (permalink / raw)
  To: Kalle Valo; +Cc: Grazvydas Ignotas, John W.Linville, linux-wireless
In-Reply-To: <AANLkTinqgUGCjCBzg8j7bXGY05EW3-jfW7vlnrvCuwRd@mail.gmail.com>

On Sat, 2010-06-05 at 10:04 +0300, Kalle Valo wrote:
> On 5 June 2010 02:25, Grazvydas Ignotas <notasas@gmail.com> wrote:
> > Reading the ELP_CTRL register with sdio_readb causes problems because
> > hardware seems to be performing a write using stuff bits in the request
> > (those bits contain write data in write request). This indicates that it
> > actually expects RAW (read after write) type of request, so perform that
> > when reading ELP_CTRL instead. Also cache last written value so we know
> > what to write when doing RAW request.
> >
> > Because of the above it was not possible to wake the chip from ELP power
> > saving mode, PM had to be disabled to have the driver usable in SDIO
> > mode. After this patch PM is functional.
> 
> Excellent that Power Save is now working SDIO. Thank you very much!
Hi, me and some other people are trying to run standard GNU/Linux (not
android ) on the htcdream.
The htcdream has a wl1251_sdio with a msm sdio controller.
we currently work on a 2.6.32 kenrel.
As it's a phone, power management is important and so I tried with PS
enabled by default in the kernel:
CONFIG_CFG80211_DEFAULT_PS=y
CONFIG_CFG80211_DEFAULT_PS_VALUE=1

I've tried lastest compat-wireless (2010-06-20) with the following
patches:

Index:
compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251_sdio.c
===================================================================
---
compat-wireless-2010-06-19.orig/drivers/net/wireless/wl12xx/wl1251_sdio.c	2010-06-20 23:00:09.755843242 +0200
+++ compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251_sdio.c
2010-06-20 23:01:34.733958063 +0200
@@ -106,7 +106,7 @@
 	 * request).
 	 */
 	sdio_claim_host(func);
-	*val = sdio_writeb_readb(func, wl_sdio->elp_val, addr, &ret);
+	*val = sdio_readb_ext(func, addr, &ret, 1);
 	sdio_release_host(func);
 
 	if (ret)

Index:
compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251_sdio.c
===================================================================
---
compat-wireless-2010-06-19.orig/drivers/net/wireless/wl12xx/wl1251_sdio.c	2010-06-20 22:04:12.776553632 +0200
+++ compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251_sdio.c
2010-06-20 22:06:30.375232047 +0200
@@ -131,6 +131,20 @@
 
 static void wl1251_sdio_reset(struct wl1251 *wl)
 {
+	extern int sdio_reset_comm(struct mmc_card *card);
+	struct sdio_func *func = wl_to_func(wl);
+	int ret;
+
+	sdio_claim_host(func);
+	sdio_reset_comm(func->card);
+	ret = sdio_enable_func(func);
+	if (ret)
+		goto release;
+
+	sdio_set_block_size(func, 512);
+
+release:
+	sdio_release_host(func);
 }
 
 static void wl1251_sdio_enable_irq(struct wl1251 *wl)
@@ -271,6 +285,9 @@
 	ret = wl1251_init_ieee80211(wl);
 	if (ret)
 		goto out_free_irq;
+	
+	/* we can power it down now until it's started */
+	wl->set_power(0);
 
 	sdio_set_drvdata(func, wl);
 	return ret;

Index: compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251.h
===================================================================
--- compat-wireless-2010-06-19.orig/drivers/net/wireless/wl12xx/wl1251.h
2010-06-20 22:07:29.346389894 +0200
+++ compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251.h
2010-06-20 22:08:41.974607260 +0200
@@ -381,6 +381,8 @@
 
 	u32 chip_id;
 	char fw_ver[21];
+
+	bool associated;
 };
 
 int wl1251_plt_start(struct wl1251 *wl);
Index:
compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251_main.c
===================================================================
---
compat-wireless-2010-06-19.orig/drivers/net/wireless/wl12xx/wl1251_main.c	2010-06-20 22:07:36.606391128 +0200
+++ compat-wireless-2010-06-19/drivers/net/wireless/wl12xx/wl1251_main.c
2010-06-20 22:10:11.594572491 +0200
@@ -869,6 +869,13 @@
 
 	wl1251_debug(DEBUG_MAC80211, "mac80211 hw scan");
 
+	/*
+	 * FIXME: scanning while associated causes lockups,
+	 * so we don't allow that
+	 */
+	if (wl->associated)
+		return -EBUSY;
+
 	if (req->n_ssids) {
 		ssid = req->ssids[0].ssid;
 		ssid_len = req->ssids[0].ssid_len;
and a minor build patch:
Index: compat-wireless-2010-06-19/scripts/gen-compat-autoconf.sh
===================================================================
--- compat-wireless-2010-06-19.orig/scripts/gen-compat-autoconf.sh
2010-06-20 17:40:48.586388753 +0200
+++ compat-wireless-2010-06-19/scripts/gen-compat-autoconf.sh	2010-06-20
17:41:07.833335272 +0200
@@ -192,7 +192,7 @@
 		define_config_multiple_deps CONFIG_MAC80211_QOS y $ALL_DEPS
 		rm -f $MULT_DEP_FILE
 		# Kernels >= 2.6.32 can disable WEXT :D
-		if [ $SUBLEVEL -lt 32 ]; then
+		if [ $SUBLEVEL -le 32 ]; then
 			define_config_dep CONFIG_CFG80211_WEXT 1 CONFIG_WIRELESS_EXT
 		fi
 	fi


And I've the following messages in dmesg:
[ 1412.632263] cfg80211: Calling CRDA to update world regulatory domain
[ 1413.038391] wifi probe start
[ 1413.038452] trout_wifi_power: 1
[ 1413.240142] trout_wifi_reset: 0
[ 1413.291748] trout_wifi_set_carddetect: 1
[ 1413.291778] mmc0: card_present 1
[ 1413.291809] mmc0: Slot status change detected (0 -> 1)
[ 1413.291839] wifi probe done
[ 1415.828735] mmc0: Command timeout
[ 1415.834259] mmc0: card claims to support voltages below the defined
range. These will be ignored.
[ 1415.838806] mmc0: new SDIO card at address 0001
[ 1415.855041] wl1251: using SDIO interrupt
[ 1415.985321] phy0: Selected rate control algorithm 'minstrel'
[ 1415.990325] wl1251: loaded
[ 1415.991363] wl1251: initialized
[ 1433.640594] request_suspend_state: sleep (0->3) at 1427975218412
(2010-06-21 12:31:23.116053303 UTC)
[ 1433.641845] msm_i2c msm_i2c.0: Warning bus was busy (8)
[ 1464.390441] sdio_reset_comm():
[ 1465.120025] wl1251: 151 tx blocks at 0x3b788, 35 rx blocks at 0x3a780
[ 1465.140136] wl1251: firmware booted (Rev 4.0.4.3.5)
[ 1465.280761] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1556.024566] wlan0: authenticate with 00:24:01:63:89:bd (try 1)
[ 1556.036285] wlan0: authenticated
[ 1556.114501] wlan0: associate with 00:24:01:63:89:bd (try 1)
[ 1556.126525] wlan0: RX AssocResp from 00:24:01:63:89:bd (capab=0x401
status=0 aid=3)
[ 1556.126556] wlan0: associated
[ 1556.425354] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1556.734130] mmc0: Command timeout
[ 1556.739166] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1557.454101] mmc0: Command CRC error
[ 1557.454162] wl1251: ERROR sdio_writeb failed (-84)
[ 1557.763610] mmc0: Command timeout
[ 1557.768829] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1558.773071] mmc0: Command CRC error
[ 1558.773132] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1559.782562] mmc0: Command timeout
[ 1559.787628] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1560.792022] mmc0: Command CRC error
[ 1560.792083] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1561.821563] mmc0: Command timeout
[ 1561.826629] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1562.831085] mmc0: Command CRC error
[ 1562.831146] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1563.860534] mmc0: Command timeout
[ 1563.865570] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1564.869995] mmc0: Command CRC error
[ 1564.870056] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1565.899475] mmc0: Command timeout
[ 1565.904541] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1566.449127] wlan0: no IPv6 routers present
[ 1566.908996] mmc0: Command CRC error
[ 1566.909057] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1567.918518] mmc0: Command timeout
[ 1567.923553] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1568.928009] mmc0: Command CRC error
[ 1568.928100] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1569.937500] mmc0: Command timeout
[ 1569.942565] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1570.946990] mmc0: Command CRC error
[ 1570.947052] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1571.956481] mmc0: Command timeout
[ 1571.961547] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1572.966003] mmc0: Command CRC error
[ 1572.966064] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1573.975463] mmc0: Command timeout
[ 1573.980529] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1574.984985] mmc0: Command CRC error
[ 1574.985046] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1576.244323] mmc0: Command timeout
[ 1576.249359] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1577.253845] mmc0: Command CRC error
[ 1577.253906] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1578.563140] mmc0: Command timeout
[ 1578.568237] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1578.667968] mmc0: Command CRC error
[ 1578.668029] wl1251: ERROR sdio_writeb failed (-84)
[ 1579.572692] mmc0: Command timeout
[ 1579.577758] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1580.582153] mmc0: Command CRC error
[ 1580.582214] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1581.591705] mmc0: Command timeout
[ 1581.596771] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1582.601165] mmc0: Command CRC error
[ 1582.601226] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1583.610626] mmc0: Command timeout
[ 1583.615692] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1584.620117] mmc0: Command CRC error
[ 1584.620178] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1585.629638] mmc0: Command timeout
[ 1585.634704] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1586.639129] mmc0: Command CRC error
[ 1586.639190] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1587.648681] mmc0: Command timeout
[ 1587.653717] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1588.658142] mmc0: Command CRC error
[ 1588.658203] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1589.667663] mmc0: Command timeout
[ 1589.672729] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1590.677093] mmc0: Command CRC error
[ 1590.677185] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1591.686614] mmc0: Command timeout
[ 1591.691680] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1592.696075] mmc0: Command CRC error
[ 1592.696136] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1593.705657] mmc0: Command timeout
[ 1593.710693] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1594.715087] mmc0: Command CRC error
[ 1594.715148] mmc0:0001: error -84 reading SDIO_CCCR_INTx
[ 1595.724639] mmc0: Command timeout
[ 1595.729705] mmc0:0001: error -110 reading SDIO_CCCR_INTx
[ 1596.734100] mmc0: Command CRC error
[ 1596.734161] mmc0:0001: error -84 reading SDIO_CCCR_INTx
etc....
So I use the wifi,listen to a webradio,browse the web etc...
but after a while it stop working,and after a while it stops working.
and when it occurs,iwconfig say that it's still associated...
Denis.



^ permalink raw reply

* [RFC] refactor ath9k_platform to sound sane for use in both ath9k and ath5k
From: Daniel Golle @ 2010-06-21 11:48 UTC (permalink / raw)
  To: linux-wireless, ath5k-devel, ath9k-devel

I'm developing on OpenWrt to work with EEPROM-less ath5k mini-pci 
devices. This is needed to support the ar71xx-based Senao EAP7660D board 
which got two AR5413 modules soldered into its mini-pci slots. In the 
original Firmware, MAC addresses as well as calibration-data seems to be 
part of the firmware blob stored on the board flash.
See 
https://lists.openwrt.org/pipermail/openwrt-devel/2010-June/007366.html 
for the corresponding discussion on OpenWrt-devel.
Similarly to the way this happens for ath9k, I managed to get ath5k to 
use the MAC address and eeprom-data supplied by ath9k_platform_data.
Including ath9k_platform.h in ath5k-sources looks confusing as the name 
ath9k_platform suggests that the supplied ath9k_platform_info struct is 
specific to ath9k devices.
Consequently, I believe ath9k_platform.h should be renamed into 
ath_platform.h, the macro ATH9K_PLAT_EEP_MAX_WORDS into 
ATH_PLAT_EEP_MAX_WORDS and struct ath9k_platform_data should be 
refactored to be struct ath_platform_data.
Please let me know if you agree with this in theory; if yes, I'll start 
posting the patches to OpenWrt.

Cheers

Daniel

^ permalink raw reply

* [RFC PATCHv2] iw: Add support for setting transmit power level
From: Juuso Oikarinen @ 2010-06-21 10:50 UTC (permalink / raw)
  To: linux-wireless

Add a "set txpower" option to specify the current transmit power level. Modes
supported are automatic, fixed and limited, and the limit may be specified
in signed mBm units.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
---
 nl80211.h |   22 ++++++++++++++++++++++
 phy.c     |   50 +++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 71 insertions(+), 1 deletions(-)

diff --git a/nl80211.h b/nl80211.h
index 64fb32b..2c87016 100644
--- a/nl80211.h
+++ b/nl80211.h
@@ -725,6 +725,12 @@ enum nl80211_commands {
  * @NL80211_ATTR_AP_ISOLATE: (AP mode) Do not forward traffic between stations
  *	connected to this BSS.
  *
+ * @NL80211_ATTR_WIPHY_TX_POWER_SETTING: Transmit power setting type. See
+ *      &enum nl80211_tx_power_setting for possible values.
+ * @NL80211_ATTR_WIPHY_TX_POWER_LEVEL: Transmit power level in signed mBm units.
+ *      This is used in association with @NL80211_ATTR_WIPHY_TX_POWER_SETTING
+ *      for non-automatic settings.
+ *
  * @NL80211_ATTR_MAX: highest attribute number currently defined
  * @__NL80211_ATTR_AFTER_LAST: internal use
  */
@@ -882,6 +888,9 @@ enum nl80211_attrs {
 
 	NL80211_ATTR_AP_ISOLATE,
 
+	NL80211_ATTR_WIPHY_TX_POWER_SETTING,
+	NL80211_ATTR_WIPHY_TX_POWER_LEVEL,
+
 	/* add attributes here, update the policy in nl80211.c */
 
 	__NL80211_ATTR_AFTER_LAST,
@@ -1659,4 +1668,17 @@ enum nl80211_cqm_rssi_threshold_event {
 	NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,
 };
 
+
+/**
+ * enum nl80211_tx_power_setting - TX power adjustment
+ * @NL80211_TX_POWER_AUTOMATIC: automatically determine transmit power
+ * @NL80211_TX_POWER_LIMITED: limit TX power by the mBm parameter
+ * @NL80211_TX_POWER_FIXED: fix TX power to the mBm parameter
+ */
+enum nl80211_tx_power_setting {
+	NL80211_TX_POWER_AUTOMATIC,
+	NL80211_TX_POWER_LIMITED,
+	NL80211_TX_POWER_FIXED,
+};
+
 #endif /* __LINUX_NL80211_H */
diff --git a/phy.c b/phy.c
index 8f8d757..f042dc2 100644
--- a/phy.c
+++ b/phy.c
@@ -175,7 +175,7 @@ static int handle_netns(struct nl80211_state *state,
 		return 1;
 
 	NLA_PUT_U32(msg, NL80211_ATTR_PID,
-		    strtoul(argv[0], &end, 10)); 
+		    strtoul(argv[0], &end, 10));
 
 	if (*end != '\0')
 		return 1;
@@ -258,3 +258,51 @@ COMMAND(set, distance, "<distance>",
 	NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_distance,
 	"Set appropriate coverage class for given link distance in meters.\n"
 	"Valid values: 0 - 114750");
+
+static int handle_txpower(struct nl80211_state *state,
+			  struct nl_cb *cb,
+			  struct nl_msg *msg,
+			  int argc, char **argv)
+{
+	enum nl80211_tx_power_setting type;
+	int ret = -ENOSPC;
+	int mbm;
+
+	/* get the required args */
+	if (argc != 1 && argc != 2)
+		return 1;
+
+	if (!strcmp(argv[0], "auto"))
+		type = NL80211_TX_POWER_AUTOMATIC;
+	else if (!strcmp(argv[0], "fixed"))
+		type = NL80211_TX_POWER_FIXED;
+	else if (!strcmp(argv[0], "limit"))
+		type = NL80211_TX_POWER_LIMITED;
+	else {
+		printf("Invalid parameter: %s\n", argv[0]);
+		return 2;
+	}
+
+	NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_TX_POWER_SETTING, type);
+
+	if (type != NL80211_TX_POWER_AUTOMATIC) {
+		if (argc != 2) {
+			printf("Missing TX power level argument.\n");
+			return 2;
+		}
+
+		mbm = atoi(argv[1]);
+		NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_TX_POWER_LEVEL, mbm);
+	}
+
+	ret = 0;
+
+ nla_put_failure:
+	return ret;
+}
+COMMAND(set, txpower, "<auto|fixed|limit> [<tx power in mBm>]",
+	NL80211_CMD_SET_WIPHY, 0, CIB_PHY, handle_txpower,
+	"Specify transmit power level and setting type.");
+COMMAND(set, txpower, "<auto|fixed|limit> [<tx power in mBm>]",
+	NL80211_CMD_SET_WIPHY, 0, CIB_NETDEV, handle_txpower,
+	"Specify transmit power level and setting type.");
-- 
1.6.3.3


^ permalink raw reply related

* Re: [RFC PATCHv2 1/2] cfg80211/mac80211: Update set_tx_power to use mBm instead of dBm units
From: Samuel Ortiz @ 2010-06-21 10:45 UTC (permalink / raw)
  To: Juuso Oikarinen; +Cc: linux-wireless@vger.kernel.org, Jussi Kivilinna
In-Reply-To: <1277116766-4764-1-git-send-email-juuso.oikarinen@nokia.com>

On Mon, Jun 21, 2010 at 11:39:25AM +0100, Juuso Oikarinen wrote:
> In preparation for a TX power setting interface in the nl80211, change the
> .set_tx_power function to use mBm units instead of dBm for greater accuracy and
> smaller power levels.
> 
> Also, already in advance move the tx_power_setting enumeration to nl80211.
> 
> This change affects the .tx_set_power function prototype. As a result, the
> corresponding changes are needed to modules using it. These are mac80211,
> iwmc3200wifi and rndis_wlan.
For the iwm part:
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


^ permalink raw reply

* [RFC PATCHv2 1/2] cfg80211/mac80211: Update set_tx_power to use mBm instead of dBm units
From: Juuso Oikarinen @ 2010-06-21 10:39 UTC (permalink / raw)
  To: linux-wireless; +Cc: Samuel Ortiz, Jussi Kivilinna

In preparation for a TX power setting interface in the nl80211, change the
.set_tx_power function to use mBm units instead of dBm for greater accuracy and
smaller power levels.

Also, already in advance move the tx_power_setting enumeration to nl80211.

This change affects the .tx_set_power function prototype. As a result, the
corresponding changes are needed to modules using it. These are mac80211,
iwmc3200wifi and rndis_wlan.

Cc: Samuel Ortiz <samuel.ortiz@intel.com>
Cc: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
---
 drivers/net/wireless/iwmc3200wifi/cfg80211.c |   12 ++++++++----
 drivers/net/wireless/rndis_wlan.c            |   20 +++++++++++++-------
 include/linux/nl80211.h                      |   13 +++++++++++++
 include/net/cfg80211.h                       |   15 +--------------
 net/mac80211/cfg.c                           |   22 +++++++++++-----------
 net/wireless/wext-compat.c                   |   10 +++++-----
 6 files changed, 51 insertions(+), 41 deletions(-)

diff --git a/drivers/net/wireless/iwmc3200wifi/cfg80211.c b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
index 902e95f..6061967 100644
--- a/drivers/net/wireless/iwmc3200wifi/cfg80211.c
+++ b/drivers/net/wireless/iwmc3200wifi/cfg80211.c
@@ -670,20 +670,24 @@ static int iwm_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev,
 }
 
 static int iwm_cfg80211_set_txpower(struct wiphy *wiphy,
-				    enum tx_power_setting type, int dbm)
+				    enum nl80211_tx_power_setting type, int mbm)
 {
 	struct iwm_priv *iwm = wiphy_to_iwm(wiphy);
 	int ret;
 
 	switch (type) {
-	case TX_POWER_AUTOMATIC:
+	case NL80211_TX_POWER_AUTOMATIC:
 		return 0;
-	case TX_POWER_FIXED:
+	case NL80211_TX_POWER_FIXED:
+		if (mbm < 0 || (mbm % 100))
+			return -EOPNOTSUPP;
+
 		if (!test_bit(IWM_STATUS_READY, &iwm->status))
 			return 0;
 
 		ret = iwm_umac_set_config_fix(iwm, UMAC_PARAM_TBL_CFG_FIX,
-					      CFG_TX_PWR_LIMIT_USR, dbm * 2);
+					      CFG_TX_PWR_LIMIT_USR,
+					      MBM_TO_DBM(mbm) * 2);
 		if (ret < 0)
 			return ret;
 
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c
index 4102cca..5e26edb 100644
--- a/drivers/net/wireless/rndis_wlan.c
+++ b/drivers/net/wireless/rndis_wlan.c
@@ -520,8 +520,9 @@ static int rndis_scan(struct wiphy *wiphy, struct net_device *dev,
 
 static int rndis_set_wiphy_params(struct wiphy *wiphy, u32 changed);
 
-static int rndis_set_tx_power(struct wiphy *wiphy, enum tx_power_setting type,
-				int dbm);
+static int rndis_set_tx_power(struct wiphy *wiphy,
+			      enum nl80211_tx_power_setting type,
+			      int mbm);
 static int rndis_get_tx_power(struct wiphy *wiphy, int *dbm);
 
 static int rndis_connect(struct wiphy *wiphy, struct net_device *dev,
@@ -1856,20 +1857,25 @@ static int rndis_set_wiphy_params(struct wiphy *wiphy, u32 changed)
 	return 0;
 }
 
-static int rndis_set_tx_power(struct wiphy *wiphy, enum tx_power_setting type,
-				int dbm)
+static int rndis_set_tx_power(struct wiphy *wiphy,
+			      enum nl80211_tx_power_setting type,
+			      int mbm)
 {
 	struct rndis_wlan_private *priv = wiphy_priv(wiphy);
 	struct usbnet *usbdev = priv->usbdev;
 
-	netdev_dbg(usbdev->net, "%s(): type:0x%x dbm:%i\n",
-		   __func__, type, dbm);
+	netdev_dbg(usbdev->net, "%s(): type:0x%x mbm:%i\n",
+		   __func__, type, mbm);
+
+	if (mbm < 0 || (mbm % 100))
+		return -ENOTSUPP;
 
 	/* Device doesn't support changing txpower after initialization, only
 	 * turn off/on radio. Support 'auto' mode and setting same dBm that is
 	 * currently used.
 	 */
-	if (type == TX_POWER_AUTOMATIC || dbm == get_bcm4320_power_dbm(priv)) {
+	if (type == NL80211_TX_POWER_AUTOMATIC ||
+	    MBM_TO_DBM(mbm) == get_bcm4320_power_dbm(priv)) {
 		if (!priv->radio_on)
 			disassociate(usbdev, true); /* turn on radio */
 
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 64fb32b..07aa046 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -1659,4 +1659,17 @@ enum nl80211_cqm_rssi_threshold_event {
 	NL80211_CQM_RSSI_THRESHOLD_EVENT_HIGH,
 };
 
+
+/**
+ * enum nl80211_tx_power_setting - TX power adjustment
+ * @NL80211_TX_POWER_AUTOMATIC: automatically determine transmit power
+ * @NL80211_TX_POWER_LIMITED: limit TX power by the mBm parameter
+ * @NL80211_TX_POWER_FIXED: fix TX power to the mBm parameter
+ */
+enum nl80211_tx_power_setting {
+	NL80211_TX_POWER_AUTOMATIC,
+	NL80211_TX_POWER_LIMITED,
+	NL80211_TX_POWER_FIXED,
+};
+
 #endif /* __LINUX_NL80211_H */
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 64374f4..9b8b3f4 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -875,19 +875,6 @@ enum wiphy_params_flags {
 	WIPHY_PARAM_COVERAGE_CLASS	= 1 << 4,
 };
 
-/**
- * enum tx_power_setting - TX power adjustment
- *
- * @TX_POWER_AUTOMATIC: the dbm parameter is ignored
- * @TX_POWER_LIMITED: limit TX power by the dbm parameter
- * @TX_POWER_FIXED: fix TX power to the dbm parameter
- */
-enum tx_power_setting {
-	TX_POWER_AUTOMATIC,
-	TX_POWER_LIMITED,
-	TX_POWER_FIXED,
-};
-
 /*
  * cfg80211_bitrate_mask - masks for bitrate control
  */
@@ -1149,7 +1136,7 @@ struct cfg80211_ops {
 	int	(*set_wiphy_params)(struct wiphy *wiphy, u32 changed);
 
 	int	(*set_tx_power)(struct wiphy *wiphy,
-				enum tx_power_setting type, int dbm);
+				enum nl80211_tx_power_setting type, int mbm);
 	int	(*get_tx_power)(struct wiphy *wiphy, int *dbm);
 
 	int	(*set_wds_peer)(struct wiphy *wiphy, struct net_device *dev,
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 003b6ad..f4efbfa 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -1329,28 +1329,28 @@ static int ieee80211_set_wiphy_params(struct wiphy *wiphy, u32 changed)
 }
 
 static int ieee80211_set_tx_power(struct wiphy *wiphy,
-				  enum tx_power_setting type, int dbm)
+				  enum nl80211_tx_power_setting type, int mbm)
 {
 	struct ieee80211_local *local = wiphy_priv(wiphy);
 	struct ieee80211_channel *chan = local->hw.conf.channel;
 	u32 changes = 0;
 
 	switch (type) {
-	case TX_POWER_AUTOMATIC:
+	case NL80211_TX_POWER_AUTOMATIC:
 		local->user_power_level = -1;
 		break;
-	case TX_POWER_LIMITED:
-		if (dbm < 0)
-			return -EINVAL;
-		local->user_power_level = dbm;
+	case NL80211_TX_POWER_LIMITED:
+		if (mbm < 0 || (mbm % 100))
+			return -EOPNOTSUPP;
+		local->user_power_level = MBM_TO_DBM(mbm);
 		break;
-	case TX_POWER_FIXED:
-		if (dbm < 0)
-			return -EINVAL;
+	case NL80211_TX_POWER_FIXED:
+		if (mbm < 0 || (mbm % 100))
+			return -EOPNOTSUPP;
 		/* TODO: move to cfg80211 when it knows the channel */
-		if (dbm > chan->max_power)
+		if (MBM_TO_DBM(mbm) > chan->max_power)
 			return -EINVAL;
-		local->user_power_level = dbm;
+		local->user_power_level = MBM_TO_DBM(mbm);
 		break;
 	}
 
diff --git a/net/wireless/wext-compat.c b/net/wireless/wext-compat.c
index 9634299..1ff1e9f 100644
--- a/net/wireless/wext-compat.c
+++ b/net/wireless/wext-compat.c
@@ -829,7 +829,7 @@ int cfg80211_wext_siwtxpower(struct net_device *dev,
 {
 	struct wireless_dev *wdev = dev->ieee80211_ptr;
 	struct cfg80211_registered_device *rdev = wiphy_to_dev(wdev->wiphy);
-	enum tx_power_setting type;
+	enum nl80211_tx_power_setting type;
 	int dbm = 0;
 
 	if ((data->txpower.flags & IW_TXPOW_TYPE) != IW_TXPOW_DBM)
@@ -852,7 +852,7 @@ int cfg80211_wext_siwtxpower(struct net_device *dev,
 			if (data->txpower.value < 0)
 				return -EINVAL;
 			dbm = data->txpower.value;
-			type = TX_POWER_FIXED;
+			type = NL80211_TX_POWER_FIXED;
 			/* TODO: do regulatory check! */
 		} else {
 			/*
@@ -860,10 +860,10 @@ int cfg80211_wext_siwtxpower(struct net_device *dev,
 			 * passed in from userland.
 			 */
 			if (data->txpower.value < 0) {
-				type = TX_POWER_AUTOMATIC;
+				type = NL80211_TX_POWER_AUTOMATIC;
 			} else {
 				dbm = data->txpower.value;
-				type = TX_POWER_LIMITED;
+				type = NL80211_TX_POWER_LIMITED;
 			}
 		}
 	} else {
@@ -872,7 +872,7 @@ int cfg80211_wext_siwtxpower(struct net_device *dev,
 		return 0;
 	}
 
-	return rdev->ops->set_tx_power(wdev->wiphy, type, dbm);
+	return rdev->ops->set_tx_power(wdev->wiphy, type, DBM_TO_MBM(dbm));
 }
 EXPORT_SYMBOL_GPL(cfg80211_wext_siwtxpower);
 
-- 
1.6.3.3


^ permalink raw reply related

* [RFC PATCHv2 2/2] nl80211: Add option to adjust transmit power
From: Juuso Oikarinen @ 2010-06-21 10:39 UTC (permalink / raw)
  To: linux-wireless
In-Reply-To: <1277116766-4764-1-git-send-email-juuso.oikarinen@nokia.com>

This patch adds transmit power setting type and transmit power level attributes
to NL80211_CMD_SET_WIPHY in order to facilitate adjusting of the transmit power
level of the device.

The added attributes allow selection of automatic, limited or fixed transmit
power level, with the level definable in signed mBm format.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
---
 include/linux/nl80211.h |    9 +++++++++
 net/wireless/nl80211.c  |   31 +++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 07aa046..2c87016 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -725,6 +725,12 @@ enum nl80211_commands {
  * @NL80211_ATTR_AP_ISOLATE: (AP mode) Do not forward traffic between stations
  *	connected to this BSS.
  *
+ * @NL80211_ATTR_WIPHY_TX_POWER_SETTING: Transmit power setting type. See
+ *      &enum nl80211_tx_power_setting for possible values.
+ * @NL80211_ATTR_WIPHY_TX_POWER_LEVEL: Transmit power level in signed mBm units.
+ *      This is used in association with @NL80211_ATTR_WIPHY_TX_POWER_SETTING
+ *      for non-automatic settings.
+ *
  * @NL80211_ATTR_MAX: highest attribute number currently defined
  * @__NL80211_ATTR_AFTER_LAST: internal use
  */
@@ -882,6 +888,9 @@ enum nl80211_attrs {
 
 	NL80211_ATTR_AP_ISOLATE,
 
+	NL80211_ATTR_WIPHY_TX_POWER_SETTING,
+	NL80211_ATTR_WIPHY_TX_POWER_LEVEL,
+
 	/* add attributes here, update the policy in nl80211.c */
 
 	__NL80211_ATTR_AFTER_LAST,
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 41529ac..a999fc1 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -153,6 +153,9 @@ static const struct nla_policy nl80211_policy[NL80211_ATTR_MAX+1] = {
 	[NL80211_ATTR_CQM] = { .type = NLA_NESTED, },
 	[NL80211_ATTR_LOCAL_STATE_CHANGE] = { .type = NLA_FLAG },
 	[NL80211_ATTR_AP_ISOLATE] = { .type = NLA_U8 },
+
+	[NL80211_ATTR_WIPHY_TX_POWER_SETTING] = { .type = NLA_U32 },
+	[NL80211_ATTR_WIPHY_TX_POWER_LEVEL] = { .type = NLA_U32 },
 };
 
 /* policy for the attributes */
@@ -869,6 +872,34 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
 			goto bad_res;
 	}
 
+	if (info->attrs[NL80211_ATTR_WIPHY_TX_POWER_SETTING]) {
+		enum nl80211_tx_power_setting type;
+		int idx, mbm = 0;
+
+		if (!rdev->ops->set_tx_power) {
+			return -EOPNOTSUPP;
+			goto bad_res;
+		}
+
+		idx = NL80211_ATTR_WIPHY_TX_POWER_SETTING;
+		type = nla_get_u32(info->attrs[idx]);
+
+		if (!info->attrs[NL80211_ATTR_WIPHY_TX_POWER_LEVEL] &&
+		    (type != NL80211_TX_POWER_AUTOMATIC)) {
+			result = -EINVAL;
+			goto bad_res;
+		}
+
+		if (type != NL80211_TX_POWER_AUTOMATIC) {
+			idx = NL80211_ATTR_WIPHY_TX_POWER_LEVEL;
+			mbm = nla_get_u32(info->attrs[idx]);
+		}
+
+		result = rdev->ops->set_tx_power(&rdev->wiphy, type, mbm);
+		if (result)
+			goto bad_res;
+	}
+
 	changed = 0;
 
 	if (info->attrs[NL80211_ATTR_WIPHY_RETRY_SHORT]) {
-- 
1.6.3.3


^ permalink raw reply related

* [PATCH] mac80211: allow selection of minstrel_ht as default rc algo
From: Helmut Schaa @ 2010-06-21  8:59 UTC (permalink / raw)
  To: John Linville; +Cc: linux-wireless, Johannes Berg, Felix Fietkau

Allow selection of minstrel_ht as default rate control algorithm. At the
moment minstrel_ht can only be requested by the driver code but not selected
as default in make menuconfig.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
---
 net/mac80211/Kconfig |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/net/mac80211/Kconfig b/net/mac80211/Kconfig
index 83eec7a..3ad82cd 100644
--- a/net/mac80211/Kconfig
+++ b/net/mac80211/Kconfig
@@ -64,6 +64,11 @@ config MAC80211_RC_DEFAULT_MINSTREL
 	---help---
 	  Select Minstrel as the default rate control algorithm.
 
+config MAC80211_RC_DEFAULT_MINSTREL_HT
+	bool "Minstrel HT"
+	depends on MAC80211_RC_MINSTREL_HT
+	---help---
+	  Select Minstrel HT as the default rate control algorithm.
 
 endchoice
 
@@ -71,6 +76,7 @@ config MAC80211_RC_DEFAULT
 	string
 	default "minstrel" if MAC80211_RC_DEFAULT_MINSTREL
 	default "pid" if MAC80211_RC_DEFAULT_PID
+	default "minstrel_ht" if MAC80211_RC_DEFAULT_MINSTREL_HT
 	default ""
 
 endif
-- 
1.6.4.2


^ permalink raw reply related

* Re: [PATCH] ath9k: Fix kernel panic during rmmod ath9k
From: Vasanthakumar Thiagarajan @ 2010-06-21  8:32 UTC (permalink / raw)
  To: linville@tuxdriver.com; +Cc: linux-wireless@vger.kernel.org
In-Reply-To: <1277105768-1980-1-git-send-email-vasanth@atheros.com>

On Mon, Jun 21, 2010 at 01:06:08PM +0530, Vasanthakumar Thiagarajan wrote:
> This panic was introduced in ar9003 family chipsets
> by the following commit
> 
> 	Author: Felix Fietkau <nbd@openwrt.org>
> 	Date:   Sat Jun 12 00:34:01 2010 -0400
> 
> 	ath9k: implement PA predistortion support
> 
> Above patch does kfree_skb on a PA predistortion frame
> in ath_paprd_calibrate(). This is fine for the cases
> where this frame could not be queued onto sw/hw queues
> or the tx of this frame is completed. But freeing this
> frame upon a failed completion event will result in
> dereferencing a freed memory in ath_tx_complete_buf()
> while draining pending tx frames.
> 
> This patch fixes this issue by moving kfree_skb to
> ath_tx_complete_buf() once the frame is successfully
> queued.
> 
> Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
> ---
>  drivers/net/wireless/ath/ath9k/main.c |    5 +++--
>  drivers/net/wireless/ath/ath9k/xmit.c |    1 +
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
> index c8de50f..37933d3 100644
> --- a/drivers/net/wireless/ath/ath9k/main.c
> +++ b/drivers/net/wireless/ath/ath9k/main.c
> @@ -306,8 +306,10 @@ void ath_paprd_calibrate(struct work_struct *work)
>  		init_completion(&sc->paprd_complete);
>  		ar9003_paprd_setup_gain_table(ah, chain);
>  		txctl.paprd = BIT(chain);
> -		if (ath_tx_start(hw, skb, &txctl) != 0)
> +		if (ath_tx_start(hw, skb, &txctl) != 0) {
> +			kfree_skb(skb);
>  			break;
> +		}
>  
>  		time_left = wait_for_completion_timeout(&sc->paprd_complete,
>  							100);
> @@ -327,7 +329,6 @@ void ath_paprd_calibrate(struct work_struct *work)
>  
>  		chain_ok = 1;
>  	}
> -	kfree_skb(skb);
>  
>  	if (chain_ok) {
>  		ah->curchan->paprd_done = true;
> diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
> index 8c7c615..197e898 100644
> --- a/drivers/net/wireless/ath/ath9k/xmit.c
> +++ b/drivers/net/wireless/ath/ath9k/xmit.c
> @@ -1946,6 +1946,7 @@ static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
>  	if (bf->bf_state.bfs_paprd) {
>  		sc->paprd_txok = txok;
>  		complete(&sc->paprd_complete);
> +		dev_kfree_skb_any(skb);

Please ignore this patch, this is buggy.

Vasanth

^ permalink raw reply

* Re: Bad performance for libertas on Murata combo.
From: Enric Balletbò i Serra @ 2010-06-21  8:11 UTC (permalink / raw)
  To: Dan Williams; +Cc: linux-wireless
In-Reply-To: <1277002793.18385.6.camel@100.103.161.25.in-addr.arpa>

Hello,

2010/6/20 Dan Williams <dcbw@redhat.com>:
> On Sat, 2010-06-19 at 15:53 +0200, Enric Balletbò i Serra wrote:
>> Hi all,
>>
>> Maybe someone can help me ...
>>
>> I am in the process of enabling WLAN for a target board. It has a WLAN
>> Bluetooth (WLAN-BT) combo module from MuRata which has a Marvell WLAN
>> (88W8686) + CSR Bluetooth chipset.
>
> What SDIO host controller?  Does the host controller support interrupts
> and 4-bit mode?  We've always been able to get good performance out of
> laptop host controllers (Ricoh mostly) and the largest source of
> performance issues has always been quirky hardware or non-optimized SDHC
> drivers.  Are there any errata for your SDHC that you're aware of?

I'm using the OMAP controller (omap_hsmmc). The controller is using
4-bit mode but does not support interrupts. Exist some experimental
patches to add support for IRQ to controller which increases the
performance but still is not good.

On the other hand, I'm a bit puzzled with excessive 'Rx invalid crypt'
, 'Invalid misc' and 'Tx excessive retries' reported by iwconfig. Just
going to one web page produces more than 100K "Invalid Misc" errors.
I'm not sure what this means but I think is not a good thing.

Anyone can explain me what exactly means 'Rx invalid crypt' , 'Invalid
misc' and 'Tx excessive retries'  ? What could be wrong? Or how can I
investigate more ?

Thanks in advance,

Enric

>
> If you also turn on kernel MMC debugging and the 'dmesg' output of the
> controller and the libertas device being recognized, that can sometimes
> help determine where the problem lies.
>
> Dan
>
>
>> I can connect to an AP, but the performance is too low. Pinging my AP
>> I see a lot of 'Rx invalid crypt' and 'Invalid misc' packets.
>>
>> I'm using the libertas driver from mainline kernel (2.6.35-rc3) with
>> SDIO interface and these errors are reported using the iwconfig
>> command.
>>
>> I also tested with 2.6.34 and 2.6.33 with same result.
>>
>> Any idea about what this means ? What could be wrong? Or how can I
>> investigate more ?
>>
>> Thanks in advance,
>>
>> Enric
>> --
>> 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

* Re: ATH5k - Signal measurement reports wrong values
From: Bruno Randolf @ 2010-06-21  7:50 UTC (permalink / raw)
  To: Jaroslav Fojtik; +Cc: linux-wireless
In-Reply-To: <4C1F135A.26516.F45AB@jafojtik.seznam.cz>

On Mon June 21 2010 16:23:06 Jaroslav Fojtik wrote:
> Dear Bruno,
> 
> > hi jara!
> > 
> > are you sure it has to do with the upgrade from
> > compat-wireless-2010-06-13 to compat-wireless-2010-06-18? i don't see
> > any relevant differences in the code between these two versions...
> 
>   Sorry, it might be compat-wireless-2010-05-30.

that would make more sense. there are changes in noise floor calibration and 
in antenna diversity setup between these two (2010-05-30 and 2010-06-18). 
either one may be the reason...

> I have tested only 3 versions.
> 
> Anyway, I have observed "false" signal drop even for client stations.
> 
> You could see that purple line als dropped from -61 to -71 without any
> reason: http://78.108.103.11:11080/cgi-bin/klienti_year.cgi
> 
> > it might be interresting to see what results you get from noise
> > calibration. you can enable calibration debugging with "echo calib >
> > /sys/kernel/debug/ath5k/phy0/debug"
> 
> The directory /sys/kernel/debug is empty.
> It looks that I have to recompile kernel. Or do you know any option to
> pass to kernel to allow this feature?

maybe you need to:
  mount -t debugfs debugfs /sys/kernel/debug
?

also you need to compile ath5k with debugging enabled.

can you tell us which chipset you are using (output of dmesg |grep 
"ath5.*chip")?

also it would be interesting to know how you generate your graphs?

bruno



^ permalink raw reply

* [PATCH] ath9k: Fix kernel panic during rmmod ath9k
From: Vasanthakumar Thiagarajan @ 2010-06-21  7:36 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

This panic was introduced in ar9003 family chipsets
by the following commit

	Author: Felix Fietkau <nbd@openwrt.org>
	Date:   Sat Jun 12 00:34:01 2010 -0400

	ath9k: implement PA predistortion support

Above patch does kfree_skb on a PA predistortion frame
in ath_paprd_calibrate(). This is fine for the cases
where this frame could not be queued onto sw/hw queues
or the tx of this frame is completed. But freeing this
frame upon a failed completion event will result in
dereferencing a freed memory in ath_tx_complete_buf()
while draining pending tx frames.

This patch fixes this issue by moving kfree_skb to
ath_tx_complete_buf() once the frame is successfully
queued.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
---
 drivers/net/wireless/ath/ath9k/main.c |    5 +++--
 drivers/net/wireless/ath/ath9k/xmit.c |    1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index c8de50f..37933d3 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -306,8 +306,10 @@ void ath_paprd_calibrate(struct work_struct *work)
 		init_completion(&sc->paprd_complete);
 		ar9003_paprd_setup_gain_table(ah, chain);
 		txctl.paprd = BIT(chain);
-		if (ath_tx_start(hw, skb, &txctl) != 0)
+		if (ath_tx_start(hw, skb, &txctl) != 0) {
+			kfree_skb(skb);
 			break;
+		}
 
 		time_left = wait_for_completion_timeout(&sc->paprd_complete,
 							100);
@@ -327,7 +329,6 @@ void ath_paprd_calibrate(struct work_struct *work)
 
 		chain_ok = 1;
 	}
-	kfree_skb(skb);
 
 	if (chain_ok) {
 		ah->curchan->paprd_done = true;
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index 8c7c615..197e898 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1946,6 +1946,7 @@ static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
 	if (bf->bf_state.bfs_paprd) {
 		sc->paprd_txok = txok;
 		complete(&sc->paprd_complete);
+		dev_kfree_skb_any(skb);
 	} else {
 		ath_tx_complete(sc, skb, bf->aphy, tx_flags);
 		ath_debug_stat_tx(sc, txq, bf, ts);
-- 
1.7.0.4


^ permalink raw reply related

* Re: ATH5k - Signal measurement reports wrong values
From: Jaroslav Fojtik @ 2010-06-21  7:23 UTC (permalink / raw)
  To: linux-wireless; +Cc: Bruno Randolf
In-Reply-To: <201006211026.48484.br1@einfach.org>

Dear Bruno,

> hi jara!
> 
> are you sure it has to do with the upgrade from compat-wireless-2010-06-13 to 
> compat-wireless-2010-06-18? i don't see any relevant differences in the code 
> between these two versions...
  Sorry, it might be compat-wireless-2010-05-30. 
I have tested only 3 versions.

Anyway, I have observed "false" signal drop even for client stations.

You could see that purple line als dropped from -61 to -71 without any reason:
http://78.108.103.11:11080/cgi-bin/klienti_year.cgi


> it might be interresting to see what results you get from noise calibration. 
> you can enable calibration debugging with "echo calib > 
> /sys/kernel/debug/ath5k/phy0/debug"
The directory /sys/kernel/debug is empty. 
It looks that I have to recompile kernel. Or do you know any option to 
pass to kernel to allow this feature?

regards
   Jara


^ permalink raw reply

* [PATCHv4] mac80211: Add interface for driver to temporarily disable dynamic ps
From: Juuso Oikarinen @ 2010-06-21  5:59 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>
---
v4: the previous version was on top of an old wireless-testing/master, this
    one should be up-to-date.

 include/net/mac80211.h     |   39 +++++++++++++++++++++++++++++++++++++++
 net/mac80211/ieee80211_i.h |    2 ++
 net/mac80211/mlme.c        |   39 ++++++++++++++++++++++++++++++++++++++-
 3 files changed, 79 insertions(+), 1 deletions(-)

diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index fe1a3a6..7f256e2 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1271,6 +1271,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
@@ -2447,6 +2456,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 fb54301..f9251d5 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -855,6 +855,8 @@ struct ieee80211_local {
 	 * this will override whatever chosen by mac80211 internally.
 	 */
 	int dynamic_ps_forced_timeout;
+	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 85c3ca3..d196265 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)
@@ -575,7 +609,10 @@ void ieee80211_recalc_ps(struct ieee80211_local *local, s32 latency)
 			else
 				timeout = 100;
 		}
-		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

* Re: [ath5k-devel] [PATCH v2] ath5k: disable ASPM
From: Luis R. Rodriguez @ 2010-06-21  5:53 UTC (permalink / raw)
  To: Maxim Levitsky
  Cc: David Quan, Bob Copeland, Luis R. Rodriguez, Jussi Kivilinna,
	ath5k-devel, linux-wireless, linux-kernel
In-Reply-To: <1277032723.9555.12.camel@maxim-laptop>

On Sun, Jun 20, 2010 at 4:18 AM, Maxim Levitsky <maximlevitsky@gmail.com> wrote:
> On Sun, 2010-06-20 at 01:13 -0700, Luis R. Rodriguez wrote:
>> > commit ac5de416f822917b927958b21186a82141550da7
>> > Author: Maxim Levitsky <maximlevitsky@gmail.com>
>> > Date:   Thu Jun 17 23:21:42 2010 +0300
>> >
>> >    ath5k: disable ASPM
>>
>> You are not disabling ASPM, you are disabling L0s. ASPM can work with
>> L1, for example.
> This is left over from original patch.

Your latest patch still has all this old info, please adjust.

> with open coded code I was able to disable just L0s and get stable
> operation.
> Note however that with this patch which implies CONFIG_PCIEASPM, pci
> core disables both L0s and L1

You do not need CONFIG_PCIEASPM to use ASPM on Linux, that is another
thing I have been meaning to clarify upstream but haven't had time to
do so yet.

> (I still need to test and see if I need that patch at all. Maybe just
> enabling CONFIG_PCIEASPM is enough...)

You should be able to test ASPM by just enabling the driver.

>> >    Atheros card on Acer Aspire One (AOA150, Atheros Communications Inc. AR5001
>> >    Wireless Network Adapter [168c:001c] (rev 01)) doesn't work well with ASPM
>> >    enabled. With ASPM ath5k will eventually stall on heavy traffic with often
>> >    'unsupported jumbo' warnings appearing. Disabling ASPM L0s in ath5k fixes
>> >    these problems.
>> >
>> >    Reproduced with pcie_aspm=force and by using 'nc < /dev/zero > /dev/null' at
>> >    both ends (usually stalls within seconds).
>>
>> I *highly* discourage the use of pcie_aspm=force, in fact I'm inclined
>> to just remove this junk code from the kernel. What you should do to
>> test ASPM on a device is to use setpci on the config space. I have
>> documented how you can do this here:
>>
>> http://wireless.kernel.org/en/users/Documentation/ASPM
>>
>> Reason for discouraging this is when you use this you enable ASPM on
>> *all* root complexes and *all* devices which do support ASPM. If you
>> have another device which is capable of ASPM but has it disabled for
>> some reason you will run into other issues.
>>
>> I should also note that loading a module already has an effect on
>> devices for ASPM. An example today is ath9k's ath9k_hw_init() which
>> runs simply during module load, this has some ASPM related code which
>> for example disables the PLL for ASPM for AR9003. I don't recall
>> exactly what we do with ath5k but just giving you an idea. To truly
>> test ASPM well I recommend to do something similar as with this script
>> or you can just give it a shot.
>>
>> http://kernel.org/pub/linux/kernel/people/mcgrof/aspm/enable-aspm
>>
>> Not like I expect very different results but just wanted to clarify
>> the details on force aspm.
>>
>> Why are you disabling L0s for all devices though? Why not just for the
>> reported device? Granted, L0s won't save you much more power but
>> still, why remove it completely, your commit log does not address that
>> in any way. It only states you have issues with L0s on one chipset but
>> what the patch really implies is you are disabling L0s completely for
>> all ath5k chipsets.
>
> First of all there aren't many PCIE ath5k based devices.

Doesn't matter.

> Two of them are known to be broken.

Which ones?

> Also Jussi Kivilinna said that he found that in windows .inf file there
> are some instructions to enable L1 but not L0s.

For which chipsets?

> Note that I tested that again, and card works very stable.

Thanks for your work on this, I want to just check internally if there
is another way, that's all.

> I didn't see a single drop to 0 bytes/s. In fact throughput never drops
> below 1 Mb/s. (usually about 2.4 Mb/s, with rare drops for few seconds
> to ~1Mb/s)

Disabling L0s should not affect performance.

  Luis

^ permalink raw reply

* Re: Problems connectring to an AP with Acer Aspire Revo
From: Pavel Roskin @ 2010-06-21  2:32 UTC (permalink / raw)
  To: Carlos Balseiro; +Cc: linux-wireless
In-Reply-To: <AANLkTilrB5Zq2klYY2p5wLt3eRXkWIlv6Nko8tcDpk0s@mail.gmail.com>

On Fri, 2010-06-18 at 15:06 +0200, Carlos Balseiro wrote:
> Any news on this item?

You are very unlikely to get a useful answer if you post such questions.
If somebody dealt with your question, you would know it already.  But if
the issue was fixed by somebody not familiar with your previous post,
that person would have no idea that the fix applies to your problem.

If you want a good answer, please put some effort into your question:
summarize the problem, provide links to previous posts, show what you
have tried.

-- 
Regards,
Pavel Roskin

^ permalink raw reply

* Re: ATH5k - Signal measurement reports wrong values
From: Bruno Randolf @ 2010-06-21  1:26 UTC (permalink / raw)
  To: Jaroslav Fojtik; +Cc: linux-wireless
In-Reply-To: <4C1E6A13.4259.24AF3C@jafojtik.seznam.cz>

On Mon June 21 2010 04:20:51 Jaroslav Fojtik wrote:
> Dears,
> 
> Look at the attached chart.
> 
> After upgrading from compat-wireless-2010-06-13 to
> compat-wireless-2010-06-18 the reported signal drops from -65dB to -77dB.
> 
> The ATH5k simply lies, because green line in reverse direction did not
> change. The second point has bullet.
> 
> Only purple line dropped.
> 
> But from my point of view the purple line should be comparable with green
> line (measured by bullet). If somebody is interested in experiment, I could
> fiddle with Tx power on a bullet and chart a response.

hi jara!

are you sure it has to do with the upgrade from compat-wireless-2010-06-13 to 
compat-wireless-2010-06-18? i don't see any relevant differences in the code 
between these two versions...

it might be interresting to see what results you get from noise calibration. 
you can enable calibration debugging with "echo calib > 
/sys/kernel/debug/ath5k/phy0/debug"

bruno

^ permalink raw reply

* Re: [ath5k-devel] [PATCH] ath5k: initialize ah->ah_current_channel
From: Bruno Randolf @ 2010-06-21  0:46 UTC (permalink / raw)
  To: ath5k-devel; +Cc: Bob Copeland, linville, sbrown, linux-wireless, stable
In-Reply-To: <1276881323-31807-1-git-send-email-me@bobcopeland.com>

On Sat June 19 2010 02:15:23 Bob Copeland wrote:
> ath5k assumes ah_current_channel is always a valid pointer in
> several places, but a newly created interface may not have a
> channel.  To avoid null pointer dereferences, set it up to point
> to the first available channel until later reconfigured.
> 
> This fixes the following oops:
> $ rmmod ath5k
> $ insmod ath5k
> $ iw phy0 set distance 11000
> 
> 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 ]---
> 
> Cc: stable@kernel.org
> Reported-by: Steve Brown <sbrown@cortland.com>
> Signed-off-by: Bob Copeland <me@bobcopeland.com>
> ---
>  drivers/net/wireless/ath/ath5k/attach.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath5k/attach.c
> b/drivers/net/wireless/ath/ath5k/attach.c index ef2dc1d..b32e28c 100644
> --- a/drivers/net/wireless/ath/ath5k/attach.c
> +++ b/drivers/net/wireless/ath/ath5k/attach.c
> @@ -126,6 +126,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc)
>  	ah->ah_ant_mode = AR5K_ANTMODE_DEFAULT;
>  	ah->ah_noise_floor = -95;	/* until first NF calibration is run */
>  	sc->ani_state.ani_mode = ATH5K_ANI_MODE_AUTO;
> +	ah->ah_current_channel = &sc->channels[0];
> 
>  	/*
>  	 * Find the mac version

Acked-by: Bruno Randolf <br1@einfach.org>

^ permalink raw reply

* Re: 2.6.35-rc3: Reported regressions from 2.6.34
From: Maxim Levitsky @ 2010-06-20 22:58 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: <lc60d4toGTL.A.QzD._LpHMB@chimera>

On Mon, 2010-06-21 at 00:11 +0200, Rafael J. Wysocki wrote: 
> This message contains a list of some regressions from 2.6.34,
> for which there are no fixes in the mainline known to the tracking team.
> If any of them have been fixed already, please let us know.
> 
> If you know of any other unresolved regressions from 2.6.34, please let us
> know either and we'll add them to the list.  Also, please let us know
> if any of the entries below are invalid.
> 
> Each entry from the list will be sent additionally in an automatic reply
> to this message with CCs to the people involved in reporting and handling
> the issue.
> 
> 
> Listed regressions statistics:
> 
>   Date          Total  Pending  Unresolved
>   ----------------------------------------
>   2010-06-21       46       37          26
>   2010-06-09       15       13          10
> 
> 
> Unresolved regressions
> ----------------------
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16255
> Subject		: 2.6.35-rc3 deadlocks on semaphore operations
> Submitter	: Christoph Lameter <cl@linux-foundation.org>
> Date		: 2010-06-18 14:49 (3 days old)
> Message-ID	: <alpine.DEB.2.00.1006180940140.11575@router.home>
> References	: http://marc.info/?l=linux-kernel&m=127687262727707&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16248
> Subject		: inconsistent lock state
> Submitter	: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
> Date		: 2010-06-15 11:24 (6 days old)
> Message-ID	: <20100615112434.GA3967@swordfish.minsk.epam.com>
> References	: http://marc.info/?l=linux-kernel&m=127660087625903&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16247
> Subject		: drm/i915 BUG with 2.6.35-rc
> Submitter	: Benny Halevy <bhalevy@panasas.com>
> Date		: 2010-06-14 22:38 (7 days old)
> Message-ID	: <4C16AF56.1040002@panasas.com>
> References	: http://marc.info/?l=linux-kernel&m=127655510531367&w=2


Don't have time to test, but I confirm that running compiz without
mode-setting (ubuntu 8.10) hangs the system. (device is i945)
It might be related to few intel regressions on this list.



> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16235
> Subject		: [REGRESSION] [IWL3945] Broadcast is broken?
> Submitter	: Maciej Rutecki <maciej.rutecki@gmail.com>
> Date		: 2010-06-14 17:24 (7 days old)
> Message-ID	: <201006141924.24061.maciej.rutecki@gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127653628301300&w=2
I was hit by this bug. Fix is now present in iwlwifi tree.
http://git.kernel.org/?p=linux/kernel/git/iwlwifi/iwlwifi-2.6.git;a=commit;h=4d23e4e5eb50431426facf192354ad2506e2dd40


> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16234
> Subject		: [2.6.35-rc3] reboot mutex 'bug'...
> Submitter	: Daniel J Blueman <daniel.blueman@gmail.com>
> Date		: 2010-06-14 15:16 (7 days old)
> Message-ID	: <AANLkTimDcTnyEPmt2ZcCM1UWtn4AYKotiqyjobJApkO7@mail.gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127652861118933&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16232
> Subject		: 2.6.35-rc3 - WARNING:iwl_set_dynamic_key
> Submitter	: Mario Guenterberg <mario.guenterberg@googlemail.com>
> Date		: 2010-06-14 11:55 (7 days old)
> Message-ID	: <20100614115510.GA7904@guenti-laptop>
> References	: http://marc.info/?l=linux-kernel&m=127651695627147&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16230
> Subject		: inconsistent IN-HARDIRQ-W -> HARDIRQ-ON-W usage: fasync, 2.6.35-rc3
> Submitter	: Dominik Brodowski <linux@dominikbrodowski.net>
> Date		: 2010-06-13 9:53 (8 days old)
> Message-ID	: <20100613095305.GA13231@comet.dominikbrodowski.net>
> References	: http://marc.info/?l=linux-kernel&m=127642282208277&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16228
> Subject		: BUG/boot failure on Dell Precision T3500 (pci/ahci_stop_engine)
> Submitter	: Brian Bloniarz <phunge0@hotmail.com>
> Date		: 2010-06-16 17:57 (5 days old)
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16222
> Subject		: 2.6.35-rc{12} regression: inactive console corrupted
> Submitter	: Pavel Machek <pavel@ucw.cz>
> Date		: 2010-06-12 10:33 (9 days old)
> Message-ID	: <20100612103321.GA1458@ucw.cz>
> References	: http://marc.info/?l=linux-kernel&m=127633882614501&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16221
> Subject		: 2.6.35-rc2-git5 -- [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
> Submitter	: Miles Lane <miles.lane@gmail.com>
> Date		: 2010-06-11 20:31 (10 days old)
> Message-ID	: <AANLkTim0jVRyqkwlGOcrg_XTvUQwcBYfWJX-aRzkkrLG@mail.gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127628828119623&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16205
> Subject		: acpi: freeing invalid memtype bf799000-bf79a000
> Submitter	: Marcin Slusarz <marcin.slusarz@gmail.com>
> Date		: 2010-06-09 20:09 (12 days old)
> Message-ID	: <20100609200910.GA2876@joi.lan>
> References	: http://marc.info/?l=linux-kernel&m=127611427029914&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16201
> Subject		: SIOCGIWFREQ ioctl fails to get frequency info
> Submitter	: nuh <nuh@mailinator.net>
> Date		: 2010-06-14 10:45 (7 days old)
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16199
> Subject		: 2.6.35-rc2-git1 - include/linux/cgroup.h:534 invoked rcu_dereference_check() without protection!
> Submitter	: Miles Lane <miles.lane@gmail.com>
> Date		: 2010-06-07 18:14 (14 days old)
> Message-ID	: <AANLkTin2pPqOUx--9fIX3BH3e-cU6oCRufijcx_4ozx5@mail.gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127593447812015&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16198
> Subject		: Running make install over sshfs is painful now
> Submitter	: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Date		: 2010-06-07 6:53 (14 days old)
> Message-ID	: <20100607065324.GA25590@core.coreip.homeip.net>
> References	: http://marc.info/?l=linux-kernel&m=127589362011138&w=2
I confirm this.
Its direct result of adding '+' to kernel version.
This just causes only troubles.
I suggest to have a config option for it.


> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16197
> Subject		: [BUG on 2.6.35-rc2] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:11.0/0000:02:03.0/slot'
> Submitter	: Ryan Wang <openspace.wang@gmail.com>
> Date		: 2010-06-07 0:23 (14 days old)
> Message-ID	: <AANLkTincwMZPnYW3S4uz4k2GOn52RpgBIBRfzyD010Yo@mail.gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127587022219378&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16184
> Subject		: Container, X86-64, i386, iptables rule
> Submitter	: Jean-Marc Pigeon <jmp@safe.ca>
> Date		: 2010-06-12 04:17 (9 days old)
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16179
> Subject		: 2.6.35-rc2 completely hosed on intel gfx?
> Submitter	: Norbert Preining <preining@logic.at>
> Date		: 2010-06-06 11:55 (15 days old)
> Message-ID	: <20100606115534.GA9399@gamma.logic.tuwien.ac.at>
> References	: http://marc.info/?l=linux-kernel&m=127582534931581&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16178
> Subject		: 2.6.35-rc2 : OOPS with LTP memcg regression test run.
> Submitter	: Sachin Sant <sachinp@in.ibm.com>
> Date		: 2010-06-06 15:18 (15 days old)
> Message-ID	: <4C0BB98E.9030101@in.ibm.com>
> References	: http://marc.info/?l=linux-kernel&m=127583683912607&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16176
> Subject		: Microcode errors with iwl3945
> Submitter	: Steinar H. Gunderson <sgunderson@bigfoot.com>
> Date		: 2010-06-10 19:28 (11 days old)
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16175
> Subject		: 2.6.35-rc1 system oom, many processes killed but memory not free
> Submitter	: andrew hendry <andrew.hendry@gmail.com>
> Date		: 2010-06-05 0:46 (16 days old)
> Message-ID	: <AANLkTim7CiW-yfugZUAHZCqLvXKgt9CwolCvbLGdCLAk@mail.gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127569877714937&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16173
> Subject		: After uncompressing the kernel, at boot time, the server hangs.
> Submitter	: David Hill <hilld@binarystorm.net>
> Date		: 2010-06-09 23:25 (12 days old)
> First-Bad-Commit: http://git.kernel.org/linus/cf7500c0ea133d66f8449d86392d83f840102632
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16172
> Subject		: 2.6.25-rc1 ahci regression
> Submitter	: Luming Yu <luming.yu@gmail.com>
> Date		: 2010-06-03 7:02 (18 days old)
> First-Bad-Commit: http://git.kernel.org/linus/365cfa1ed5a36f9bcb9f64c9f0f52155af2e9fef
> Message-ID	: <AANLkTikWak8i-Kaj-e-EUFWE66tfMmp2UPhGJCKkK1zK@mail.gmail.com>>
> References	: http://marc.info/?l=linux-kernel&m=127554855724361&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16160
> Subject		: 2.6.35 Radeon KMS power management regression?
> Submitter	: Nigel Cunningham <ncunningham@crca.org.au>
> Date		: 2010-06-01 6:23 (20 days old)
> Message-ID	: <4C04A767.8000209@crca.org.au>
> References	: http://marc.info/?l=linux-kernel&m=127537343722290&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16145
> Subject		: Unable to boot unless "notsc" or "clocksource=hpet", or acpi_pad disabling the TSC
> Submitter	: Tom Gundersen <teg@jklm.no>
> Date		: 2010-06-07 13:11 (14 days old)
> Handled-By	: Venkatesh Pallipadi <venki@google.com>
> 		  Len Brown <lenb@kernel.org>
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16122
> Subject		: 2.6.35-rc1: WARNING at fs/fs-writeback.c:1142 __mark_inode_dirty+0x103/0x170
> Submitter	: Larry Finger <Larry.Finger@lwfinger.net>
> Date		: 2010-06-04 13:18 (17 days old)
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16090
> Subject		: sysfs: cannot create duplicate filename
> Submitter	: Tobias <devnull@plzk.org>
> Date		: 2010-06-01 15:59 (20 days old)
> Handled-By	: Jesse Barnes <jbarnes@virtuousgeek.org>
> 
> 
> Regressions with patches
> ------------------------
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16231
> Subject		: Noticeable slow-down in 2.6.35-rc3
> Submitter	: Chris Clayton <chris2553@googlemail.com>
> Date		: 2010-06-13 20:15 (8 days old)
> First-Bad-Commit: http://git.kernel.org/linus/597a264b1a9c7e36d1728f677c66c5c1f7e3b837
> Message-ID	: <AANLkTimDUf0N6b5PBy2wTGeAWEIY-lUvQPHQ7D7Gyrq4@mail.gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127646015226601&w=2
> Handled-By	: John Fastabend <john.r.fastabend@intel.com>
> Patch		: https://patchwork.kernel.org/patch/105859/
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16220
> Subject		: md/raid/udev fails to create md partition devices (/dev/mdXpY)
> Submitter	: Duncan <1i5t5.duncan@cox.net>
> Date		: 2010-06-15 17:19 (6 days old)
> Handled-By	: Neil Brown <neilb@suse.de>
> Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16220#c2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16215
> Subject		: sysfs: cannot create duplicate filename '/class/net/bnep0'
> Submitter	: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
> Date		: 2010-06-15 14:55 (6 days old)
> Handled-By	: Eric W. Biederman <ebiederm@xmission.com>
> Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16215#c10
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16196
> Subject		: 2.6.35-rc2-git1 - WARNING: at net/wireless/mlme.c:341 cfg80211_send_assoc_timeout+0x107/0x11e [cfg80211]()
> Submitter	: Miles Lane <miles.lane@gmail.com>
> Date		: 2010-06-07 19:06 (14 days old)
> Message-ID	: <AANLkTinmZh9GnrZLzOGi5Q_xHbky8cKdHAkOnsIA6_dZ@mail.gmail.com>
> References	: http://marc.info/?l=linux-kernel&m=127593758817428&w=2
> Handled-By	: Johannes Berg <johannes.berg@intel.com>
> Patch		: http://marc.info/?l=linux-wireless&m=127608099427316&w=2
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16180
> Subject		: radeon regression with 2.6.35-rc2-00001-g386f40c: black screen after resume
> Submitter	: cedric <cedric@belbone.be>
> Date		: 2010-06-11 10:59 (10 days old)
> Handled-By	: Cedric Godin <cedric.godin@skynet.be>
> Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26733
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16169
> Subject		: Complain from preemptive debug
> Submitter	: Sedat Dilek <sedat.dilek@googlemail.com>
> Date		: 2010-05-31 10:10 (21 days old)
> Message-ID	: <AANLkTilTnAAZIizKinYsxFkNTkrmPqk6XJJuUjjhJ7EP@mail.gmail.com>
> References	: http://lkml.org/lkml/2010/5/31/77
> Handled-By	: Dmitry Monakhov <dmonakhov@openvz.org>
> Patch		: http://www.spinics.net/lists/cpufreq/msg01631.html
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16156
> Subject		: No Sound with 2.6.34.x Kernel with my Audio-Chip
> Submitter	: Ch: Hanisch <ch-hanisch@t-online.de>
> Date		: 2010-06-08 11:51 (13 days old)
> Handled-By	: Takashi Iwai <tiwai@suse.de>
> Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26724
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16131
> Subject		: kernel BUG at fs/btrfs/extent-tree.c:4363 (btrfs_free_tree_block)
> Submitter	: Chow Loong Jin <hyperair@ubuntu.com>
> Date		: 2010-06-05 18:53 (16 days old)
> Handled-By	: Yan Zheng <zheng.yan@oracle.com>
> Patch		: https://patchwork.kernel.org/patch/103235/
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16127
> Subject		: Boot freeze on HP Compaq nx6325 (RS482) with Radeon KMS
> Submitter	: Jure Repinc <jlp.bugs@gmail.com>
> Date		: 2010-06-04 21:14 (17 days old)
> Handled-By	: Dave Airlie <airlied@linux.ie>
> Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26677
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16120
> Subject		: Oops: 0000 [#1] SMP, unable to handle kernel NULL pointer dereference at (null)
> Submitter	: Alex Zhavnerchik <alex.vizor@gmail.com>
> Date		: 2010-06-04 09:25 (17 days old)
> Handled-By	: Eric Dumazet <eric.dumazet@gmail.com>
> Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16120#c6
> 
> 
> Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16092
> Subject		: Caught 64-bit read from uninitialized memory in memtype_rb_augment_cb
> Submitter	: Christian Casteyde <casteyde.christian@free.fr>
> Date		: 2010-06-01 18:08 (20 days old)
> Handled-By	: Venki <venki@google.com>
> Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16092#c2
> 
> 
> For details, please visit the bug entries and follow the links given in
> references.
> 
> As you can see, there is a Bugzilla entry for each of the listed regressions.
> There also is a Bugzilla entry used for tracking the regressions from 2.6.34,
> unresolved as well as resolved, at:
> 
> http://bugzilla.kernel.org/show_bug.cgi?id=16055
> 
> Please let the tracking team know if there are any Bugzilla entries that
> should be added to the list in there.
> 
> Thanks!
> 
> --
> 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

* 2.6.35-rc3: Reported regressions 2.6.33 -> 2.6.34
From: Rafael J. Wysocki @ 2010-06-20 22:32 UTC (permalink / raw)
  To: Linux Kernel Mailing List
  Cc: Maciej Rutecki, Andrew Morton, Linus Torvalds,
	Kernel Testers List, Network Development, Linux ACPI,
	Linux PM List, Linux SCSI List, Linux Wireless List, DRI

This message contains a list of some post-2.6.33 regressions introduced before
2.6.34, for which there are no fixes in the mainline known to the tracking team.
If any of them have been fixed already, please let us know.

If you know of any other unresolved post-2.6.33 regressions, please let us know
either and we'll add them to the list.  Also, please let us know if any
of the entries below are invalid.

Each entry from the list will be sent additionally in an automatic reply to
this message with CCs to the people involved in reporting and handling the
issue.


Listed regressions statistics:

  Date          Total  Pending  Unresolved
  ----------------------------------------
  2010-06-21      114       36          28
  2010-06-13      111       40          34
  2010-05-09       80       27          24
  2010-05-04       76       26          22
  2010-04-20       64       35          34
  2010-04-07       48       35          33
  2010-03-21       15       13          10


Unresolved regressions
----------------------

Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16254
Subject		: TCP stream performance regression due to c377411f2494a931ff7facdbb3a6839b1266bcf6
Submitter	: Alex,Shi <alex.shi@intel.com>
Date		: 2010-06-18 7:17 (3 days old)
First-Bad-Commit: http://git.kernel.org/linus/c377411f2494a931ff7facdbb3a6839b1266bcf6
Message-ID	: <1276845448.2118.346.camel@debian>
References	: http://marc.info/?l=linux-kernel&m=127684931020672&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16233
Subject		: Fwd: [2.6.34] INFO: task rsync:20019 blocked for more than 120 seconds.
Submitter	: Jan De Luyck <mailinglists+linuxkernel_20080830@kcore.org>
Date		: 2010-06-14 19:49 (7 days old)
Message-ID	: <AANLkTimutyh3WIALv3NIxA8Xt5JtU6tp4EWOnuSqhdyD@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127654498016377&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16207
Subject		: Suspend hangs since 2.6.34
Submitter	: Tino Keitel <tino.keitel+xorg@tikei.de>
Date		: 2010-06-09 17:53 (12 days old)
Message-ID	: <20100609175356.GA17332@x61.home>
References	: http://marc.info/?l=linux-kernel&m=127610606214060&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16206
Subject		: PROBLEM: PPP and other serial port related application hangs in kernel space
Submitter	: Ales Teska <ales.teska@gmail.com>
Date		: 2010-06-09 20:46 (12 days old)
Message-ID	: <900E3B14-5B92-4A37-9581-049DB40F4D1C@gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127611640301071&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16170
Subject		: Leadtek Winfast DTV Dongle (STK7700P based) is not working in 2.6.34
Submitter	:  <macjariel@gmail.com>
Date		: 2010-06-09 11:11 (12 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16162
Subject		: SSD + sata_nv + btrfs oops
Submitter	: Dave Airlie <airlied@gmail.com>
Date		: 2010-06-01 3:04 (20 days old)
Message-ID	: <AANLkTilqsIdlzZgUf7TMLHYKqHDZoVkcs42vcG8wXKEr@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127536149022333&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16158
Subject		: winxp guest hangs after idle for ~30 minutes
Submitter	:  <brimhall@pobox.com>
Date		: 2010-06-08 17:52 (13 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16139
Subject		: wait_even_interruptible_timeout(), signal, spin_lock() = system hang
Submitter	: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Date		: 2010-05-28 16:44 (24 days old)
Message-ID	: <AANLkTiliRFydAhxH2-Dp1RKuz6sq7vgWIcMvLMi68ftg@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127506510328758&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16137
Subject		: Ooops in BTRFS in 2.6.34 / x86_64 when mounting subvolume by name
Submitter	: armin walland <a.walland@focusmr.com>
Date		: 2010-05-27 12:27 (25 days old)
Message-ID	: <201005271428.01239.a.walland@focusmr.com>
References	: http://marc.info/?l=linux-kernel&m=127496434110736&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16135
Subject		: [BUG] kacpi_notify goes into an infinite loop (luckly it calls cond_resched)
Submitter	: Steven Rostedt <rostedt@goodmis.org>
Date		: 2010-05-29 1:01 (23 days old)
First-Bad-Commit: http://git.kernel.org/linus/fa80945269f312bc609e8384302f58b03c916e12
Message-ID	: <1275094882.22648.607.camel@gandalf.stny.rr.com>
References	: http://marc.info/?l=linux-kernel&m=127509490405845&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16111
Subject		: hostap_pci: infinite registered netdevice wifi0
Submitter	: Petr Pisar <petr.pisar@atlas.cz>
Date		: 2010-06-02 20:55 (19 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16097
Subject		: 2.6.34 on Samsung P460: reset after "Waiting for /dev to be fully populated"
Submitter	: Harald Dunkel <harald.dunkel@aixigo.de>
Date		: 2010-05-25 9:12 (27 days old)
Message-ID	: <4BFB947E.9080509@aixigo.de>
References	: http://marc.info/?l=linux-kernel&m=127477877432254&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16084
Subject		: iwl3945 bug in 2.6.34
Submitter	: Satish Eerpini <eerpini@gmail.com>
Date		: 2010-05-23 6:37 (29 days old)
Message-ID	: <AANLkTik_7rxDBc0TKlAfoYyM5S6Cf_Hyxbr4W5ORnTsq@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127459596015626&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16082
Subject		: host panic on kernel 2.6.34
Submitter	: Hao, Xudong <xudong.hao@intel.com>
Date		: 2010-05-24 8:23 (28 days old)
Message-ID	: <BC00F5384FCFC9499AF06F92E8B78A9E04DCCCE242@shsmsx502.ccr.corp.intel.com>
References	: http://marc.info/?l=linux-kernel&m=127468951208864&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16050
Subject		: The ibmcam driver is not working
Submitter	: Bill Davidsen <davidsen@tmr.com>
Date		: 2010-05-25 23:02 (27 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16035
Subject		: Incorrect initial resolution of (external) vga monitor with KMS
Submitter	:  <andreas.eckstein@gmx.net>
Date		: 2010-05-23 12:28 (29 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16034
Subject		: 2.6.34: dlm: possible circular locking dependency detected
Submitter	: CaT <cat@zip.com.au>
Date		: 2010-05-21 6:59 (31 days old)
Message-ID	: <20100521065933.GH2657@zip.com.au>
References	: http://marc.info/?l=linux-kernel&m=127442519608471&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15977
Subject		: WARNING: at lib/dma-debug.c:866 check_for_stack
Submitter	: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Date		: 2010-05-14 8:56 (38 days old)
Message-ID	: <AANLkTikyx2eaxaiUCFDSfpmn1UG0t2GOxArz6F4wp1LJ@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127382742729825&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15936
Subject		: Suspicious rcu_dereference_check() usage detected during 2.6.34-rc6 boot on PPC64/p5 processor
Submitter	: Subrata Modak <subrata@linux.vnet.ibm.com>
Date		: 2010-05-06 7:29 (46 days old)
Message-ID	: <1273130279.4898.5.camel@subratamodak.linux.ibm.com>
References	: http://marc.info/?l=linux-kernel&m=127313031922395&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15924
Subject		: kacpid consumes ~100% CPU, system freezes randomly
Submitter	: Jaroslav Kameník <jaroslav@kamenik.cz>
Date		: 2010-05-06 21:12 (46 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15862
Subject		: 2.6.34-rc4/5: iwlagn unusable until reload
Submitter	: Nico Schottelius <nico-linux-20100427@schottelius.org>
Date		: 2010-04-27 7:49 (55 days old)
Message-ID	: <20100427074934.GB3261@ikn.schottelius.org>
References	: http://marc.info/?l=linux-kernel&m=127235784004839&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15805
Subject		: reiserfs locking
Submitter	: Alexander Beregalov <a.beregalov@gmail.com>
Date		: 2010-04-15 21:02 (67 days old)
Message-ID	: <t2ka4423d671004151402n7b2dc425mdc9c6bb9640d63fb@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127136535323933&w=2
Handled-By	: Frederic Weisbecker <fweisbec@gmail.com>


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15717
Subject		: bluetooth oops
Submitter	: Pavel Machek <pavel@ucw.cz>
Date		: 2010-03-14 20:14 (99 days old)
Message-ID	: <20100314201434.GE22059@elf.ucw.cz>
References	: http://marc.info/?l=linux-kernel&m=126859771528426&w=4
Handled-By	: Marcel Holtmann <marcel@holtmann.org>


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15704
Subject		: [r8169] WARNING: at net/sched/sch_generic.c
Submitter	: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Date		: 2010-03-31 10:21 (82 days old)
Message-ID	: <20100331102142.GA3294@swordfish.minsk.epam.com>
References	: http://marc.info/?l=linux-kernel&m=127003090406108&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15673
Subject		: 2.6.34-rc2: "ima_dec_counts: open/free imbalance"?
Submitter	: Thomas Meyer <thomas@m3y3r.de>
Date		: 2010-03-28 11:31 (85 days old)
Message-ID	: <1269775909.5301.4.camel@localhost.localdomain>
References	: http://marc.info/?l=linux-kernel&m=126977593326800&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15671
Subject		: intel graphic card hanging (Hangcheck timer elapsed... GPU hung)
Submitter	: Norbert Preining <preining@logic.at>
Date		: 2010-03-27 16:11 (86 days old)
Message-ID	: <20100327161104.GA12043@gamma.logic.tuwien.ac.at>
References	: http://marc.info/?l=linux-kernel&m=126970883105262&w=2
Handled-By	: Jesse Barnes <jbarnes@virtuousgeek.org>


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15669
Subject		: INFO: suspicious rcu_dereference_check()
Submitter	: Zdenek Kabelac <zdenek.kabelac@gmail.com>
Date		: 2010-03-08 1:26 (105 days old)
Message-ID	: <c4e36d111003250348q678eb2e6w4f3e8133e7fd6e58@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=126801163107713&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15664
Subject		: Graphics hang and kernel backtrace when starting Azureus with Compiz enabled
Submitter	: Alex Villacis Lasso <avillaci@ceibo.fiec.espol.edu.ec>
Date		: 2010-04-01 01:09 (81 days old)


Regressions with patches
------------------------

Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16147
Subject		: ksoftirq hogs the CPU
Submitter	: Thomas Jarosch <thomas.jarosch@intra2net.com>
Date		: 2010-06-07 15:17 (14 days old)
First-Bad-Commit: http://git.kernel.org/linus/ae74e823cb7d4cd476f623fce9a38f625f6c09a8
Handled-By	: Martin Wilck <martin.wilck@ts.fujitsu.com>
Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26732


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16138
Subject		: PCMCIA regression
Submitter	: Mikulas Patocka <mpatocka@redhat.com>
Date		: 2010-05-25 20:25 (27 days old)
Message-ID	: <Pine.LNX.4.64.1005251619020.12278@hs20-bc2-1.build.redhat.com>
References	: http://marc.info/?l=linux-kernel&m=127481913909672&w=2
Handled-By	: Dominik Brodowski <linux@brodo.de>
Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26685


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16054
Subject		: UML broken for CONFIG_SLAB
Submitter	: Parag Warudkar <parag.lkml@gmail.com>
Date		: 2010-05-23 21:40 (29 days old)
Message-ID	: <alpine.DEB.2.00.1005231149100.605@parag-laptop>
References	: http://marc.info/?l=linux-kernel&m=127465083806617&w=2
Handled-By	: Borislav Petkov <bp@alien8.de>
Patch		: http://git.kernel.org/tip/055c47272b8f5679d08ccc57efea3cb4aaeb5fc6


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16040
Subject		: kacpid consumes ~40% of cpu all the time beginning with 2.6.34
Submitter	: Mehmet Giritli <mehmet@giritli.eu>
Date		: 2010-05-24 07:32 (28 days old)
Patch		: https://patchwork.kernel.org/patch/104903/
		  https://patchwork.kernel.org/patch/104912/
		  https://patchwork.kernel.org/patch/104909/
		  https://patchwork.kernel.org/patch/104911/
		  https://patchwork.kernel.org/patch/104910/


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16007
Subject		: x86/pci Oops with CONFIG_SND_HDA_INTEL
Submitter	: Graham Ramsey <ramsey.graham@ntlworld.com>
Date		: 2010-05-19 17:09 (33 days old)
Handled-By	: Yinghai Lu <yinghai@kernel.org>
Patch		: https://patchwork.kernel.org/patch/105662/


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15951
Subject		: commit 9630bdd9 changes behavior of the poweroff
Submitter	: Michal Hocko <mhocko@suse.cz>
Date		: 2010-04-01 13:39 (81 days old)
First-Bad-Commit: http://git.kernel.org/linus/9630bdd9b15d2f489c646d8bc04b60e53eb5ec78
Message-ID	: <20100401133923.GA4104@tiehlicka.suse.cz>
References	: http://marc.info/?l=linux-kernel&m=127012918316305&w=4
Handled-By	: Rafael J. Wysocki <rjw@sisk.pl>
Patch		: https://patchwork.kernel.org/patch/106701/


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15863
Subject		: 2.6.34-rc5-git7 (plus all patches) -- another suspicious rcu_dereference_check() usage.
Submitter	: Miles Lane <miles.lane@gmail.com>
Date		: 2010-04-27 0:51 (55 days old)
Message-ID	: <h2ya44ae5cd1004261751waa5cb65ei3d139cbcfa2cc5cf@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127232949104878&w=2
Handled-By	: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Patch		: https://patchwork.kernel.org/patch/96096/


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=15589
Subject		: 2.6.34-rc1: Badness at fs/proc/generic.c:316
Submitter	: Christian Kujau <lists@nerdbynature.de>
Date		: 2010-03-13 23:53 (100 days old)
Message-ID	: < <AANLkTikNcCtUn9SQwKu2b3IE6NiAwAhciHsm1HVH4EJh@mail.gmail.com>>
References	: http://marc.info/?l=linux-kernel&m=126852442903680&w=2
Handled-By	: Michael Ellerman <michael@ellerman.id.au>
		  Jindřich Makovička <makovick@gmail.com>
Patch		: http://patchwork.ozlabs.org/patch/52978/
		  http://lkml.indiana.edu/hypermail/linux/kernel/1006.0/00137.html


For details, please visit the bug entries and follow the links given in
references.

As you can see, there is a Bugzilla entry for each of the listed regressions.
There also is a Bugzilla entry used for tracking the regressions introduced
between 2.6.33 and 2.6.34, unresolved as well as resolved, at:

http://bugzilla.kernel.org/show_bug.cgi?id=15310

Please let the tracking teak know if there are any Bugzilla entries that
should be added to the list in there.

Thanks!


^ permalink raw reply

* 2.6.35-rc3: Reported regressions from 2.6.34
From: Rafael J. Wysocki @ 2010-06-20 22:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List
  Cc: Maciej Rutecki, Andrew Morton, Linus Torvalds,
	Kernel Testers List, Network Development, Linux ACPI,
	Linux PM List, Linux SCSI List, Linux Wireless List, DRI

This message contains a list of some regressions from 2.6.34,
for which there are no fixes in the mainline known to the tracking team.
If any of them have been fixed already, please let us know.

If you know of any other unresolved regressions from 2.6.34, please let us
know either and we'll add them to the list.  Also, please let us know
if any of the entries below are invalid.

Each entry from the list will be sent additionally in an automatic reply
to this message with CCs to the people involved in reporting and handling
the issue.


Listed regressions statistics:

  Date          Total  Pending  Unresolved
  ----------------------------------------
  2010-06-21       46       37          26
  2010-06-09       15       13          10


Unresolved regressions
----------------------

Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16255
Subject		: 2.6.35-rc3 deadlocks on semaphore operations
Submitter	: Christoph Lameter <cl@linux-foundation.org>
Date		: 2010-06-18 14:49 (3 days old)
Message-ID	: <alpine.DEB.2.00.1006180940140.11575@router.home>
References	: http://marc.info/?l=linux-kernel&m=127687262727707&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16248
Subject		: inconsistent lock state
Submitter	: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Date		: 2010-06-15 11:24 (6 days old)
Message-ID	: <20100615112434.GA3967@swordfish.minsk.epam.com>
References	: http://marc.info/?l=linux-kernel&m=127660087625903&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16247
Subject		: drm/i915 BUG with 2.6.35-rc
Submitter	: Benny Halevy <bhalevy@panasas.com>
Date		: 2010-06-14 22:38 (7 days old)
Message-ID	: <4C16AF56.1040002@panasas.com>
References	: http://marc.info/?l=linux-kernel&m=127655510531367&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16235
Subject		: [REGRESSION] [IWL3945] Broadcast is broken?
Submitter	: Maciej Rutecki <maciej.rutecki@gmail.com>
Date		: 2010-06-14 17:24 (7 days old)
Message-ID	: <201006141924.24061.maciej.rutecki@gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127653628301300&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16234
Subject		: [2.6.35-rc3] reboot mutex 'bug'...
Submitter	: Daniel J Blueman <daniel.blueman@gmail.com>
Date		: 2010-06-14 15:16 (7 days old)
Message-ID	: <AANLkTimDcTnyEPmt2ZcCM1UWtn4AYKotiqyjobJApkO7@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127652861118933&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16232
Subject		: 2.6.35-rc3 - WARNING:iwl_set_dynamic_key
Submitter	: Mario Guenterberg <mario.guenterberg@googlemail.com>
Date		: 2010-06-14 11:55 (7 days old)
Message-ID	: <20100614115510.GA7904@guenti-laptop>
References	: http://marc.info/?l=linux-kernel&m=127651695627147&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16230
Subject		: inconsistent IN-HARDIRQ-W -> HARDIRQ-ON-W usage: fasync, 2.6.35-rc3
Submitter	: Dominik Brodowski <linux@dominikbrodowski.net>
Date		: 2010-06-13 9:53 (8 days old)
Message-ID	: <20100613095305.GA13231@comet.dominikbrodowski.net>
References	: http://marc.info/?l=linux-kernel&m=127642282208277&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16228
Subject		: BUG/boot failure on Dell Precision T3500 (pci/ahci_stop_engine)
Submitter	: Brian Bloniarz <phunge0@hotmail.com>
Date		: 2010-06-16 17:57 (5 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16222
Subject		: 2.6.35-rc{12} regression: inactive console corrupted
Submitter	: Pavel Machek <pavel@ucw.cz>
Date		: 2010-06-12 10:33 (9 days old)
Message-ID	: <20100612103321.GA1458@ucw.cz>
References	: http://marc.info/?l=linux-kernel&m=127633882614501&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16221
Subject		: 2.6.35-rc2-git5 -- [drm:drm_mode_getfb] *ERROR* invalid framebuffer id
Submitter	: Miles Lane <miles.lane@gmail.com>
Date		: 2010-06-11 20:31 (10 days old)
Message-ID	: <AANLkTim0jVRyqkwlGOcrg_XTvUQwcBYfWJX-aRzkkrLG@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127628828119623&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16205
Subject		: acpi: freeing invalid memtype bf799000-bf79a000
Submitter	: Marcin Slusarz <marcin.slusarz@gmail.com>
Date		: 2010-06-09 20:09 (12 days old)
Message-ID	: <20100609200910.GA2876@joi.lan>
References	: http://marc.info/?l=linux-kernel&m=127611427029914&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16201
Subject		: SIOCGIWFREQ ioctl fails to get frequency info
Submitter	: nuh <nuh@mailinator.net>
Date		: 2010-06-14 10:45 (7 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16199
Subject		: 2.6.35-rc2-git1 - include/linux/cgroup.h:534 invoked rcu_dereference_check() without protection!
Submitter	: Miles Lane <miles.lane@gmail.com>
Date		: 2010-06-07 18:14 (14 days old)
Message-ID	: <AANLkTin2pPqOUx--9fIX3BH3e-cU6oCRufijcx_4ozx5@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127593447812015&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16198
Subject		: Running make install over sshfs is painful now
Submitter	: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date		: 2010-06-07 6:53 (14 days old)
Message-ID	: <20100607065324.GA25590@core.coreip.homeip.net>
References	: http://marc.info/?l=linux-kernel&m=127589362011138&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16197
Subject		: [BUG on 2.6.35-rc2] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:11.0/0000:02:03.0/slot'
Submitter	: Ryan Wang <openspace.wang@gmail.com>
Date		: 2010-06-07 0:23 (14 days old)
Message-ID	: <AANLkTincwMZPnYW3S4uz4k2GOn52RpgBIBRfzyD010Yo@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127587022219378&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16184
Subject		: Container, X86-64, i386, iptables rule
Submitter	: Jean-Marc Pigeon <jmp@safe.ca>
Date		: 2010-06-12 04:17 (9 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16179
Subject		: 2.6.35-rc2 completely hosed on intel gfx?
Submitter	: Norbert Preining <preining@logic.at>
Date		: 2010-06-06 11:55 (15 days old)
Message-ID	: <20100606115534.GA9399@gamma.logic.tuwien.ac.at>
References	: http://marc.info/?l=linux-kernel&m=127582534931581&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16178
Subject		: 2.6.35-rc2 : OOPS with LTP memcg regression test run.
Submitter	: Sachin Sant <sachinp@in.ibm.com>
Date		: 2010-06-06 15:18 (15 days old)
Message-ID	: <4C0BB98E.9030101@in.ibm.com>
References	: http://marc.info/?l=linux-kernel&m=127583683912607&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16176
Subject		: Microcode errors with iwl3945
Submitter	: Steinar H. Gunderson <sgunderson@bigfoot.com>
Date		: 2010-06-10 19:28 (11 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16175
Subject		: 2.6.35-rc1 system oom, many processes killed but memory not free
Submitter	: andrew hendry <andrew.hendry@gmail.com>
Date		: 2010-06-05 0:46 (16 days old)
Message-ID	: <AANLkTim7CiW-yfugZUAHZCqLvXKgt9CwolCvbLGdCLAk@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127569877714937&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16173
Subject		: After uncompressing the kernel, at boot time, the server hangs.
Submitter	: David Hill <hilld@binarystorm.net>
Date		: 2010-06-09 23:25 (12 days old)
First-Bad-Commit: http://git.kernel.org/linus/cf7500c0ea133d66f8449d86392d83f840102632


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16172
Subject		: 2.6.25-rc1 ahci regression
Submitter	: Luming Yu <luming.yu@gmail.com>
Date		: 2010-06-03 7:02 (18 days old)
First-Bad-Commit: http://git.kernel.org/linus/365cfa1ed5a36f9bcb9f64c9f0f52155af2e9fef
Message-ID	: <AANLkTikWak8i-Kaj-e-EUFWE66tfMmp2UPhGJCKkK1zK@mail.gmail.com>>
References	: http://marc.info/?l=linux-kernel&m=127554855724361&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16160
Subject		: 2.6.35 Radeon KMS power management regression?
Submitter	: Nigel Cunningham <ncunningham@crca.org.au>
Date		: 2010-06-01 6:23 (20 days old)
Message-ID	: <4C04A767.8000209@crca.org.au>
References	: http://marc.info/?l=linux-kernel&m=127537343722290&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16145
Subject		: Unable to boot unless "notsc" or "clocksource=hpet", or acpi_pad disabling the TSC
Submitter	: Tom Gundersen <teg@jklm.no>
Date		: 2010-06-07 13:11 (14 days old)
Handled-By	: Venkatesh Pallipadi <venki@google.com>
		  Len Brown <lenb@kernel.org>


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16122
Subject		: 2.6.35-rc1: WARNING at fs/fs-writeback.c:1142 __mark_inode_dirty+0x103/0x170
Submitter	: Larry Finger <Larry.Finger@lwfinger.net>
Date		: 2010-06-04 13:18 (17 days old)


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16090
Subject		: sysfs: cannot create duplicate filename
Submitter	: Tobias <devnull@plzk.org>
Date		: 2010-06-01 15:59 (20 days old)
Handled-By	: Jesse Barnes <jbarnes@virtuousgeek.org>


Regressions with patches
------------------------

Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16231
Subject		: Noticeable slow-down in 2.6.35-rc3
Submitter	: Chris Clayton <chris2553@googlemail.com>
Date		: 2010-06-13 20:15 (8 days old)
First-Bad-Commit: http://git.kernel.org/linus/597a264b1a9c7e36d1728f677c66c5c1f7e3b837
Message-ID	: <AANLkTimDUf0N6b5PBy2wTGeAWEIY-lUvQPHQ7D7Gyrq4@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127646015226601&w=2
Handled-By	: John Fastabend <john.r.fastabend@intel.com>
Patch		: https://patchwork.kernel.org/patch/105859/


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16220
Subject		: md/raid/udev fails to create md partition devices (/dev/mdXpY)
Submitter	: Duncan <1i5t5.duncan@cox.net>
Date		: 2010-06-15 17:19 (6 days old)
Handled-By	: Neil Brown <neilb@suse.de>
Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16220#c2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16215
Subject		: sysfs: cannot create duplicate filename '/class/net/bnep0'
Submitter	: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Date		: 2010-06-15 14:55 (6 days old)
Handled-By	: Eric W. Biederman <ebiederm@xmission.com>
Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16215#c10


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16196
Subject		: 2.6.35-rc2-git1 - WARNING: at net/wireless/mlme.c:341 cfg80211_send_assoc_timeout+0x107/0x11e [cfg80211]()
Submitter	: Miles Lane <miles.lane@gmail.com>
Date		: 2010-06-07 19:06 (14 days old)
Message-ID	: <AANLkTinmZh9GnrZLzOGi5Q_xHbky8cKdHAkOnsIA6_dZ@mail.gmail.com>
References	: http://marc.info/?l=linux-kernel&m=127593758817428&w=2
Handled-By	: Johannes Berg <johannes.berg@intel.com>
Patch		: http://marc.info/?l=linux-wireless&m=127608099427316&w=2


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16180
Subject		: radeon regression with 2.6.35-rc2-00001-g386f40c: black screen after resume
Submitter	: cedric <cedric@belbone.be>
Date		: 2010-06-11 10:59 (10 days old)
Handled-By	: Cedric Godin <cedric.godin@skynet.be>
Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26733


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16169
Subject		: Complain from preemptive debug
Submitter	: Sedat Dilek <sedat.dilek@googlemail.com>
Date		: 2010-05-31 10:10 (21 days old)
Message-ID	: <AANLkTilTnAAZIizKinYsxFkNTkrmPqk6XJJuUjjhJ7EP@mail.gmail.com>
References	: http://lkml.org/lkml/2010/5/31/77
Handled-By	: Dmitry Monakhov <dmonakhov@openvz.org>
Patch		: http://www.spinics.net/lists/cpufreq/msg01631.html


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16156
Subject		: No Sound with 2.6.34.x Kernel with my Audio-Chip
Submitter	: Ch: Hanisch <ch-hanisch@t-online.de>
Date		: 2010-06-08 11:51 (13 days old)
Handled-By	: Takashi Iwai <tiwai@suse.de>
Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26724


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16131
Subject		: kernel BUG at fs/btrfs/extent-tree.c:4363 (btrfs_free_tree_block)
Submitter	: Chow Loong Jin <hyperair@ubuntu.com>
Date		: 2010-06-05 18:53 (16 days old)
Handled-By	: Yan Zheng <zheng.yan@oracle.com>
Patch		: https://patchwork.kernel.org/patch/103235/


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16127
Subject		: Boot freeze on HP Compaq nx6325 (RS482) with Radeon KMS
Submitter	: Jure Repinc <jlp.bugs@gmail.com>
Date		: 2010-06-04 21:14 (17 days old)
Handled-By	: Dave Airlie <airlied@linux.ie>
Patch		: https://bugzilla.kernel.org/attachment.cgi?id=26677


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16120
Subject		: Oops: 0000 [#1] SMP, unable to handle kernel NULL pointer dereference at (null)
Submitter	: Alex Zhavnerchik <alex.vizor@gmail.com>
Date		: 2010-06-04 09:25 (17 days old)
Handled-By	: Eric Dumazet <eric.dumazet@gmail.com>
Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16120#c6


Bug-Entry	: http://bugzilla.kernel.org/show_bug.cgi?id=16092
Subject		: Caught 64-bit read from uninitialized memory in memtype_rb_augment_cb
Submitter	: Christian Casteyde <casteyde.christian@free.fr>
Date		: 2010-06-01 18:08 (20 days old)
Handled-By	: Venki <venki@google.com>
Patch		: https://bugzilla.kernel.org/show_bug.cgi?id=16092#c2


For details, please visit the bug entries and follow the links given in
references.

As you can see, there is a Bugzilla entry for each of the listed regressions.
There also is a Bugzilla entry used for tracking the regressions from 2.6.34,
unresolved as well as resolved, at:

http://bugzilla.kernel.org/show_bug.cgi?id=16055

Please let the tracking team know if there are any Bugzilla entries that
should be added to the list in there.

Thanks!


^ permalink raw reply

* ATH5k - Signal measurement reports wrong values
From: Jaroslav Fojtik @ 2010-06-20 19:20 UTC (permalink / raw)
  To: linux-wireless

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 524 bytes --]

Dears,

Look at the attached chart.

After upgrading from compat-wireless-2010-06-13 to compat-wireless-2010-06-18 
the reported signal drops from -65dB to -77dB.

The ATH5k simply lies, because green line in reverse direction did not 
change. The second point has bullet.

Only purple line dropped.

But from my point of view the purple line should be comparable with green
line (measured by bullet). If somebody is interested in experiment, I could
fiddle with Tx power on a bullet and chart a response.

regards
   Jara


[-- Attachment #2: X_rodga-week_big.png  --]
[-- Type: Application/Octet-stream, Size: 9463 bytes --]

^ permalink raw reply

* Compat-wireless release for 2010-06-20 is baked
From: Compat-wireless cronjob account @ 2010-06-20 19:02 UTC (permalink / raw)
  To: linux-wireless, linux-bluetooth


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-20100618
compat-wireless release: compat-wireless-2010-06-17-1-g75bb510

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox