[Bug 956870] Re: growpart tickles overflow bug in klibc with big disks
Neil Wilson
neil at aldur.co.uk
Fri Mar 16 12:11:56 UTC 2012
** No longer affects: klibc (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to busybox in Ubuntu.
https://bugs.launchpad.net/bugs/956870
Title:
growpart tickles overflow bug in klibc with big disks
Status in “busybox” package in Ubuntu:
New
Status in “cloud-initramfs-tools” package in Ubuntu:
New
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/956870/+subscriptions
More information about the foundations-bugs
mailing list