<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/net/wireless/ipw2x00, branch v3.5.1</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>net/wireless: ipw2100: Fix WARN_ON occurring in wiphy_register called by ipw2100_pci_init_one</title>
<updated>2012-06-08T17:43:57+00:00</updated>
<author>
<name>Stanislav Yakovlev</name>
<email>stas.yakovlev@gmail.com</email>
</author>
<published>2012-05-14T23:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=aac495a8002bbf20e879572c6cf0789ab2ffb32b'/>
<id>aac495a8002bbf20e879572c6cf0789ab2ffb32b</id>
<content type='text'>
The problem was found by Larry Finger:
http://marc.info/?l=linux-wireless&amp;m=133702401700614&amp;w=2

The problem is identical to the one for ipw2200 which is already fixed:
http://marc.info/?l=linux-wireless&amp;m=133457257407196&amp;w=2

[   17.766431] ------------[ cut here ]------------
[   17.766467] WARNING: at net/wireless/core.c:562 wiphy_register+0x34c/0x3c0 [cfg80211]()
[   17.766471] Hardware name: Latitude D600
[   17.766474] Modules linked in: ipw2100(+) libipw pcmcia cfg80211 ppdev parport_pc yenta_socket sr_mod pcmcia_rsrc parport iTCO_wdt cdrom sg rfkill pcmcia_
core lib80211 tg3 video button battery ac iTCO_vendor_support joydev shpchp pcspkr pciehp pci_hotplug autofs4 radeon ttm drm_kms_helper uhci_hcd ehci_hcd rtc
_cmos thermal drm hwmon i2c_algo_bit i2c_core processor usbcore usb_common ata_generic ata_piix ahci libahci libata
[   17.766525] Pid: 474, comm: modprobe Not tainted 3.4.0-rc7-wl+ #6
[   17.766528] Call Trace:
[   17.766541]  [&lt;c066ad08&gt;] ? printk+0x28/0x2a
[   17.766552]  [&lt;c0230edd&gt;] warn_slowpath_common+0x6d/0xa0
[   17.766563]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766573]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766578]  [&lt;c0230f2d&gt;] warn_slowpath_null+0x1d/0x20
[   17.766588]  [&lt;e0b253bc&gt;] wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766605]  [&lt;e0b5b0d6&gt;] ipw2100_wdev_init+0x196/0x1c0 [ipw2100]
[   17.766616]  [&lt;e0b5d962&gt;] ipw2100_pci_init_one+0x2b2/0x694 [ipw2100]
[   17.766632]  [&lt;c047ce52&gt;] local_pci_probe+0x42/0xb0
[   17.766637]  [&lt;c047e2b0&gt;] pci_device_probe+0x60/0x90
[   17.766645]  [&lt;c0376de2&gt;] ? sysfs_create_link+0x12/0x20
[   17.766654]  [&lt;c050f1f6&gt;] really_probe+0x56/0x2e0
[   17.766659]  [&lt;c037636d&gt;] ? create_dir+0x5d/0xa0
[   17.766667]  [&lt;c0518c6b&gt;] ? pm_runtime_barrier+0x3b/0xa0
[   17.766672]  [&lt;c050f5e4&gt;] driver_probe_device+0x44/0xa0
[   17.766677]  [&lt;c047e227&gt;] ? pci_match_device+0x97/0xa0
[   17.766681]  [&lt;c050f6c9&gt;] __driver_attach+0x89/0x90
[   17.766686]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766691]  [&lt;c050da2a&gt;] bus_for_each_dev+0x3a/0x70
[   17.766695]  [&lt;c050ee6c&gt;] driver_attach+0x1c/0x30
[   17.766699]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766704]  [&lt;c050ea77&gt;] bus_add_driver+0x187/0x280
[   17.766710]  [&lt;c045b9cd&gt;] ? kset_find_obj+0x2d/0x60
[   17.766715]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766719]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766724]  [&lt;c050fb85&gt;] driver_register+0x65/0x110
[   17.766729]  [&lt;c047e09d&gt;] __pci_register_driver+0x3d/0xa0
[   17.766738]  [&lt;e09f705c&gt;] ipw2100_init+0x5c/0x1000 [ipw2100]
[   17.766743]  [&lt;c020110f&gt;] do_one_initcall+0x2f/0x170
[   17.766749]  [&lt;e09f7000&gt;] ? 0xe09f6fff
[   17.766757]  [&lt;c0287ce8&gt;] sys_init_module+0xa8/0x210
[   17.766766]  [&lt;c067a075&gt;] syscall_call+0x7/0xb
[   17.766769] ---[ end trace 559898c6bb0d1c75 ]---
[   17.767093] ipw2100: probe of 0000:02:03.0 failed with error -5

This warning appears only if we apply Ben Hutchings' fix
http://marc.info/?l=linux-wireless&amp;m=132720204412667&amp;w=2
for the bug reported by Cesare Leonardi
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656813
with cfg80211 warning during device registration
("cfg80211: failed to add phy80211 symlink to netdev!").

We separate device bring up and registration with network stack
to avoid the problem.

Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Tested-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was found by Larry Finger:
http://marc.info/?l=linux-wireless&amp;m=133702401700614&amp;w=2

The problem is identical to the one for ipw2200 which is already fixed:
http://marc.info/?l=linux-wireless&amp;m=133457257407196&amp;w=2

[   17.766431] ------------[ cut here ]------------
[   17.766467] WARNING: at net/wireless/core.c:562 wiphy_register+0x34c/0x3c0 [cfg80211]()
[   17.766471] Hardware name: Latitude D600
[   17.766474] Modules linked in: ipw2100(+) libipw pcmcia cfg80211 ppdev parport_pc yenta_socket sr_mod pcmcia_rsrc parport iTCO_wdt cdrom sg rfkill pcmcia_
core lib80211 tg3 video button battery ac iTCO_vendor_support joydev shpchp pcspkr pciehp pci_hotplug autofs4 radeon ttm drm_kms_helper uhci_hcd ehci_hcd rtc
_cmos thermal drm hwmon i2c_algo_bit i2c_core processor usbcore usb_common ata_generic ata_piix ahci libahci libata
[   17.766525] Pid: 474, comm: modprobe Not tainted 3.4.0-rc7-wl+ #6
[   17.766528] Call Trace:
[   17.766541]  [&lt;c066ad08&gt;] ? printk+0x28/0x2a
[   17.766552]  [&lt;c0230edd&gt;] warn_slowpath_common+0x6d/0xa0
[   17.766563]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766573]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766578]  [&lt;c0230f2d&gt;] warn_slowpath_null+0x1d/0x20
[   17.766588]  [&lt;e0b253bc&gt;] wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766605]  [&lt;e0b5b0d6&gt;] ipw2100_wdev_init+0x196/0x1c0 [ipw2100]
[   17.766616]  [&lt;e0b5d962&gt;] ipw2100_pci_init_one+0x2b2/0x694 [ipw2100]
[   17.766632]  [&lt;c047ce52&gt;] local_pci_probe+0x42/0xb0
[   17.766637]  [&lt;c047e2b0&gt;] pci_device_probe+0x60/0x90
[   17.766645]  [&lt;c0376de2&gt;] ? sysfs_create_link+0x12/0x20
[   17.766654]  [&lt;c050f1f6&gt;] really_probe+0x56/0x2e0
[   17.766659]  [&lt;c037636d&gt;] ? create_dir+0x5d/0xa0
[   17.766667]  [&lt;c0518c6b&gt;] ? pm_runtime_barrier+0x3b/0xa0
[   17.766672]  [&lt;c050f5e4&gt;] driver_probe_device+0x44/0xa0
[   17.766677]  [&lt;c047e227&gt;] ? pci_match_device+0x97/0xa0
[   17.766681]  [&lt;c050f6c9&gt;] __driver_attach+0x89/0x90
[   17.766686]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766691]  [&lt;c050da2a&gt;] bus_for_each_dev+0x3a/0x70
[   17.766695]  [&lt;c050ee6c&gt;] driver_attach+0x1c/0x30
[   17.766699]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766704]  [&lt;c050ea77&gt;] bus_add_driver+0x187/0x280
[   17.766710]  [&lt;c045b9cd&gt;] ? kset_find_obj+0x2d/0x60
[   17.766715]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766719]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766724]  [&lt;c050fb85&gt;] driver_register+0x65/0x110
[   17.766729]  [&lt;c047e09d&gt;] __pci_register_driver+0x3d/0xa0
[   17.766738]  [&lt;e09f705c&gt;] ipw2100_init+0x5c/0x1000 [ipw2100]
[   17.766743]  [&lt;c020110f&gt;] do_one_initcall+0x2f/0x170
[   17.766749]  [&lt;e09f7000&gt;] ? 0xe09f6fff
[   17.766757]  [&lt;c0287ce8&gt;] sys_init_module+0xa8/0x210
[   17.766766]  [&lt;c067a075&gt;] syscall_call+0x7/0xb
[   17.766769] ---[ end trace 559898c6bb0d1c75 ]---
[   17.767093] ipw2100: probe of 0000:02:03.0 failed with error -5

This warning appears only if we apply Ben Hutchings' fix
http://marc.info/?l=linux-wireless&amp;m=132720204412667&amp;w=2
for the bug reported by Cesare Leonardi
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656813
with cfg80211 warning during device registration
("cfg80211: failed to add phy80211 symlink to netdev!").

We separate device bring up and registration with network stack
to avoid the problem.

Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Tested-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next</title>
<updated>2012-05-14T22:00:48+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-05-14T22:00:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c597f6653d5734c11b1e3217c7619a37e96e5a1f'/>
<id>c597f6653d5734c11b1e3217c7619a37e96e5a1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers/net: Convert compare_ether_addr to ether_addr_equal</title>
<updated>2012-05-11T03:33:01+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2012-05-09T17:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2e42e4747ea72943c21551d8a206b51a9893b1e0'/>
<id>2e42e4747ea72943c21551d8a206b51a9893b1e0</id>
<content type='text'>
Use the new bool function ether_addr_equal to add
some clarity and reduce the likelihood for misuse
of compare_ether_addr for sorting.

Done via cocci script:

$ cat compare_ether_addr.cocci
@@
expression a,b;
@@
-	!compare_ether_addr(a, b)
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	compare_ether_addr(a, b)
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) == 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) != 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) == 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) != 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!!ether_addr_equal(a, b)
+	ether_addr_equal(a, b)

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the new bool function ether_addr_equal to add
some clarity and reduce the likelihood for misuse
of compare_ether_addr for sorting.

Done via cocci script:

$ cat compare_ether_addr.cocci
@@
expression a,b;
@@
-	!compare_ether_addr(a, b)
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	compare_ether_addr(a, b)
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) == 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!ether_addr_equal(a, b) != 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) == 0
+	!ether_addr_equal(a, b)

@@
expression a,b;
@@
-	ether_addr_equal(a, b) != 0
+	ether_addr_equal(a, b)

@@
expression a,b;
@@
-	!!ether_addr_equal(a, b)
+	ether_addr_equal(a, b)

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipw2100: Fix order of device registration</title>
<updated>2012-05-09T01:53:47+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2012-01-22T03:11:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e19d8baf8cfcc0b96d7578a22801d16400d877bd'/>
<id>e19d8baf8cfcc0b96d7578a22801d16400d877bd</id>
<content type='text'>
Currently cfg80211 fails to create a "phy80211" symlink in sysfs from
the net device to the wiphy device.  The latter needs to be registered
first.

Compile-tested only.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently cfg80211 fails to create a "phy80211" symlink in sysfs from
the net device to the wiphy device.  The latter needs to be registered
first.

Compile-tested only.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipw2200: Fix order of device registration</title>
<updated>2012-05-09T01:53:47+00:00</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2012-01-22T03:09:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b4050790d0a6bfec76e2186d461123cf9586aa34'/>
<id>b4050790d0a6bfec76e2186d461123cf9586aa34</id>
<content type='text'>
Currently cfg80211 fails to create a "phy80211" symlink in sysfs from
the net device to the wiphy device.  The latter needs to be registered
first.

Compile-tested only.

Reported-by: Cesare Leonardi &lt;celeonar@gmail.com&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently cfg80211 fails to create a "phy80211" symlink in sysfs from
the net device to the wiphy device.  The latter needs to be registered
first.

Compile-tested only.

Reported-by: Cesare Leonardi &lt;celeonar@gmail.com&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/wireless: ipw2200: Fix WARN_ON occurring in wiphy_register called by ipw_pci_probe</title>
<updated>2012-05-09T01:53:44+00:00</updated>
<author>
<name>Stanislav Yakovlev</name>
<email>stas.yakovlev@gmail.com</email>
</author>
<published>2012-04-16T10:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7ed85b65ab611ba841d508ae4ff8c45fa0c48c80'/>
<id>7ed85b65ab611ba841d508ae4ff8c45fa0c48c80</id>
<content type='text'>
The problem was found by Stefan Lippers-Hollmann
http://marc.info/?l=linux-wireless&amp;m=132720334512946&amp;w=2

