Oops on resume from hibernate trying to restart second CPU

Bug #130416 reported by Peter Maydell
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.22 (Ubuntu)
Triaged
High
Brian Murray

Bug Description

Binary package hint: linux-image-2.6.22-9-generic

This is a Lenovo 3000 C200 laptop which has an Intel T2020 dual core CPU. I'm running Xubuntu, and upgraded to gutsy this weekend.

If I select 'hibernate' from the exit menu, the system appears to hibernate correctly, but on restart there is a kernel Oops trying to restart the second CPU; the system then seems to resume from hibernate correctly, except that /proc/cpuinfo lists only one CPU rather than two. I'll attach the kern.log showing normal startup (timestamps 19:58 onward), suspend (20:12) and resume (20:27). Here's the bit with the Oops:

Aug 4 20:27:28 canth kernel: [ 929.208000] EIP: 0060:[phys_startup_32+535810151/-1073741824] Not tainted VLI
Aug 4 20:27:28 canth kernel: [ 929.208000] EFLAGS: 00010002 (2.6.22-9-generic #1)
Aug 4 20:27:28 canth kernel: [ 929.208000] EIP is at 0x1fffd067
Aug 4 20:27:28 canth kernel: [ 929.208000] eax: c043c388 ebx: 00000005 ecx: fffff000 edx: 1fffd067
Aug 4 20:27:28 canth kernel: [ 929.208000] esi: c043c388 edi: 00000001 ebp: 00000001 esp: df819f30
Aug 4 20:27:28 canth kernel: [ 929.208000] ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Aug 4 20:27:28 canth kernel: [ 929.208000] Process swapper (pid: 0, ti=df818000 task=c18e2a40 task.ti=df818000)
Aug 4 20:27:28 canth kernel: [ 929.208000] Stack: c0271fdd 00000001 01000000 00000000 c01018e1 00000280 00000320 c01180df
Aug 4 20:27:28 canth kernel: [ 929.208000] 00000001 e0002073 c0438000 ffffffff c010b60d 00050014 c0371e40 00000001
Aug 4 20:27:28 canth kernel: [ 929.208000] c100897f 013ca000 00000001 01000000 00000000 00000001 c0116e45 00000001
Aug 4 20:27:28 canth kernel: [ 929.208000] Call Trace:
Aug 4 20:27:28 canth kernel: [ 929.208000] [dmi_check_system+77/112] dmi_check_system+0x4d/0x70
Aug 4 20:27:28 canth kernel: [ 929.208000] [calibrate_delay+17/1840] calibrate_delay+0x11/0x730
Aug 4 20:27:28 canth kernel: [ 929.208000] [setup_local_APIC+655/672] setup_local_APIC+0x28f/0x2a0
Aug 4 20:27:28 canth kernel: [ 929.208000] [cpu_init+413/592] cpu_init+0x19d/0x250
Aug 4 20:27:28 canth kernel: [ 929.208000] [start_secondary+181/896] start_secondary+0xb5/0x380
Aug 4 20:27:28 canth kernel: [ 929.208000] [cpu_exit_clear+25/64] cpu_exit_clear+0x19/0x40
Aug 4 20:27:28 canth kernel: [ 929.208000] [<f885d731>] acpi_processor_idle+0x0/0x41f [processor]
Aug 4 20:27:28 canth kernel: [ 929.208000] [cpu_idle+213/224] cpu_idle+0xd5/0xe0
Aug 4 20:27:28 canth kernel: [ 929.208000] =======================
Aug 4 20:27:28 canth kernel: [ 929.208000] Code: Bad EIP value.
Aug 4 20:27:28 canth kernel: [ 929.208000] EIP: [phys_startup_32+535810151/-1073741824] 0x1fffd067 SS:ESP 0068:df819f30
Aug 4 20:27:28 canth kernel: [ 929.208000] Kernel panic - not syncing: Attempted to kill the idle task!
Aug 4 20:27:28 canth kernel: [ 934.196000] Stuck ??
Aug 4 20:27:28 canth kernel: [ 934.196000] Inquiring remote APIC #1...
Aug 4 20:27:28 canth kernel: [ 934.196000] ... APIC #1 ID: failed
Aug 4 20:27:28 canth kernel: [ 934.196000] ... APIC #1 VERSION: failed
Aug 4 20:27:28 canth kernel: [ 934.196000] ... APIC #1 SPIV: failed
Aug 4 20:27:28 canth kernel: [ 934.196000] skipping cpu1, didn't come online
Aug 4 20:27:28 canth kernel: [ 934.196000] Error taking CPU1 up: -5

Tags: kernel-oops
Revision history for this message
Peter Maydell (pmaydell) wrote :

Here's the full kern.log in case it's useful.

Revision history for this message
Peter Maydell (pmaydell) wrote :

Sorry, somehow only cut and pasted the second half of the interesting bit of the kern.log. Here's the first part:

Aug 4 20:27:28 canth kernel: [ 929.188000] Enabling non-boot CPUs ...
Aug 4 20:27:28 canth kernel: [ 929.200000] SMP alternatives: switching to SMP code
Aug 4 20:27:28 canth kernel: [ 929.200000] Booting processor 1/1 eip 3000
Aug 4 20:27:28 canth kernel: [ 929.208000] Initializing CPU#1
Aug 4 20:27:28 canth kernel: [ 929.208000] BUG: unable to handle kernel paging request at virtual address ffffffd5
Aug 4 20:27:28 canth kernel: [ 929.208000] printing eip:
Aug 4 20:27:28 canth kernel: [ 929.208000] 1fffd067
Aug 4 20:27:28 canth kernel: [ 929.208000] *pde = 00004067
Aug 4 20:27:28 canth kernel: [ 929.208000] *pte = 00000000
Aug 4 20:27:28 canth kernel: [ 929.208000] Oops: 0002 [#1]
Aug 4 20:27:28 canth kernel: [ 929.208000] SMP
Aug 4 20:27:28 canth kernel: [ 929.208000] Modules linked in: michael_mic arc4 ecb blkcipher ieee80211_crypt_tkip ipv6 capability acpi_cpufreq cpufreq_stats cpufreq_userspace cpufreq_conservative cpufreq_ondemand freq_table cpufreq_powersave sbs video container button ac dock battery sbp2 parport_pc lp parport fuse joydev snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy pcmcia snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event iTCO_wdt iTCO_vendor_support snd_seq sdhci mmc_core yenta_socket rsrc_nonstatic pcmcia_core psmouse serio_raw snd_timer snd_seq_device ieee80211_crypt snd soundcore snd_page_alloc intel_agp agpgart af_packet shpchp pci_hotplug evdev ext3 jbd mbcache sg sd_mod sr_mod cdrom ata_piix 8139cp ohci1394 ieee1394 ata_generic libata mii scsi_mod uhci_hcd ehci_hcd usbcore thermal processor fan apparmor commoncap aamatch_pcre
Aug 4 20:27:28 canth kernel: [ 929.208000] CPU: 1
Aug 4 20:27:28 canth kernel: [ 929.208000] EIP: 0060:[phys_startup_32+535810151/-1073741824] Not tainted VLI
Aug 4 20:27:28 canth kernel: [ 929.208000] EFLAGS: 00010002 (2.6.22-9-generic #1)
Aug 4 20:27:28 canth kernel: [ 929.208000] EIP is at 0x1fffd067

Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-acpi
importance: Undecided → High
status: New → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, this bug is a duplicate of bug 129226 and is being marked as such. Feel free to submit any future bugs you may find.

Changed in linux-source-2.6.22:
assignee: ubuntu-kernel-acpi → brian-murray
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.