fan and thermal modules loaded in wrong order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initrd-tools (Ubuntu) |
Fix Released
|
Critical
|
Daniel Stone |
Bug Description
mkinitrd ensures that the fan and thermal modules are loaded early on in the
boot process so that ACPI laptops don't overheat during the boot process and
die. The code that does this is:
if [ -d "$MODULEDIR/
echo 'thermal 2> /dev/null'
echo 'fan 2> /dev/null'
fi
Which causes two modprobe lines to be added to the "loadmodules" file in the
generated initrd.
However these are in the wrong order; on HP Compaq laptops the "fan" module has
to be loaded before the "thermal" module. Basically it looks like the thermal
module only controls the fans that are available at the time it is loaded, and
until the fan module is loaded none are available.
There's probably a kernel bug here as well, the thermal module should take
ownership of any fans that appear after it is loaded, but we can fix the
symptoms now and file a bug on the kernel later.
Swap those two lines around so fan is loaded first. We'll then need to
regenerate a linux-image package with the new initrd and new installed packages
(if they use this, Colin?)
I think this'll then allow warty to run on HP Compaqs.
(added blocks to the two bugs I've seen that I think are caused by this)
If your question to me is referring to the installer, rootskel has its own
script to load fan and thermal, and it already gets them the right way round; so
no installer change should be necessary.
You could try booting the installer on one of these systems to make sure.