Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp29285imm; Thu, 21 Jun 2018 13:18:34 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKSkju+eBWFDNAI+lYlcNsf7fMRZgeyeDVtmsSZjhuXkYm13GcllkFABqCB0P4mJFxyJQAx X-Received: by 2002:a65:5284:: with SMTP id y4-v6mr23241470pgp.297.1529612314419; Thu, 21 Jun 2018 13:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529612314; cv=none; d=google.com; s=arc-20160816; b=xQV4IrFeQKbzv0LuBDOy20JKZwHjkdb/+Oij+9DkjGc8A5ZlyZqmL/E+VIv35kRou+ kVu1N/qp82ZLl2u4BmU6wL+iDFqu2JCYZNS8mgTLz1MS9a8loxgamv7JBarMKgnlBq3s 1F8io9CUi9d741N86QEfzIry5e1kopyzDBGugS/2AwppvxhEVJIuhBuN3NDWSQitzbPi O5NCUBUgbrngkNMoeWc2KRrd4T3YmoA1ysuuwH4HGZpU/NZMJcPsGN0KVMtuh/7wrK7P jYmdt3J62cg+3U1SE6ZcsDFFnsMh45exyYC2L7BoP5chBfLOa3tnVF+ZfR06DYXO8mut ijTg== 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:cc:to:subject:dkim-signature :arc-authentication-results; bh=AIa8K/XDQtbjrp14xs7ys1gwAy8KGBk6J+hcL7Pl/9o=; b=QL4jIK1tldoYLLqO2S+4psfLxUwArsi6B1K2paACW7l8k/X1llWQq9HKj23Mx+Deja E3ZsP8rI13ydCpr70QFT8l1xtpcCYoF2Y5YyE42QzK4M+3NrAThM+/Evl1rFSlthznLM LdN1u9qg+RcJ385pTBe8rYgPEnZ/TGhw0Rh1xWkA9vdYBxuhuvJZRULHx1QA4vo6RqdM lVt3y+BDV3NMsFm1cShIymHv5n8j8VYYgkUecVRwyiL+OAVxZr0DDZTpllLEgq9Jg/uI nBrXG6MVwEem2ricN5VLVA6dFL/olVuupdl0zenu/KIPszOnMLa9aCcTYqIHqDOL0vDt cpkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mvista-com.20150623.gappssmtp.com header.s=20150623 header.b=U5zYZEQ0; 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 n5-v6si4381224pgu.688.2018.06.21.13.18.19; Thu, 21 Jun 2018 13:18:34 -0700 (PDT) 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=@mvista-com.20150623.gappssmtp.com header.s=20150623 header.b=U5zYZEQ0; 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 S933354AbeFUUQu (ORCPT + 99 others); Thu, 21 Jun 2018 16:16:50 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:37539 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933304AbeFUUQr (ORCPT ); Thu, 21 Jun 2018 16:16:47 -0400 Received: by mail-oi0-f67.google.com with SMTP id l22-v6so4116262oib.4 for ; Thu, 21 Jun 2018 13:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mvista-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=AIa8K/XDQtbjrp14xs7ys1gwAy8KGBk6J+hcL7Pl/9o=; b=U5zYZEQ06ifnXBe291DLtxj+OveFFxNAl1SAUezFWw1Fg+1ByuqXpU33BQVZWecz8f W4Gm0/UFaPhJOzXlKTKo5ilhVkov3W8pNx6x3QOnTnTK9J0RzqqUZbZ/U21kAESzcwgW mWECYai2ZzFkLSTOz2Q/cpNc5yJCBJXhWiwE6EtwPVqzsmFzgBLzmwxJb7llB/oq50vw CRCgSMq2GZWe14HciUW8Fja8qDkIJTIbjK69bUgLaawfIO2ZqUGlVG1V3KfJ/QQnNpNz OJkQs3qEHzLw9nhy0rYM5c5Dc/jgDzopkttgzuwNl6MMTADgCv0sl6ioHj42IvLfxq6Z T/uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=AIa8K/XDQtbjrp14xs7ys1gwAy8KGBk6J+hcL7Pl/9o=; b=WaZ2tD5+mfCNaaegDE8WjB8Dgy/5v2Wjv5TIb64E56FUQG+sKzT/u4v2M37mSsYkCS OWRZJnt9mfe5105w8uSzKVafv5nrcGR3zPUWyYLy9AWYuYTO6raJkAZExzfX6LsEzW58 TnKPKBFF6q0cEl44+0GveGCaB07K+xjguo1JkcT9cfQae9oVx3RrFMCHH3pKgOrga97E xguS44UnYgdaf40SzcFnNkxIncqkl7v4dlcHLyu09NPK9qg75xjqaqMX3IlP03wi7cTm VwAqQfPEW3PIRkNzYDRjMsqfqCNewzCbYsFVURUfChJrDZv384lY13h8zaf+VhDxElbb i+XQ== X-Gm-Message-State: APt69E2dNwcfgTpyO27TzC2YqAYOJ5paxTi7PD74YTJMbrCVEGJY7A4o uwrxyU272kpuzsT+dRaUaeYnAw== X-Received: by 2002:aca:a94c:: with SMTP id s73-v6mr14458514oie.178.1529612207190; Thu, 21 Jun 2018 13:16:47 -0700 (PDT) Received: from [192.168.27.3] ([47.184.170.59]) by smtp.gmail.com with ESMTPSA id s127-v6sm2741284oif.52.2018.06.21.13.16.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jun 2018 13:16:46 -0700 (PDT) Subject: Re: [PATCH] ipmi: Cleanup oops on initialization failure To: Meelis Roos , Corey Minyard Cc: Linux Kernel list , openipmi-developer@lists.sourceforge.net References: <1529497606-3857-1-git-send-email-minyard@acm.org> <7c9a293d-02e7-96c3-4760-f2d066e9dfd6@acm.org> From: Corey Minyard Message-ID: <17238af1-5c32-d04e-2bcd-f5bdf688bed7@mvista.com> Date: Thu, 21 Jun 2018 15:16:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.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 06/21/2018 01:47 AM, Meelis Roos wrote: >>> The corresponding dmesg: >>> >>> [ 7.372830] IPMI System Interface driver. >>> [ 7.373034] ipmi_si dmi-ipmi-si.0: ipmi_platform: probing via SMBIOS >>> [ 7.373109] ipmi_si: SMBIOS: mem 0x0 regsize 1 spacing 1 irq 0 >>> [ 7.373182] ipmi_si: Adding SMBIOS-specified kcs state machine >>> [ 7.373352] ipmi_si: Trying SMBIOS-specified kcs state machine at mem >>> address 0x0, slave address 0x20, irq 0 >>> [ 7.373479] ipmi_si dmi-ipmi-si.0: Could not set up I/O space >>> >>>> BTW, can you send me at least the IPMI portion of the output of >>>> dmidecode for your machine? I have seen a lot of these where the >>>> address in the SMBIOS tables is incorrect, and I'm wondering if >>>> it's something in the driver, or if it's really the tables that >>>> are bad. >>> Handle 0x001B, DMI type 38, 18 bytes >>> IPMI Device Information >>> Interface Type: KCS (Keyboard Control Style) >>> Specification Version: 2.0 >>> I2C Slave Address: 0x10 >>> NV Storage Device: Not Present >>> Base Address: 0x0000000000000000 (Memory-mapped) >>> Register Spacing: Successive Byte Boundaries >> Thanks a bunch.  It looks like the SMBIOS tables are wrong.  I >> wonder if this is what some vendor do if there is no IPMI device >> installed.  I guess I need to add a check for this. > Another machine (Sun X2100) with similar crash is also cured by the > patch, but this is slightly different (not NULL): > > [ 8.891217] IPMI System Interface driver. > [ 8.898404] ipmi_si dmi-ipmi-si.0: ipmi_platform: probing via SMBIOS > [ 8.905635] ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0 > [ 8.912895] ipmi_si: Adding SMBIOS-specified kcs state machine > [ 8.920246] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca2, slave address 0x20, irq 0 > [ 8.934379] ipmi_si dmi-ipmi-si.0: Interface detection failed > > IPMI Device Information > Interface Type: KCS (Keyboard Control Style) > Specification Version: 1.5 > I2C Slave Address: 0x10 > NV Storage Device: Not Present > Base Address: 0x0000000000000CA2 (I/O) > Register Spacing: Successive Byte Boundaries > That's even worse.  The SMBIOS table says the interface is there, but it's not there.  Not much I can do about that :(. Thanks again, -corey