Bug#619458: grub-setup fails to run properly

Adam Majer adamm at zombino.com
Thu Mar 24 06:32:19 UTC 2011


Package: grub-pc
Version: 1.99~rc1-4
Severity: important

I'm *assuming* that grub-setup works for some people, but it's just
failing for me.

top - 01:26:06 up 11 days, 13:46, 10 users,  load average: 1.21, 1.26,
1.23
Tasks: 149 total,   2 running, 146 sleeping,   0 stopped,   1 zombie
Cpu(s):  6.4%us,  1.3%sy,  0.0%ni, 91.7%id,  0.5%wa,  0.0%hi,  0.0%si,
0.0%st
Mem:   3932096k total,  3901684k used,    30412k free,   458324k
buffers
Swap:   835304k total,    78296k used,   757008k free,   164424k
cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                       
30843 root      20   0 2213m 2.1g  844 R   68 57.0  11:03.32
grub-setup                     


So, it allocates 2G ram right off the bat. I'm quite certain it
doesn't require that much memory and then operate on it for extended
amount of time...

- Adam


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/8157b2c1-2cfa-415b-9fbe-729df429f239 / xfs rw,relatime,attr2,noquota 0 0
/dev/sda5 /srv xfs rw,relatime,noquota 0 0
/dev/md0 /home ext3 rw,relatime,errors=continue,barrier=0,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-ST3320620AS_5QF42TMR
(hd1)	/dev/disk/by-id/ata-WDC_WD2000JD-22HBB0_WD-WCAL72085951
(hd2)	/dev/disk/by-id/ata-WDC_WD2500JD-00HBB0_WD-WCAL73250662
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod xfs
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod xfs
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
set locale_dir=($root)/boot/grub/locale
set lang=en_CA
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.38-rc1' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.38-rc1 ...'
	linux	/boot/vmlinuz-2.6.38-rc1 root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-rc1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-rc1 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.38-rc1 ...'
	linux	/boot/vmlinuz-2.6.38-rc1 root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.38-rc1
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37+' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.37+ ...'
	linux	/boot/vmlinuz-2.6.37+ root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.37+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.37+ ...'
	linux	/boot/vmlinuz-2.6.37+ root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.37+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.37 ...'
	linux	/boot/vmlinuz-2.6.37 root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.37
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.37 ...'
	linux	/boot/vmlinuz-2.6.37 root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.37
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc1+' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.37-rc1+ ...'
	linux	/boot/vmlinuz-2.6.37-rc1+ root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.37-rc1+
}
menuentry 'Debian GNU/Linux, with Linux 2.6.37-rc1+ (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	echo	'Loading Linux 2.6.37-rc1+ ...'
	linux	/boot/vmlinuz-2.6.37-rc1+ root=UUID=8157b2c1-2cfa-415b-9fbe-729df429f239 ro single 
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-2.6.37-rc1+
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod xfs
	set root='(hd1,msdos1)'
	search --no-floppy --fs-uuid --set=root 8157b2c1-2cfa-415b-9fbe-729df429f239
	multiboot	/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]        1.5.38      Debian configuration management sy
iu  grub-common                  1.99~rc1-4  GRand Unified Bootloader, version 
ii  libc6                        2.11.2-13   Embedded GNU C Library: Shared lib
iu  libdevmapper1.02.1           2:1.02.63-2 The Linux Kernel Device Mapper use
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub-pc/install_devices_empty: false
  grub-pc/install_devices_failed: false
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
* grub-pc/install_devices: /dev/disk/by-id/ata-ST3320620AS_5QF42TMR, /dev/disk/by-id/ata-WDC_WD2000JD-22HBB0_WD-WCAL72085951, /dev/disk/by-id/ata-WDC_WD2500JD-00HBB0_WD-WCAL73250662
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub-pc/partition_description:
* grub-pc/install_devices_disks_changed: /dev/disk/by-id/ata-ST3320620AS_5QF42TMR, /dev/disk/by-id/ata-WDC_WD2000JD-22HBB0_WD-WCAL72085951, /dev/disk/by-id/ata-WDC_WD2500JD-00HBB0_WD-WCAL73250662
* grub2/linux_cmdline_default: quiet
  grub-pc/mixed_legacy_and_grub2: true





More information about the Pkg-grub-devel mailing list