hibernate.sh freezes on "modprobe thermal", anacron not started, kernel upgrades don't finish

Bug #63286 reported by Adam Porter
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Medium
Unassigned
linux-source-2.6.17 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I was very pleased to discover that hibernating worked "out of the box" with Edgy Beta 1 on my old Compaq Presario 1690 laptop (K6-2, 128MB RAM; it really is old). Resuming worked as well, albeit there was a square in the upper left corner of the screen that was a bit corrupted-looking. Logging out and back in fixed that.

Then I downloaded some more Edgy updates and installed them, but the initrd generator never finished postinst; it just sat there. I hit Ctrl+C, and the configuration of usplash and powernowd also didn't finish; I had to Ctrl+C them as well.

I finally discovered that /etc/acpi/hibernate.sh was still running, and was waiting for "modprobe thermal" to return. I killed the "modprobe thermal" process, and the hibernate script finished running, which included starting anacron.

This is dangerous because I'm guessing that, if a new kernel package is installed, but the initrd generator doesn't finish running, the system might be left in an unbootable state. And, of course, whatever else the hibernate script didn't get to finish doing.

Revision history for this message
Matthew Garrett (mjg59) wrote :

It's really not acpi-support's fault if modprobe isn't returning.

Revision history for this message
Ben Collins (ben-collins) wrote :

I can't really fix this. I understand the issue. However, if an old kernel is able to leave the system in a broken state, then you have to bring the system up in a way in which this does not cause a problem. In this case, the user would have to either reboot clean (instead of resume), or boot from CD and upgrade from there.

If you can repeat this lockedup hibernate.sh script (because of modprobe thermal) on a fresh up-to-date edgy, then please reopen this bug. I'll assume this is fixed in newer kernels.

Changed in linux-source-2.6.17:
status: Unconfirmed → Rejected
Revision history for this message
Adam Porter (alphapapa) wrote :

A couple days ago, after doing a dist-upgrade, I hibernated. A little while ago I resumed, and then did another dist-upgrade. I noticed that the update-initramfs script was stuck again, so I checked, and sure enough, "/bin/bash /etc/acpi/hibernate.sh force" is stuck waiting on "modprobe thermal". After killing the "modprobe thermal" process, the hibernate script finished, and now update-initramfs is finishing up.

Changed in linux-source-2.6.17:
status: Rejected → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

I am assigning this bug to the 'ubuntu-kernel-team' per their bug policy. For future reference you can learn more about their bug policy at https://wiki.ubuntu.com/KernelTeamBugPolicies .

Changed in linux-source-2.6.17:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

The 18 month support period for Edgy Eft 6.10 has reached it's end of life. As a result, we are closing the linux-source-2.6.17 Edgy Eft kernel task.

Hardy Heron 8.04 was recently released. It would be helpful if you could test the new release and verify if this is still an issue - http://www.ubuntu.com/getubuntu/download . You should be able to test your bug using the LiveCD. Please let us know your results. Thanks.

Changed in linux-source-2.6.17:
status: Confirmed → Invalid
Changed in linux:
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Unfortunately this bug report is being closed because we received no response to the last inquiry for information. However, the Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . If you are able to confirm this is still an issue with this most recent release please feel free to reopen this report. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks.

Changed in linux:
importance: Undecided → Medium
status: Incomplete → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.