From owner-freebsd-doc@FreeBSD.ORG Fri Jun 11 19:50:02 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45D5C1065679 for ; Fri, 11 Jun 2010 19:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 097FB8FC16 for ; Fri, 11 Jun 2010 19:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o5BJo1nx069966 for ; Fri, 11 Jun 2010 19:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o5BJo1oR069965; Fri, 11 Jun 2010 19:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 11 Jun 2010 19:50:01 GMT Resent-Message-Id: <201006111950.o5BJo1oR069965@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DB391065750 for ; Fri, 11 Jun 2010 19:40:05 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 569278FC16 for ; Fri, 11 Jun 2010 19:40:05 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o5BJe5MX078188 for ; Fri, 11 Jun 2010 19:40:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o5BJe40g078179; Fri, 11 Jun 2010 19:40:04 GMT (envelope-from nobody) Message-Id: <201006111940.o5BJe40g078179@www.freebsd.org> Date: Fri, 11 Jun 2010 19:40:04 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: 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: Fri, 11 Jun 2010 19:50:02 -0000 >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. >Fix: See attached patch. Patch attached with submission follows: Index: ipmi.4 =================================================================== --- ipmi.4 (revision 206173) +++ ipmi.4 (working copy) @@ -32,6 +32,7 @@ .Nm ipmi .Nd "OpenIPMI compatible IPMI interface driver" .Sh SYNOPSIS +.Cd "device smbus" .Cd "device ipmi" .Pp To manually specify I/O attachment in >Release-Note: >Audit-Trail: >Unformatted: