Intel 3945ABG with ipw driver on 7.0 (partial success)
Doug Poland
doug at polands.org
Fri Oct 26 12:39:39 PDT 2007
Tom Evans wrote:
> On Fri, 2007-10-26 at 10:57 +0100, Vince wrote:
>> Yousif Hassan wrote:
>>> Try:
>>> http://www.clearchain.com/wiki/Wpi
>>>
>> And if you dont have access to the perforce repository, someone (I
>> forget who now) wrote a handy little ruby script to scrape the
>> webinterface to get the latest, I'll dig it out if you want it although
>> I think its in the archives of mobile@ or drivers@ somewhere. It has
>> debugging options that arent on in 7.0 by default so you might need to
>> edit the makefile of the perforce version.
>>
Thanks,
I fetched the 20070923-freebsd-wpi.tar.gz tarball, built both modules,
set the sysctl and rebooted. The driver is very verbose and dumps
thousands of lines to the console and /var/log/messages. I was able to:
# ifconfig wpi0 ssid Imagination
# dhclient wpi0
However, when I attempted to access the network, my system became
completely unresponsive and I had to power off. I've attached, what I
hope are, pertinent parts of messages.
===> dmesg
kernel: wpi0: <Intel(R) PRO/Wireless 3945ABG> mem 0xf4000000-0xf4000fff
irq 17 at device 0.0 on pci16
kernel: wpi0: Driver Revision 20070923
kernel: Size: 114688 - alignement 1
kernel: Memory, allocated & Aligned!
kernel: Resetting the card - clearing any uploaded firmware
kernel: wpi0: Hardware Revision (0x1)
kernel: Size: 44 - alignement 4096
kernel: Memory, allocated & Aligned!
kernel: Size: 245760 - alignement 4096
kernel: Memory, allocated & Aligned!
kernel: Size: 16384 - alignement 16384
kernel: bus_dmamem_alloc failed to align memory properly.
kernel: Memory Unaligned, trying again: 0
kernel: bus_dmamem_alloc failed to align memory properly.
kernel: Memory Unaligned, trying again: 1
kernel: Memory, allocated & Aligned!
kernel: Size: 93184 - alignement 16384
kernel: bus_dmamem_alloc failed to align memory properly.
kernel: Memory Unaligned, trying again: 0
kernel: bus_dmamem_alloc failed to align memory properly.
kernel: Memory Unaligned, trying again: 1
kernel: bus_dmamem_alloc failed to align memory properly.
kernel: Memory Unaligned, trying again: 2
kernel: bus_dmamem_alloc failed to align memory properly.
kernel: Memory Unaligned, trying again: 3
kernel: Memory, allocated & Aligned!
kernel: Size: 16384 - alignement 16384
kernel: bus_dmamem_alloc failed to align memory properly.
and on...
===> Assigned an SSID to the NIC and launched dhclient:
kernel: Disabling Firmware execution
kernel: NEWSTATE:INIT
kernel: Resetting the card - clearing any uploaded firmware
kernel: Attempting Loading Firmware from wpi_fw module
kernel:
kernel: Firmware Version: Major 2, Minor 14, Driver 4,
kernel: runtime (text: 80524, data: 32768) init (text: 2668, data 32768)
boot (text 900)
kernel:
kernel: rtext 0xf802020
kernel: rdata 0x0
kernel: itext 0xf802020
kernel: idata 0x0
kernel: btext 0xf802020
kernel: Loading microcode size 0x384
kernel: firmware status=0xffff0000, val=0x40400000, result=0x40400000
kernel: Status Match! - ntries = 0
kernel: notify qid=80 idx=0 flags=0 type=1 len=36
kernel: microcode alive notification version 10e02 alive 1
kernel: notify qid=80 idx=0 flags=0 type=1 len=36
kernel: microcode alive notification version 10e02 alive 1
kernel: Firmware loaded to driver successfully
kernel: temperature -215
kernel: NEWSTATE:SCAN
kernel: wpi_cmd 72 size 8 async 1
kernel: wpi_scan_start
kernel: wpi_ops: command: 1 SCAN_START
kernel: notify qid=4 idx=0 flags=0 type=72 len=4
kernel: cmd notification qid=4 idx=0 flags=0 type=72 len=4
kernel: wpi_ops: command: 8 CHAN
kernel: wpi_cmd 119 size 32 async 0
kernel: ioctl sleeping...
kernel: notify qid=4 idx=1 flags=0 type=119 len=4
kernel: cmd notification qid=4 idx=1 flags=0 type=119 len=4
kernel:
kernel: wpi_cmd 155 size 12 async 0
kernel: notify qid=4 idx=2 flags=0 type=155 len=4
kernel: cmd notification qid=4 idx=2 flags=0 type=155 len=4
kernel: wpi_cmd 16 size 43 async 0
kernel: notify qid=4 idx=3 flags=0 type=16 len=4
kernel: cmd notification qid=4 idx=3 flags=0 type=16 len=4
kernel: chan 1/rate 12: power index 42
kernel: chan 1/rate 18: power index 42
kernel: chan 1/rate 24: power index 42
kernel: chan 1/rate 36: power index 42
kernel: chan 1/rate 48: power index 42
kernel: chan 1/rate 72: power index 42
kernel: chan 1/rate 96: power index 42
kernel: chan 1/rate 108: power index 43
kernel: chan 1/rate 2: power index 52
kernel: chan 1/rate 4: power index 52
kernel: chan 1/rate 11: power index 52
kernel: chan 1/rate 22: power index 52
kernel: wpi_cmd 151 size 52 async 0
kernel: notify qid=80 idx=1 flags=2 type=27 len=192
===> Then it finds the WAP:
kernel: Scanning Essid: "Imagination"
kernel: Scanning 6 Passive: 0
kernel: notify qid=4 idx=17 flags=0 type=128 len=8
kernel: cmd notification qid=4 idx=17 flags=0 type=128 len=8
kernel: notify qid=80 idx=25 flags=0 type=130 len=24
kernel: scanning channel 6 status 1
kernel: notify qid=80 idx=26 flags=2 type=27 len=188
kernel: rx intr: idx=45 len=188 stat len=149 rssi=33 rate=a chan=6
tstamp=4217
kernel: notify qid=80 idx=27 flags=2 type=27 len=192
kernel: rx intr: idx=46 len=192 stat len=156 rssi=34 rate=a chan=6
tstamp=5737
kernel: notify qid=80 idx=28 flags=2 type=27 len=196
kernel: rx intr: idx=47 len=196 stat len=159 rssi=33 rate=a chan=6
tstamp=8406
kernel: notify qid=80 idx=29 flags=2 type=27 len=184
kernel: rx intr: idx=48 len=184 stat len=147 rssi=11 rate=a chan=6
tstamp=22117
kernel: notify qid=80 idx=30 flags=0 type=131 len=20
kernel: notify qid=80 idx=31 flags=0 type=132 len=16
kernel: scan finished nchan=1 status=1 chan=6
kernel: wpi_ops: command: 32 NEXT
kernel: NEXT
===> When I attempt access the network:
kernel: notify qid=83 idx=52 flags=2 type=27 len=192
kernel: rx intr: idx=9 len=192 stat len=156 rssi=48 rate=a chan=4
tstamp=3359210907070
kernel: notify qid=83 idx=53 flags=0 type=157 len=244
kernel: notify qid=83 idx=54 flags=2 type=27 len=196
kernel: rx intr: idx=11 len=196 stat len=158 rssi=48 rate=a chan=4
tstamp=3359211009482
kernel: notify qid=83 idx=55 flags=0 type=157 len=244
kernel: Temp in calibration is: -158
kernel: notify qid=83 idx=56 flags=2 type=27 len=196
kernel: rx intr: idx=13 len=196 stat len=158 rssi=47 rate=a chan=4
tstamp=3359211111885
kernel: notify qid=83 idx=57 flags=0 type=157 len=244
kernel: notify qid=83 idx=58 flags=2 type=27 len=192
kernel: rx intr: idx=15 len=192 stat len=156 rssi=48 rate=a chan=4
tstamp=3359211214266
kernel: notify qid=83 idx=59 flags=0 type=157 len=244
kernel: notify qid=83 idx=60 flags=2 type=27 len=192
kernel: rx intr: idx=17 len=192 stat len=156 rssi=48 rate=a chan=4
tstamp=3359211316671
kernel: notify qid=83 idx=61 flags=0 type=157 len=244
kernel: notify qid=83 idx=62 flags=2 type=27 len=192
kernel: rx intr: idx=19 len=192 stat len=156 rssi=42 rate=a chan=4
tstamp=3359211419323
kernel: notify qid=83 idx=63 flags=0 type=157 len=244
kernel: Temp in calibration is: -158
kernel: notify qid=83 idx=64 flags=2 type=27 len=192
kernel: rx intr: idx=21 len=192 stat len=156 rssi=42 rate=a chan=4
tstamp=3359211521473
kernel: notify qid=83 idx=65 flags=0 type=157 len=244
kernel: notify qid=83 idx=66 flags=2 type=27 len=148
kernel: rx intr: idx=23 len=148 stat len=110 rssi=42 rate=6e chan=4
tstamp=3359211521819
kernel: notify qid=83 idx=67 flags=2 type=27 len=196
kernel: rx intr: idx=24 len=196 stat len=158 rssi=47 rate=a chan=4
tstamp=3359211623881
kernel: notify qid=83 idx=68 flags=0 type=157 len=244
kernel: notify qid=83 idx=69 flags=2 type=27 len=192
kernel: rx intr: idx=26 len=192 stat len=156 rssi=48 rate=a chan=4
tstamp=3359211726271
kernel: notify qid=83 idx=70 flags=2 type=27 len=120
kernel: rx intr: idx=27 len=120 stat len=83 rssi=48 rate=6e chan=4
tstamp=3359211726558
kernel: notify qid=83 idx=71 flags=0 type=157 len=244
kernel: notify qid=83 idx=72 flags=2 type=27 len=132
kernel: rx intr: idx=29 len=132 stat len=94 rssi=48 rate=6e chan=4
tstamp=3359211726856
kernel: notify qid=83 idx=73 flags=2 type=27 len=112
kernel: rx intr: idx=30 len=112 stat len=74 rssi=48 rate=6e chan=4
tstamp=3359211727138
kernel: notify qid=83 idx=74 flags=2 type=27 len=192
kernel: rx intr: idx=31 len=192 stat len=156 rssi=47 rate=a chan=4
tstamp=3359211828666
kernel: notify qid=83 idx=75 flags=0 type=157 len=244
kernel: notify qid=83 idx=76 flags=2 type=27 len=192
kernel: rx intr: idx=33 len=192 stat len=156 rssi=47 rate=a chan=4
tstamp=3359211931305
kernel: notify qid=83 idx=77 flags=0 type=157 len=244
kernel: Temp in calibration is: -158
===> machine freezes, have to power off.
More information about the freebsd-mobile
mailing list