3. RAS Preparatory Steps
The following packages are necessary to rebuild the Linux kernel.
-
rpmdevtools
-
yum-utils
-
ncurses
-
ncurses-devel
-
linux-source
-
i2c-tools (i2C communication library)
Correct the parts in red in the following (1) and (2) downloaded kernel source code, and rebuild the
kernel. Apply the rebuilt kernel package to the system.
In order to enable the I2C device, add "i2c-dev" to the "/etc/modules" file, and restart the OS.
Once the patch has been applied, execute the following commands, and confirm that the output is
as the text in red.
[root@localhost contec]# modprobe i2c-dev
[root@localhost contec]# i2cdetect –l
i2c-0 smbus
SMBus I801 adapter at e000
|_ i2c-X
X is an arbitrary I2C bus number.
=======================================================
(linux source dir)¥drivers¥i2c¥busses¥i2c-i801.c
static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
{
~~
// err = acpi_check_resource_conflict(&dev->resource[SMBBAR]);
// if (err) {
//
err = -ENODEV;
//
goto exit;
// }
...
~~
=======================================================
—
RAS Function
BX-830 CentOS 7.3 64bit Operational Check Manual
SMBus adapter
Comment out
- 37 -
—