RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 813271 - intermittent appliance boot failures (divide_error)
Summary: intermittent appliance boot failures (divide_error)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 813413 814231 1005011
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-17 11:32 UTC by Pádraig Brady
Modified: 2016-01-04 14:43 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 813413 (view as bug list)
Environment:
Last Closed: 2012-11-26 23:37:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
guestmount debug output (14.57 KB, text/plain)
2012-04-17 11:34 UTC, Pádraig Brady
no flags Details
guestfish messages from failed boot (132.58 KB, text/plain)
2012-04-17 17:06 UTC, Richard W.M. Jones
no flags Details

Description Pádraig Brady 2012-04-17 11:32:36 UTC
libguestfs-1.16.18-2.el6.x86_64

Easy to reproduce here.
Just boot a VM with:

http://download.devel.redhat.com/rel-eng/RHEL-6-Alpha-2.0/6.3/Live/RHEL6.3-20120329.0-Workstation-x86_64-Live.iso
      https://bugzilla.redhat.com/show_bug.cgi?id=808935 # to fix anaconda bug
And these repos:
    http://download.devel.redhat.com/rel-eng/RHEL-6-Alpha-2.0/6.3/Workstation/x86_64/os/
    http://people.redhat.com/~rjones/libguestfs-RHEL-6.3-preview/

truncate -s 100MB file.t
mkfs.ext2 -F file.t
while true; do date; LIBGUESTFS_DEBUG=1 guestmount -m /dev/sda -a file.t t >>gmount.out 2>&1 && { cd t; cd ..; umount t; } || echo "mount failed"; done

gmount.out is attached

Comment 1 Pádraig Brady 2012-04-17 11:34:16 UTC
Created attachment 578003 [details]
guestmount debug output

Comment 3 Richard W.M. Jones 2012-04-17 12:13:54 UTC
Does this fail?

while guestfish -a /dev/null run -v > /tmp/fish.out 2>&1 ; do echo -n . ; done

Comment 4 Richard W.M. Jones 2012-04-17 14:38:09 UTC
(In reply to comment #3)
> Does this fail?
> 
> while guestfish -a /dev/null run -v > /tmp/fish.out 2>&1 ; do echo -n . ; done

In answer, Pádraig tried it and yes it does fail after a few
iterations ("fewer than 6" according to Pádraig).

I tried it on 6.2 (but on baremetal) and it ran for hundreds of
iterations, so this could be a kernel regression, but I still
need to check I can reproduce the issue on 6.3 beta 1 + baremetal.

Comment 5 Richard W.M. Jones 2012-04-17 17:06:08 UTC
Created attachment 578109 [details]
guestfish messages from failed boot

Seems to only happen in a nested VM, and rather easy to trigger.

libguestfs-tools-c-1.16.18-2.el6.x86_64
qemu-kvm-0.12.1.2-2.272.el6.x86_64
kernel 2.6.32-262.el6.x86_64

Comment 6 RHEL Program Management 2012-05-03 05:16:02 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 7 Richard W.M. Jones 2012-09-28 12:33:30 UTC
Still seeing this one with:
kernel-2.6.32-309.el6.x86_64
qemu-kvm-0.12.1.2-2.316.el6.x86_64
although it took me 200 iterations to hit it.

I'm going to try adding noapic to the command line.

Comment 8 Richard W.M. Jones 2012-09-28 13:13:29 UTC
Crashes with noapic too, in a different way!

Comment 9 Richard W.M. Jones 2012-10-11 09:15:33 UTC
As I don't have a way to fix this, or even to reproduce
it reliably, and the evidence points to an obscure timing
issue within qemu, I'm afraid all I can do is defer this
to RHEL 6.5 and reassign it to qemu.

Comment 10 Dor Laor 2012-11-13 16:49:25 UTC
Is that important enough not to close it?

Comment 11 Ademar Reis 2012-11-26 23:37:30 UTC
(In reply to comment #10)
> Is that important enough not to close it?

+1

I'm closing it, please reopen if you believe it's actually important and can be reproduced in a non-nested environment.


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