Ubuntu

package linux-image-2.6.32-23-server failed to install: grub-probe throws out-of-memory error

Reported by Tristan Moody on 2010-07-02
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned
linux (Ubuntu)
Undecided
Unassigned

Bug Description

When trying to install new kernel:
grub-probe throws "out of memory" error, causing update-grub to fail with exit status 1.

Apt transcript follows:

Log started: 2010-07-02 14:38:12
Setting up linux-image-2.6.32-23-server (2.6.32-23.37) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.32-23-server
Running postinst hook script /usr/sbin/update-grub.
Generating grub.cfg ...
/usr/sbin/grub-probe: error: out of memory.
User postinst hook script [/usr/sbin/update-grub] exited with value 1
dpkg: error processing linux-image-2.6.32-23-server (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-server:
 linux-image-server depends on linux-image-2.6.32-23-server; however:
  Package linux-image-2.6.32-23-server is not configured yet.
dpkg: error processing linux-image-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-server:
 linux-server depends on linux-image-server (= 2.6.32.23.24); however:
  Package linux-image-server is not configured yet.
dpkg: error processing linux-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.32-23-server
 linux-image-server
 linux-server
Log ended: 2010-07-02 14:38:30

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-23-server 2.6.32-23.37
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.36-server 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-server x86_64
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
Date: Fri Jul 2 14:30:48 2010
InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427)
Lsusb:
 Bus 002 Device 003: ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard
 Bus 002 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
PciMultimedia:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-server root=UUID=1bff9174-0c2d-4050-94cb-c765ebe896a6 ro quiet
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux
dmi.bios.date: 07/26/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080010
dmi.board.name: TYAN High-End Dual AMD Opteron, S2882
dmi.board.vendor: TYAN
dmi.board.version: To be filled by O.E.M.
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080010:bd07/26/2006:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnTYAN:rnTYANHigh-EndDualAMDOpteron,S2882:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Tristan Moody (tmoody) wrote :
Tristan Moody (tmoody) wrote :
Download full text (3.3 KiB)

Here's a verbose rundown of the call that fails:

tristan@head:~$ sudo grub-probe -v --device /dev/md0 --target=fs_uuid
grub-probe: info: cannot open `/boot/grub/device.map'.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd2 is 586072368.
grub-probe: info: the size of hd2 is 586072368.
grub-probe: info: the size of hd2 is 586072368.
grub-probe: info: the size of hd3 is 586072368.
grub-probe: info: the size of hd3 is 586072368.
grub-probe: info: the size of hd3 is 586072368.
grub-probe: info: the size of hd4 is 586072368.
grub-probe: info: the size of hd4 is 586072368.
grub-probe: info: the size of hd4 is 586072368.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd6 is 586072368.
grub-probe: info: the size of hd6 is 586072368.
grub-probe: info: the size of hd6 is 586072368.
grub-probe: info: the size of hd7 is 586072368.
grub-probe: info: the size of hd7 is 586072368.
grub-probe: info: the size of hd7 is 586072368.
grub-probe: info: the size of hd8 is 586072368.
grub-probe: info: the size of hd8 is 586072368.
grub-probe: info: the size of hd8 is 586072368.
grub-probe: info: the size of hd9 is 586072368.
grub-probe: info: the size of hd9 is 586072368.
grub-probe: info: the size of hd9 is 586072368.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd0 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd1 is 156301488.
grub-probe: info: the size of hd2 is 586072368.
grub-probe: info: the size of hd2 is 586072368.
grub-probe: info: the size of hd2 is 586072368.
grub-probe: info: the size of hd3 is 586072368.
grub-probe: info: the size of hd3 is 586072368.
grub-probe: info: the size of hd3 is 586072368.
grub-probe: info: the size of hd4 is 586072368.
grub-probe: info: the size of hd4 is 586072368.
grub-probe: info: the size of hd4 is 586072368.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd5 is 625142448.
grub-probe: info: the size of hd6 is 586072368.
grub-probe: info: the size of hd6 is 586072368.
grub-probe: info: the size of hd6 is 586072368.
grub-probe: info: the size of hd7 is 586072368.
grub-probe: info: the size of hd7 is 586072368.
grub-probe: info: the size of hd7 is 586072368.
grub-probe: info: the size of hd8 is 586072368.
grub-probe: info: the size of hd8 is 586072368.
grub-probe: info: the size of hd8 is 586072368.
g...

Read more...

Tristan Moody (tmoody) on 2010-07-02
summary: - package linux-image-2.6.32-23-server failed to install/uppgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ package linux-image-2.6.32-23-server failed to install: grub-probe
+ throws out-of-memory error
Tristan Moody (tmoody) wrote :

More verbose, using -vv

-----snip----
/build/buildd/grub2-1.98/kern/disk.c:245: Opening `hd9'...
grub-probe: info: the size of hd9 is 586072368.
/build/buildd/grub2-1.98/kern/disk.c:333: Closing `hd9'.
/build/buildd/grub2-1.98/kern/disk.c:245: Opening `hd9'...
grub-probe: info: the size of hd9 is 586072368.
/build/buildd/grub2-1.98/kern/partition.c:106: Detecting part_gpt...
/build/buildd/grub2-1.98/kern/partition.c:112: part_gpt detection failed.
/build/buildd/grub2-1.98/kern/partition.c:106: Detecting part_sun...
/build/buildd/grub2-1.98/kern/partition.c:112: part_sun detection failed.
/build/buildd/grub2-1.98/kern/partition.c:106: Detecting part_apple...
/build/buildd/grub2-1.98/partmap/apple.c:126: bad magic (found 0xfab8; wanted 0x4552
/build/buildd/grub2-1.98/kern/partition.c:112: part_apple detection failed.
/build/buildd/grub2-1.98/kern/partition.c:106: Detecting part_msdos...
/build/buildd/grub2-1.98/partmap/msdos.c:161: partition 0: flag 0x0, type 0xfd, start 0x800, len 0x22eeb800
/build/buildd/grub2-1.98/kern/partition.c:117: part_msdos detection succeeded.
/build/buildd/grub2-1.98/partmap/msdos.c:161: partition 0: flag 0x0, type 0xfd, start 0x800, len 0x22eeb800
/build/buildd/grub2-1.98/partmap/msdos.c:161: partition 1: flag 0x0, type 0x0, start 0x0, len 0x0
/build/buildd/grub2-1.98/partmap/msdos.c:161: partition 2: flag 0x0, type 0x0, start 0x0, len 0x0
/build/buildd/grub2-1.98/partmap/msdos.c:161: partition 3: flag 0x0, type 0x0, start 0x0, len 0x0
/build/buildd/grub2-1.98/kern/disk.c:333: Closing `hd9'.
/build/buildd/grub2-1.98/kern/disk.c:245: Opening `hd9,1'...
grub-probe: info: the size of hd9 is 586072368.
/build/buildd/grub2-1.98/partmap/apple.c:126: bad magic (found 0xfab8; wanted 0x4552
/build/buildd/grub2-1.98/partmap/msdos.c:161: partition 0: flag 0x0, type 0xfd, start 0x800, len 0x22eeb800
/build/buildd/grub2-1.98/util/hostdisk.c:514: opening the device `/dev/sdj1' in open_device()
grub-probe: error: out of memory.

Tristan Moody (tmoody) wrote :

Problem appears to have been resolved with new libc6 update.

Surbhi Palande (csurbhi) on 2010-08-06
Changed in linux (Ubuntu):
status: New → Incomplete
status: Incomplete → New
Brad Figg (brad-figg) on 2011-04-06
Changed in linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers