docs/147796: [patch] device smbus missing from ipmi(4) synopsys section

John Baldwin jhb at freebsd.org
Mon Jun 14 13:50:05 UTC 2010


The following reply was made to PR docs/147796; it has been noted by GNATS.

From: John Baldwin <jhb at freebsd.org>
To: freebsd-doc at freebsd.org
Cc: Garrett Cooper <gcooper at freebsd.org>,
 freebsd-gnats-submit at freebsd.org
Subject: Re: docs/147796: [patch] device smbus missing from ipmi(4) synopsys section
Date: Mon, 14 Jun 2010 08:41:38 -0400

 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



More information about the freebsd-doc mailing list