2016-05-29 21:41:12

by Bob Copeland

[permalink] [raw]
Subject: wireless-testing on 4.7

Since Linus released 4.7-rc1 today, I've resumed wireless-testing
updates since its merge window hiatus, with tag wt-2016-05-29.

Please test and let me know of any issues.

--
Bob Copeland %% http://bobcopeland.com/


2016-06-01 04:06:58

by Reinoud Koornstra

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

Today I compiled 4.6+ and pulled sources today
iwlwifi isn't super smooth.

[ 112.345457] wlp4s0: authenticate with 00:30:44:1d:cf:2b
[ 112.349002] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
[ 112.349647] wlp4s0: authenticated
[ 112.352456] wlp4s0: associate with 00:30:44:1d:cf:2b (try 1/3)
[ 112.353764] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b (capab=0x11
status=0 aid=3)
[ 112.355035] wlp4s0: associated
[ 112.355393] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
[ 118.616327] wlp4s0: deauthenticated from 00:30:44:1d:cf:2b (Reason:
15=4WAY_HANDSHAKE_TIMEOUT)
[ 128.673812] wlp4s0: authenticate with 00:30:44:1d:cf:2b
[ 128.676997] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
[ 128.677648] wlp4s0: authenticated
[ 128.678691] wlp4s0: associate with 00:30:44:1d:cf:2b (try 1/3)
[ 128.679807] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b (capab=0x11
status=0 aid=3)
[ 128.681198] wlp4s0: associated

I never experienced the 4 way handshake 802.11i timeout in my home setup.
With other setups plenty of times, especially with mediatek drivers. :)
If you wish I can sniff and see which side is at fault.
Thanks,

Reinoud.


On Sun, May 29, 2016 at 3:40 PM, Bob Copeland <[email protected]> wrote:
> Since Linus released 4.7-rc1 today, I've resumed wireless-testing
> updates since its merge window hiatus, with tag wt-2016-05-29.
>
> Please test and let me know of any issues.
>
> --
> Bob Copeland %% http://bobcopeland.com/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2016-06-02 08:16:10

by Luca Coelho

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

On Thu, 2016-06-02 at 02:02 -0600, Reinoud Koornstra wrote:
> On Wed, Jun 1, 2016 at 10:27 PM, Coelho, Luciano
> <[email protected]> wrote:
> > On Wed, 2016-06-01 at 16:08 -0600, Reinoud Koornstra wrote:
> > > On Wed, Jun 1, 2016 at 7:19 AM, Coelho, Luciano
> > > <[email protected]> wrote:
> > > > On Wed, 2016-06-01 at 08:54 -0400, Bob Copeland wrote:
> > > > > + Luca, Emmanuel
> > > >
> > > > Thanks, Bob!
> > > >
> > > >
> > > > > On Tue, May 31, 2016 at 10:06:57PM -0600, Reinoud Koornstra
> > > > > wrote:
> > > > > > Today I compiled 4.6+ and pulled sources today
> > > > > > iwlwifi isn't super smooth.
> > > > >
> > > > > I assume you mean wireless-testing, based on 4.7-rc1 (as this
> > > > > email
> > > > > is
> > > > > in reply to my announcement of same).
> > > >
> > > > Yes, we need to know exactly what kernel you're using so we know
> > > > what
> > > > we're debugging.
> > > >
> > >
> > > Yesterday this is what I did to obtain the latest source:
> > >
> > > git clone
> > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> > > kernel_current
> > >
> > > This is the latest commit in that tree:
> > >
> > > commit 367d3fd50566a313946fa9c5b2116a81bf3807e4
> > > Merge: 5eca831 cf0d44d
> > > Author: Linus Torvalds <[email protected]>
> > > Date:   Tue May 31 09:43:24 2016 -0700
> > >
> > >    Merge branch 'for-linus' of
> > > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
> > >
> > >    Pull s390 fixes from Martin Schwidefsky:
> > >     "Three bugs fixes and an update for the default configuration"
> > >
> > >    * 'for-linus' of
> > > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
> > >      s390: fix info leak in do_sigsegv
> > >      s390/config: update default configuration
> > >      s390/bpf: fix recache skb->data/hlen for skb_vlan_push/pop
> > >      s390/bpf: reduce maximum program size to 64 KB
> >
> > Ah, okay.  This has nothing to do with the wireless-testing tree.  This
> > is random commit in Linus' tree.  I suggest that you use a release tag
> > or such.  For instance you could do this in Linus' tree to get the
> > current release candidate for 4.7:
> >
> > git checkout v4.7-rc1
> >
> > Or you could use the wireless-testing tree that Bob is maintaining,
> > which is always based on an official release candidate (currently the
> > above mentioned v4.7-rc1 release) plus the latest and greatest (and
> > probably "brokenest" :P) wireless changes:
> >
> > git clone git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-testing.git
> >
>
> Ok, i got this tree.
> From the start it didn't work.
>
> [    0.000000] Linux version 4.7.0-rc1-wt+
> [SNIP]
> [    2.156875] iwlwifi 0000:04:00.0: Direct firmware load for
> iwlwifi-7260-17.ucode failed with error -2
> [    2.157681] iwlwifi 0000:04:00.0: Direct firmware load for
> iwlwifi-7260-16.ucode failed with error -2
> [    2.158438] iwlwifi 0000:04:00.0: no suitable firmware found!

