Received: by 10.223.176.5 with SMTP id f5csp177759wra; Thu, 8 Feb 2018 19:11:14 -0800 (PST) X-Google-Smtp-Source: AH8x224w+vZTTzliMCkJXBHdcXfjZ2i7YZdG2QOeqLv6hHhi8BDLNZrE03WSLTlkTPTbWv/jslMG X-Received: by 2002:a17:902:581a:: with SMTP id m26-v6mr1144243pli.158.1518145874835; Thu, 08 Feb 2018 19:11:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518145874; cv=none; d=google.com; s=arc-20160816; b=OwmccenLiMJfKZSrYLOr2SOOBGzb2g7tLFjK37Y86mfLUXCn0KZwK32NaF5HdWE8bJ QltdQH3RAIb/627YsY0xI+sC+jDN1TF6Ihrhmmvlvchq2pdG2l+d4sS29YkIdQI0n022 o7QDCHMrcuIuJ2eW28rd0Q3itOV4McPgGCBwA2FFTbVJ59BW2NktZpDjpTpdFRfswecL n/WvvldRkvUdbxF88eNSuN7opNUJoOajFq68CyektUnlrb722E3KoeNsZcaEL7DIug0W +jFc4vQtpPw3gQXHazOUpb23Uc4FYmgDn3Te8LprOQj8/aXVl+FMFAVP1roKXvsiaxtr ag3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=ndR7i6zij4HSeMYLhP7GL4759zSQxs3Ootmhf9ntDTY=; b=xKR4suyf0IEzcTO2qZCHaSPMP8Hemi5b9FJiEr0T49kiedCgJtEGg2vRJlQp2oz5JZ kTM2MYV2iDDM+AIETfmSmNP/bxbiAE7zqft2jl9EbGafZ4j8g5sv687rEBb6RRdqXlTq s3O4/GNHZrOud5DlhnZZHqnu9InRhix/1DfVIQY11SkXIgsIb6uCOLue11sKBEcVL4aI DuU1jx9PjNaRKZzYiHL7IhvZ3kBevA+1BuTHoERCQbE/fSdyACB040aJc0A8At5GY9of 5PD7nPVosEm9DvHFhj7PBeyYAsnpcwr27RBr8wrKjAw5jyUjQ/gzSjyvfzGOO64k2orP AHig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=lZ7P7eNV; 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 j12si462352pgn.548.2018.02.08.19.11.00; Thu, 08 Feb 2018 19:11:14 -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=pass header.i=@endlessm-com.20150623.gappssmtp.com header.s=20150623 header.b=lZ7P7eNV; 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 S1752547AbeBIDJv (ORCPT + 99 others); Thu, 8 Feb 2018 22:09:51 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:52276 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752507AbeBIDJu (ORCPT ); Thu, 8 Feb 2018 22:09:50 -0500 Received: by mail-wm0-f53.google.com with SMTP id g1so12910343wmg.2 for ; Thu, 08 Feb 2018 19:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ndR7i6zij4HSeMYLhP7GL4759zSQxs3Ootmhf9ntDTY=; b=lZ7P7eNVGDPpKRtiTDexA6UZImmspM3spCQyaODW/CMVoC1K7MLcnCzNlHz89BNiXa VfpejizpiXupYe5mcGrEYhFhgQBfPj3voEixxeumBJHiVIn/YDlxXPzvhz+IgZ7IxspN uhfMXjGzDWtjqwYtlsP0j/1TO/3QpaBvATtaUipuWtwBB9mEx4S3yeaoAsY0fw20HVDs 4AaZvVw/iyjV9RQRwf19SR8cqLCyYYKRtlvW08L4K/nz0IMUwKxBhYUR0OTlKfAIdMTF nXKx2SBOAfdYJfqyacOPVfEJk9YIpZ1PG3D7EfnzVXaPGxHErwigFmtiKwtFOTu/lEt5 AuFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ndR7i6zij4HSeMYLhP7GL4759zSQxs3Ootmhf9ntDTY=; b=nK6jbQtuUubCAV47cRyPqrkm2dxT5gQhYvaXIT4Zd5t3xwSqFsXBXl/gfhkxNLw4Iy T650716bolO6QOzesxGzmc4HtQI8s/YVNgFR1C8D0Upp92QxELdNNzG9jRzf/wu7sKpW E9KjBcjnA5FTb/7Q6OTKR29ZiZUo/euSEF6DNVQKYLggRs+vKt1WAQvfK2BQrFwblnlL l9FQq/x0wqszcnLrPTiTZvPoR9exuRzeM04En1GXseFFYE28Q5fyUtadTCMOfQZzp2U/ m3LhAzJGXA/ovidry/8wIccL/p5Jm+reh81DzoOSlJJEwil/4AN/WSEb4l2bmlCQILtb /zxw== X-Gm-Message-State: APf1xPBPrZni70AjIVi2cGn7KVvR5CkOljI7xeeSJhC3d14RxwYngmvA jUMpvDkXE335o5TNe0Mb19a7bGEL87SGCQa4HiZJYw== X-Received: by 10.80.157.73 with SMTP id j9mr1619803edk.200.1518145788970; Thu, 08 Feb 2018 19:09:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.132.232 with HTTP; Thu, 8 Feb 2018 19:09:48 -0800 (PST) In-Reply-To: <3b812894-46a0-3c87-1b9f-468fc63ea5bd@acm.org> References: <3b812894-46a0-3c87-1b9f-468fc63ea5bd@acm.org> From: Chris Chiu Date: Fri, 9 Feb 2018 11:09:48 +0800 Message-ID: Subject: Re: ipmi_si fails to get BMC ID To: Corey Minyard Cc: Arnd Bergmann , gregkh@linuxfoundation.org, openipmi-developer@lists.sourceforge.net, Linux Kernel , Linux Upstreaming Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 8, 2018 at 11:53 PM, Corey Minyard wrote: > 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? It can be reproduced on each reboot. > > Does the IPMI driver always take this long to issue that error, even if you > are not > entering sleep state? > Yep, it will always print "ipmi_si 0000:02:00.3: There appears to be no BMC at this location" few minutes after boot. > And it started with 4.14, and didn't occur before then, right? > I haven't try pre-4.14 kernel. Will do that and update here. > 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 > > It's an All-in-One machine so I think it would be difficult for shipment. I'll see what I can do. Thanks for help. Chris >> 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 > > >