LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 08-17-2008, 11:02 PM   #1
ccoffee
Member
 
Registered: Mar 2003
Location: Lake City, South Carolina
Distribution: Slackware 15 and current
Posts: 82

Rep: Reputation: 13
Smile Lenovo R61i, IPW3945ABG, IWL3945 Does Not function


I have a Lenovo R61i Laptop with the IPW3945ABG wireless controller.
I started with Slackware 12.0 and the IPW3945, IEEE80211, etc drivers
and everything worked fine. After a new install to Slackware 12.1, I
followed the instructions for modification of the /etc/rc.d/rc.inet1.conf
file and used the IWL3945 that came with the distro. This worked exactly
twice and would not function again. This is a dual boot machine with
Win XP SP2 as received from Lenovo. Card works everytime from Win XP.

After I completely reloaded Slackware 12.1 from CDs (Not REformating),
I obtained the July08 IWL3945 driver files from "compat-wireless" and
loaded the drivers per the instructions. Again, the wireless card
only worked twice.

I have not reloaded Slackware 12.1 completely again, and the Latest
IWL3945 (July 08), again the card worked twice and stopped working.

During all of this, if I bring up XP, the card works fine.

LSPCI as follows:
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)

00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)

00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)

00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)

00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)

00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)

00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)

00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)

00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)

00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)

00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)

00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)

00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)

00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)

00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)

00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)

03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)

15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)

15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 04)

15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)

15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)

15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 11)

15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)
================================================================
The following is from my syslog for Jul22 and Aug17 but the problem
seems to be changing.........
==============
Darkstar2 kernel: Clocksource tsc unstable (delta = -342292938 ns)

Jul 22 17:42:39 Darkstar2 kernel: fuse init (API version 7.9)

Jul 22 17:43:09 Darkstar2 dhcpcd[2841]: timed out waiting for a valid DHCP server response

Jul 22 17:43:20 Darkstar2 dhcpcd[2900]: timed out waiting for a valid DHCP server response

Jul 22 17:43:21 Darkstar2 ntpd[2985]: bind() fd 19, family 10, port 123, scope 4,
addr fe80::21f:3cff:fe27:f3ce, in6_is_addr_multicast=0 flags=17 fails: Cannot assign requested address

Jul 22 17:43:21 Darkstar2 ntpd[2985]: unable to create socket on wlan0 (3) for fe80::21f:3cff:fe27:f3ce#123

Jul 22 17:43:22 Darkstar2 ntpd[2985]: bind() fd 21, family 10, port 123, scope 4, addr fe80::21f:3cff:fe27:f3ce,
in6_is_addr_multicast=0 flags=17 fails: Cannot assign requested address

Jul 22 17:43:22 Darkstar2 ntpd[2985]: unable to create socket on wlan0 (6) for fe80::21f:3cff:fe27:f3ce#123

Jul 22 21:09:23 Darkstar2 dhcpcd[2865]: terminating on signal 1

Jul 23 08:56:54 Darkstar2 kernel: BIOS-e820: 0000000000000000 - 000000000009d800 (usable)



/////=====/////=====/////=====/////=====/////=====


Aug 17 22:54:45 localhost kernel: fuse init (API version 7.9)

Aug 17 22:54:45 localhost kernel: Clocksource tsc unstable (delta = -323876497 ns)

Aug 17 22:55:15 localhost dhcpcd[2819]: timed out waiting for a valid DHCP server response

Aug 17 22:55:26 localhost dhcpcd[2852]: timed out waiting for a valid DHCP server response

Aug 17 22:56:44 localhost dhcpcd[3233]: timed out waiting for a valid DHCP server response

Aug 17 22:58:35 localhost dhcpcd[3438]: timed out waiting for a valid DHCP server response

Aug 17 22:59:59 localhost kernel: set_rtc_mmss: can't update from 0 to 59

======================

I have tried the setup as described by "Alien Bob" web site, which did
not work at all on this system.

The directions from "Compat-Wireless" for the IWL3945 were followed
both of the last two reloads using the latest driver.

If this does not work, I guess I will have to go back to the IPW3945
drivers, but was hoping for some ideas here.

TIA... CChttp://linuxquestions.cachefly.net/images/questions/images/icons_lq/icon7.gif
Smile
 
Old 08-18-2008, 05:00 PM   #2
ccoffee
Member
 
Registered: Mar 2003
Location: Lake City, South Carolina
Distribution: Slackware 15 and current
Posts: 82

Original Poster
Rep: Reputation: 13
Some additional data for the Lenovo R61i/Slackware 12.1 installation.