This is happening pretty early, did you compile the iwlwifi driver into
the kernel (instead of compiling them as modules)? There have been
problems when it's in-kernel, so we recommend that you compile them as
modules (unless strictly necessary).


> I've attached the dmesg in it's entirety.
> Booting back to 4.6:
>
> [   17.987698] iwlwifi 0000:04:00.0: loaded firmware version
> 16.242414.0 op_mode iwlmvm
> [   18.269667] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band
> Wireless AC 7260, REV=0x144

This shows that you have iwlwifi-7260-16.ucode in your file system.
 But here we are reading it much later.  So it's possible that the
kernel cannot access the firmware at a very early stage (because the
filesystem that contains it is not mounted yet) when you use in-kernel.

So, first of all, please make sure they're built as modules.  We can
continue from there then.

--
Cheers,
Luca.

2016-06-06 01:16:47

by Reinoud Koornstra

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

On Thu, Jun 2, 2016 at 11:59 PM, Luca Coelho <[email protected]> wrote:
> On Thu, 2016-06-02 at 23:09 -0600, Reinoud Koornstra wrote:
>> On Thu, Jun 2, 2016 at 2:16 AM, Luca Coelho <[email protected]> wrote:
>> > This shows that you have iwlwifi-7260-16.ucode in your file system.
>> > But here we are reading it much later. So it's possible that the
>> > kernel cannot access the firmware at a very early stage (because
>> > the
>> > filesystem that contains it is not mounted yet) when you use in-
>> > kernel.
>> >
>> > So, first of all, please make sure they're built as modules. We
>> > can
>> > continue from there then.
>>
>> Your suggestion worked. When it's compiled as module, the
>> iwlwifi-7260-16.ucode loads fine.
>> No problems detected so far.
>
> Great! :)

It is. :)
I git pulled again and build it again.
This time with gcc 6.1.0
I couldn't find warning specific to iwlwifi with gcc 6, so that's great.
Didn't find anything worrysome yet, in addition I am running the cake
qdisc as well from Dave Taht.
objdump --full-contents --section=.comment vmlinux

vmlinux: file format elf64-x86-64

Contents of section .comment:
0000 4743433a 2028474e 55292036 2e312e30 GCC: (GNU) 6.1.0
0010 00

reinoud@router-dev:~/Downloads/wireless-testing$ objdump
--full-contents --section=.comment
/lib/modules/4.7.0-rc1-wt+/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko

/lib/modules/4.7.0-rc1-wt+/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko:
file format elf64-x86-64

Contents of section .comment:
0000 00474343 3a202847 4e552920 362e312e .GCC: (GNU) 6.1.
0010 30000047 43433a20 28474e55 2920362e 0..GCC: (GNU) 6.
[SNIP]
0180 28474e55 2920362e 312e3000 (GNU) 6.1.0.


>
>
>> It does make me think whether this is desired behavior though that
>> due
>> to the later reading we cannot have iwlwifi build in the kernel.
>
> It should work, but then you have to make sure the firmware is
> available at very early stages of boot. If you add it to the proper
> place in your initrd, the kernel should find it when the driver
> requests it.
>
> I didn't want to go into the details of this, because in most cases the
> best option is to have the driver as a module. If you really need it
> in-kernel, then you need to make sure all the needed pieces are
> available very early as well.

Ah, thanks, I'll study this as how to have it inside initrd at the right place.
Any pointers would be great.

Btw, I did build gcc 6.1.0 like this, if you have hints or ways I
should build it differently I would like to know.

reinoud@router-dev:~/Downloads/wireless-testing$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/reinoud/GCC/libexec/gcc/x86_64-linux-gnu/6.1.0/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../gcc-6.1.0/configure -v
--enable-languages=c,c++,go,fortran,objc,obj-c++
--prefix=/home/reinoud/GCC --enable-shared --enable-linker-build-id
--without-included-gettext --enable-threads=posix --enable-nls
--with-sysroot=/ --enab
le-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object
--disable-vtable-verify --enable-libmpx --enable-plugin
--with-system-zlib --disable-browser-plugin --with-arch-direct
ory=amd64 --enable-objc-gc --enable-multiarch --disable-werror
--with-abi=m64 --enable-checking=release --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.1.0 (GCC)

The --with-tune=skylake didn't work as it didn't know it. unfortunately.

>
> --
> Cheers,
> Luca.

Thanks,

Reinoud.

2016-06-03 05:59:44

by Luca Coelho

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

On Thu, 2016-06-02 at 23:09 -0600, Reinoud Koornstra wrote:
> On Thu, Jun 2, 2016 at 2:16 AM, Luca Coelho <[email protected]> wrote:
> > This shows that you have iwlwifi-7260-16.ucode in your file system.
> >  But here we are reading it much later.  So it's possible that the
> > kernel cannot access the firmware at a very early stage (because
> > the
> > filesystem that contains it is not mounted yet) when you use in-
> > kernel.
> >
> > So, first of all, please make sure they're built as modules.  We
> > can
> > continue from there then.
>
> Your suggestion worked. When it's compiled as module, the
> iwlwifi-7260-16.ucode loads fine.
> No problems detected so far.

Great! :)


> It does make me think whether this is desired behavior though that
> due
> to the later reading we cannot have iwlwifi build in the kernel.

It should work, but then you have to make sure the firmware is
available at very early stages of boot.  If you add it to the proper
place in your initrd, the kernel should find it when the driver
requests it.

I didn't want to go into the details of this, because in most cases the
best option is to have the driver as a module.  If you really need it
in-kernel, then you need to make sure all the needed pieces are
available very early as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ra

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

On Wed, Jun 1, 2016 at 7:19 AM, Coelho, Luciano
<[email protected]> wrote:
> On Wed, 2016-06-01 at 08:54 -0400, Bob Copeland wrote:
>> + Luca, Emmanuel
>
> Thanks, Bob!
>
>
>> On Tue, May 31, 2016 at 10:06:57PM -0600, Reinoud Koornstra wrote:
>> > Today I compiled 4.6+ and pulled sources today
>> > iwlwifi isn't super smooth.
>>
>> I assume you mean wireless-testing, based on 4.7-rc1 (as this email
>> is
>> in reply to my announcement of same).
>
> Yes, we need to know exactly what kernel you're using so we know what
> we're debugging.
>

Yesterday this is what I did to obtain the latest source:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel_current

This is the latest commit in that tree:

commit 367d3fd50566a313946fa9c5b2116a81bf3807e4
Merge: 5eca831 cf0d44d
Author: Linus Torvalds <[email protected]>
Date: Tue May 31 09:43:24 2016 -0700

Merge branch 'for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux

Pull s390 fixes from Martin Schwidefsky:
"Three bugs fixes and an update for the default configuration"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
s390: fix info leak in do_sigsegv
s390/config: update default configuration
s390/bpf: fix recache skb->data/hlen for skb_vlan_push/pop
s390/bpf: reduce maximum program size to 64 KB

