Public bug reported:

If the number of blocks in a disk is greater than the maximum size of a
signed 32-bit integer then growpart will fail in the initramfs.

This is because the 'test' function in busybox gives the incorrect
answer with large numbers. Since the busybox test function works fine
under 'libc' when a server is booted, it looks like the root cause is a
32-bit overflow fault in klibc.

To check for the problem, boot a server with a 'break init' option to
force the initramfs to drop to a shell.

(initramfs) [ 2117696 -gt 2147483647 ]
(initramfs) echo $?
1
(initramfs) [ 2117696 -gt 2147483648 ]
(initramfs) echo $?
0

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cloud-initramfs-growroot (not installed)
ProcVersionSignature: Ubuntu 3.0.0-16.29-generic 3.0.20
Uname: Linux 3.0.0-16-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
CheckboxSubmission: 55cafa5b8b82ed224cc59d444cb1fc25
CheckboxSystem: 3e53d3ea5811723345f19eff5070f9ab
Date: Fri Mar 16 11:05:07 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: cloud-initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cloud-initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/956870

Title:
  growpart tickles overflow bug in klibc with big disks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/956870/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to