Bug 1337969

Summary: RHELSA kernel hangs in qemu when running 'sgdisk /dev/sda -U R'
Product: Red Hat Enterprise Linux 7 Reporter: Richard W.M. Jones <rjones>
Component: kernel-aarch64Assignee: Virtualization Maintenance <virt-maint>
kernel-aarch64 sub component: Virtualization QA Contact: Virtualization Bugs <virt-bugs>
Status: CLOSED NOTABUG Docs Contact:
Severity: unspecified    
Priority: unspecified    
Version: 7.3   
Target Milestone: rc   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-23 21:41:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 910269    
Attachments:
Description Flags
output from reproducer command none

Description Richard W.M. Jones 2016-05-20 15:04:07 UTC
Created attachment 1159979 [details]
output from reproducer command

Description of problem:

The RHELSA kernel hangs when running the command `sgdisk /dev/sda -U R'
apparently when rereading the partition table.  Note I am running
the kernel under qemu.

A one line reproducer for this is:

$ guestfish -N disk part-disk /dev/sda gpt : debug sh "sgdisk /dev/sda -U R" -v -x

The output from this command is attached.

Version-Release number of selected component (if applicable):

kernel-4.5.0-0.38.el7.aarch64

How reproducible:

100%

Steps to Reproduce:
1. See one line reproducer above.

Comment 2 Tom Coughlan 2016-05-23 21:29:00 UTC
I tried the command on bare metal and it worked as expected. 
Transferring this to the Virt. team.

Comment 3 Richard W.M. Jones 2016-05-23 21:41:07 UTC
Hmm, weirdly now I cannot reproduce it.  Only thing I did was reboot ...