[PATCH 1.4.11 1/2] OpenIPMI initscript and config file

Bill Nottingham notting at redhat.com
Fri May 20 04:19:24 UTC 2005


Matt Domsch (Matt_Domsch at dell.com) said: 
> +	if [ "${DEV_IPMI}" = "1" ]; then
> +	    modprobe ipmi_devintf || RETVAL=2
> +	    if [ "${RETVAL}" != "2" ]; then
> +                # Note, this really should be done by udev on 2.6
> +		DEVMAJOR=`cat /proc/devices | awk '/ipmidev/{print $1}'`
> +		mknod -m 0600 /dev/ipmi${INTF_NUM} c ${DEVMAJOR} 0 || RETVAL=2
> +		ln -sf /dev/ipmi${INTF_NUM} /dev/ipmi || RETVAL=2
> +	    fi
> +	fi

Why isn't the driver fixed to populate sysfs properly? 

> +
> +	start_watchdog
> +	start_powercontrol
> +	if [ "${IPMI_IMB}" = "1" ]; then
> +	    modprobe ipmi_imb || RETVAL=2
> +	    # FIXME create canonical /dev/foo entry
> +	fi
> +	if [ "${IPMI_RADISYS}" = "1" ]; then
> +	    modprobe ipmi_radisys || RETVAL=2
> +	    # FIXME create canonical /dev/foo entry
> +	fi
> +	return

How many, if any, of these modules can be detected for the
proper hardware?

Bill




More information about the devel mailing list