Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382839 - sys-block/megacli fails silently under gentoo-sources-3
Summary: sys-block/megacli fails silently under gentoo-sources-3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 15:40 UTC by Joel Berendzen
Modified: 2011-10-27 23:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Berendzen 2011-09-13 15:40:41 UTC
On a system running linux 3.0.4 with a controller present,  megacli returns zero controllers.  This appears to be because libsysfs.so.2.0.2 silently fails to load under linux 3.0.4.


Reproducible: Always

Steps to Reproduce:
1.Under gentoo-sources-3.0.4:
# megacli -adpcount

Controller Count: 0.

Exit Code: 0x00

2. On the same system under gentoo-sources-2.6.39-r3 and similar kernel configs:
# megacli -adpcount

OSSpecificInitialize: Failed to load libsysfs.so.2.0.2 Please ensure that
libsfs is present in the system.
The dependent library libsysfs.so.2.0.1 not available. Please contact LSI for
distribution of the package




A workaround under linux 2.6.39 is to
# ln -s /lib64/libsysfs.so.2.0.1 /usr/lib64/libsysfs.so.2.0.2
# lddconfig

megacli then works.  This workaround does work under gentoo-sources-3.0.4.

As noted in the Changelog, the bundled libsysfs.so.2.0.2 was recently removed
from the installation.

I also note that the current version of megacli is 8.02.16.  A simple version
bump of the ebuild produces identical results, however.
Comment 1 Tim Harder gentoo-dev 2011-10-27 23:14:58 UTC
Should be fixed in CVS with 8.02.16 now.