[Kernel-packages] [Bug 1728651] Re: System hangs after iwlwifi firmware crash

2017-12-30 Thread Peter Windridge
Based on skimming https://bugzilla.kernel.org/show_bug.cgi?id=195299 I
think this might be fixed upstream but didn't make it to kernel 4.13.
When will Ubuntu move to 4.14? :)

For now I am trying an older microcode (27.541033.0) but am not
optimistic..


** Bug watch added: Linux Kernel Bug Tracker #195299
   https://bugzilla.kernel.org/show_bug.cgi?id=195299

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/1728651

Title:
  System hangs after iwlwifi firmware crash

Status in linux-firmware package in Ubuntu:
  Confirmed

Bug description:
  Since upgrading to Kubuntu 17.10 my HP EliteBook 820 G3 hangs at
  unpredictable times. I have experienced probably 20 hangs. Once the
  system is hung no mouse movement, NumLock toggle, VT switch,
  Ctrl+Alt+Del, SysRq keys, SSH attempts have any effect whatsoever. Any
  audio playing is stuck looping in the hardware buffer. The system is
  really stuck. Only the keyboard backlight is still responsive.

  The only correlation I have noticed is that the system only hangs if
  WiFi is enabled. This morning I experienced two hangs in ten minutes
  necessitating reboots. Having disabled WiFi the system has been stable
  since ~1100 (~5 hours).

  Often, I see a iwlwifi hardware reset in the logs before the system
  dies:

  /var/log/syslog:Oct 30 11:49:30 fry kernel: [ 6529.550751] iwlwifi
  :02:00.0: Microcode SW error detected.  Restarting 0x8200.

  (apport has hopefully uploaded the full log, please lmk if not).
  Sometimes the message doesn't make it into the logs, and ext4
  truncates the file at the next mount.

  There seems to be no correlation with any messages immediately before
  the wifi chip dies. It doesn't seem to matter whether I'm at home or
  at work. I have wired ethernet at work simultaneously with wifi, but
  the wifi provides IPv6 so I would imagine most traffic uses wifi, so
  it's hard to say whether there's any effect of the traffic load on the
  probability of failure.

  Here is a sample of the firmware load:

  /var/log/syslog.5.gz:Oct 24 15:37:26 fry kernel: [7.604743] iwlwifi 
:02:00.0: enabling device ( -> 0002)
  /var/log/syslog.5.gz:Oct 24 15:37:26 fry kernel: [7.611790] iwlwifi 
:02:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error 
-2
  /var/log/syslog.5.gz:Oct 24 15:37:26 fry kernel: [7.611930] iwlwifi 
:02:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error 
-2
  /var/log/syslog.5.gz:Oct 24 15:37:26 fry kernel: [7.620028] iwlwifi 
:02:00.0: loaded firmware version 31.532993.0 op_mode iwlmvm
  /var/log/syslog.5.gz:Oct 24 15:37:26 fry kernel: [7.650972] iwlwifi 
:02:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208

  02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

  Any help appreciated.

  Thanks,
  Bruce

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: xorg 1:7.7+19ubuntu3
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  CompositorRunning: None
  CurrentDesktop: KDE
  Date: Mon Oct 30 16:15:43 2017
  DistUpgraded: 2017-10-15 14:47:25,517 DEBUG Running PostInstallScript: 
