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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matt Domsch (Matt_Domsch@xxxxxxxx) 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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux