Comment 157 for bug 1093217

Revision history for this message
Siddu (sduddikunta) wrote :

I may have come across a workaround. After diff-ing the Arch and Ubuntu kernel configs (the only true difference as the Ubuntu mainline series is impacted as well), I found that Arch compiles ACPI battery support as a module, while Ubuntu has it built-in. The difference seems to manifest in the time at which ACPI battery support is loaded. Since Arch has it as a module and not in the initramfs, it loads the battery module after the root filesystem comes up, long after the danger of a hang. Recompiling the Ubuntu kernel using the kernel source package with battery support as a module, adding a blacklist entry in /etc/modprobe.d to prevent battery support from coming up too early, and adding a system service in /etc/init to bring up the battery after filesystems are mounted has worked so far for me and a friend with the same machine. The only downside is that the kernel must be recompiled each time it is released, unless Ubuntu adopts a change to their configs.

I made a PPA with current kernel packages (13.10 Saucy only) and a "linux-z580" package with the two config/script files. It is offered here, of course, without any warranty of any kind. Find it here: https://launchpad.net/~sduddikunta/+archive/z580.