docs/147796: [patch] device smbus missing from ipmi(4) synopsys section
Garrett Cooper
gcooper at FreeBSD.org
Fri Jun 11 19:50:02 UTC 2010
>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:
More information about the freebsd-doc
mailing list