WARNING: at /tmp/buildd/linux-aptosid-3.2/debian/build/source_i386_none/net/wireless/core.c:562 wiphy_register+0x45/0x38d [cfg80211]()
Hardware name: TravelMate 290 \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
Modules linked in: ipw2200(+) iTCO_wdt libipw joydev drm snd_seq snd_timer snd_seq_device iTCO_vendor_support yenta_socket snd intel_agp i2c_i801 pcmcia_rsrc cfg80211 soundcore parport_pc psmouse parport rng_core snd_page_alloc serio_raw pcspkr i2c_algo_bit intel_gtt pcmcia_core evdev irda crc_ccitt rfkill lib80211 processor container ac battery shpchp pci_hotplug button ext4 mbcache jbd2 crc16 dm_mod sd_mod sr_mod crc_t10dif cdrom ata_generic pata_acpi ata_piix libata scsi_mod firewire_ohci firewire_core crc_itu_t 8139too 8139cp mii uhci_hcd ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
Pid: 328, comm: modprobe Not tainted 3.2-1.slh.4-aptosid-686 #1
Call Trace:
[&lt;c012eaf4&gt;] ? warn_slowpath_common+0x7c/0x8f
[&lt;e0ff0b3e&gt;] ? wiphy_register+0x45/0x38d [cfg80211]
[&lt;e0ff0b3e&gt;] ? wiphy_register+0x45/0x38d [cfg80211]
[&lt;c012eb22&gt;] ? warn_slowpath_null+0x1b/0x1f
[&lt;e0ff0b3e&gt;] ? wiphy_register+0x45/0x38d [cfg80211]
[&lt;c01f89d7&gt;] ? internal_create_group+0xf5/0xff
[&lt;e0a2de1c&gt;] ? ipw_pci_probe+0xa9a/0xbd0 [ipw2200]
[&lt;c01519f4&gt;] ? arch_local_irq_save+0xf/0x14
[&lt;c0252986&gt;] ? pci_device_probe+0x53/0x9a
[&lt;c02c2820&gt;] ? driver_probe_device+0x94/0x124
[&lt;c0252871&gt;] ? pci_match_id+0x15/0x34
[&lt;c02c28f0&gt;] ? __driver_attach+0x40/0x5b
[&lt;c02c1d81&gt;] ? bus_for_each_dev+0x37/0x60
[&lt;c02c25aa&gt;] ? driver_attach+0x17/0x1a
[&lt;c02c28b0&gt;] ? driver_probe_device+0x124/0x124
[&lt;c02c22c4&gt;] ? bus_add_driver+0x92/0x1d1
[&lt;e099d000&gt;] ? 0xe099cfff
[&lt;c02c2cb8&gt;] ? driver_register+0x7d/0xd4
[&lt;c017cd50&gt;] ? jump_label_module_notify+0xec/0x167
[&lt;e099d000&gt;] ? 0xe099cfff
[&lt;c0253017&gt;] ? __pci_register_driver+0x32/0x87
[&lt;e099d000&gt;] ? 0xe099cfff
[&lt;e099d02e&gt;] ? ipw_init+0x2e/0x72 [ipw2200]
[&lt;c0101173&gt;] ? do_one_initcall+0x7d/0x132
[&lt;c0145016&gt;] ? __blocking_notifier_call_chain+0x47/0x4f
[&lt;c0154a73&gt;] ? sys_init_module+0x13a4/0x159c
[&lt;c03a639f&gt;] ? sysenter_do_call+0x12/0x28

This warning appears only if we apply Ben Hutchings' fix
http://marc.info/?l=linux-wireless&amp;m=132720195012653&amp;w=2
for the bug reported by Cesare Leonardi
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656813
with cfg80211 warning during device registration
("cfg80211: failed to add phy80211 symlink to netdev!").

We separate device bring up and registration with network stack
to avoid the problem.

After that Ben Hutchings' fix can be applied to fix the bug.

Cc: stable@kernel.org
Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Tested-by: Stefan Lippers-Hollmann &lt;s.l-h@gmx.de&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was found by Stefan Lippers-Hollmann
http://marc.info/?l=linux-wireless&amp;m=132720334512946&amp;w=2

