Bug#624263: grub-pc: stuck in grub-mkdevicemap at configure time

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Thu Feb 2 23:28:29 UTC 2012


tag 624263 fixed-upstream
thanks

On 29.07.2011 19:06, Erik Martin-Dorel wrote:
> Package: grub-pc
> Version: 1.99-9
> Severity: serious
>
>
> FYI, I can reproduce this bug on my machine under Debian unstable.
>
> To be more precise, aptitude freezes while configuring grub-pc 1.99-9,
> because `/var/lib/dpkg/info/grub-pc.postinst` launches
> `grub-mkdevicemap -m -` that becomes a "zombie" (to borrow a term used
> in <https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/518026>).
>
> Best regards,
>
> Erik
>
>
> -- Package-specific info:
> <#part type="text/plain" disposition=attachment description="Bug 
> script output">
>
> *********************** BEGIN /proc/mounts
> /dev/disk/by-uuid/8e6113be-e650-4149-8088-44b0bdd1d2dc / ext3 
> rw,relatime,errors=remount-ro,commit=5,barrier=0,data=ordered 0 0
> /dev/sda6 /home ext3 
> rw,relatime,errors=continue,commit=5,barrier=0,data=ordered 0 0
> /dev/sda2 /windows vfat 
> rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro 
> 0 0
> *********************** END /proc/mounts
>
> *********************** BEGIN /boot/grub/device.map
> (hd0)    /dev/disk/by-id/ata-ST31000528AS_9VP34NJM
> *********************** 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 ext2
> set root='(hd0,msdos1)'
> search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
> if loadfont /usr/share/grub/unicode.pf2 ; then
>   set gfxmode=640x480
>   load_video
>   insmod gfxterm
>   insmod part_msdos
>   insmod ext2
>   set root='(hd0,msdos1)'
>   search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>   set locale_dir=($root)/boot/grub/locale
>   set lang=fr_FR
>   insmod gettext
> fi
> terminal_output gfxterm
> set timeout=5
> ### END /etc/grub.d/00_header ###
>
> ### BEGIN /etc/grub.d/05_debian_theme ###
> insmod part_msdos
> insmod ext2
> set root='(hd0,msdos1)'
> search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
> insmod png
> if background_image /usr/share/images/desktop-base/spacefun-grub.png; 
> then
>   set color_normal=light-gray/black
>   set color_highlight=white/black
> else
>   set menu_color_normal=cyan/blue
>   set menu_color_highlight=white/blue
> fi
> ### END /etc/grub.d/05_debian_theme ###
>
> ### BEGIN /etc/grub.d/10_linux ###
> menuentry 'Debian GNU/Linux, avec Linux 3.0.0-1-amd64' --class debian 
> --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 3.0.0-1-amd64 ...'
>     linux    /boot/vmlinuz-3.0.0-1-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro  quiet
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-3.0.0-1-amd64
> }
> menuentry 'Debian GNU/Linux, avec Linux 3.0.0-1-amd64 (mode de 
> dépannage)' --class debian --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 3.0.0-1-amd64 ...'
>     linux    /boot/vmlinuz-3.0.0-1-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro single
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-3.0.0-1-amd64
> }
> menuentry 'Debian GNU/Linux, avec Linux 2.6.39-2-amd64' --class debian 
> --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 2.6.39-2-amd64 ...'
>     linux    /boot/vmlinuz-2.6.39-2-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro  quiet
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-2.6.39-2-amd64
> }
> menuentry 'Debian GNU/Linux, avec Linux 2.6.39-2-amd64 (mode de 
> dépannage)' --class debian --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 2.6.39-2-amd64 ...'
>     linux    /boot/vmlinuz-2.6.39-2-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro single
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-2.6.39-2-amd64
> }
> menuentry 'Debian GNU/Linux, avec Linux 2.6.39-1-amd64' --class debian 
> --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 2.6.39-1-amd64 ...'
>     linux    /boot/vmlinuz-2.6.39-1-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro  quiet
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-2.6.39-1-amd64
> }
> menuentry 'Debian GNU/Linux, avec Linux 2.6.39-1-amd64 (mode de 
> dépannage)' --class debian --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 2.6.39-1-amd64 ...'
>     linux    /boot/vmlinuz-2.6.39-1-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro single
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-2.6.39-1-amd64
> }
> menuentry 'Debian GNU/Linux, avec Linux 2.6.38-2-amd64' --class debian 
> --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 2.6.38-2-amd64 ...'
>     linux    /boot/vmlinuz-2.6.38-2-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro  quiet
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-2.6.38-2-amd64
> }
> menuentry 'Debian GNU/Linux, avec Linux 2.6.38-2-amd64 (mode de 
> dépannage)' --class debian --class gnu-linux --class gnu --class os {
>     insmod gzio
>     insmod part_msdos
>     insmod ext2
>     set root='(hd0,msdos1)'
>     search --no-floppy --fs-uuid --set=root 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc
>     echo    'Chargement de Linux 2.6.38-2-amd64 ...'
>     linux    /boot/vmlinuz-2.6.38-2-amd64 
> root=UUID=8e6113be-e650-4149-8088-44b0bdd1d2dc ro single
>     echo    'Chargement du disque mémoire initial ...'
>     initrd    /boot/initrd.img-2.6.38-2-amd64
> }
> ### END /etc/grub.d/10_linux ###
>
> ### BEGIN /etc/grub.d/20_linux_xen ###
> ### END /etc/grub.d/20_linux_xen ###
>
> ### 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
>
> *********************** BEGIN /proc/mdstat
> cat: /proc/mdstat: Aucun fichier ou dossier de ce type
> *********************** END /proc/mdstat
>
> *********************** BEGIN /dev/disk/by-id
> total 0
> lrwxrwxrwx 1 root root  9 29 juil. 17:26 
> ata-hp_DVD-RAM_GH40L_B9KCBP5213787 -> ../../sr0
> lrwxrwxrwx 1 root root  9 29 juil. 17:26 ata-ST31000528AS_9VP34NJM -> 
> ../../sda
> lrwxrwxrwx 1 root root 10 29 juil. 17:27 
> ata-ST31000528AS_9VP34NJM-part1 -> ../../sda1
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 
> ata-ST31000528AS_9VP34NJM-part2 -> ../../sda2
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 
> ata-ST31000528AS_9VP34NJM-part3 -> ../../sda3
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 
> ata-ST31000528AS_9VP34NJM-part5 -> ../../sda5
> lrwxrwxrwx 1 root root 10 29 juil. 17:29 
> ata-ST31000528AS_9VP34NJM-part6 -> ../../sda6
> lrwxrwxrwx 1 root root  9 29 juil. 17:26 
> scsi-SATA_ST31000528AS_9VP34NJM -> ../../sda
> lrwxrwxrwx 1 root root 10 29 juil. 17:27 
> scsi-SATA_ST31000528AS_9VP34NJM-part1 -> ../../sda1
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 
> scsi-SATA_ST31000528AS_9VP34NJM-part2 -> ../../sda2
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 
> scsi-SATA_ST31000528AS_9VP34NJM-part3 -> ../../sda3
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 
> scsi-SATA_ST31000528AS_9VP34NJM-part5 -> ../../sda5
> lrwxrwxrwx 1 root root 10 29 juil. 17:29 
> scsi-SATA_ST31000528AS_9VP34NJM-part6 -> ../../sda6
> lrwxrwxrwx 1 root root  9 29 juil. 17:26 wwn-0x5000c5001a10fb98 -> 
> ../../sda
> lrwxrwxrwx 1 root root 10 29 juil. 17:27 wwn-0x5000c5001a10fb98-part1 
> -> ../../sda1
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 wwn-0x5000c5001a10fb98-part2 
> -> ../../sda2
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 wwn-0x5000c5001a10fb98-part3 
> -> ../../sda3
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 wwn-0x5000c5001a10fb98-part5 
> -> ../../sda5
> lrwxrwxrwx 1 root root 10 29 juil. 17:29 wwn-0x5000c5001a10fb98-part6 
> -> ../../sda6
> lrwxrwxrwx 1 root root  9 29 juil. 17:26 wwn-0x5001480000000000 -> 
> ../../sr0
> *********************** END /dev/disk/by-id
>
> *********************** BEGIN /dev/disk/by-uuid
> total 0
> lrwxrwxrwx 1 root root 10 29 juil. 17:29 
> 0c2621c3-70d4-4f73-b771-dfdddb47628f -> ../../sda6
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 28C3-B2F0 -> ../../sda2
> lrwxrwxrwx 1 root root 10 29 juil. 17:26 
> 8426ebfd-db4f-4c14-9d23-a2f8433216eb -> ../../sda5
> lrwxrwxrwx 1 root root 10 29 juil. 17:27 
> 8e6113be-e650-4149-8088-44b0bdd1d2dc -> ../../sda1
> *********************** END /dev/disk/by-uuid
> <#/part>
>
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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.40      Debian configuration 
> management sy
> ii  grub-common                  1.99-9      GRand Unified Bootloader 
> (common f
> ii  grub-pc-bin                  1.99-9      GRand Unified Bootloader, 
> version
> ii  grub2-common                 1.99-9      GRand Unified Bootloader 
> (common f
> ii  ucf                          3.0025+nmu2 Update Configuration 
> File: preserv
>
> grub-pc recommends no packages.
>
> grub-pc suggests no packages.
>
> -- 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-ST31000528AS_9VP34NJM
>   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:
> * grub2/linux_cmdline_default: quiet
>   grub-pc/mixed_legacy_and_grub2: true
>
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grub-devel
>


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko






More information about the Pkg-grub-devel mailing list