Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 12:15:03 +0100
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@freenas.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Is iwn drivers working on Current ?
Message-ID:  <3a142e750903130415n77ea2c96ja9ca004dbdf6aaa8@mail.gmail.com>
In-Reply-To: <3131aa530903130315k3b0fb9bbnda46d613095511f6@mail.gmail.com>
References:  <3131aa530903122323n73b671b5y4cb4a4a8896efa14@mail.gmail.com> <3a142e750903130217l160a7cadj7975725e6e5e8e1a@mail.gmail.com> <3131aa530903130315k3b0fb9bbnda46d613095511f6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/13/09, Olivier Cochard-Labb=E9 <olivier@freenas.org> wrote:
>> Is iwnfw loaded in kernel?
>
> Yes, iwnfw is loaded:
>
> [root@d630]~#kldstat | grep iwnfw
>  8    1 0xffffffff80c2c000 2ed22    iwnfw.ko
>
>> What happens if you enable iwn debug sysctl.
>
>
> [root@d630]~#sysctl dev.iwn.0.debug=3D1
> dev.iwn.0.debug: 0 -> 1
> [root@d630]~#sysctl dev.iwn
> dev.iwn.0.%desc: Intel(R) PRO/Wireless 4965BGN
> dev.iwn.0.%driver: iwn
> dev.iwn.0.%location: slot=3D0 function=3D0 handle=3D\_SB_.PCI0.RP02.PXS2
> dev.iwn.0.%pnpinfo: vendor=3D0x8086 device=3D0x4229 subvendor=3D0x8086
> subdevice=3D0x1121 class=3D0x028000
> dev.iwn.0.%parent: pci12
> dev.iwn.0.debug: 1
> [root@d630]~#ifconfig wlan create wlandev iwn0
> wlan0
> [root@d630]~#ifconfig wlan0 country fr
> [root@d630]~#ifconfig wlan0 up
> [root@d630]~#wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
> (I send break signal after few second)
> ^CCTRL-EVENT-TERMINATING - signal 2 received
> ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
> Failed to disable WPA in the driver.
> ELOOP: remaining socket: sock=3D4 eloop_data=3D0x800e091c0
> user_data=3D0x800e050f0 handler=3D0x41fb19
>
>
> And here is the dmesg file contents:
>
> wlan0: Ethernet address: 00:1d:e0:72:10:01
> iwn0: need multicast update callback
> iwn0: need multicast update callback
> iwn0: need multicast update callback
> iwn0: need multicast update callback
> iwn_notif_intr: scanning channel 1 status 1
> iwn_notif_intr: scanning channel 6 status 1
> iwn_notif_intr: scanning channel 11 status 1
> iwn_notif_intr: scanning channel 7 status 1
> iwn0: error, INTR=3D2000000<SW_ERROR> STATUS=3D0x0
> iwn0: iwn_transfer_firmware: timeout waiting for first alive notice, erro=
r
> 35
> iwn0: iwn_init_locked: could not load firmware, error 35
>
> The debug mode didn't give me more information than the "iwn_notif_intr" =
?

Could you try same thing with "set kern.smp.disabled=3D1".
Type it in loader before kernel boot or add it in /boot/loader.conf

If you dont have SMP CPU that this above will not help and I'm out of ideas=
.
Better to ask someone who use iwn on CURRENT.

--=20
Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750903130415n77ea2c96ja9ca004dbdf6aaa8>