All of lore.kernel.org
 help / color / mirror / Atom feed
* X200: Suspend & resume, iwlwifi on 2.6.29-rc3-00697-gae1a25d
@ 2009-02-09  9:35 Nico Schottelius
  2009-02-10  7:01 ` X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623 Nico Schottelius
  0 siblings, 1 reply; 6+ messages in thread
From: Nico Schottelius @ 2009-02-09  9:35 UTC (permalink / raw)
  To: Linux Next Mailing List; +Cc: LKML, ipw3945-devel

[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]

Hello!

Using latest git fetch from
  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
I can suspend and resume!
(-next: does not work for a long time -- what's happening there?)

Though, the first resume takes about 30 seconds, the following ones
resume within 10 seconds.

The iwlagn / iwlwifi driver does not work anymore: ip l s wlan0 up
makes ip hang for about 10 seconds, issuing the following in dmesg:

[22640.752121] iwlagn: Could not load the INST uCode section
[22640.752132] iwlagn: Unable to set up bootstrap uCode: -110
[22645.752062] iwlagn: Could not load the INST uCode section
[22645.752072] iwlagn: Unable to set up bootstrap uCode: -110
[22650.752118] iwlagn: Could not load the INST uCode section
[22650.752128] iwlagn: Unable to set up bootstrap uCode: -110
[22660.752059] iwlagn: Could not load the INST uCode section
[22660.752069] iwlagn: Unable to set up bootstrap uCode: -110
[22660.761456] iwlagn: Unable to initialize device after 5 attempts.
[22660.761581] iwlagn 0000:03:00.0: PCI INT A disabled

I'm using latest microcode:

[10:33] ikn:~# sha1sum /lib/firmware/iwlwifi-5000-1.ucode ~nico/Desktop/iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode       
f06ff86c8baa8616de584f8b0fff072a9aab6a44  /lib/firmware/iwlwifi-5000-1.ucode
f06ff86c8baa8616de584f8b0fff072a9aab6a44  /home/user/nico/Desktop/iwlwifi-5000-ucode-5.4.A.11/iwlwifi-5000-1.ucode

I'm wondering what's broken with iwlwifi and why the first resume takes so long.
Anyone a good idea?

Sincerly,

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623
  2009-02-09  9:35 X200: Suspend & resume, iwlwifi on 2.6.29-rc3-00697-gae1a25d Nico Schottelius
@ 2009-02-10  7:01 ` Nico Schottelius
  2009-02-12 19:48     ` reinette chatre
  0 siblings, 1 reply; 6+ messages in thread
From: Nico Schottelius @ 2009-02-10  7:01 UTC (permalink / raw)
  To: Nico Schottelius, Linux Next Mailing List, LKML, ipw3945-devel

[-- Attachment #1: Type: text/plain, Size: 5009 bytes --]


Good morning!

Summary on the X200:
- First resume after suspend takes 20 seconds
- Further resumes work fine
- wlan works *before* first suspend and wakeup
- after that the same happens as on 2.6.29-rc3-ikn-00697-gae1a25d:
  the device refuses to come up with the message
  "iwlagn: Could not load the INST uCode section" and
  "iwlagn: Unable to set up bootstrap uCode: -110"

Dmesg before suspend:
Feb  9 21:18:06 ikn kernel: [    9.535291] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
Feb  9 21:18:06 ikn kernel: [    9.535469] iwlagn: Copyright(c) 2003-2008 Intel Corporation
Feb  9 21:18:06 ikn kernel: [    9.535653] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Feb  9 21:18:06 ikn kernel: [    9.535774] iwlagn 0000:03:00.0: setting latency timer to 64
Feb  9 21:18:06 ikn kernel: [    9.535807] iwlagn: Detected Intel Wireless WiFi Link 5300AGN REV=0x24
Feb  9 21:18:06 ikn kernel: [    9.554784] iwlagn: Tunable channels: 13 802.11bg, 24 802.11a channels
Feb  9 21:18:06 ikn kernel: [    9.555464] iwlagn 0000:03:00.0: PCI INT A disabled
Feb  9 21:18:06 ikn kernel: [    9.563121] wmaster0 (iwlagn): not using net_device_ops yet
Feb  9 21:18:06 ikn kernel: [    9.563784] phy0: Selected rate control algorithm 'iwl-agn-rs'
Feb  9 21:18:06 ikn kernel: [    9.857164] wlan0 (iwlagn): not using net_device_ops yet
Feb  9 21:18:20 ikn kernel: [   62.784153] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Feb  9 21:18:20 ikn kernel: [   62.784381] iwlagn 0000:03:00.0: restoring config space at offset 0x1 (was 0x100102, writing 0x100106)
Feb  9 21:18:20 ikn kernel: [   62.784495] iwlagn 0000:03:00.0: irq 29 for MSI/MSI-X
Feb  9 21:18:20 ikn kernel: [   62.784580] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
Feb  9 21:18:20 ikn kernel: [   62.936982] iwlagn loaded firmware version 5.4.1.16
Feb  9 21:18:20 ikn kernel: [   62.938427] iwlagn: Radio disabled by HW RF Kill switch
Feb  9 21:18:20 ikn kernel: [   62.950596] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Feb  9 21:19:21 ikn kernel: [  124.407490] wlan0: direct probe to AP 00:14:6c:67:9c:32 try 1
Feb  9 21:19:21 ikn kernel: [  124.410724] wlan0 direct probe responded
Feb  9 21:19:21 ikn kernel: [  124.410730] wlan0: authenticate with AP 00:14:6c:67:9c:32
Feb  9 21:19:21 ikn kernel: [  124.412782] wlan0: authenticated
Feb  9 21:19:21 ikn kernel: [  124.412787] wlan0: associate with AP 00:14:6c:67:9c:32
Feb  9 21:19:21 ikn kernel: [  124.420641] wlan0: RX AssocResp from 00:14:6c:67:9c:32 (capab=0x601 status=0 aid=9)
Feb  9 21:19:21 ikn kernel: [  124.420647] wlan0: associated
Feb  9 21:19:21 ikn kernel: [  124.425527] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Feb  9 21:19:32 ikn kernel: [  134.452077] wlan0: no IPv6 routers present

Dmesg after suspend:
[  569.004130] iwlagn: Could not load the INST uCode section
[  569.004135] iwlagn: Unable to set up bootstrap uCode: -110
[  574.004128] iwlagn: Could not load the INST uCode section
[  574.004132] iwlagn: Unable to set up bootstrap uCode: -110
[  579.004139] iwlagn: Could not load the INST uCode section
[  579.004143] iwlagn: Unable to set up bootstrap uCode: -110
[  584.004128] iwlagn: Could not load the INST uCode section
[  584.004132] iwlagn: Unable to set up bootstrap uCode: -110
[  589.004139] iwlagn: Could not load the INST uCode section
[  589.004143] iwlagn: Unable to set up bootstrap uCode: -110
[  589.013376] iwlagn: Unable to initialize device after 5 attempts.
[  589.013469] iwlagn 0000:03:00.0: PCI INT A disabled
[  589.014080] sd 0:0:0:0: [sda] Starting disk
[  590.528142] usb 7-6: reset high speed USB device using ehci_hcd and address 3
[  590.776137] usb 8-6: reset high speed USB device using ehci_hcd and address 2
[  591.032124] usb 2-1: reset full speed USB device using uhci_hcd and address 2
[  591.183383] pci 0000:00:02.0: power state changed by ACPI to D0
[  591.183416] pci 0000:00:02.0: restoring config space at offset 0x1 (was 0x900403, writing 0x900003)
[  591.183582] pci 0000:00:02.0: power state changed by ACPI to D0
[  591.183594] pci 0000:00:02.0: setting latency timer to 64
[  591.200209] Restarting tasks ... done.
[  592.305888] elantech.c: unexpected magic knock result 0x00, 0x02, 0x64.
[  592.629437] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[  592.647485] input: TPPS/2 IBM TrackPoint as /class/input/input11
[  593.200148] wlan0: No ProbeResp from current AP 00:14:6c:67:9c:32 - assume out of range
[  611.582358] wlan0: direct probe to AP 00:14:6c:67:9c:32 try 1
[  611.780126] wlan0: direct probe to AP 00:14:6c:67:9c:32 try 2
[  611.980122] wlan0: direct probe to AP 00:14:6c:67:9c:32 try 3
[  612.180163] wlan0: direct probe to AP 00:14:6c:67:9c:32 timed out

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ipw3945-devel] X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623
  2009-02-10  7:01 ` X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623 Nico Schottelius