WARNING: at /tmp/buildd/linux-aptosid-3.2/debian/build/source_i386_none/net/wireless/core.c:562 wiphy_register+0x45/0x38d [cfg80211]()
Hardware name: TravelMate 290 \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
Modules linked in: ipw2200(+) iTCO_wdt libipw joydev drm snd_seq snd_timer snd_seq_device iTCO_vendor_support yenta_socket snd intel_agp i2c_i801 pcmcia_rsrc cfg80211 soundcore parport_pc psmouse parport rng_core snd_page_alloc serio_raw pcspkr i2c_algo_bit intel_gtt pcmcia_core evdev irda crc_ccitt rfkill lib80211 processor container ac battery shpchp pci_hotplug button ext4 mbcache jbd2 crc16 dm_mod sd_mod sr_mod crc_t10dif cdrom ata_generic pata_acpi ata_piix libata scsi_mod firewire_ohci firewire_core crc_itu_t 8139too 8139cp mii uhci_hcd ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
Pid: 328, comm: modprobe Not tainted 3.2-1.slh.4-aptosid-686 #1
Call Trace:
[&lt;c012eaf4&gt;] ? warn_slowpath_common+0x7c/0x8f
[&lt;e0ff0b3e&gt;] ? wiphy_register+0x45/0x38d [cfg80211]
[&lt;e0ff0b3e&gt;] ? wiphy_register+0x45/0x38d [cfg80211]
[&lt;c012eb22&gt;] ? warn_slowpath_null+0x1b/0x1f
[&lt;e0ff0b3e&gt;] ? wiphy_register+0x45/0x38d [cfg80211]
[&lt;c01f89d7&gt;] ? internal_create_group+0xf5/0xff
[&lt;e0a2de1c&gt;] ? ipw_pci_probe+0xa9a/0xbd0 [ipw2200]
[&lt;c01519f4&gt;] ? arch_local_irq_save+0xf/0x14
[&lt;c0252986&gt;] ? pci_device_probe+0x53/0x9a
[&lt;c02c2820&gt;] ? driver_probe_device+0x94/0x124
[&lt;c0252871&gt;] ? pci_match_id+0x15/0x34
[&lt;c02c28f0&gt;] ? __driver_attach+0x40/0x5b
[&lt;c02c1d81&gt;] ? bus_for_each_dev+0x37/0x60
[&lt;c02c25aa&gt;] ? driver_attach+0x17/0x1a
[&lt;c02c28b0&gt;] ? driver_probe_device+0x124/0x124
[&lt;c02c22c4&gt;] ? bus_add_driver+0x92/0x1d1
[&lt;e099d000&gt;] ? 0xe099cfff
[&lt;c02c2cb8&gt;] ? driver_register+0x7d/0xd4
[&lt;c017cd50&gt;] ? jump_label_module_notify+0xec/0x167
[&lt;e099d000&gt;] ? 0xe099cfff
[&lt;c0253017&gt;] ? __pci_register_driver+0x32/0x87
[&lt;e099d000&gt;] ? 0xe099cfff
[&lt;e099d02e&gt;] ? ipw_init+0x2e/0x72 [ipw2200]
[&lt;c0101173&gt;] ? do_one_initcall+0x7d/0x132
[&lt;c0145016&gt;] ? __blocking_notifier_call_chain+0x47/0x4f
[&lt;c0154a73&gt;] ? sys_init_module+0x13a4/0x159c
[&lt;c03a639f&gt;] ? sysenter_do_call+0x12/0x28

This warning appears only if we apply Ben Hutchings' fix
http://marc.info/?l=linux-wireless&amp;m=132720195012653&amp;w=2
for the bug reported by Cesare Leonardi
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656813
with cfg80211 warning during device registration
("cfg80211: failed to add phy80211 symlink to netdev!").

We separate device bring up and registration with network stack
to avoid the problem.

After that Ben Hutchings' fix can be applied to fix the bug.

Cc: stable@kernel.org
Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Tested-by: Stefan Lippers-Hollmann &lt;s.l-h@gmx.de&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2012-05-08T03:35:40+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2012-05-08T03:35:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0d6c4a2e4641bbc556dd74d3aa158c413a972492'/>
<id>0d6c4a2e4641bbc556dd74d3aa158c413a972492</id>
<content type='text'>
Conflicts:
	drivers/net/ethernet/intel/e1000e/param.c
	drivers/net/wireless/iwlwifi/iwl-agn-rx.c
	drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c
	drivers/net/wireless/iwlwifi/iwl-trans.h