'./xorg_fix_proprietary.py'
  DistroCodename: artful
  DistroVariant: kubuntu
  GraphicsCard:
   Intel Corporation HD Graphics 520 [8086:1916] (rev 07) (prog-if 00 [VGA 
controller])
 Subsystem: Hewlett-Packard Company HD Graphics 520 [103c:807c]
  InstallationDate: Installed on 2016-09-09 (416 days ago)
  InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  MachineType: HP HP EliteBook 820 G3
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-16-generic.efi.signed 
root=/dev/mapper/kubuntu--vg-root ro
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: Upgraded to artful on 2017-10-15 (15 days ago)
  dmi.bios.date: 11/01/2016
  dmi.bios.vendor: HP
  dmi.bios.version: N75 Ver. 01.13
  dmi.board.name: 807C
  dmi.board.vendor: HP
  dmi.board.version: KBC Version 85.74
  dmi.chassis.asset.tag: 5CG6354JW5
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.modalias: 
dmi:bvnHP:bvrN75Ver.01.13:bd11/01/2016:svnHP:pnHPEliteBook820G3:pvr:rvnHP:rn807C:rvrKBCVersion85.74:cvnHP:ct10:cvr:
  dmi.product.family: 103C_5336AN G=N L=BUS B=HP S=ELI
  dmi.product.name: HP EliteBook 820 G3
  dmi.sys.vendor: HP
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.83-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 17.2.2-0ubuntu1
  version.libgl1-mesa-glx: libgl1-mesa-glx 17.2.2-0ubuntu1
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 

[Kernel-packages] [Bug 1728651] Re: System hangs after iwlwifi firmware crash

2017-12-30 Thread Peter Windridge
I believe I also have this bug on a HP Envy 13-ab002na.  It is a vanilla
17.10 install.

As with @bwduncan the laptop becomes completely unresponsive to any
inputs and needs hard power off.  The last thing in /var/log/kern.log is
iwlwifi Microcode SW error detected.  It has happened 3 times in the
last 30 min.  It had previously been less frequent and mostly only when
the machine was sleeping.

If I disable WiFi and tether to my phone (via USB) I have not yet
experienced such a lockup.

I installed 17.10 from new with this laptop so cannot say whether it is
17.10 specific (previously had a ThinkPad; seems I had a narrow escape
with the BIOS write bit!).

[...]
Hardware name: HP HP ENVY Notebook 13-ab0XX/82B9, BIOS F.04 09/29/2016
[...]

