From owner-freebsd-doc@FreeBSD.ORG Mon Jun 14 13:48:28 2010 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AED1106564A; Mon, 14 Jun 2010 13:48:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id D22808FC08; Mon, 14 Jun 2010 13:48:27 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 875E246C0D; Mon, 14 Jun 2010 09:48:27 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2FAF58A04F; Mon, 14 Jun 2010 09:48:26 -0400 (EDT) From: John Baldwin To: freebsd-doc@freebsd.org Date: Mon, 14 Jun 2010 08:41:38 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201006111940.o5BJe40g078179@www.freebsd.org> In-Reply-To: <201006111940.o5BJe40g078179@www.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201006140841.39033.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 14 Jun 2010 09:48:26 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-gnats-submit@freebsd.org, Garrett Cooper Subject: Re: docs/147796: [patch] device smbus missing from ipmi(4) synopsys section X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jun 2010 13:48:28 -0000 On Friday 11 June 2010 3:40:04 pm Garrett Cooper wrote: > > >Number: 147796 > >Category: docs > >Synopsis: [patch] device smbus missing from ipmi(4) synopsys section > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-doc > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Fri Jun 11 19:50:01 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Garrett Cooper > >Release: 9-CURRENT > >Organization: > Cisco Systems, Inc. > >Environment: > >Description: > Tried kldload(8)'ing ipmi(4) and it failed siting this in the dmesg: > > KLD ipmi.ko: depends on smbus - not available or version mismatch > linker_load_file: Unsupported file type > > I build and installed the i2c/smbus module and voila: > > $ kldstat -v | grep ipmi > 8 1 0xffffffff80e17000 2cc ipmi_linux.ko (/boot/TAMESHI_CURRENT.r206173/ipmi_linux.ko) > 229 ipmi_linux > 9 1 0xffffffff80e18000 6dc4 ipmi.ko (/boot/TAMESHI_CURRENT.r206173/ipmi.ko) > 234 smbus/ipmi_smbus > 233 pci/ipmi_pci > 232 pci/ipmi2_pci > 231 isa/ipmi_isa > 230 acpi/ipmi_acpi > >How-To-Repeat: > Don't build kernel with smbus(4), but build with ipmi(4) support. If built via modules, then ipmi will fail to load. Actually, if you have an smbus.ko around (which you do by default unless you use NO_MODULES=yes or MODULES_OVERRIDE), it will autoload smbus.ko and work fine. Also, if you use 'device ipmi' without 'device smbus' in your config, it will build fine (it just won't support IPMI SSIF devices that use smbus). For that reason, I don't think this patch is needed (and is in fact wrong as you can support 90+% of IPMI BMC's without 'device smbus'). -- John Baldwin