fan and thermal modules loaded in wrong order
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'
Which causes two modprobe lines to be added to the "loadmodules" file in the
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)