After the wireless stops running, upon boot up, I get the following:

"/etc/rc.d/rc.M: wLan0 information: 'Fill with your own settings...'"

if I try a wlan0 restart, then I will usually get the following:

"/etc/rc.d/rc.inet1: wlan0 information: 'Fill with your own settings...'"

=============================== Pieces of dmesg output =======================
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 16384 bytes)
Detected 1729.033 MHz processor.


iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 1.1.17ks
iwl3945: Copyright(c) 2003-2007 Intel Corporation
sdhci: Secure Digital Host Controller Interface driver

eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
eth0: dma_rwctrl[76180000] dma_mask[64-bit]
ACPI: PCI Interrupt 0000:00:1f.3[A] -> GSI 23 (level, low) -> IRQ 19
agpgart: Detected an Intel 965GM Chipset.

PCI: Setting latency timer of device 0000:03:00.0 to 64
iwl3945: Detected Intel PRO/Wireless 3945ABG Network Connection
GSI 17 (level, low) -> IRQ 21
hda_intel: probe_mask set to 0x1 for device 17aa:20ac
PCI: Setting latency timer of device 0000:00:1b.0 to 64
thinkpad_acpi: ThinkPad ACPI Extras v0.17
thinkpad_acpi: http://ibm-acpi.sf.net/
thinkpad_acpi: ThinkPad BIOS 7OETB2WW (2.12 ), EC 7KHT24WW-1.08
thinkpad_acpi: Lenovo ThinkPad R61
iTCO_wdt: Found a ICH8M TCO device (Version=2, TCOBASE=0x1060)
thinkpad_acpi: radio switch found; radios are enabled
iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
thinkpad_acpi: standard ACPI backlight interface available, not loading native one...
input: ThinkPad Extra Buttons as /devices/virtual/input/input8
sdhci: SDHCI controller found at 0000:15:00.2 [1180:0822] (rev 21)
ACPI: PCI Interrupt 0000:15:00.2[C] -> GSI 18 (level, low) -> IRQ 23
sdhci:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
PCI: Setting latency timer of device 0000:15:00.2 to 64
mmc0: SDHCI at 0xf8301800 irq 23 DMA
iwl3945: Tunable channels: 11 802.11bg, 13 802.11a channels
phy0: Selected rate control algorithm 'iwl-3945-rs'
cs: IO port probe 0xc00-0xcff: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0xa00-0xaff: clean.
fuse init (API version 7.9)
scsi 5:0:0:0: Direct-Access FLASH Drive SM_USB20 1100 PQ: 0 ANSI: 0 CCS
sd 5:0:0:0: [sdb] 15663104 512-byte hardware sectors (8020 MB)
sd 5:0:0:0: [sdb] Write Protect is off
sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sd 5:0:0:0: [sdb] 15663104 512-byte hardware sectors (8020 MB)
sd 5:0:0:0: [sdb] Write Protect is off
sd 5:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 5:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 5:0:0:0: [sdb] Attached SCSI removable disk
sd 5:0:0:0: Attached scsi generic sg1 type 0
usb-storage: device scan complete
Clocksource tsc unstable (delta = -274116438 ns)
EXT3 FS on sda7, internal journal
lp: driver loaded but no devices found
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:1a:70:5a:26:32
wlan0: RX authentication from 00:1a:70:5a:26:32 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:1a:70:5a:26:32
wlan0: RX AssocResp from 00:1a:70:5a:26:32 (capab=0x401 status=0 aid=1)
wlan0: associated
wlan0: disassociate(reason=3)
wlan0: RX disassociation from 00:1a:70:5a:26:32 (reason=7)
wlan0: associate with AP 00:1a:70:5a:26:32
wlan0: RX ReassocResp from 00:1a:70:5a:26:32 (capab=0x401 status=0 aid=1)
wlan0: associated
wlan0: disassociate(reason=3)
wlan0: No ProbeResp from current AP 00:1a:70:5a:26:32 - assume out of range
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
mtrr: no more MTRRs available
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:1a:70:5a:26:32
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
===================================================================
The important part of the rc.inet1.conf file as now exist
below:
==================================================================
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="192.168.1.1"

# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]=""
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]="linksys"
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set #WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"

====================================================================
I have the rc.wireless.conf file renamed so it is not currently
used, since "Alien Bob" Says it is really not needed. Also the
"Wpa_Supplicant" file is listed below for review.
====================================================================
# See /usr/doc/wpa_supplicant-0.5.10/wpa_supplicant.conf.sample
# for many more options that you can use in this file.

# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

# WPA protected network, supply your own ESSID and WPAPSK here:
# network={
# scan_ssid=0
# ssid="any"
# proto=WPA
# key_mgmt=WPA-PSK
# pairwise=CCMP TKIP
# group=CCMP TKIP WEP104 WEP40
# psk="any_psk_will_do"
#}

# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
ssid="any"
key_mgmt=NONE
priority=0
}
========================================================
Finally, the "lsmod" and "lspci" are below.
Also please note that today when starting the machine up, I not longer get the
"/etc/rc.d/rc.M: wlan0 information" or the "/etc/rc.d/rc.inet1: wlan0 information" and
I am not sure why this is changing. I figure once I get any error, until it is fixed
it should not change, but for that matter, I do not understand how this can work
two times fine, but then never work again.

==============lsmod output ==============================
Module Size Used by
snd_seq_dummy 6660 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50256 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 10380 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 40352 0
snd_mixer_oss 17920 1 snd_pcm_oss
ipv6 234724 16
lp 13348 0
parport_pc 27556 0
parport 34632 2 lp,parport_pc
fuse 45588 3
pcmcia 35884 0
snd_hda_intel 289052 0
battery 14340 0
ac 8068 0
snd_pcm 72068 2 snd_pcm_oss,snd_hda_intel
snd_timer 22532 2 snd_seq,snd_pcm
snd_page_alloc 11528 2 snd_hda_intel,snd_pcm
sdhci 18692 0
video 19472 0
yenta_socket 26636 1
iwl3945 88424 0
output 6656 1 video
thinkpad_acpi 49660 0
snd_hwdep 10756 1 snd_hda_intel
rsrc_nonstatic 14592 1 yenta_socket
rtc_cmos 11040 0
mmc_core 47236 1 sdhci
snd 47716 9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer,snd_hwd ep
pcmcia_core 35988 3 pcmcia,yenta_socket,rsrc_nonstatic
mac80211 122124 1 iwl3945
ricoh_mmc 6912 0
thermal 16540 0
serio_raw 9092 0
rtc_core 18696 1 rtc_cmos
hwmon 6276 1 thinkpad_acpi
intel_agp 25236 1
iTCO_wdt 13988 0
rtc_lib 6528 1 rtc_core
button 10000 0
processor 32680 1 thermal
nvram 11016 1 thinkpad_acpi
hci_usb 16924 0
agpgart 30664 1 intel_agp
iTCO_vendor_support 7044 1 iTCO_wdt
evdev 12672 6
tg3 113028 0
soundcore 9824 1 snd
psmouse 40336 0
cfg80211 14600 1 mac80211
bluetooth 53860 1 hci_usb
i2c_i801 11792 0
sg 30224 0
================================================
=================lspci -v output ===================
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
Subsystem: Intel Corporation Unknown device 1010
Flags: bus master, fast devsel, latency 0, IRQ 21
Memory at df6ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [e0] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Device Serial Number ce-f3-27-ff-ff-3c-1f-00
Kernel driver in use: iwl3945
Kernel modules: iwl3945

04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
Subsystem: Lenovo Unknown device 20d5
Flags: bus master, fast devsel, latency 0, IRQ 23
Memory at fe000000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at <ignored> [disabled]
Capabilities: [48] Power Management version 3
Capabilities: [50] Vital Product Data <?>
Capabilities: [58] Vendor Specific Information <?>
Capabilities: [e8] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [13c] Virtual Channel <?>
Capabilities: [160] Device Serial Number 3a-51-91-fe-ff-25-1c-00
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: tg3
Kernel modules: tg3
===============================================

Thanks again for any pointers to the problem
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 8.04 no sound on my Lenovo R61i mrpc_cambodia Ubuntu 3 06-10-2008 11:22 PM
DVD playback bouncy on Thinkpad R61i falcon56215 Linux - Hardware 1 01-22-2008 10:25 AM
Slack on Lenovo R61i issues koloth Slackware 5 11-16-2007 05:05 AM
USB Sockets Inactive on ThinkPad R61i lotusjps46 Linux - Laptop and Netbook 1 11-08-2007 09:54 AM
Mandriva 2007 prob cannot detect wireless IPW3945ABG katy98 Mandriva 6 11-24-2006 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 06:33 PM.

Contact Us - Advertising Info - Rules - Privacy - Donations - Contributing Member - LQ Sitemap - "Weather apps tell you it'll rain. Wyndo tells you when to go."
Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions