Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: iwn, wpa_supplicant, and wpa2 enterprise



On 3 June 2010 16:07, Christos Zoulas <christos%astron.com@localhost> wrote:
> In article 
> <AANLkTikXGkffj2aa2fSD1FcSlRfN2K6UQN6xQxsxrd0c%mail.gmail.com@localhost>,
> Pouya D. Tafti <p%san-serriffe.org@localhost> wrote:
>>Hi,
>>
>>I can connect to the WPA2 enterprise network at work in Linux, but
>>NetBSD-current's wpa_supplicant does not 'see' the WPA2-EAP-CCMP
>>network and keeps scanning indefinitely. ÂI don't know what the
>>missing ingredient is and if it is related to the iwn driver. ÂThis is
>>with a recent Intel Advanced-N 6200 wifi adapter which--to my surprise
>>and delight--'almost' works out of the box, with the slight
>>complication that starting wpa_supplicant in rc.conf lands me in ddb
>>(starting it with a little delay after boot, however, works).
>>
>
> Can I have a stack trace please?

This is what I see.  (I hope it is what you asked for; I'm a complete
newbie to kernel/os programming...).  Please also see below also for
the relevant part of dmesg.  The fatal firmware error appears only
when wpa_supplicant is activated in rc.conf.  I had to do a cold
reboot because the system dies when syncing disks, so I typed
everything from the screen; sorry about eventual typos.

uvm_fault(0xffffffff80ab21e0, 0xffff80200767a000, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff803ae51a cs 8 rflags 10286 cr2
ffff80200767a1a0 cpl 6 rsp ffff80004e1428f0
kernel: page fault trap, code=0
Stopped in pid 110.1 (wpa_supplicant) at        netbsd:kern_free+0x2d:
 movzwl  0
(%rbx),%r12d
db {3}> t
kern_free() at netbsd:kern_free+0x2d
iwn_init()  at netbsd:iwn_init+0x368
iwn_ioctl() at netbsd:iwn_ioctl+0xe4
ifioctl() at netbsd:ifioctl()+0x1e4
soo_ioctl() at netbsd:soo_ioctl+0x2a5
sys_ioctl() at netbsd:sys_ioctl+0xe9
syscall() at netbsd:syscall+0xaa


++ dmesg output ++

iwn0: fatal firmware error
firmware error log:
  error type = "NMI_INTERRUPT_INST_ACTION_PT" (0x00000013)
  program counter = 0x000007AC
  source line = 0x00023CA2
  error data = 0x0000000407030000
  branch link = 0x000006720000083A
  interrupt link = 0x000009B20001ADEC
  time = 138866
driver status:
  tx ring  0: qid=0  cur=0   queued=0
  tx ring  1: qid=1  cur=0   queued=0
  tx ring  2: qid=2  cur=0   queued=0
  tx ring  3: qid=3  cur=0   queued=0
  tx ring  4: qid=4  cur=0   queued=0
.
.
.
  tx ring 19: qid=19 cur=0   queued=0
  rx ring: cur=6
  802.11 state 0
iwn0: could not query calibration
iwn0: could not initialize hardware
iwn0: cannot assign link-local address
iwn0: timeout waiting for adapter to initialize
iwn0: could not initialize hardware
iwn0: timeout waiting for adapter to initialize
uvm_fault(0xffffffff80ab21e0, 0xffff80200767a000, 1) -> e
fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff803ae51a cs 8 rflags 10286 cr2
ffff80200767a1a0 cpl 6 rsp ffff80004e1428f0


Home | Main Index | Thread Index | Old Index