Resolved the iwlwifi conflict with mainline using 3-way diff posted
by John Linville and Stephen Rothwell.  In 'net' we added a bug
fix to make iwlwifi report a more accurate skb-&gt;truesize but this
conflicted with RX path changes that happened meanwhile in net-next.

In e1000e a conflict arose in the validation code for settings of
adapter-&gt;itr.  'net-next' had more sophisticated logic so that
logic was used.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	drivers/net/ethernet/intel/e1000e/param.c
	drivers/net/wireless/iwlwifi/iwl-agn-rx.c
	drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c
	drivers/net/wireless/iwlwifi/iwl-trans.h

Resolved the iwlwifi conflict with mainline using 3-way diff posted
by John Linville and Stephen Rothwell.  In 'net' we added a bug
fix to make iwlwifi report a more accurate skb-&gt;truesize but this
conflicted with RX path changes that happened meanwhile in net-next.

In e1000e a conflict arose in the validation code for settings of
adapter-&gt;itr.  'net-next' had more sophisticated logic so that
logic was used.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ipw2200: Fix race condition in the command completion acknowledge</title>
<updated>2012-04-23T18:57:49+00:00</updated>
<author>
<name>Stanislav Yakovlev</name>
<email>stas.yakovlev@gmail.com</email>
</author>
<published>2012-04-19T19:55:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=dd447319895d0c0af423e483d9b63f84f3f8869a'/>
<id>dd447319895d0c0af423e483d9b63f84f3f8869a</id>
<content type='text'>
Driver incorrectly validates command completion: instead of waiting
for a command to be acknowledged it continues execution.  Most of the
time driver gets acknowledge of the command completion in a tasklet
before it executes the next one. But sometimes it sends the next
command before it gets acknowledge for the previous one. In such a
case one of the following error messages appear in the log:

Failed to send SYSTEM_CONFIG: Already sending a command.
Failed to send ASSOCIATE: Already sending a command.
Failed to send TX_POWER: Already sending a command.

After that you need to reload the driver to get it working again.

This bug occurs during roaming (reported by Sam Varshavchik)
https://bugzilla.redhat.com/show_bug.cgi?id=738508
and machine booting (reported by Tom Gundersen and Mads Kiilerich)
https://bugs.archlinux.org/task/28097
https://bugzilla.redhat.com/show_bug.cgi?id=802106

This patch doesn't fix the delay issue during firmware load.
But at least device now works as usual after boot.

Cc: stable@kernel.org
Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Driver incorrectly validates command completion: instead of waiting
for a command to be acknowledged it continues execution.  Most of the
time driver gets acknowledge of the command completion in a tasklet
before it executes the next one. But sometimes it sends the next
command before it gets acknowledge for the previous one. In such a
case one of the following error messages appear in the log:

Failed to send SYSTEM_CONFIG: Already sending a command.
Failed to send ASSOCIATE: Already sending a command.
Failed to send TX_POWER: Already sending a command.

After that you need to reload the driver to get it working again.

This bug occurs during roaming (reported by Sam Varshavchik)
https://bugzilla.redhat.com/show_bug.cgi?id=738508
and machine booting (reported by Tom Gundersen and Mads Kiilerich)
https://bugs.archlinux.org/task/28097
https://bugzilla.redhat.com/show_bug.cgi?id=802106

This patch doesn't fix the delay issue during firmware load.
But at least device now works as usual after boot.

Cc: stable@kernel.org
Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem</title>
<updated>2012-04-18T18:27:48+00:00</updated>
<author>
<name>John W. Linville</name>
<email>linville@tuxdriver.com</email>
</author>
<published>2012-04-18T18:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=59ef43e681d103a51c3727dad0315e093f07ec61'/>
<id>59ef43e681d103a51c3727dad0315e093f07ec61</id>
<content type='text'>
Conflicts:
	drivers/net/wireless/iwlwifi/iwl-testmode.c
	include/net/nfc/nfc.h
	net/nfc/netlink.c
	net/wireless/nl80211.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	drivers/net/wireless/iwlwifi/iwl-testmode.c
	include/net/nfc/nfc.h
	net/nfc/netlink.c
	net/wireless/nl80211.c
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Fix spelling typo in net</title>
<updated>2012-04-14T19:29:02+00:00</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2012-04-13T04:33:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fd9071ec61db42074a6343427b7999436021ffd2'/>
<id>fd9071ec61db42074a6343427b7999436021ffd2</id>
<content type='text'>
Correct spelling typo within drivers/net.

Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Correct spelling typo within drivers/net.

Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
