linux-rt freezes on suspend

Bug #195018 reported by Przemek K.
8
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: linux-source-2.6.22

The realtime kernel (linux-rt) freezes while suspending my laptop (hp compaq nx6325).
The following messages repeat in the log:
Feb 23 09:49:35 localhost kernel: [ 59.909047] APIC error on CPU0: 40(40)
Feb 23 09:49:35 localhost kernel: [ 59.909481] APIC error on CPU1: 40(40)
Feb 23 09:49:35 localhost kernel: [ 59.909505] [smp_error_interrupt+118/144] [smp_error_interrupt+118/144] smp_error_interrupt+0x76/0x90
Feb 23 09:49:35 localhost kernel: [ 59.909518] smp_error_interrupt+0x76/0x90
Feb 23 09:49:35 localhost kernel: [ 59.909532] [default_idle+0/96] [default_idle+0/96] default_idle+0x0/0x60
Feb 23 09:49:35 localhost kernel: [ 59.909540] default_idle+0x0/0x60
Feb 23 09:49:35 localhost kernel: [ 59.909123] [error_interrupt+40/48] [error_interrupt+40/48] error_interrupt+0x28/0x30
Feb 23 09:49:35 localhost kernel: [ 59.909131] error_interrupt+0x28/0x30
Feb 23 09:49:35 localhost kernel: [ 59.909134] [default_idle+0/96] [default_idle+0/96] default_idle+0x0/0x60
Feb 23 09:49:35 localhost kernel: [ 59.909569] default_idle+0x0/0x60
Feb 23 09:49:35 localhost kernel: [ 59.909164] [native_safe_halt+2/16] native_safe_halt+0x2/0x10
Feb 23 09:49:35 localhost kernel: [ 59.909598] [native_safe_halt+2/16] native_safe_halt+0x2/0x10
Feb 23 09:49:35 localhost kernel: [ 59.909179] [default_idle+68/96] default_idle+0x44/0x60
Feb 23 09:49:35 localhost kernel: [ 59.909611] [default_idle+68/96] [cpu_idle+71/256] default_idle+0x44/0x60
Feb 23 09:49:35 localhost kernel: [ 59.909618] [cpu_idle+71/256] cpu_idle+0x47/0x100
Feb 23 09:49:35 localhost kernel: [ 59.909195] cpu_idle+0x47/0x100
Feb 23 09:49:35 localhost kernel: [ 59.909207] [start_kernel+839/1040] start_kernel+0x347/0x410
Feb 23 09:49:35 localhost kernel: [ 59.909217] [unknown_bootoption+0/608] unknown_bootoption+0x0/0x260
Feb 23 09:49:35 localhost kernel: [ 59.909248] =======================
Feb 23 09:49:35 localhost kernel: [ 59.909681] =======================
(but I don't know if they're connected with the issue)

Revision history for this message
Alessio Igor Bogani (abogani) wrote :

Hi,

It is works with -generic kernel?
Could you also provide the kernel command line?
Thanks!

Ciao,
Alessio

Revision history for this message
Przemek K. (azrael) wrote :

It works with generic kernel. What do you mean by "kernel command line"?
uname -a?
I'm using 32-bit Ubuntu Gutsy.

Revision history for this message
Alessio Igor Bogani (abogani) wrote : Re: [Bug 195018] Re: linux-rt freezes on suspend

I mean the otuput of the "cat /proc/cmdline" command.

Thank you!

Revision history for this message
Przemek K. (azrael) wrote :

azrael@azrael-laptop:~$ cat /proc/cmdline
root=UUID=0f4f03e8-2a80-44f9-82d6-322755373634 ro splash locale=pl_PL

Revision history for this message
Alessio Igor Bogani (abogani) wrote :

Hi,

Could you try to boot kernel with noapic and nolapic parameters, please?

Thanks again!

Revision history for this message
Przemek K. (azrael) wrote :

The same thing happened - laptop seems suspended but doesn't power off. The screen is powered off, and the system doesn't react to any key pressed. Only power button works.

Revision history for this message
Alessio Igor Bogani (abogani) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description does not yet have enough information.

Please include the following additional information, if you have not already done so (pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" after a fresh boot and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] https://wiki.ubuntu.com/KernelTeamBugPolicies Thanks in advance!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Also don't suppose you'd be willing to test the latest Hardy Alpha kernel: linux-image-2.6.24-11-rt ? Thanks.

Changed in linux-source-2.6.22:
status: New → Incomplete
Revision history for this message
Lorenzo Chiesa (lorenzo-chiesa) wrote :

Same issue to me but with 64 bit kernel.

lorenzo@lorenzo-laptop:~$ cat /proc/cmdline
root=UUID=8c7bea3b-535b-44d9-9ca7-002c66d14db4 ro quiet splash locale=it_IT

lorenzo@lorenzo-laptop:~$ uname -a
Linux lorenzo-laptop 2.6.22-14-rt #1 SMP PREEMPT RT Tue Feb 12 03:54:33 UTC 2008 x86_64 GNU/Linux

I also attach dmesg.log and lspci-vvnn.log

Revision history for this message
Lorenzo Chiesa (lorenzo-chiesa) wrote :
Revision history for this message
acek (t-krcf) wrote :

hallo, my macbook also freezes, when i try to suspend with the rt kernel, the normal kernel works fine!!

das@cex:/tmp$ cat /proc/cmdline
root=UUID=9974770d-35c7-4fb6-a5df-550198cb28fb ro quiet splash

das@cex:/tmp$ uname -a
Linux cex 2.6.22-14-rt #1 SMP PREEMPT RT Tue Feb 12 09:57:10 UTC 2008 i686 GNU/Linux

Revision history for this message
acek (t-krcf) wrote :

lspci

Revision history for this message
Alessio Igor Bogani (abogani) wrote :

@acek:

Could you try Hardy, please?

Thank!

Revision history for this message
Vernon Mauery (vernon+ubuntu) wrote :

My laptop (Lenovo Thinkpad T60) also suffers from this problem. I am running Gutsy and installed the 64-bit Hardy -rt kernel (2.6.24-16-rt). The Gutsy kernel works just fine for suspend resume for me. It seems that the Hardy -rt kernel has no problems suspending (all the fans go off, the suspended light comes on, backlight goes off, etc. It only seems to have problems on resume. The suspend light blinks off, the drives and fans spin up and the backlight comes on (with a blank screen). At this point, it just sits there apparently idle, yet not resumed. The keyboard does seem to have some effect -- caplock and numlock both make the appropriate lights light up on the keyboard. And sysrq keys work (well, at least sysrq+b reboots the computer).

I tried to capture some more output by connecting up to another machine and using a serial console. But I guess suspending does not write to the main console so that didn't capture any output. But it did seem to allow the computer to successfully suspend several times. Oddly enough, after booting without the serial console, it was back to hanging on resume again.

The attachment contains the appropriate sections of /var/log/messages from a boot to suspend for a failed resume and the entire boot/suspend/resume cycle from a successful one. It also contains lspci -vvnn output.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

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
Leann Ogasawara (leannogasawara) wrote :

*This is an automated response*

This bug report is being closed because we received no response to the previous request for information. Please reopen this if it is still an issue in the actively developed pre-release of Jaunty Jackalope 9.04 - http://cdimage.ubuntu.com/releases/jaunty . To reopen the bug report simply change the Status of the "linux" task back to "New".

Changed in linux:
status: Incomplete → Won't Fix
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.