>> >
>> > [ 112.345457] wlp4s0: authenticate with 00:30:44:1d:cf:2b
>> > [ 112.349002] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
>> > [ 112.349647] wlp4s0: authenticated
>> > [ 112.352456] wlp4s0: associate with 00:30:44:1d:cf:2b (try 1/3)
>> > [ 112.353764] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b
>> > (capab=0x11
>> > status=0 aid=3)
>> > [ 112.355035] wlp4s0: associated
>> > [ 112.355393] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes
>> > ready
>> > [ 118.616327] wlp4s0: deauthenticated from 00:30:44:1d:cf:2b
>> > (Reason:
>> > 15=4WAY_HANDSHAKE_TIMEOUT)
>> > [ 128.673812] wlp4s0: authenticate with 00:30:44:1d:cf:2b
>> > [ 128.676997] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
>> > [ 128.677648] wlp4s0: authenticated
>> > [ 128.678691] wlp4s0: associate with 00:30:44:1d:cf:2b (try 1/3)
>> > [ 128.679807] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b
>> > (capab=0x11
>> > status=0 aid=3)
>> > [ 128.681198] wlp4s0: associated
>> >
>> > I never experienced the 4 way handshake 802.11i timeout in my home
>> > setup.
>> > With other setups plenty of times, especially with mediatek
>> > drivers. :)
>> > If you wish I can sniff and see which side is at fault.
>>
>> I have not noticed any problems on my laptop with iwldvm on a 6205,
>> with
>> latest wireless-testing. But maybe intel devs can weigh in.
>
> I'm not going to put all my weight in lest I break things even more. :P
>
> I can't really see much from the log extract you posted. Can you get
> some logs (especially trace-cmd and a sniffer capture) and report a bug
> in bugzilla? We have some instructions on how to do it here:
>
> https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging
>

Ok, will do so, thanks,

Reinoud.

> Thanks for reporting!
>
> --
> Cheers,
> Luca.

2016-06-03 05:09:22

by Reinoud Koornstra

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

On Thu, Jun 2, 2016 at 2:16 AM, Luca Coelho <[email protected]> wrote:
> On Thu, 2016-06-02 at 02:02 -0600, Reinoud Koornstra wrote:
>> On Wed, Jun 1, 2016 at 10:27 PM, Coelho, Luciano
>> <[email protected]> wrote:
>> > On Wed, 2016-06-01 at 16:08 -0600, Reinoud Koornstra wrote:
>> > > On Wed, Jun 1, 2016 at 7:19 AM, Coelho, Luciano
>> > > <[email protected]> wrote:
>> > > > On Wed, 2016-06-01 at 08:54 -0400, Bob Copeland wrote:
>> > > > > + Luca, Emmanuel
>> > > >
>> > > > Thanks, Bob!
>> > > >
>> > > >
>> > > > > On Tue, May 31, 2016 at 10:06:57PM -0600, Reinoud Koornstra
>> > > > > wrote:
>> > > > > > Today I compiled 4.6+ and pulled sources today
>> > > > > > iwlwifi isn't super smooth.
>> > > > >
>> > > > > I assume you mean wireless-testing, based on 4.7-rc1 (as this
>> > > > > email
>> > > > > is
>> > > > > in reply to my announcement of same).
>> > > >
>> > > > Yes, we need to know exactly what kernel you're using so we know
>> > > > what
>> > > > we're debugging.
>> > > >
>> > >
>> > > Yesterday this is what I did to obtain the latest source:
>> > >
>> > > git clone
>> > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> > > kernel_current
>> > >
>> > > This is the latest commit in that tree:
>> > >
>> > > commit 367d3fd50566a313946fa9c5b2116a81bf3807e4
>> > > Merge: 5eca831 cf0d44d
>> > > Author: Linus Torvalds <[email protected]>
>> > > Date: Tue May 31 09:43:24 2016 -0700
>> > >
>> > > Merge branch 'for-linus' of
>> > > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
>> > >
>> > > Pull s390 fixes from Martin Schwidefsky:
>> > > "Three bugs fixes and an update for the default configuration"
>> > >
>> > > * 'for-linus' of
>> > > git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
>> > > s390: fix info leak in do_sigsegv
>> > > s390/config: update default configuration
>> > > s390/bpf: fix recache skb->data/hlen for skb_vlan_push/pop
>> > > s390/bpf: reduce maximum program size to 64 KB
>> >
>> > Ah, okay. This has nothing to do with the wireless-testing tree. This
>> > is random commit in Linus' tree. I suggest that you use a release tag
>> > or such. For instance you could do this in Linus' tree to get the
>> > current release candidate for 4.7:
>> >
>> > git checkout v4.7-rc1
>> >
>> > Or you could use the wireless-testing tree that Bob is maintaining,
>> > which is always based on an official release candidate (currently the
>> > above mentioned v4.7-rc1 release) plus the latest and greatest (and
>> > probably "brokenest" :P) wireless changes:
>> >
>> > git clone git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-testing.git
>> >
>>
>> Ok, i got this tree.
>> From the start it didn't work.
>>
>> [ 0.000000] Linux version 4.7.0-rc1-wt+
>> [SNIP]
>> [ 2.156875] iwlwifi 0000:04:00.0: Direct firmware load for
>> iwlwifi-7260-17.ucode failed with error -2
>> [ 2.157681] iwlwifi 0000:04:00.0: Direct firmware load for
>> iwlwifi-7260-16.ucode failed with error -2
>> [ 2.158438] iwlwifi 0000:04:00.0: no suitable firmware found!
>
> This is happening pretty early, did you compile the iwlwifi driver into
> the kernel (instead of compiling them as modules)? There have been
> problems when it's in-kernel, so we recommend that you compile them as
> modules (unless strictly necessary).
>
>
>> I've attached the dmesg in it's entirety.
>> Booting back to 4.6:
>>
>> [ 17.987698] iwlwifi 0000:04:00.0: loaded firmware version
>> 16.242414.0 op_mode iwlmvm
>> [ 18.269667] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band
>> Wireless AC 7260, REV=0x144
>
> This shows that you have iwlwifi-7260-16.ucode in your file system.
> But here we are reading it much later. So it's possible that the
> kernel cannot access the firmware at a very early stage (because the
> filesystem that contains it is not mounted yet) when you use in-kernel.
>
> So, first of all, please make sure they're built as modules. We can
> continue from there then.

