Kernel divide by zero panic in sched.c:update_sd_lb_stats

Bug #669096 reported by Brandon Black on 2010-10-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-ec2 (Ubuntu)

Bug Description

host was an m2.2xlarge instance in us-east-1 (with EBS root and data volumes) running stock lucid and serving primarily as a MySQL server.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-308-ec2 2.6.32-308.16
ProcVersionSignature: Ubuntu 2.6.32-308.16-ec2
Uname: Linux 2.6.32-308-ec2 x86_64
Architecture: amd64
Date: Sun Oct 31 09:58:32 2010
 PATH=(custom, no user)
SourcePackage: linux-ec2

Brandon Black (blblack) wrote :
Brandon Black (blblack) wrote :

The part we crashed in is the code that calculates cpu scheduler stats, with a divide by zero. I've done some searching around on and, and I don't see where any similar existing problem has been caught and fixed yet upstream through 2.6.32, but it could be non-obvious. Looking at linux_2.6.32-25.45.diff.gz from the relevant apt source for -virtual, I see a lot of patches to sched.c, some of which introduce new division operations. It wouldn't surprise me if the bug was in there somewhere.

Brandon Black (blblack) wrote :

This looks very likely to be related upstream:

Brandon Black (blblack) wrote :

Ah, and from there I see a link to a different LP bug which has more details as well, should probably close this as a dupe of that one:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.