requires manually loading i2c-dev module in SSIF driver mode

Bug #1341788 reported by dann frazier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
freeipmi (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

freeipmi supports an SSIF driver mode that uses the kernel's /dev/i2c-* interface. However, this interface is only exposed when the i2c-dev module is loaded, and this appears to be a manual process today.

Some options I see:
 - Link i2c-dev statically in the kernel. This would work for cases where the lowlevel i2c driver is autoloaded (which is the case today, at least with properly configured device-tree platforms). The problem is that this will consume memory on all Ubuntu systems, whether or not they support this interface and whether or not the user plans to use it.
 - Make freeipmi commands suggest the user load the module when it fails to find the user-requested dev entry
 - Make freeipmi commands automatically load the i2c-dev module, if available, when the user specifies SSIF
 - Introduce a package (or modify an existing package) to automatically load the i2c-dev module on boot if an i2c device is found on the system (possibly via a udev rule, or an upstart/systemd job). Precedent for this exists in the openipmi package.

It should be straightforward to generate a patch to do the right thing - but we'll need some advice from the Ubuntu community to decide what the best mechanism is.

Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Hello,

Thanks for opening the bug. I am afraid that you're missing the version number that you're using. Could you please provide more information so that we can try to reproduce?

Furthermore, since this is a very old bug, I am wondering if you're still facing the same problems in the recent versions of freeipmi? In case you do, please reply to this bug or open a new open.

I am marking this as "Incomplete", but once you provide the details mentioned above, please set the status to "New" again. Thank you!

Changed in freeipmi (Ubuntu):
status: New → Incomplete
Revision history for this message
dann frazier (dannf) wrote :

Thanks for the reply @utkarsh. I no longer have access to the system for which I reported this problem. I'll go ahead and mark this Won't Fix.

Changed in freeipmi (Ubuntu):
status: Incomplete → Won't Fix
Revision history for this message
Utkarsh Gupta (utkarsh) wrote :

Thank you, Dann.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.