@ 2009-02-12 19:48     ` reinette chatre
  0 siblings, 0 replies; 6+ messages in thread
From: reinette chatre @ 2009-02-12 19:48 UTC (permalink / raw)
  To: Nico Schottelius; +Cc: Linux Next Mailing List, LKML, ipw3945-devel

On Mon, 2009-02-09 at 23:01 -0800, Nico Schottelius wrote:
> Good morning!
> 
> Summary on the X200:
> - First resume after suspend takes 20 seconds
> - Further resumes work fine
> - wlan works *before* first suspend and wakeup
> - after that the same happens as on 2.6.29-rc3-ikn-00697-gae1a25d:
>   the device refuses to come up with the message
>   "iwlagn: Could not load the INST uCode section" and
>   "iwlagn: Unable to set up bootstrap uCode: -110"

Sorry that I missed responding to your email in all the messages
regarding this problem. A patch was recently sent to address it - could
you please try with
http://marc.info/?l=linux-wireless&m=123429595818495&w=2 ?

Thanks

Reinette



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ipw3945-devel] X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623
@ 2009-02-12 19:48     ` reinette chatre
  0 siblings, 0 replies; 6+ messages in thread
From: reinette chatre @ 2009-02-12 19:48 UTC (permalink / raw)
  To: Nico Schottelius; +Cc: Linux Next Mailing List, LKML, ipw3945-devel

