{"id":59,"date":"2007-08-08T03:54:49","date_gmt":"2007-08-08T02:54:49","guid":{"rendered":"http:\/\/patrick-nagel.net\/blog\/archives\/59"},"modified":"2007-08-21T01:09:19","modified_gmt":"2007-08-21T00:09:19","slug":"problems-with-ipw3945-on-my-new-laptop","status":"publish","type":"post","link":"https:\/\/patrick-nagel.net\/blog\/archives\/59","title":{"rendered":"Problems with ipw3945 on my new laptop"},"content":{"rendered":"<p>I&#8217;ll use this blog entry to collect all information which could be helpful in debugging the ipw3945 issue I&#8217;m having on my new laptop (Sony VAIO VGN-FZ15).<\/p>\n<p>I opened a <a href=\"http:\/\/bughost.org\/bugzilla\/show_bug.cgi?id=1424\">bug report at bughost.org<\/a>.<\/p>\n<p>uname -a says:<br \/>\n<code>Linux wang 2.6.22-gentoo-r2 #8 SMP Mon Aug 6 09:20:59 CST 2007 i686 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz GenuineIntel GNU\/Linux<\/code><\/p>\n<p>lspci says:<br \/>\n<code>00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 0c)<br \/>\n00:01.0 PCI bridge: Intel Corporation Mobile PCI Express Root Port (rev 0c)<br \/>\n00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)<br \/>\n00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)<br \/>\n00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)<br \/>\n00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)<br \/>\n00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)<br \/>\n00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)<br \/>\n00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)<br \/>\n00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)<br \/>\n00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)<br \/>\n00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)<br \/>\n00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)<br \/>\n00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)<br \/>\n00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)<br \/>\n00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)<br \/>\n00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)<br \/>\n00:1f.2 SATA controller: Intel Corporation Mobile SATA AHCI Controller (rev 03)<br \/>\n00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)<br \/>\n01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0426 (rev a1)<br \/>\n06:00.0 Network controller: Intel Corporation PRO\/Wireless 3945ABG Network Connection (rev 02)<br \/>\n08:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast Ethernet Controller (rev 16)<br \/>\n09:03.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller<br \/>\n09:03.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller<br \/>\n09:03.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD\/MMC\/MS\/MS PRO\/xD)<\/code><\/p>\n<p>pcitweak -l says:<br \/>\n<code>PCI: 06:00:0: chip 8086,4222 card 8086,1052 rev 02 class 02,80,00 hdr 00<\/code><\/p>\n<p>This is a Gentoo system &#8211; eix ipw3945 says:<br \/>\n<code>[I] net-wireless\/ipw3945<br \/>\n     Available versions:  1.0.5 1.2.0 [M](~)1.2.1 {debug kernel_linux}<br \/>\n     Installed versions:  1.2.0(11:16:15 08\/05\/07)(-debug kernel_linux)<br \/>\n     Homepage:            http:\/\/ipw3945.sourceforge.net\/<br \/>\n     Description:         Driver for the Intel PRO\/Wireless 3945ABG miniPCI express adapter<\/p>\n<p>[I] net-wireless\/ipw3945-ucode<br \/>\n     Available versions:  1.13 1.14.2<br \/>\n     Installed versions:  1.14.2(10:35:35 08\/02\/07)<br \/>\n     Homepage:            http:\/\/www.bughost.org\/ipw3945\/<br \/>\n     Description:         Microcode for the Intel PRO\/Wireless 3945ABG miniPCI express adapter<\/p>\n<p>[I] net-wireless\/ipw3945d<br \/>\n     Available versions:  1.7.18 1.7.22-r4<br \/>\n     Installed versions:  1.7.22-r4(10:35:22 08\/02\/07)<br \/>\n     Homepage:            http:\/\/www.bughost.org\/ipw3945\/<br \/>\n     Description:         Regulatory daemon for the Intel PRO\/Wireless 3945ABG miniPCI express adapter<br \/>\n<\/code> <\/p>\n<p>\/var\/log\/everything\/&#8230; just before a total system lockup \/ freeze:<\/p>\n<p><code>Aug  8 06:53:11 [kernel] ipw3945: Error sending cmd #07 to daemon: time out after 500ms.<br \/>\nAug  8 06:53:13 [kernel] ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms.<br \/>\nAug  8 06:53:13 [kernel] ipw3945: Error sending cmd #08 to daemon: time out after 500ms.<br \/>\nAug  8 06:53:14 [kernel] ipw3945: Error sending ADD_STA: time out after 500ms.<br \/>\nAug  8 06:53:14 [wpa_cli] interface wlan DISCONNECTED<br \/>\nAug  8 06:53:14 [kernel] ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms.<br \/>\nAug  8 06:53:15 [rc-scripts] WARNING:  you are stopping a boot service.<br \/>\nAug  8 06:53:17 [dhcpcd] wlan: received SIGTERM, stopping<br \/>\nAug  8 06:53:17 [dhcpcd] wlan: removing default route via 192.168.178.1 metric 2000<br \/>\nAug  8 06:53:17 [dhcpcd] wlan: deleting IP address 192.168.178.25\/24<br \/>\nAug  8 06:53:17 [dhcpcd] wlan: exiting<\/code><\/p>\n<p>Sometimes the system is locked up only for a couple of seconds,<br \/>\nand then recovers, for example once it looked like this in dmesg:<\/p>\n<p><code>ipw3945: Error sending LEDS_CMD: time out after 500ms.<br \/>\nipw3945: Error sending cmd #07 to daemon: time out after 500ms.<br \/>\nipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms.<br \/>\nipw3945: Error sending cmd #08 to daemon: time out after 500ms.<br \/>\nipw3945: Error sending ADD_STA: time out after 500ms.<br \/>\nipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms.<br \/>\nipw3945: Error sending LEDS_CMD: time out after 500ms.<br \/>\nipw3945: Error sending LEDS_CMD: time out after 500ms.<br \/>\nipw3945: Detected geography ABG (13 802.11bg channels, 4 802.11a channels)<br \/>\nipw3945: Error sending LEDS_CMD: time out after 500ms.<br \/>\n<\/code><\/p>\n<p>And another one:<br \/>\n<code>Aug 16 21:03:04 [kernel] ipw3945: Error sending cmd #07 to daemon: time out after 500ms.<br \/>\nAug 16 21:03:06 [kernel] ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms.<br \/>\nAug 16 21:03:07 [kernel] ipw3945: Error sending cmd #08 to daemon: time out after 500ms.<br \/>\nAug 16 21:03:07 [kernel] ipw3945: Error sending ADD_STA: time out after 500ms.<br \/>\nAug 16 21:03:07 [wpa_cli] interface wlan DISCONNECTED<br \/>\nAug 16 21:03:07 [rc-scripts] WARNING:  you are stopping a boot service.<br \/>\nAug 16 21:03:08 [kernel] ipw3945: Error sending SCAN_ABORT_CMD: time out after 500ms.<br \/>\nAug 16 21:03:08 [dhcpcd] wlan: received SIGTERM, stopping<br \/>\nAug 16 21:03:08 [dhcpcd] wlan: removing default route via 192.168.0.4 metric 2000<br \/>\nAug 16 21:03:08 [dhcpcd] wlan: deleting IP address 192.168.0.21\/24<br \/>\nAug 16 21:03:08 [dhcpcd] wlan: exiting<br \/>\nAug 16 21:03:24 [kernel] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000012<br \/>\nAug 16 21:03:24 [kernel]  printing eip:<br \/>\nAug 16 21:03:24 [kernel] c011e1f0<br \/>\nAug 16 21:03:24 [kernel] *pde = 00000000<br \/>\nAug 16 21:03:24 [kernel] Modules linked in: truecrypt rfcomm l2cap snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ipv6 ieee80211_crypt_ccmp af_packet bridge llc iptable_mangle iptable_nat nf_nat ipt_REJECT xt_tcpudp nf_conntrack_ipv4 xt_state iptable_filter ip_tables x_tables aes dm_crypt dm_mod vboxdrv nf_conntrack_ftp nf_conntrack tifm_7xx1 tifm_sd mmc_core tifm_core coretemp cpufreq_ondemand acpi_cpufreq freq_table thermal processor fan button battery ac usbhid usb_storage hci_usb nvidia(P) ipw3945 ieee80211 ieee80211_crypt firmware_class snd_hda_intel snd_pcm snd_timer snd soundcore snd_page_alloc ehci_hcd yenta_socket rsrc_nonstatic pcmcia_core uhci_hcd usbcore intel_agp agpgart ohci1394<br \/>\nAug 16 21:04:07 [kernel] ipw3945: Error sending LEDS_CMD: time out after 500ms.<br \/>\n                - Last output repeated twice -<br \/>\nAug 16 21:04:10 [kernel] ipw3945: Detected geography ABG (13 802.11bg channels, 4 802.11a channels)<br \/>\nAug 16 21:04:12 [wpa_cli] interface wlan CONNECTED<br \/>\nAug 16 21:04:13 [dhcpcd] wlan: dhcpcd 3.1.4 starting<br \/>\nAug 16 21:04:13 [dhcpcd] wlan: hardware address = 00:1b:77:...<br \/>\nAug 16 21:04:13 [dhcpcd] wlan: DUID = 00:01:00:01:0e:39:...<br \/>\nAug 16 21:04:13 [dhcpcd] wlan: broadcasting for a lease<br \/>\nAug 16 21:04:29 [dhcpcd] wlan: offered 192.168.0.21 from 192.168.0.4<br \/>\nAug 16 21:04:29 [dhcpcd] wlan: checking 192.168.0.21 is available on attached networks<br \/>\nAug 16 21:04:30 [dhcpcd] wlan: leased 192.168.0.21 for 864000 seconds<br \/>\nAug 16 21:04:30 [dhcpcd] wlan: adding IP address 192.168.0.21\/24<br \/>\nAug 16 21:04:30 [dhcpcd] wlan: adding route to 192.168.0.0\/24 metric 2000<br \/>\nAug 16 21:04:30 [dhcpcd] wlan: removing route to 192.168.0.0\/24 metric 0<br \/>\nAug 16 21:04:30 [dhcpcd] wlan: adding default route via 192.168.0.4 metric 2000<br \/>\nAug 16 21:04:30 [wpa_cli] interface wlan DISCONNECTED<br \/>\nAug 16 21:04:30 [rc-scripts] WARNING:  you are stopping a boot service.<br \/>\nAug 16 21:04:31 [dhcpcd] wlan: received SIGTERM, stopping<br \/>\nAug 16 21:04:31 [dhcpcd] wlan: removing default route via 192.168.0.4 metric 2000<br \/>\nAug 16 21:04:31 [dhcpcd] wlan: deleting IP address 192.168.0.21\/24<br \/>\nAug 16 21:04:31 [dhcpcd] wlan: exiting<br \/>\nAug 16 21:04:31 [wpa_cli] interface wlan CONNECTED<br \/>\nAug 16 21:04:32 [dhcpcd] wlan: dhcpcd 3.1.4 starting<br \/>\nAug 16 21:04:32 [dhcpcd] wlan: hardware address = 00:1b:77:...<br \/>\nAug 16 21:04:32 [dhcpcd] wlan: DUID = 00:01:00:01:0e:39:...<br \/>\nAug 16 21:04:32 [dhcpcd] wlan: broadcasting for a lease<br \/>\nAug 16 21:04:33 [dhcpcd] wlan: offered 192.168.0.21 from 192.168.0.4<br \/>\nAug 16 21:04:33 [dhcpcd] wlan: checking 192.168.0.21 is available on attached networks<br \/>\nAug 16 21:04:34 [dhcpcd] wlan: leased 192.168.0.21 for 864000 seconds<br \/>\nAug 16 21:04:34 [dhcpcd] wlan: adding IP address 192.168.0.21\/24<br \/>\nAug 16 21:04:34 [dhcpcd] wlan: adding route to 192.168.0.0\/24 metric 2000<br \/>\nAug 16 21:04:34 [dhcpcd] wlan: removing route to 192.168.0.0\/24 metric 0<br \/>\nAug 16 21:04:34 [dhcpcd] wlan: adding default route via 192.168.0.4 metric 2000<\/code><\/p>\n<p>And again &#8211; this time with debugging switched on (echo 0x00043FFF >\/sys\/bus\/pci\/drivers\/ipw3945\/debug_level). The log has 270KB, you can get it here:<\/p>\n<p><a href=\"https:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2007\/08\/ipwbug.log\">IPW3945 temporary freeze debug log (2007-08-21)<\/a><\/p>\n<p>And there is nothing more refreshing than a freezing computer while reading the news in the morning and having a cup of coffee \ud83d\ude09<\/p>\n<p><a href=\"https:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2007\/08\/ipwbug2.log\">IPW3945 permanent freeze debug log &#8211; probably not complete, because unwritten log data got lost (2007-08-21)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ll use this blog entry to collect all information which could be helpful in debugging the ipw3945 issue I&#8217;m having on my new laptop (Sony VAIO VGN-FZ15). I opened a bug report at bughost.org. uname -a says: Linux wang 2.6.22-gentoo-r2 #8 SMP Mon Aug 6 09:20:59 CST 2007 i686 Intel(R) Core(TM)2 Duo CPU T7100 @ &hellip; <a href=\"https:\/\/patrick-nagel.net\/blog\/archives\/59\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Problems with ipw3945 on my new laptop&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-linux-on-sony-vaio-vgn-fz15"],"_links":{"self":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":0,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"wp:attachment":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}