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

Bug#827323: marked as done (linux: Regression v4.5 -> v4.6: system freeze after suspend/resume due to iAMT watchdog)



Your message dated Wed, 15 Jun 2016 17:10:13 +0200
with message-id <[🔎] 20160615151013.GB16860@earth>
and subject line Re: Bug#827323: linux: Regression v4.5 -> v4.6: system freeze after suspend/resume due to iAMT watchdog
has caused the Debian Bug report #827323,
regarding linux: Regression v4.5 -> v4.6: system freeze after suspend/resume due to iAMT watchdog
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
827323: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827323
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: linux
Version: 4.5.5-1
Severity: normal

Hi,

My Lenovo Thinkpad X250 freezes a couple of seconds after
resuming from suspend. This happened with 4.5, but not
with v4.6. I bisected the problem using mainline kernel
with Debian config to the following commit:

sre@earth ~/src/linux (git)-[fdd9b86...|bisect] % git bisect bad
fdd9b8655933c3eb3154fe1ed351c17b654258bd is the first bad commit
commit fdd9b8655933c3eb3154fe1ed351c17b654258bd
Author: Alexander Usyskin <alexander.usyskin@intel.com>
Date:   Fri Jan 8 00:49:21 2016 +0200

    mei: wd: drop the watchdog code from the core mei driver
    
    Instead of integrating the iAMT watchdog in the mei core driver
    we will create a watchdog device on the mei client bus and
    create a driver for it.
    
    This patch removes the watchdog code from the mei core driver.
    
    Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
    Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

My system was configured to use the watchdog via "RuntimeWatchdogSec=30"
in "/etc/systemd/system.conf". After disabling the feature no system
freeze happens after suspend/resume cycle.

-- Sebastian

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (1000, 'testing'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 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)

--- End Message ---
--- Begin Message ---
Hi,

On Wed, Jun 15, 2016 at 01:25:53PM +0000, Usyskin, Alexander wrote:
> It may be that fdd9b8655933 uncovered the bug in iTCO_wdt because
> it actually removes iAMT watchdog and new implementation does not
> creates one for not provisioned ME.
>
> So before that patch there was two watchdog devices and systemd
> maybe worked with iAMT one. After that patch only one watchdog
> exists in the system - iTCO and system works with it.

Yes, looks like /dev/watchdog was iAMT watchdog on older kernels:

4.5:
Jun 15 01:26:36 earth systemd[1]: Hardware watchdog 'INTCAMT', version 0
Jun 15 01:26:36 earth systemd[1]: Failed to set timeout to 30s: Invalid argument

4.6:
Jun 15 01:24:49 earth systemd[1]: Hardware watchdog 'iTCO_wdt', version 0
Jun 15 01:24:49 earth systemd[1]: Set hardware watchdog to 30s.

Thanks for you help. So I guess there are two bugs, which are both
unrelated to iAMT watchdog, but uncovered by this change:

1. systemd's watchdog logic seems to be broken after suspend/resume,
so that the watchdog times out. It must be systemd's fault, since
wd_keepalive does not trigger the bug. Previous kernels worked,
since operations on INTCAMT were basically no-ops without
provisioned ME.

2. iTCO_wdt hangs the system instead of restarting it.

-- Sebastian

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: