Ubuntu

Activity log for bug #49240

Date Who What changed Old value New value Message
2006-06-10 11:28:11 Erik de Castro Lopo bug added bug
2006-06-11 20:58:50 Robert Collins powermgmt-base: status Unconfirmed Confirmed
2006-06-11 20:58:50 Robert Collins powermgmt-base: statusexplanation I've confirmed this. My guess is that acpid is not up with the right modules when the checkfs/checkrootfs calls occur... mjg59 confirms this - the battery and ac modules need to be loaded for this script to work.
2006-06-11 20:59:56 Robert Collins description Binary package hint: powermgmt-base Machine is a Dell Latittude X1 running Dapper with a stock 2.6.15-23-686 kernel. When booting on battery power, the on_ac_power script fails with an error code of 255 causing a fsck. Binary package hint: powermgmt-base Machine is a Dell Latittude X1 running Dapper with a stock 2.6.15-23-686 kernel. When booting on battery power, the on_ac_power script fails with an error code of 255. This has the result of allowing fsck's to occur during bootup on battey which is undesirable.
2006-06-12 09:33:03 Matthew Garrett powermgmt-base: statusexplanation I've confirmed this. My guess is that acpid is not up with the right modules when the checkfs/checkrootfs calls occur... mjg59 confirms this - the battery and ac modules need to be loaded for this script to work. Modules need to be loaded earlier
2008-04-12 21:58:38 Daniel Hahler acpid: importance Undecided Medium
2008-04-12 21:58:38 Daniel Hahler acpid: status Confirmed Triaged
2009-01-07 12:32:42 Loïc Minier acpid: importance Medium Low
2009-01-07 12:32:42 Loïc Minier acpid: bugtargetdisplayname acpid (Ubuntu) powermgmt-base (Ubuntu)
2009-01-07 12:32:42 Loïc Minier acpid: bugtargetname acpid (Ubuntu) powermgmt-base (Ubuntu)
2009-01-07 12:32:42 Loïc Minier acpid: statusexplanation Modules need to be loaded earlier /sbin/on_ac_power is in powermgmt-base, so I'm reassigning this bug over there. Of course the easiest and fastest case is to build the modules in the kernel; that's the case in jaunty but doesn't help hardy nor custom kernels. On my system, the aforementioned modules are loaded automatically during boot even when not specified in /etc/default/acpid, so it's probably just a race that on_ac_power needs the modules loaded. I think on_ac_power could be improved to test for ACPI support and modprobe the relevant modules if the information is not present yet (just like we load modules to find the rootfs).
2009-01-07 12:32:42 Loïc Minier acpid: title Bug #49240 in acpid (Ubuntu): "on_ac_power script returns 255 during boot" Bug #49240 in powermgmt-base (Ubuntu): "on_ac_power script returns 255 during boot"