Bug#849330: firmware-iwlwifi: intel 8260 does not work when using modfile /lib/firmware/iwlwifi-8000C-22.ucode and kernel 4.8

2018-08-18 Thread jon parker
I just upgraded to the backported package... the same file was installed
(iwlwifi-8000C-22.ucode), and after rebooting I do not have any problems
anymore.

Cheers,
Jon

On Thu, Jul 26, 2018 at 1:27 PM Ben Hutchings  wrote:

> Control: tag -1 moreinfo
>
> This firmware file was updated in version 20170823-1, but there was no
> explanation of what changed.
>
> Did it fix the problem for you?
>
> Ben.
>
> --
> Ben Hutchings
> Power corrupts.  Absolute power is kind of neat. - John Lehman
>


Bug#849330: firmware-iwlwifi: intel 8260 does not work when using modfile /lib/firmware/iwlwifi-8000C-22.ucode and kernel 4.8

2018-07-26 Thread Ben Hutchings
Control: tag -1 moreinfo

This firmware file was updated in version 20170823-1, but there was no
explanation of what changed.

Did it fix the problem for you?

Ben.
 
-- 
Ben Hutchings
Power corrupts.  Absolute power is kind of neat. - John Lehman


signature.asc
Description: This is a digitally signed message part


Bug#849330: Info received ()

2017-01-30 Thread Kristian Erik Hermansen
also affects kernel 4.9.

1768 /*
1769  * allocate dram shared table, it is an aligned memory
1770  * block of ICT_SIZE.
1771  * also reset all data related to ICT table interrupt.
1772  */
1773 int iwl_pcie_alloc_ict(struct iwl_trans *trans)
1774 {
1775 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
1776
1777 trans_pcie->ict_tbl =
1778 dma_zalloc_coherent(trans->dev, ICT_SIZE,
1779   _pcie->ict_tbl_dma,
1780   GFP_KERNEL);
1781 if (!trans_pcie->ict_tbl)
1782 return -ENOMEM;
1783
1784 /* just an API sanity check ... it is guaranteed to be aligned */
1785 if (WARN_ON(trans_pcie->ict_tbl_dma & (ICT_SIZE - 1))) {
1786 iwl_pcie_free_ict(trans);
1787 return -EINVAL;
1788 }
1789
1790 return 0;
1791 }

the bug appears at:

1784 /* just an API sanity check ... it is guaranteed to be aligned */

so in fact it does NOT appear to be "guaranteed to be aligned". the
assumption may be wrong

some other debug / error data:

[ 3564.850843] iwlwifi: unknown parameter 'mac80211' ignored
...
[ 3574.279039] thermal thermal_zone2: failed to read out thermal zone (-5)
...
[ 3578.745673] iwlwifi :03:00.0: Microcode SW error detected.
Restarting 0x200.
...
[ 3578.746307]   8b928b84 8d4e937a0018
a88b070cf400
[ 3578.746309]  c0ad296d 8d4e 8d4e92c570c0
8b6b8ca0
[ 3578.746310]  a88b070cf390 a88b070cf390 c3fd1710
a88b070cf400
[ 3578.746312] Call Trace:
[ 3578.746315]  [] ? dump_stack+0x5c/0x78
[ 3578.746320]  [] ?
iwl_trans_pcie_send_hcmd+0x3cd/0x4e0 [iwlwifi]
[ 3578.746322]  [] ? prepare_to_wait_event+0xf0/0xf0
[ 3578.746327]  [] ? iwl_mvm_send_cmd+0x23/0x80 [iwlmvm]
[ 3578.746330]  [] ? iwl_mvm_send_cmd_pdu+0x4f/0x70 [iwlmvm]
[ 3578.746332]  [] ?
iwl_send_paging_cmd.isra.16+0xf4/0x120 [iwlmvm]
[ 3578.746334]  [] ?
iwl_mvm_load_ucode_wait_alive+0x641/0x7a0 [iwlmvm]
[ 3578.746335]  [] ? 0xc0f41000
[ 3578.746338]  [] ?
iwl_trans_pcie_start_hw+0xf2/0x2d0 [iwlwifi]
[ 3578.746340]  [] ? iwl_mvm_up+0x12b/0x5f0 [iwlmvm]
[ 3578.746342]  [] ? skb_dequeue+0x52/0x60
[ 3578.746344]  [] ? wireless_nlevent_flush+0x4f/0x90
[ 3578.746359]  [] ? __iwl_mvm_mac_start+0x207/0x310 [iwlmvm]
[ 3578.746361]  [] ? update_sd_lb_stats+0xe6/0x4b0
[ 3578.746363]  [] ? iwl_mvm_mac_start+0x46/0x110 [iwlmvm]
[ 3578.746374]  [] ? drv_start+0x3a/0xf0 [mac80211]
[ 3578.746381]  [] ? ieee80211_do_open+0x295/0x980 [mac80211]
[ 3578.746389]  [] ?
ieee80211_check_concurrent_iface+0x11a/0x1e0 [mac80211]
[ 3578.746391]  [] ? __dev_open+0xc2/0x140
[ 3578.746393]  [] ? __dev_change_flags+0x96/0x150
[ 3578.746394]  [] ? dev_change_flags+0x23/0x60
[ 3578.746395]  [] ? do_setlink+0x30e/0xd20
[ 3578.746397]  [] ? __nla_reserve+0x38/0x50
[ 3578.746398]  [] ? __nla_put+0xc/0x20
[ 3578.746399]  [] ? inet6_fill_ifla6_attrs+0x416/0x430
[ 3578.746401]  [] ? inet6_fill_link_af+0x16/0x30
[ 3578.746402]  [] ? rtnl_fill_ifinfo+0xac2/0xf50
[ 3578.746403]  [] ? rtnl_newlink+0x5c6/0x870
[ 3578.746404]  [] ? __netlink_sendskb+0x38/0x60
[ 3578.746406]  [] ? fib6_clean_node+0x85/0x170
[ 3578.746408]  [] ? security_capable+0x41/0x60
[ 3578.746409]  [] ? rtnetlink_rcv_msg+0xe1/0x220
[ 3578.746410]  [] ? rtnl_newlink+0x870/0x870
[ 3578.746412]  [] ? netlink_rcv_skb+0xa1/0xc0
[ 3578.746413]  [] ? rtnetlink_rcv+0x24/0x30
[ 3578.746414]  [] ? netlink_unicast+0x184/0x230
[ 3578.746415]  [] ? netlink_sendmsg+0x2f8/0x3b0
[ 3578.746416]  [] ? sock_sendmsg+0x30/0x40
[ 3578.746417]  [] ? ___sys_sendmsg+0x2c2/0x2d0
[ 3578.746419]  [] ? proc_get_long.constprop.13+0x11d/0x1b0
[ 3578.746420]  [] ? __do_proc_dointvec+0x33d/0x400
[ 3578.746421]  [] ? do_proc_douintvec_conv+0x30/0x30
[ 3578.746422]  [] ? __do_proc_dointvec+0x33d/0x400
[ 3578.746424]  [] ? lockref_put_or_lock+0x5a/0x80
[ 3578.746425]  [] ? dput+0x175/0x250
[ 3578.746426]  [] ? __sys_sendmsg+0x51/0x90
[ 3578.746428]  [] ? system_call_fast_compare_end+0xc/0x9b
...

[ 3579.369654] WARNING: CPU: 5 PID: 6215 at
/build/linux-fgnWKv/linux-4.9.2/drivers/net/wireless/intel/iwlwifi/pcie/rx.c:1784
iwl_pcie_alloc_ict+0xde/0x100 [iwlwifi]



Bug#849330:

2017-01-30 Thread Kristian Erik Hermansen
can confirm this bug.

removing 8000-C ucode 22 firmware stub works. before removing, you
will get errors 99% of the time upon driver load similar to below:

"pcie/rx.c iwl_pcie_alloc_ict"

"iwlwifi: probe of" "failed with error -22"

in rx.c in function iwl_pcie_alloc_ict around line ~1700 (1747?)

could be a memory alignment issue with zalloc upon loading the newer
(broken) firmware for the 8260 (rev3a)?

just some thoughts

again, to reiterate the temporary workaround, just:

$ sudo rm /lib/firmware/iwlwifi-8000C-22.ucode

and then ensure this gets fixed upstream in iwlwifi-8000C-22.ucode
before installing any firmware-iwlwifi updates or hold the package:

$ sudo apt-mark hold firmware-iwlwifi

remove the hold if / when it gets fixed in debian later:

$ sudo apt-mark unhold firmware-iwlwifi



Bug#849330: firmware-iwlwifi: intel 8260 does not work when using modfile /lib/firmware/iwlwifi-8000C-22.ucode and kernel 4.8

2017-01-23 Thread Carl Myers
erm, actually, it is not a lenovo p50 it is a system76 Oryx Pro (was thinking it
was my other laptop, that's what I get for writing a bug report before morning
coffee)

-Carl

-- 
Carl Myers 
PGP Key ID 3537595B
PGP Key fingerprint 9365 0FAF 721B 992A 0A20  1E0D C795 2955 3537 595B



signature.asc
Description: Digital signature


Bug#849330: firmware-iwlwifi: intel 8260 does not work when using modfile /lib/firmware/iwlwifi-8000C-22.ucode and kernel 4.8

2017-01-23 Thread Carl Myers
Greetings,

I also experienced this bug (Lenovo P50, worked with 4.2.0-1 kernel, fails with
4.8.0-2 kernel).

I was able to get things working again by downgrading - but I had to go pretty
far.

firmware-iwlwifi 20161130-2 did not work
firmware-iwlwifi 20160824-1 did not work

Downgrading to firmware-iwlwifi 20160110-1, however, worked for me.

In case others following this bug are curious:

wget 
http://snapshot.debian.org/archive/debian/20160224T164321Z/pool/non-free/f/firmware-nonfree/firmware-iwlwifi_20160110-1%7Ebpo8%2B1_all.deb
sudo dpkg -i firmware-iwlwifi_20160110-1\~bpo8+1_all.deb
sudo apt-mark hold firmware-iwlwifi

then reboot (or maybe rmmod iwlwifi + modprobe iwlwifi?)

Thanks!
-Carl


-- 
Carl Myers 
PGP Key ID 3537595B
PGP Key fingerprint 9365 0FAF 721B 992A 0A20  1E0D C795 2955 3537 595B



signature.asc
Description: Digital signature


Bug#849330: firmware-iwlwifi: intel 8260 does not work when using modfile /lib/firmware/iwlwifi-8000C-22.ucode and kernel 4.8

2016-12-25 Thread Jon Parker
Package: firmware-iwlwifi
Version: 20161130-2
Severity: important

Hello Maintainer,

Using a laptop with an intel 8260 wifi chip (HP Zbook 15 G3) and linux kernel 
4.8, wifi does not work.
This is a known problem; see https://bugs.archlinux.org/task/51271

It looks like the answer is that the debian package does not contain the latest 
fixes.

I can fix the problem by following the directions in the website link given 
above:
- copy / move /lib/firmware/iwlwifi-8000C-22.ucode, and the kernel will then 
use /lib/firmware/iwlwifi-8000C-21.ucode, which works.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

firmware-iwlwifi depends on no packages.

firmware-iwlwifi recommends no packages.

Versions of packages firmware-iwlwifi suggests:
ii  initramfs-tools  0.125

-- no debconf information