Bug 723555 - VM sometimes fails to shut down with GPF in native_stop_other_cpus
Summary: VM sometimes fails to shut down with GPF in native_stop_other_cpus
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-20 14:56 UTC by Richard W.M. Jones
Modified: 2013-04-23 17:27 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-23 17:27:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-07-20 14:56:07 UTC
This has only happened on i686 so far.  It is also
intermittent, happening under 10% of shutdowns.

This is running on qemu (with TCG), with only a single
virtual CPU.

Example #1:

[  371.370342] md: stopping all md devices.
[  372.397411] Restarting system.
[  372.398386] machine restart
[  372.399810] general protection fault: fffa [#1] SMP 
[  372.399810] Modules linked in: i2c_piix4 i2c_core ext2 virtio_net virtio_blk virtio_rng virtio_balloon sparse_keymap rfkill sym53c8xx scsi_transport_spi crc7 crc_ccitt crc_itu_t libcrc32c
[  372.399810] 
[  372.399810] Pid: 278, comm: reboot Tainted: G        W   3.0-0.rc7.git3.1.fc16.i686 #1 Bochs Bochs
[  372.399810] EIP: 0060:[<c0418781>] EFLAGS: 00000246 CPU: 0
[  372.399810] EIP is at arch_local_irq_restore+0x5/0xb
[  372.399810] EAX: 00000246 EBX: 00000246 ECX: 00000040 EDX: 00000040
[  372.399810] ESI: 00000001 EDI: c0b71580 EBP: dc6a3e48 ESP: dc6a3e48
[  372.399810]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[  372.399810] Process reboot (pid: 278, ti=dc6a2000 task=dd1c8000 task.ti=dc6a2000)
[  372.399810] Stack:
[  372.399810]  dc6a3e5c c0418939 00000000 01234567 28121969 dc6a3e64 c0416aea dc6a3e6c
[  372.399810]  c0416c4e dc6a3e78 c0416cb0 c09ab805 dc6a3e80 c0416cea dc6a3e94 c045041a
[  372.399810]  c09b760f bf943894 bf943894 dc6a3fac c0450564 00000002 00000001 00000000
[  372.399810] Call Trace:
[  372.399810]  [<c0418939>] native_stop_other_cpus+0xa3/0xa8
[  372.399810]  [<c0416aea>] native_machine_shutdown+0x72/0x83
[  372.399810]  [<c0416c4e>] machine_shutdown+0xe/0x10
[  372.399810]  [<c0416cb0>] native_machine_restart+0x23/0x35
[  372.399810]  [<c0416cea>] machine_restart+0xe/0x10
[  372.399810]  [<c045041a>] kernel_restart+0x46/0x4b
[  372.399810]  [<c0450564>] sys_reboot+0x134/0x17f
[  372.399810]  [<c05263ac>] ? fsnotify+0x6b/0x366
[  372.399810]  [<c067d8da>] ? process_echoes+0x24d/0x24d
[  372.399810]  [<c04fc2a2>] ? fsnotify_modify+0x64/0x6c
[  372.399810]  [<c04fcf74>] ? do_readv_writev+0xe5/0xf2
[  372.399810]  [<c067b143>] ? tty_write+0x1f0/0x1f0
[  372.399810]  [<c04691f3>] ? lock_is_held+0x73/0x7b
[  372.399810]  [<c04fcfc8>] ? vfs_writev+0x47/0x4d
[  372.399810]  [<c085459d>] ? restore_all+0xf/0xf
[  372.399810]  [<c046c156>] ? trace_hardirqs_on_caller+0xfe/0x11f
[  372.399810]  [<c0854564>] syscall_call+0x7/0xb
[  372.399810] Code: ff b8 e9 c2 9a c0 e8 bb f4 ff ff e9 88 fd ff ff b8 a0 f7 b0 c0 8d 55 d4 e8 e1 fc 03 00 31 c0 83 c4 4c 5b 5f 5d c3 55 89 e5 50 9d <8d> 74 26 00 5d c3 55 89 e5 3e 8d 74 26 00 8b 0d 34 fd b0 c0 31 
[  372.399810] EIP: [<c0418781>] arch_local_irq_restore+0x5/0xb SS:ESP 0068:dc6a3e48
[  372.399810] ---[ end trace 5ccb8c88edde9344 ]---

Example #2:

[  223.502850] md: stopping all md devices.
[  224.525978] Restarting system.
[  224.526754] machine restart
[  224.527420] general protection fault: fffa [#1] SMP 
[  224.527420] Modules linked in: i2c_piix4 i2c_core ext2 virtio_net virtio_blk virtio_rng virtio_balloon sparse_keymap rfkill sym53c8xx scsi_transport_spi crc7 crc_ccitt crc_itu_t libcrc32c
[  224.527420] 
[  224.527420] Pid: 164, comm: reboot Tainted: G        W   3.0-0.rc7.git3.1.fc16.i686 #1 Bochs Bochs
[  224.527420] EIP: 0060:[<c0418781>] EFLAGS: 00000246 CPU: 0
[  224.527420] EIP is at arch_local_irq_restore+0x5/0xb
[  224.527420] EAX: 00000246 EBX: 00000246 ECX: 00000040 EDX: 00000040
[  224.527420] ESI: 00000001 EDI: c0b71580 EBP: dd077e48 ESP: dd077e48
[  224.527420]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[  224.527420] Process reboot (pid: 164, ti=dd076000 task=dd223fc0 task.ti=dd076000)
[  224.527420] Stack:
[  224.527420]  dd077e5c c0418939 00000000 01234567 28121969 dd077e64 c0416aea dd077e6c
[  224.527420]  c0416c4e dd077e78 c0416cb0 c09ab805 dd077e80 c0416cea dd077e94 c045041a
[  224.527420]  c09b760f bfcaeb34 bfcaeb34 dd077fac c0450564 00000002 00000001 00000000
[  224.527420] Call Trace:
[  224.527420]  [<c0418939>] native_stop_other_cpus+0xa3/0xa8
[  224.527420]  [<c0416aea>] native_machine_shutdown+0x72/0x83
[  224.527420]  [<c0416c4e>] machine_shutdown+0xe/0x10
[  224.527420]  [<c0416cb0>] native_machine_restart+0x23/0x35
[  224.527420]  [<c0416cea>] machine_restart+0xe/0x10
[  224.527420]  [<c045041a>] kernel_restart+0x46/0x4b
[  224.527420]  [<c0450564>] sys_reboot+0x134/0x17f
[  224.527420]  [<c05263ac>] ? fsnotify+0x6b/0x366
[  224.527420]  [<c046c156>] ? trace_hardirqs_on_caller+0xfe/0x11f
[  224.527420]  [<c04fc2a2>] ? fsnotify_modify+0x64/0x6c
[  224.527420]  [<c04fcf74>] ? do_readv_writev+0xe5/0xf2
[  224.527420]  [<c067b143>] ? tty_write+0x1f0/0x1f0
[  224.527420]  [<c04691f3>] ? lock_is_held+0x73/0x7b
[  224.527420]  [<c04fcfc8>] ? vfs_writev+0x47/0x4d
[  224.527420]  [<c085459d>] ? restore_all+0xf/0xf
[  224.527420]  [<c046c156>] ? trace_hardirqs_on_caller+0xfe/0x11f
[  224.527420]  [<c0854564>] syscall_call+0x7/0xb
[  224.527420] Code: ff b8 e9 c2 9a c0 e8 bb f4 ff ff e9 88 fd ff ff b8 a0 f7 b0 c0 8d 55 d4 e8 e1 fc 03 00 31 c0 83 c4 4c 5b 5f 5d c3 55 89 e5 50 9d <8d> 74 26 00 5d c3 55 89 e5 3e 8d 74 26 00 8b 0d 34 fd b0 c0 31 
[  224.527420] EIP: [<c0418781>] arch_local_irq_restore+0x5/0xb SS:ESP 0068:dd077e48
[  224.527420] ---[ end trace 4cf54e2322ab7972 ]---

Comment 1 Fedora End Of Life 2013-04-03 15:37:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 2 Justin M. Forbes 2013-04-05 19:46:01 UTC
Is this still an issue with the 3.9 kernels in F19?

Comment 3 Justin M. Forbes 2013-04-23 17:27:21 UTC
This bug is being closed with INSUFFICIENT_DATA as there has not been a
response in 2 weeks.  If you are still experiencing this issue,
please reopen and attach the relevant data from the latest kernel you are
running and any data that might have been requested previously.


Note You need to log in before you can comment on or make changes to this bug.