Your suggestion worked. When it's compiled as module, the
iwlwifi-7260-16.ucode loads fine.
No problems detected so far.
It does make me think whether this is desired behavior though that due
to the later reading we cannot have iwlwifi build in the kernel.
Thanks,

Reinoud.

>
> --
> Cheers,
> Luca.

2016-06-02 08:02:47

by Reinoud Koornstra

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

On Wed, Jun 1, 2016 at 10:27 PM, Coelho, Luciano
<[email protected]> wrote:
> On Wed, 2016-06-01 at 16:08 -0600, Reinoud Koornstra wrote:
>> On Wed, Jun 1, 2016 at 7:19 AM, Coelho, Luciano
>> <[email protected]> wrote:
>> > On Wed, 2016-06-01 at 08:54 -0400, Bob Copeland wrote:
>> > > + Luca, Emmanuel
>> >
>> > Thanks, Bob!
>> >
>> >
>> > > On Tue, May 31, 2016 at 10:06:57PM -0600, Reinoud Koornstra
>> > > wrote:
>> > > > Today I compiled 4.6+ and pulled sources today
>> > > > iwlwifi isn't super smooth.
>> > >
>> > > I assume you mean wireless-testing, based on 4.7-rc1 (as this
>> > > email
>> > > is
>> > > in reply to my announcement of same).
>> >
>> > Yes, we need to know exactly what kernel you're using so we know
>> > what
>> > we're debugging.
>> >
>>
>> Yesterday this is what I did to obtain the latest source:
>>
>> git clone
>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>> kernel_current
>>
>> This is the latest commit in that tree:
>>
>> commit 367d3fd50566a313946fa9c5b2116a81bf3807e4
>> Merge: 5eca831 cf0d44d
>> Author: Linus Torvalds <[email protected]>
>> Date: Tue May 31 09:43:24 2016 -0700
>>
>> Merge branch 'for-linus' of
>> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
>>
>> Pull s390 fixes from Martin Schwidefsky:
>> "Three bugs fixes and an update for the default configuration"
>>
>> * 'for-linus' of
>> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
>> s390: fix info leak in do_sigsegv
>> s390/config: update default configuration
>> s390/bpf: fix recache skb->data/hlen for skb_vlan_push/pop
>> s390/bpf: reduce maximum program size to 64 KB
>
> Ah, okay. This has nothing to do with the wireless-testing tree. This
> is random commit in Linus' tree. I suggest that you use a release tag
> or such. For instance you could do this in Linus' tree to get the
> current release candidate for 4.7:
>
> git checkout v4.7-rc1
>
> Or you could use the wireless-testing tree that Bob is maintaining,
> which is always based on an official release candidate (currently the
> above mentioned v4.7-rc1 release) plus the latest and greatest (and
> probably "brokenest" :P) wireless changes:
>
> git clone git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-testing.git
>