On Mon, 2009-02-09 at 23:01 -0800, Nico Schottelius wrote:
> Good morning!
> 
> Summary on the X200:
> - First resume after suspend takes 20 seconds
> - Further resumes work fine
> - wlan works *before* first suspend and wakeup
> - after that the same happens as on 2.6.29-rc3-ikn-00697-gae1a25d:
>   the device refuses to come up with the message
>   "iwlagn: Could not load the INST uCode section" and
>   "iwlagn: Unable to set up bootstrap uCode: -110"

Sorry that I missed responding to your email in all the messages
regarding this problem. A patch was recently sent to address it - could
you please try with
http://marc.info/?l=linux-wireless&m=123429595818495&w=2 ?

Thanks

Reinette

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ipw3945-devel] X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623
  2009-02-12 19:48     ` reinette chatre
@ 2009-02-13  9:36       ` Nico Schottelius
  -1 siblings, 0 replies; 6+ messages in thread
From: Nico Schottelius @ 2009-02-13  9:36 UTC (permalink / raw)
  To: reinette chatre
  Cc: Nico Schottelius, Linux Next Mailing List, LKML, ipw3945-devel

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

reinette chatre [Thu, Feb 12, 2009 at 11:48:40AM -0800]:
> Sorry that I missed responding to your email in all the messages
> regarding this problem. A patch was recently sent to address it - could
> you please try with
> http://marc.info/?l=linux-wireless&m=123429595818495&w=2 ?

I just booted 2.6.29-rc4-ikn-00211-g37bed90, which contains
that commit, but has broken brightness. I'll test it with
the next version the brightness is working again, currently
local usage of the notebook is not possible :-/

Sincerly,

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ipw3945-devel] X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623
@ 2009-02-13  9:36       ` Nico Schottelius
  0 siblings, 0 replies; 6+ messages in thread
From: Nico Schottelius @ 2009-02-13  9:36 UTC (permalink / raw)
  To: reinette chatre
  Cc: Nico Schottelius, Linux Next Mailing List, LKML, ipw3945-devel

[-- Attachment #1: Type: text/plain, Size: 720 bytes --]

reinette chatre [Thu, Feb 12, 2009 at 11:48:40AM -0800]:
> Sorry that I missed responding to your email in all the messages
> regarding this problem. A patch was recently sent to address it - could
> you please try with
> http://marc.info/?l=linux-wireless&m=123429595818495&w=2 ?

I just booted 2.6.29-rc4-ikn-00211-g37bed90, which contains
that commit, but has broken brightness. I'll test it with
the next version the brightness is working again, currently
local usage of the notebook is not possible :-/

Sincerly,

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-13  9:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-09  9:35 X200: Suspend & resume, iwlwifi on 2.6.29-rc3-00697-gae1a25d Nico Schottelius
2009-02-10  7:01 ` X200: Resume and iwlwifi on 2.6.29-rc4-ikn-00001-gd5b5623 Nico Schottelius
2009-02-12 19:48   ` [ipw3945-devel] " reinette chatre
2009-02-12 19:48     ` reinette chatre
2009-02-13  9:36     ` Nico Schottelius
2009-02-13  9:36       ` Nico Schottelius

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.