Updated Driver for 3945ABG Intel 3945ABG Wireless LAN controller

Stefan Lambrev stefan.lambrev at sun-fish.com
Thu Feb 15 09:07:44 UTC 2007


HI all,

Rene Ladan wrote:
> N0OCT at sbcglobal.net schreef:
>   
>> Michel Talon wrote:
>>
>>     
>>> For me the driver   0070121-wpi-freebsd.tar.gz as mentioned in 
>>> the postof Gilbert Cao is the only one that works, and works 
>>> very well. I am just using it now.  My computer is a Sony Vaio 
>>> VGN C1 in 32 bits mode.
>>>       
>> I would like to second this.  I have tried the
>> 20070125-wpi-freebsd.tar.gz and the 20070131-wpi-freebsd.tar.gz
>> drivers from <http://www.clearchain.com/~benjsc/download/>, and I
>> get screens full of debug messages [scanning many channels], but
>> the interface always reports 'no carrier'.
>>
>>     
> Same here.  The 01/31 driver associated once (I think), but mostly just
> hangs or crashes my laptop.  The 01/21 driver seems to work fine (I get
> 1 LOR).
>
> Laptop: Asus A6JE, card-0x10018086 chip=0x42228086 rev=0x02 hdr=0x00
> OS : 7.0-CURRENT i386 2007/02/06
>
> LOR :
> pci4:1:3: reprobing on driver added
> wpi0: fatal firmware error
> wpi0: configure command failed
> wpi0: could not configure device
> wpi0: link state changed to UP
> lock order reversal:
>  1st 0xc724fb50 wpi0 (network driver) @ if_wpi.c:1555
>  2nd 0xc075560c udp (udp) @ /usr/src/sys/netinet/udp_usrreq.c:294
> KDB: stack backtrace:
> db_trace_self_wrapper(c0696cf6,e7984a28,c052d735,c0698dc6,c075560c,...)
> at db_trace_self_wrapper+0x27
> kdb_backtrace(c0698dc6,c075560c,c06987e1,c06987e1,c06a3184,...) at
> kdb_backtrace+0x2f
> witness_checkorder(c075560c,9,c06a3184,126,0,...) at
> witness_checkorder+0x6e4
> _mtx_lock_flags(c075560c,0,c06a3184,126,c04fa08a,...) at
> _mtx_lock_flags+0xb9
> udp_input(c6cfce00,14,c4e51000,1,0,...) at udp_input+0x221
> ip_input(c6cfce00,c06930ee,c6d1882e,c4e51000,c6d1882e,...) at ip_input+0x67f
> netisr_dispatch(2,c6cfce00,6,3,0,...) at netisr_dispatch+0x68
> ether_demux(c4e51000,c6cfce00,3,0,3,9) at ether_demux+0x2e6
> ether_input(c4e51000,c6cfce00,c724fa24,c6cfce00,18,...) at ether_input+0x26f
> ieee80211_deliver_data(c6cfce00,e7984c2c,6,18,c052cf03,...) at
> ieee80211_deliver_data+0x80
> ieee80211_input(c724f008,c6cfce00,c50f9c00,28,0,...) at
> ieee80211_input+0xb71
> wpi_intr(c724f000,0,c06911b0,2aa,1,...) at wpi_intr+0x6df
> ithread_execute_handlers(c55da480,c4d75800,c06911b0,30e,c53f21b0,...) at
> ithread_execute_handlers+0x14c
> ithread_loop(c6383650,e7984d38,c0690f94,328,c55da480,...) at
> ithread_loop+0x78
> fork_exit(c04e14fc,c6383650,e7984d38) at fork_exit+0xcc
> fork_trampoline() at fork_trampoline+0x8
> --- trap 0x1, eip = 0, esp = 0xe7984d6c, ebp = 0 ---
>
> Regards,
> Rene
>   
I have Compaq nw8440 with this wireless card.
After: ifconfig wpi0 up:

setting h/w config 1200
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xffff0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xffff0000 need val=0x40400000
rx notification qid=80 idx=0 flags=0 type=1 len=36
microcode alive notification version 10d00 alive 1
temperature -212
rx notification qid=4 idx=0 flags=0 type=176 len=4
rx notification qid=4 idx=1 flags=0 type=119 len=4
rx notification qid=4 idx=2 flags=0 type=155 len=4
wpi0: fatal firmware error
((Software Error))
wpi0: configure command failed
wpi0: could not configure device

After second attempt :
setting h/w config 1200
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xffff0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xbfbf0000 need val=0x40400000
firmware status=0xffff0000 need val=0x40400000
wpi0: timeout waiting for adapter to initialize

wpi0 at pci16:0:0: class=0x028000 card=0x135c103c chip=0x42228086 rev=0x02 
hdr=0x00
    vendor   = 'Intel Corporation'
    class    = network

vmstat -i
interrupt                          total       rate
irq1: atkbd0                        1023          1
irq9: acpi0                          172          0
irq14: ata0                           46          0
irq16: pcm0 bge0                   12470         15
irq17: wpi0+                       22503         27
irq18: cbb0 uhci2                  12362         15
irq19: fwohci0+                        1          0
irq20: uhci0 ehci0                     1          0
irq21: uhci1                           1          0
cpu0: timer                      1614326       1997
cpu1: timer                      1610328       1992
Total                            3273233       4051

FreeBSD 6.2-STABLE #1: Tue Feb  6 18:47:56 EET 2007 amd64

kldstat
Id Refs Address            Size     Name
 1    8 0xffffffff80100000 62e358   kernel
 2    1 0xffffffff8072f000 ea50     if_wpi.ko
 3    1 0xffffffffa897e000 adde     msdosfs.ko
 4    1 0xffffffffa8a1f000 c38d     snd_hda.ko
 5    1 0xffffffffa8a2c000 297de    sound.ko
I'm using 20070131-wpi-freebsd.tar.gz
wpi-firmware-kmod-1.0_1

And it is weird because I'm sure few times the wireless goes up and 
start scanning :)
Do you need other info that can help you with this driver ?

Also I noticed that if I load the modules not after restart but latter 
(2-3h uptime)
this will bring me quick reboot (no panic, nothing, just reboot like 
hard reset) or the modules will failed to load.

P.S. I noticed that latest mails in this thread (if not counting last 2) 
are in freebsd-drivers, so I added them on CC

-- 
Best Wishes,
Stefan Lambrev
ICQ# 24134177



More information about the freebsd-hackers mailing list