Ok, i got this tree.
>From the start it didn't work.

[ 0.000000] Linux version 4.7.0-rc1-wt+
[SNIP]
[ 2.156875] iwlwifi 0000:04:00.0: Direct firmware load for
iwlwifi-7260-17.ucode failed with error -2
[ 2.157681] iwlwifi 0000:04:00.0: Direct firmware load for
iwlwifi-7260-16.ucode failed with error -2
[ 2.158438] iwlwifi 0000:04:00.0: no suitable firmware found!

I've attached the dmesg in it's entirety.
Booting back to 4.6:

[ 17.987698] iwlwifi 0000:04:00.0: loaded firmware version
16.242414.0 op_mode iwlmvm
[ 18.269667] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band
Wireless AC 7260, REV=0x144

Hence, the trace-cmd commands won't do much either in the latest and greatest.
Thanks,

Reinoud.




>
>> > > >
>> > > > [ 112.345457] wlp4s0: authenticate with 00:30:44:1d:cf:2b
>> > > > [ 112.349002] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
>> > > > [ 112.349647] wlp4s0: authenticated
>> > > > [ 112.352456] wlp4s0: associate with 00:30:44:1d:cf:2b (try
>> > > > 1/3)
>> > > > [ 112.353764] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b
>> > > > (capab=0x11
>> > > > status=0 aid=3)
>> > > > [ 112.355035] wlp4s0: associated
>> > > > [ 112.355393] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link
>> > > > becomes
>> > > > ready
>> > > > [ 118.616327] wlp4s0: deauthenticated from 00:30:44:1d:cf:2b
>> > > > (Reason:
>> > > > 15=4WAY_HANDSHAKE_TIMEOUT)
>> > > > [ 128.673812] wlp4s0: authenticate with 00:30:44:1d:cf:2b
>> > > > [ 128.676997] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
>> > > > [ 128.677648] wlp4s0: authenticated
>> > > > [ 128.678691] wlp4s0: associate with 00:30:44:1d:cf:2b (try
>> > > > 1/3)
>> > > > [ 128.679807] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b
>> > > > (capab=0x11
>> > > > status=0 aid=3)
>> > > > [ 128.681198] wlp4s0: associated
>> > > >
>> > > > I never experienced the 4 way handshake 802.11i timeout in my
>> > > > home
>> > > > setup.
>> > > > With other setups plenty of times, especially with mediatek
>> > > > drivers. :)
>> > > > If you wish I can sniff and see which side is at fault.
>> > >
>> > > I have not noticed any problems on my laptop with iwldvm on a
>> > > 6205,
>> > > with
>> > > latest wireless-testing. But maybe intel devs can weigh in.
>> >
>> > I'm not going to put all my weight in lest I break things even
>> > more. :P
>> >
>> > I can't really see much from the log extract you posted. Can you
>> > get
>> > some logs (especially trace-cmd and a sniffer capture) and report a
>> > bug
>> > in bugzilla? We have some instructions on how to do it here:
>> >
>> > https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging
>> >
>>
>> Ok, will do so, thanks,
>
> Great, thanks! Please use one of the more-well-known trees/tags I
> mentioned above and report if you still have trouble.
>
> --
> Cheers,
> Luca.


Attachments:
dmesg.log (151.56 kB)
iwlwifi_debug_log (3.11 kB)
Download all attachments

2016-06-06 08:08:39

by Luca Coelho

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