Dec 30 21:35:56 schramm kernel: [ 1364.091405] iwlwifi :01:00.0: Microcode 
SW error detected.  Restarting 0x8200.
Dec 30 21:35:56 schramm kernel: [ 1364.091570] iwlwifi :01:00.0: Start IWL 
Error Log Dump:
Dec 30 21:35:56 schramm kernel: [ 1364.091577] iwlwifi :01:00.0: Status: 
0x0200, count: 6
Dec 30 21:35:56 schramm kernel: [ 1364.091583] iwlwifi :01:00.0: Loaded 
firmware version: 29.610311.0
Dec 30 21:35:56 schramm kernel: [ 1364.091589] iwlwifi :01:00.0: 0x0038 
| BAD_COMMAND 
Dec 30 21:35:56 schramm kernel: [ 1364.091594] iwlwifi :01:00.0: 0x0220 
| trm_hw_status0
Dec 30 21:35:56 schramm kernel: [ 1364.091599] iwlwifi :01:00.0: 0x 
| trm_hw_status1
Dec 30 21:35:56 schramm kernel: [ 1364.091603] iwlwifi :01:00.0: 0x00043D58 
| branchlink2
Dec 30 21:35:56 schramm kernel: [ 1364.091608] iwlwifi :01:00.0: 0x0004B016 
| interruptlink1
Dec 30 21:35:56 schramm kernel: [ 1364.091612] iwlwifi :01:00.0: 0x 
| interruptlink2
Dec 30 21:35:56 schramm kernel: [ 1364.091617] iwlwifi :01:00.0: 0x0072001C 
| data1
Dec 30 21:35:56 schramm kernel: [ 1364.091621] iwlwifi :01:00.0: 0x0573 
| data2
Dec 30 21:35:56 schramm kernel: [ 1364.091625] iwlwifi :01:00.0: 0x0073 
| data3
Dec 30 21:35:56 schramm kernel: [ 1364.091630] iwlwifi :01:00.0: 0xD4817170 
| beacon time
Dec 30 21:35:56 schramm kernel: [ 1364.091634] iwlwifi :01:00.0: 0x6C4BEE92 
| tsf low
Dec 30 21:35:56 schramm kernel: [ 1364.091638] iwlwifi :01:00.0: 0x0090 
| tsf hi
Dec 30 21:35:56 schramm kernel: [ 1364.091643] iwlwifi :01:00.0: 0x 
| time gp1
Dec 30 21:35:56 schramm kernel: [ 1364.091647] iwlwifi :01:00.0: 0x509414C2 
| time gp2
Dec 30 21:35:56 schramm kernel: [ 1364.091651] iwlwifi :01:00.0: 0x0001 
| uCode revision type
Dec 30 21:35:56 schramm kernel: [ 1364.091656] iwlwifi :01:00.0: 0x001D 
| uCode version major
Dec 30 21:35:56 schramm kernel: [ 1364.091660] iwlwifi :01:00.0: 0x00095007 
| uCode version minor
Dec 30 21:35:56 schramm kernel: [ 1364.091665] iwlwifi :01:00.0: 0x0210 
| hw version
Dec 30 21:35:56 schramm kernel: [ 1364.091669] iwlwifi :01:00.0: 0x00C89200 
| board version
Dec 30 21:35:56 schramm kernel: [ 1364.091674] iwlwifi :01:00.0: 0x0072001C 
| hcmd
Dec 30 21:35:56 schramm kernel: [ 1364.091678] iwlwifi :01:00.0: 0x24022080 
| isr0
Dec 30 21:35:56 schramm kernel: [ 1364.091682] iwlwifi :01:00.0: 0x 
| isr1
Dec 30 21:35:56 schramm kernel: [ 1364.091686] iwlwifi :01:00.0: 0x000A 
| isr2
Dec 30 21:35:56 schramm kernel: [ 1364.091690] iwlwifi :01:00.0: 0x004134C0 
| isr3
Dec 30 21:35:56 schramm kernel: [ 1364.091694] iwlwifi :01:00.0: 0x 
| isr4
Dec 30 21:35:56 schramm kernel: [ 1364.091699] iwlwifi :01:00.0: 0x050B001C 
| last cmd Id
Dec 30 21:35:56 schramm kernel: [ 1364.091703] iwlwifi :01:00.0: 0x 
| wait_event
Dec 30 21:35:56 schramm kernel: [ 1364.091708] iwlwifi :01:00.0: 0x00D4 
| l2p_control
Dec 30 21:35:56 schramm kernel: [ 1364.091712] iwlwifi :01:00.0: 0x00018030 
| l2p_duration
Dec 30 21:35:56 schramm kernel: [ 1364.091717] iwlwifi :01:00.0: 0x0007 
| l2p_mhvalid
Dec 30 21:35:56 schramm kernel: [ 1364.091721] iwlwifi :01:00.0: 0x0081 
| l2p_addr_match
Dec 30 21:35:56 schramm kernel: [ 1364.091725] iwlwifi :01:00.0: 0x0007 
| lmpm_pmg_sel
Dec 30 21:35:56 schramm kernel: [ 1364.091730] iwlwifi :01:00.0: 0x29102230 
| timestamp
Dec 30 21:35:56 schramm kernel: [ 1364.091734] iwlwifi :01:00.0: 0x2030 
| flow_handler
Dec 30 21:35:56 schramm kernel: [ 1364.091744] ieee80211 phy0: Hardware restart 
was requested
Dec 30 21:35:56 schramm kernel: [ 1364.091790] iwlwifi :01:00.0: FW Error 
notification: type 0x cmd_id 0x1C
Dec 30 21:35:56 schramm kernel: [ 1364.091795] iwlwifi :01:00.0: FW Error 
notification: seq 0x0072 service 0x001C
Dec 30 21:35:56 schramm kernel: [ 1364.091800] iwlwifi :01:00.0: FW Error 
notification: timestamp 0x509408DC
Dec 30 21:35:56 schramm kernel: [ 1364.196558] [ cut here 
]

Any help appreciated as Ubuntu is my only OS.

-- 
You received