Received: by 10.223.176.5 with SMTP id f5csp2063793wra; Thu, 8 Feb 2018 07:55:05 -0800 (PST) X-Google-Smtp-Source: AH8x224CH9MslBC090vo+zPcZPBijjJ9rBiuiXCyQ0DxwyS8h6/qbTscfBtua6YF9vo9vuI4LA3g X-Received: by 10.99.173.73 with SMTP id y9mr854062pgo.432.1518105305147; Thu, 08 Feb 2018 07:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518105305; cv=none; d=google.com; s=arc-20160816; b=ple3tJKRbkZ8+mI3w2vSnwd4+TltZUGwDxaGZ2srvDig+8vsB+PRSTdwdLoweAZjq2 fOczqi9QNzd1mNb23LQ6Vloq5UoPzK0M80gyT+p8z/qwLBxh3h+V9zwhc66dhwpPnZRv +CHw2+cWdGt+JZGnyPgBNrBcmtHcXDj3t50NI/ub+gRawpWuviZ+2h5p4wRgqzA5AaIv s5iE5HXD6tT+OvBFLoTQFmZeP98R4zkWAOnb8/i4EMc2PFAUbmXGTusja4I7fQbkviji QHFD/jgnBmANEK51kr2vViwka46+3XVYWdCRsm1eXFoJVqEFlxs17dWTlHUO17Hn2WB6 D+qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:reply-to:dkim-signature :arc-authentication-results; bh=GA0CrhXUVbrSUWB+MKLzO3oo33ZBWCiP6hZ3hvG6y3M=; b=rbljiWvQA+r+Qss6ZWMMwjMyiBEAYcbSNd9POERASc/UT7eMuyvIIu8rIBOL0r4hz3 kz+IgoE0UCujM3lgvgSOYql4eYxW7dTetmVhSEQFCJSXgk+gD3hT6S1aa8hjgwhluB73 cikIwKp9mIQCidEeFunkEm5hVdIQcWpqLoaSnw458cKrmUmpBWszpI5ig+WpxJRmZI48 l2SHnvJ9oYdjxxQ/U/ZR51ld0PjMlt+idLNRAl6N+vln6m29T+kUDFnElSwiRo61YvVG WlDCa9pe7gfJr25Ayhq5kPPmLS6UAs4uwDNxhpB7n9gTe3v/Le5+jYZCorBb+6DuFWqk GvAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jN7Yd5k6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b81si150180pfj.331.2018.02.08.07.54.49; Thu, 08 Feb 2018 07:55:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=jN7Yd5k6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752018AbeBHPx3 (ORCPT + 99 others); Thu, 8 Feb 2018 10:53:29 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:34505 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbeBHPx1 (ORCPT ); Thu, 8 Feb 2018 10:53:27 -0500 Received: by mail-ot0-f196.google.com with SMTP id l10so4749706oth.1 for ; Thu, 08 Feb 2018 07:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=GA0CrhXUVbrSUWB+MKLzO3oo33ZBWCiP6hZ3hvG6y3M=; b=jN7Yd5k6750fKV2XvjrHFaCcKhcfFocwQ8R9r2LsObx5NkJui/Pr4vj4nl51y4Kogd lDBvxvc744WLjPBx6FXMYwb3CVZt9Caf0aOL25+JEuPaK7H23KdQiU6dXMcMgavo3+H5 lAKmKcCkSHxDieV8p1fgOUiq8Law6cn6VoXmNYQ2Y8YWwMS8oMn0+ShWBLoxzJr4HbAN UWoWIE4279mmENPocgVfoigzvHxTbe5gncc3kldILhgWoq3b1v4wdzD0dpHWIW3e1FC/ 82JSxhO9yCNeI4C99VuO808SxQfbBBsoaQ19Ed6o4jnMAGL6c1sYuUqxen/hKUSiaahL 2ZOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=GA0CrhXUVbrSUWB+MKLzO3oo33ZBWCiP6hZ3hvG6y3M=; b=UZZ1jdUOtWkxAm2fGGTrgzg9L4rCM6CIde+9r8Wasi5JOl3hq4r/RueZ2GHNzgfZkM kYf3HSGiSvjUXnjBSiARWD1C0F11ke92BKqr5NgGlrtNudyEyncheONxP/9cjpO6h1Ye 1IvuRaqLw4tZD9IGHtgKOAIvDHsJpf3o9Wc5uO+0iBKJDYvr6Kd1c7DRFDLOrBy5rpM4 va+CItgNTiJBWATA6AhWcsrSy1nxhzz3BzMc6CX6ggEz/VD6Y47f/DxDw29OQ6BR2LVp +Q44K7qXvfN+Y/k0vqlJbmDWlQP1fR30KSkM7mg3kAMsujSEg0hjUJBcRNeA1OKfJf0O ajMA== X-Gm-Message-State: APf1xPCDwj1za9k3L5SD136rPk/Xjg18BIJ04fPiNgNC56XF+pCJ+2kY O2F0Tt+Nj6JPIGv0GpR2rw== X-Received: by 10.157.86.175 with SMTP id o44mr911411oth.393.1518105206416; Thu, 08 Feb 2018 07:53:26 -0800 (PST) Received: from serve.minyard.net (serve.minyard.net. [2001:470:b8f6:1b::1]) by smtp.gmail.com with ESMTPSA id u84sm110554oif.25.2018.02.08.07.53.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 07:53:25 -0800 (PST) Received: from [192.168.27.3] (t430m.minyard.net [192.168.27.3]) by serve.minyard.net (Postfix) with ESMTPSA id ABA5B3B6; Thu, 8 Feb 2018 09:53:23 -0600 (CST) Reply-To: minyard@acm.org Subject: Re: ipmi_si fails to get BMC ID To: Chris Chiu , arnd@arndb.de, gregkh@linuxfoundation.org, openipmi-developer@lists.sourceforge.net, Linux Kernel , Linux Upstreaming Team References: From: Corey Minyard Message-ID: <3b812894-46a0-3c87-1b9f-468fc63ea5bd@acm.org> Date: Thu, 8 Feb 2018 09:53:22 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/07/2018 09:01 PM, Chris Chiu wrote: > Hi, > We are working with a new desktop Acer Veriton Z4640G and get > stumbled on failing to enter S3 suspend with kernel version 4.14 even > the latest 4.15+. Here's the kernel log > https://gist.github.com/mschiu77/76888f1fd4eb56aa8959d76759a912bb. This is a little strange, nobody had reported this before.  Can you reproduce this at will, or was it a one-time thing? Does the IPMI driver always take this long to issue that error, even if you are not entering sleep state? And it started with 4.14, and didn't occur before then, right? There's a bug in the PCI utils database, I submitted a report a while ago.  This is a KCS, not a SMIC interface. It looks like the driver is trying to detect that there is a device out there and there is something that kind of works, but doesn't work completely. The interface specific code was all split out into separate files in 4.14.  It is possible the detection code got messed up in the process.  Nothing jumps out looking at the code differences, and I know it works on some PCI machines. Assuming this is reproducible, can you send the the output of a pre-4.14 kernel?  If that doesn't make it obvious I may have to have access to the machine itself. -corey > As you see, it is due to "ipmi_probe+0x430/0x430 [ipmi_si]". After > the message "ipmi_si 0000:02:00.3: There appears to be no BMC at this > location" shows up, then it can really go to suspend w/o problem. > Although it took around 3 mins. The IPMI device is probed from PCI and > here's the output of lspci > https://gist.github.com/mschiu77/33f0372be41670d8a69c97e64f833087. The > IPMI device is "02:00.3 IPMI SMIC interface [0c07]". We get stuck here > because we don't really know why it took so long in try_get_dev_id() / > ipmi_si_intf.c. Any suggestion about this to help us moving forward? > Thanks > > > Chris