On Sun, 2016-06-05 at 19:09 -0600, Reinoud Koornstra wrote:
> On Thu, Jun 2, 2016 at 11:59 PM, Luca Coelho <[email protected]> wrote:
> > On Thu, 2016-06-02 at 23:09 -0600, Reinoud Koornstra wrote:
> > > On Thu, Jun 2, 2016 at 2:16 AM, Luca Coelho <[email protected]> wrote:
> > > > This shows that you have iwlwifi-7260-16.ucode in your file system.
> > > >  But here we are reading it much later.  So it's possible that the
> > > > kernel cannot access the firmware at a very early stage (because
> > > > the
> > > > filesystem that contains it is not mounted yet) when you use in-
> > > > kernel.
> > > >
> > > > So, first of all, please make sure they're built as modules.  We
> > > > can
> > > > continue from there then.
> > >
> > > Your suggestion worked. When it's compiled as module, the
> > > iwlwifi-7260-16.ucode loads fine.
> > > No problems detected so far.
> >
> > Great! :)
>
> It is. :)
> I git pulled again and build it again.
> This time with gcc 6.1.0
> I couldn't find warning specific to iwlwifi with gcc 6, so that's great.
> Didn't find anything worrysome yet, in addition I am running the cake
> qdisc as well from Dave Taht.
> objdump --full-contents --section=.comment vmlinux
>
> vmlinux:     file format elf64-x86-64
>
> Contents of section .comment:
> 0000 4743433a 2028474e 55292036 2e312e30  GCC: (GNU) 6.1.0
> 0010 00
>
> reinoud@router-dev:~/Downloads/wireless-testing$ objdump
> --full-contents --section=.comment
> /lib/modules/4.7.0-rc1-wt+/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko
>
> /lib/modules/4.7.0-rc1-wt+/kernel/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko:
>     file format elf64-x86-64
>
> Contents of section .comment:
> 0000 00474343 3a202847 4e552920 362e312e  .GCC: (GNU) 6.1.
> 0010 30000047 43433a20 28474e55 2920362e  0..GCC: (GNU) 6.
> [SNIP]
> 0180 28474e55 2920362e 312e3000           (GNU) 6.1.0.
>
>
> >
> >
> > > It does make me think whether this is desired behavior though that
> > > due
> > > to the later reading we cannot have iwlwifi build in the kernel.
> >
> > It should work, but then you have to make sure the firmware is
> > available at very early stages of boot.  If you add it to the proper
> > place in your initrd, the kernel should find it when the driver
> > requests it.
> >
> > I didn't want to go into the details of this, because in most cases the
> > best option is to have the driver as a module.  If you really need it
> > in-kernel, then you need to make sure all the needed pieces are
> > available very early as well.
>
> Ah, thanks, I'll study this as how to have it inside initrd at the right place.
> Any pointers would be great.

It should be really straightforward. It just depends on how your
distro creates and uses initrd images. You only need to add the
appropriate .ucode file to /lib/firmware in the initrd image, nothing
else. Google for it, I'm sure there is a lot of info on how to do it
readily available.



> Btw, I did build gcc 6.1.0 like this, if you have hints or ways I
> should build it differently I would like to know.
>
> reinoud@router-dev:~/Downloads/wireless-testing$ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/home/reinoud/GCC/libexec/gcc/x86_64-linux-gnu/6.1.0/lto-wrapper
> Target: x86_64-linux-gnu
> Configured with: ../gcc-6.1.0/configure -v
> --enable-languages=c,c++,go,fortran,objc,obj-c++
> --prefix=/home/reinoud/GCC --enable-shared --enable-linker-build-id
> --without-included-gettext --enable-threads=posix --enable-nls
> --with-sysroot=/ --enab
> le-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
> --with-default-libstdcxx-abi=new --enable-gnu-unique-object
> --disable-vtable-verify --enable-libmpx --enable-plugin
> --with-system-zlib --disable-browser-plugin --with-arch-direct
> ory=amd64 --enable-objc-gc --enable-multiarch --disable-werror
> --with-abi=m64 --enable-checking=release --build=x86_64-linux-gnu
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu
> Thread model: posix
> gcc version 6.1.0 (GCC)
>
> The --with-tune=skylake didn't work as it didn't know it. unfortunately.

I'm sorry, but I have no clue. This is probably a question to some gcc
development mailing list. ;)

--
Cheers,
Luca.

2016-06-04 14:57:13

by Kalle Valo

[permalink] [raw]
Subject: wireless-drivers-next open for 4.8

Bob Copeland <[email protected]> writes:

> Since Linus released 4.7-rc1 today, I've resumed wireless-testing
> updates since its merge window hiatus, with tag wt-2016-05-29.
>
> Please test and let me know of any issues.

I also opened wireless-drivers-next tree for patches going to 4.8. And
wireless-drivers continues to be open for important fixes and
regressions to 4.7.

--
Kalle Valo

2016-06-02 04:27:22

by Luciano Coelho

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

T24gV2VkLCAyMDE2LTA2LTAxIGF0IDE2OjA4IC0wNjAwLCBSZWlub3VkIEtvb3Juc3RyYSB3cm90
ZToNCj4gT24gV2VkLCBKdW4gMSwgMjAxNiBhdCA3OjE5IEFNLCBDb2VsaG8sIEx1Y2lhbm8NCj4g
PGx1Y2lhbm8uY29lbGhvQGludGVsLmNvbT4gd3JvdGU6DQo+ID4gT24gV2VkLCAyMDE2LTA2LTAx
IGF0IDA4OjU0IC0wNDAwLCBCb2IgQ29wZWxhbmQgd3JvdGU6DQo+ID4gPiArIEx1Y2EsIEVtbWFu
dWVsDQo+ID4gDQo+ID4gVGhhbmtzLCBCb2IhDQo+ID4gDQo+ID4gDQo+ID4gPiBPbiBUdWUsIE1h
eSAzMSwgMjAxNiBhdCAxMDowNjo1N1BNIC0wNjAwLCBSZWlub3VkIEtvb3Juc3RyYQ0KPiA+ID4g
d3JvdGU6DQo+ID4gPiA+IFRvZGF5IEkgY29tcGlsZWQgNC42KyBhbmQgcHVsbGVkIHNvdXJjZXMg
dG9kYXkNCj4gPiA+ID4gaXdsd2lmaSBpc24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9uZSBvZiB0aGUgbW9yZS13ZWxsLWtu
b3duIHRyZWVzL3RhZ3MgSQ0KbWVudGlvbmVkIGFib3ZlIGFuZCByZXBvcnQgaWYgeW91IHN0aWxs
IGhhdmUgdHJvdWJsZS4NCg0KLS0NCkNoZWVycywNCkx1Y2Eu

2016-06-01 12:55:13

by Bob Copeland

[permalink] [raw]
Subject: Re: wireless-testing on 4.7

+ Luca, Emmanuel

On Tue, May 31, 2016 at 10:06:57PM -0600, Reinoud Koornstra wrote:
> Today I compiled 4.6+ and pulled sources today
> iwlwifi isn't super smooth.

I assume you mean wireless-testing, based on 4.7-rc1 (as this email is
in reply to my announcement of same).

>
> [ 112.345457] wlp4s0: authenticate with 00:30:44:1d:cf:2b
> [ 112.349002] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
> [ 112.349647] wlp4s0: authenticated
> [ 112.352456] wlp4s0: associate with 00:30:44:1d:cf:2b (try 1/3)
> [ 112.353764] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b (capab=0x11
> status=0 aid=3)
> [ 112.355035] wlp4s0: associated
> [ 112.355393] IPv6: ADDRCONF(NETDEV_CHANGE): wlp4s0: link becomes ready
> [ 118.616327] wlp4s0: deauthenticated from 00:30:44:1d:cf:2b (Reason:
> 15=4WAY_HANDSHAKE_TIMEOUT)
> [ 128.673812] wlp4s0: authenticate with 00:30:44:1d:cf:2b
> [ 128.676997] wlp4s0: send auth to 00:30:44:1d:cf:2b (try 1/3)
> [ 128.677648] wlp4s0: authenticated
> [ 128.678691] wlp4s0: associate with 00:30:44:1d:cf:2b (try 1/3)
> [ 128.679807] wlp4s0: RX AssocResp from 00:30:44:1d:cf:2b (capab=0x11
> status=0 aid=3)
> [ 128.681198] wlp4s0: associated
>
> I never experienced the 4 way handshake 802.11i timeout in my home setup.
> With other setups plenty of times, especially with mediatek drivers. :)
> If you wish I can sniff and see which side is at fault.

I have not noticed any problems on my laptop with iwldvm on a 6205, with
latest wireless-testing. But maybe intel devs can weigh in.

--
Bob Copeland %% http://bobcopeland.com/