[ltp] DMA hotswap 0.2.0 vs. ibm-acpi-0.12a

honey linux-thinkpad@linux-thinkpad.org
Mon, 27 Feb 2006 15:46:57 +0000 (GMT)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-1727006239-1141055217=:32558
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8BIT

On Mon, 27 Feb 2006, André Wyrwa wrote:

>> The reason ibm_acpi doesn't load with modprobe.conf params in Fedora is
>> this devilish section in /etc/rc.d/rc.sysinit:
>>
>> # Initialiaze ACPI bits
>> if [ -d /proc/acpi ]; then
>>     for module in /lib/modules/$unamer/kernel/drivers/acpi/* ; do
>>        insmod $module >/dev/null 2>&1
>>     done
>> fi
>>
>> - it basically tries to load every possible acpi module early on.  And
>> it uses insmod instead of modprobe, it doesn't honour modprobe.conf.
>
> You could try if modprobing works by changing the insmod line to
>  modprobe $(basename $module) >/dev/null 2>&1
> .
>
> Otherwise a more extensive adaption would be necessary, which probably
> should be posted in a bug report.

Yep.  The fact rc.sysinit used insmod instead made me wonder if some
dependency for modprobe wasn't handled so early in the boot.  And I'd
always rather chance rc.local than rc.sysinit, given that it might cause
havoc with an update later.  But messy, as I think we all agree.

I didn't get round to filing a bugzilla - I might do - or hopefully
someone else will before me now :)

Honey
--8323328-1727006239-1141055217=:32558--