Debian Bug report logs - #760148
grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load

version graph

Package: grub-common; Maintainer for grub-common is GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>; Source for grub-common is src:grub2 (PTS, buildd, popcon).

Reported by: Johannes Rohr <jorohr@gmail.com>

Date: Mon, 1 Sep 2014 10:15:06 UTC

Severity: important

Tags: d-i

Found in version grub2/2.02~beta2-11

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Mon, 01 Sep 2014 10:15:11 GMT) (full text, mbox, link).


Acknowledgement sent to Johannes Rohr <jorohr@gmail.com>:
New Bug report received and forwarded. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Mon, 01 Sep 2014 10:15:11 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Johannes Rohr <jorohr@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Mon, 01 Sep 2014 12:08:15 +0200
Package: grub-common
Version: 2.02~beta2-11
Severity: important
Tags: d-i

I have an Arch Linux install on /dev/sda9. 

When OS Prober is run, grub-mount /dev/sda9 /var/lib/os-prober/mount just hangs forever, causing 100% CPU load. There are no issues with other partitions, it seems.

Here are my partitions:

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0a39d74a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048     4196351     2097152    7  HPFS/NTFS/exFAT
/dev/sda2   *     4196352   339740671   167772160    7  HPFS/NTFS/exFAT
/dev/sda3       339740672   371197951    15728640    7  HPFS/NTFS/exFAT
/dev/sda4       371197952  1953523711   791162880    5  Extended
/dev/sda5       371200000   528486399    78643200   83  Linux
/dev/sda6       528488448   545265663     8388608   82  Linux swap / Solaris
/dev/sda7       545267712  1803558911   629145600   83  Linux
/dev/sda8      1803560960  1804584959      512000   83  Linux
/dev/sda9      1804587008  1953523711    74468352   83  Linux

Here is the output of dumpe2fs:

dumpe2fs 1.42.11 (09-Jul-2014)
Filesystem volume name:   Arch Linux
Last mounted on:          /
Filesystem UUID:          0c69c8b7-7766-4d34-9c7a-cdc3a94417f0
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              4661248
Block count:              18617088
Reserved block count:     930854
Free blocks:              8160164
Free inodes:              4312299
First block:              0
Block size:               4096
Fragment size:            4096
Reserved GDT blocks:      1019
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         8192
Inode blocks per group:   512
Flex block group size:    16
Filesystem created:       Sat Apr  5 09:32:23 2014
Last mount time:          Mon Sep  1 11:31:31 2014
Last write time:          Mon Sep  1 11:31:31 2014
Mount count:              129
Maximum mount count:      -1
Last checked:             Sat Apr  5 09:32:23 2014
Check interval:           0 (<none>)
Lifetime writes:          756 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      4a30a179-9df6-4d65-a1a8-3bb6d185e9d6
Journal backup:           inode blocks
Journal features:         journal_incompat_revoke
Journal size:             128M
Journal length:           32768
Journal sequence:         0x000cabe7
Journal start:            0



-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/4ba7d001-60e1-4e5d-b936-0d74eda2e679 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/sda7 /home ext4 rw,relatime,data=ordered 0 0
*********************** END /proc/mounts

*********************** 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
  set have_grubenv=true
  load_env
fi
set default="${saved_entry}"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

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 {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  4ba7d001-60e1-4e5d-b936-0d74eda2e679
else
  search --no-floppy --fs-uuid --set=root 4ba7d001-60e1-4e5d-b936-0d74eda2e679
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  4ba7d001-60e1-4e5d-b936-0d74eda2e679
else
  search --no-floppy --fs-uuid --set=root 4ba7d001-60e1-4e5d-b936-0d74eda2e679
fi
insmod png
if background_image /usr/share/images/desktop-base/joy-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
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 ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4ba7d001-60e1-4e5d-b936-0d74eda2e679' {
	savedefault
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  4ba7d001-60e1-4e5d-b936-0d74eda2e679
	else
	  search --no-floppy --fs-uuid --set=root 4ba7d001-60e1-4e5d-b936-0d74eda2e679
	fi
	echo	'Linux 3.14-2-amd64 wird geladen …'
	linux	/boot/vmlinuz-3.14-2-amd64 root=UUID=4ba7d001-60e1-4e5d-b936-0d74eda2e679 ro  quiet acpi_osi=Linux
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-3.14-2-amd64
}
submenu 'Erweiterte Optionen für Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-4ba7d001-60e1-4e5d-b936-0d74eda2e679' {
	menuentry 'Debian GNU/Linux, mit Linux 3.14-2-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14-2-amd64-advanced-4ba7d001-60e1-4e5d-b936-0d74eda2e679' {
	savedefault
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  4ba7d001-60e1-4e5d-b936-0d74eda2e679
		else
		  search --no-floppy --fs-uuid --set=root 4ba7d001-60e1-4e5d-b936-0d74eda2e679
		fi
		echo	'Linux 3.14-2-amd64 wird geladen …'
		linux	/boot/vmlinuz-3.14-2-amd64 root=UUID=4ba7d001-60e1-4e5d-b936-0d74eda2e679 ro  quiet acpi_osi=Linux
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.14-2-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.14-2-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14-2-amd64-recovery-4ba7d001-60e1-4e5d-b936-0d74eda2e679' {
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5  4ba7d001-60e1-4e5d-b936-0d74eda2e679
		else
		  search --no-floppy --fs-uuid --set=root 4ba7d001-60e1-4e5d-b936-0d74eda2e679
		fi
		echo	'Linux 3.14-2-amd64 wird geladen …'
		linux	/boot/vmlinuz-3.14-2-amd64 root=UUID=4ba7d001-60e1-4e5d-b936-0d74eda2e679 ro single 
		echo	'Initiale Ramdisk wird geladen …'
		initrd	/boot/initrd.img-3.14-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/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

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

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### 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  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/42_other ###
# 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.
menuentry 'Fedora' {
	savedefault
	set root=(hd0,msdos8)
	configfile /grub2/grub.cfg
}
### END /etc/grub.d/42_other ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : 
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN LVM
*********************** END LVM

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC -> ../../sda
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep  1 11:58 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Sep  1 11:34 ata-HGST_HTS721010A9E630_JG40006PGSK4GC-part9 -> ../../sda9
lrwxrwxrwx 1 root root  9 Sep  1 11:34 ata-MATSHITADVD-RAM_UJ892_HG97_464508 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep  1 11:34 wwn-0x5000cca6accab4e4 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Sep  1 11:58 wwn-0x5000cca6accab4e4-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part8 -> ../../sda8
lrwxrwxrwx 1 root root 10 Sep  1 11:34 wwn-0x5000cca6accab4e4-part9 -> ../../sda9
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Sep  1 11:34 0c69c8b7-7766-4d34-9c7a-cdc3a94417f0 -> ../../sda9
lrwxrwxrwx 1 root root 10 Sep  1 11:34 24e194f9-8b51-43a2-a96c-519808dd692e -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep  1 11:34 25c98b3c-8683-488d-b00b-8b493104be79 -> ../../sda7
lrwxrwxrwx 1 root root 10 Sep  1 11:58 4ba7d001-60e1-4e5d-b936-0d74eda2e679 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep  1 11:34 64F23464F2343C9C -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep  1 11:34 CA300E62300E55BB -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep  1 11:34 FAD61F8FD61F4B71 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep  1 11:34 da418035-d8dd-4431-9172-37ab828b2613 -> ../../sda8
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  gettext-base        0.19.2-1
ii  libc6               2.19-9
ii  libdevmapper1.02.1  2:1.02.88-1
ii  libfreetype6        2.5.2-1.1
ii  libfuse2            2.9.3-15
ii  liblzma5            5.1.1alpha+20120614-2
ii  libpng12-0          1.2.50-2
ii  zlib1g              1:1.2.8.dfsg-1

Versions of packages grub-common recommends:
ii  os-prober  1.64

Versions of packages grub-common suggests:
ii  console-setup  1.111
ii  desktop-base   7.0.3
pn  grub-emu       <none>
pn  multiboot-doc  <none>
pn  xorriso        <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Fri, 05 Sep 2014 19:42:14 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 05 Sep 2014 19:42:14 GMT) (full text, mbox, link).


Message #10 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Johannes Rohr <jorohr@gmail.com>, 760148@bugs.debian.org
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Fri, 5 Sep 2014 20:41:34 +0100
On Mon, Sep 01, 2014 at 12:08:15PM +0200, Johannes Rohr wrote:
> I have an Arch Linux install on /dev/sda9. 
> 
> When OS Prober is run, grub-mount /dev/sda9 /var/lib/os-prober/mount
> just hangs forever, causing 100% CPU load. There are no issues with
> other partitions, it seems.

This will take a few debugging passes.  The first step is to narrow this
down to a few operations that will reproduce the hang without needing to
run all of os-prober.  Could you put "set -x" on the first line of
/usr/share/os-prober/common.sh, re-run os-prober, and attach the output?
Hopefully this will let us make a guess at a reduced test case.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Fri, 05 Sep 2014 21:39:08 GMT) (full text, mbox, link).


Acknowledgement sent to Johannes Rohr <jorohr@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Fri, 05 Sep 2014 21:39:08 GMT) (full text, mbox, link).


Message #15 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Johannes Rohr <jorohr@gmail.com>
To: Colin Watson <cjwatson@debian.org>
Cc: 760148@bugs.debian.org
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Fri, 5 Sep 2014 23:35:16 +0200
[Message part 1 (text/plain, inline)]
Here is the output:

+ debug running subtest /usr/lib/os-probes/mounted/30utility
+ log debug: running subtest /usr/lib/os-probes/mounted/30utility
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/30utility
+ [ -f /usr/lib/os-probes/mounted/30utility ]
+ [ -x /usr/lib/os-probes/mounted/30utility ]
+ /usr/lib/os-probes/mounted/30utility /dev/sda3 /var/lib/os-prober/mount
ntfs
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda3
+ mpoint=/var/lib/os-prober/mount
+ type=ntfs
+ debug /dev/sda3 is not a FAT partition: exiting
+ log debug: /dev/sda3 is not a FAT partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/30utility
+ progname=30utility
+ logger -t 30utility debug: /dev/sda3 is not a FAT partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/40lsb
+ log debug: running subtest /usr/lib/os-probes/mounted/40lsb
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/40lsb
+ [ -f /usr/lib/os-probes/mounted/40lsb ]
+ [ -x /usr/lib/os-probes/mounted/40lsb ]
+ /usr/lib/os-probes/mounted/40lsb /dev/sda3 /var/lib/os-prober/mount ntfs
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda3
+ dir=/var/lib/os-prober/mount
+ type=ntfs
+ file=/var/lib/os-prober/mount/etc/lsb-release
+ [ ! -e /var/lib/os-prober/mount/etc/lsb-release ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/70hurd
+ log debug: running subtest /usr/lib/os-probes/mounted/70hurd
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/70hurd
+ [ -f /usr/lib/os-probes/mounted/70hurd ]
+ [ -x /usr/lib/os-probes/mounted/70hurd ]
+ /usr/lib/os-probes/mounted/70hurd /dev/sda3 /var/lib/os-prober/mount ntfs
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda3
+ dir=/var/lib/os-prober/mount
+ type=ntfs
+ [ -e /var/lib/os-prober/mount/servers/exec ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/80minix
+ log debug: running subtest /usr/lib/os-probes/mounted/80minix
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/80minix
+ [ -f /usr/lib/os-probes/mounted/80minix ]
+ [ -x /usr/lib/os-probes/mounted/80minix ]
+ /usr/lib/os-probes/mounted/80minix /dev/sda3 /var/lib/os-prober/mount ntfs
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda3
+ dir=/var/lib/os-prober/mount
+ type=ntfs
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/83haiku
+ log debug: running subtest /usr/lib/os-probes/mounted/83haiku
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/83haiku
+ [ -f /usr/lib/os-probes/mounted/83haiku ]
+ [ -x /usr/lib/os-probes/mounted/83haiku ]
+ /usr/lib/os-probes/mounted/83haiku /dev/sda3 /var/lib/os-prober/mount ntfs
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda3
+ mpoint=/var/lib/os-prober/mount
+ type=ntfs
+ debug /dev/sda3 is not a BeFS partition: exiting
+ log debug: /dev/sda3 is not a BeFS partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/83haiku
+ progname=83haiku
+ logger -t 83haiku debug: /dev/sda3 is not a BeFS partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/90linux-distro
+ log debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/90linux-distro
+ [ -f /usr/lib/os-probes/mounted/90linux-distro ]
+ [ -x /usr/lib/os-probes/mounted/90linux-distro ]
+ /usr/lib/os-probes/mounted/90linux-distro /dev/sda3
/var/lib/os-prober/mount ntfs
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda3
+ dir=/var/lib/os-prober/mount
+ type=ntfs
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/90solaris
+ log debug: running subtest /usr/lib/os-probes/mounted/90solaris
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/90solaris
+ [ -f /usr/lib/os-probes/mounted/90solaris ]
+ [ -x /usr/lib/os-probes/mounted/90solaris ]
+ /usr/lib/os-probes/mounted/90solaris /dev/sda3 /var/lib/os-prober/mount
ntfs
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda3
+ dir=/var/lib/os-prober/mount
+ type=ntfs
+ [ -f /var/lib/os-prober/mount/etc/system ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/efi
+ log debug: running subtest /usr/lib/os-probes/mounted/efi
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/efi
+ [ -f /usr/lib/os-probes/mounted/efi ]
+ umount /var/lib/os-prober/mount
+ rmdir /var/lib/os-prober/mount
+ exit 1
+ [ -f /usr/lib/os-probes/init ]
+ [ -f /usr/lib/os-probes/mounted ]
+ mapdevfs /dev/sda4
+ readlink -f /dev/sda4
+ mapped=/dev/sda4
+ grep -q ^/dev/sda4 /tmp/os-prober.gPqBUg/raided-map
+ grep -q ^/dev/sda4  /tmp/os-prober.gPqBUg/swaps-map
+ grep -q ^/dev/sda4  /tmp/os-prober.gPqBUg/mounted-map
+ [ -f /usr/lib/os-probes/50mounted-tests ]
+ [ -x /usr/lib/os-probes/50mounted-tests ]
+ debug running /usr/lib/os-probes/50mounted-tests on /dev/sda4
+ log debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda4
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/50mounted-tests on
/dev/sda4
+ /usr/lib/os-probes/50mounted-tests /dev/sda4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ fs_type /dev/sda4
+ type blkid
+ blkid -o value -s TYPE /dev/sda4
+ types=
+ types=NOT-DETECTED
+ [ NOT-DETECTED = NOT-DETECTED ]
+ debug /dev/sda4 type not recognised; skipping
+ log debug: /dev/sda4 type not recognised; skipping
+ cache_progname
+ basename /usr/lib/os-probes/50mounted-tests
+ progname=50mounted-tests
+ logger -t 50mounted-tests debug: /dev/sda4 type not recognised; skipping
+ exit 0
+ debug os detected by /usr/lib/os-probes/50mounted-tests
+ log debug: os detected by /usr/lib/os-probes/50mounted-tests
+ cache_progname
+ logger -t os-prober debug: os detected by
/usr/lib/os-probes/50mounted-tests
+ break
+ mapdevfs /dev/sda5
+ readlink -f /dev/sda5
+ mapped=/dev/sda5
+ grep -q ^/dev/sda5 /tmp/os-prober.gPqBUg/raided-map
+ grep -q ^/dev/sda5  /tmp/os-prober.gPqBUg/swaps-map
+ grep -q ^/dev/sda5  /tmp/os-prober.gPqBUg/mounted-map
+ cut -d   -f 2
+ grep ^/dev/sda5  /tmp/os-prober.gPqBUg/mounted-map
+ head -n1
+ mpoint=/
+ unescape_mount /
+ printf %s /
+ sed s/\\011/    /g; s/\\012/\n/g; s/\\040/ /g; s/\\134/\\/g
+ mpoint=/
+ [ / != /target/boot ]
+ [ / != /target ]
+ [ / != / ]
+ mapdevfs /dev/sda6
+ readlink -f /dev/sda6
+ mapped=/dev/sda6
+ grep -q ^/dev/sda6 /tmp/os-prober.gPqBUg/raided-map
+ grep -q ^/dev/sda6  /tmp/os-prober.gPqBUg/swaps-map
+ debug /dev/sda6: is active swap
+ log debug: /dev/sda6: is active swap
+ cache_progname
+ logger -t os-prober debug: /dev/sda6: is active swap
+ continue
+ mapdevfs /dev/sda7
+ readlink -f /dev/sda7
+ mapped=/dev/sda7
+ grep -q ^/dev/sda7 /tmp/os-prober.gPqBUg/raided-map
+ grep -q ^/dev/sda7  /tmp/os-prober.gPqBUg/swaps-map
+ grep -q ^/dev/sda7  /tmp/os-prober.gPqBUg/mounted-map
+ grep+ head -n1
 ^/dev/sda7  /tmp/os-prober.gPqBUg/mounted-map
+ cut -d   -f 2
+ mpoint=/home
+ unescape_mount /home
+ sed s/\\011/    /g; s/\\012/\n/g; s/\\040/ /g; s/\\134/\\/g
+ printf %s /home
+ mpoint=/home
+ [ /home != /target/boot ]
+ [ /home != /target ]
+ [ /home != / ]
+ cut -d   -f 3
+ head -n1
+ grep ^/dev/sda7  /tmp/os-prober.gPqBUg/mounted-map
+ type=ext4
+ [ -f /usr/lib/os-probes/mounted/05efi ]
+ [ -x /usr/lib/os-probes/mounted/05efi ]
+ debug running /usr/lib/os-probes/mounted/05efi on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/05efi on mounted /dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/05efi on
mounted /dev/sda7
+ /usr/lib/os-probes/mounted/05efi /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ mpoint=/home
+ type=ext4
+ [ ! -d /sys/firmware/efi ]
+ debug Not on UEFI platform
+ log debug: Not on UEFI platform
+ cache_progname
+ basename /usr/lib/os-probes/mounted/05efi
+ progname=05efi
+ logger -t 05efi debug: Not on UEFI platform
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/10freedos ]
+ [ -x /usr/lib/os-probes/mounted/10freedos ]
+ debug running /usr/lib/os-probes/mounted/10freedos on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/10freedos on mounted
/dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/10freedos
on mounted /dev/sda7
+ /usr/lib/os-probes/mounted/10freedos /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ mpoint=/home
+ type=ext4
+ debug /dev/sda7 is not a FAT partition: exiting
+ log debug: /dev/sda7 is not a FAT partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/10freedos
+ progname=10freedos
+ logger -t 10freedos debug: /dev/sda7 is not a FAT partition: exiting
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/10qnx ]
+ [ -x /usr/lib/os-probes/mounted/10qnx ]
+ debug running /usr/lib/os-probes/mounted/10qnx on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/10qnx on mounted /dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/10qnx on
mounted /dev/sda7
+ /usr/lib/os-probes/mounted/10qnx /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ mpoint=/home
+ type=ext4
+ debug /dev/sda7 is not a QNX4 partition: exiting
+ log debug: /dev/sda7 is not a QNX4 partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/10qnx
+ progname=10qnx
+ logger -t 10qnx debug: /dev/sda7 is not a QNX4 partition: exiting
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/20macosx ]
+ [ -x /usr/lib/os-probes/mounted/20macosx ]
+ debug running /usr/lib/os-probes/mounted/20macosx on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/20macosx on mounted
/dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/20macosx on
mounted /dev/sda7
+ /usr/lib/os-probes/mounted/20macosx /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ mpoint=/home
+ type=ext4
+ debug /dev/sda7 is not an HFS+ partition: exiting
+ logger -t macosx-prober debug: /dev/sda7 is not an HFS+ partition: exiting
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/20microsoft ]
+ [ -x /usr/lib/os-probes/mounted/20microsoft ]
+ debug running /usr/lib/os-probes/mounted/20microsoft on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/20microsoft on mounted
/dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/20microsoft
on mounted /dev/sda7
+ /usr/lib/os-probes/mounted/20microsoft /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ mpoint=/home
+ type=ext4
+ [ -d /sys/firmware/efi ]
+ debug /dev/sda7 is not a MS partition: exiting
+ log debug: /dev/sda7 is not a MS partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/20microsoft
+ progname=20microsoft
+ logger -t 20microsoft debug: /dev/sda7 is not a MS partition: exiting
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/30utility ]
+ [ -x /usr/lib/os-probes/mounted/30utility ]
+ debug running /usr/lib/os-probes/mounted/30utility on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/30utility on mounted
/dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/30utility
on mounted /dev/sda7
+ /usr/lib/os-probes/mounted/30utility /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ mpoint=/home
+ type=ext4
+ debug /dev/sda7 is not a FAT partition: exiting
+ log debug: /dev/sda7 is not a FAT partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/30utility
+ progname=30utility
+ logger -t 30utility debug: /dev/sda7 is not a FAT partition: exiting
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/40lsb ]
+ [ -x /usr/lib/os-probes/mounted/40lsb ]
+ debug running /usr/lib/os-probes/mounted/40lsb on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/40lsb on
mounted /dev/sda7
+ /usr/lib/os-probes/mounted/40lsb /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ dir=/home
+ type=ext4
+ file=/home/etc/lsb-release
+ [ ! -e /home/etc/lsb-release ]
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/70hurd ]
+ [ -x /usr/lib/os-probes/mounted/70hurd ]
+ debug running /usr/lib/os-probes/mounted/70hurd on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/70hurd on mounted /dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/70hurd on
mounted /dev/sda7
+ /usr/lib/os-probes/mounted/70hurd /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ dir=/home
+ type=ext4
+ [ -e /home/servers/exec ]
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/80minix ]
+ [ -x /usr/lib/os-probes/mounted/80minix ]
+ debug running /usr/lib/os-probes/mounted/80minix on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/80minix on mounted /dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/80minix on
mounted /dev/sda7
+ /usr/lib/os-probes/mounted/80minix /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ dir=/home
+ type=ext4
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/83haiku ]
+ [ -x /usr/lib/os-probes/mounted/83haiku ]
+ debug running /usr/lib/os-probes/mounted/83haiku on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/83haiku on mounted /dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/83haiku on
mounted /dev/sda7
+ /usr/lib/os-probes/mounted/83haiku /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ mpoint=/home
+ type=ext4
+ debug /dev/sda7 is not a BeFS partition: exiting
+ log debug: /dev/sda7 is not a BeFS partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/83haiku
+ progname=83haiku
+ logger -t 83haiku debug: /dev/sda7 is not a BeFS partition: exiting
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/90linux-distro ]
+ [ -x /usr/lib/os-probes/mounted/90linux-distro ]
+ debug running /usr/lib/os-probes/mounted/90linux-distro on mounted
/dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted
/dev/sda7
+ cache_progname
+ logger -t os-prober debug: running
/usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sda7
+ /usr/lib/os-probes/mounted/90linux-distro /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ dir=/home
+ type=ext4
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/90solaris ]
+ [ -x /usr/lib/os-probes/mounted/90solaris ]
+ debug running /usr/lib/os-probes/mounted/90solaris on mounted /dev/sda7
+ log debug: running /usr/lib/os-probes/mounted/90solaris on mounted
/dev/sda7
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/mounted/90solaris
on mounted /dev/sda7
+ /usr/lib/os-probes/mounted/90solaris /dev/sda7 /home ext4
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda7
+ dir=/home
+ type=ext4
+ [ -f /home/etc/system ]
+ exit 1
+ [ -f /usr/lib/os-probes/mounted/efi ]
+ mapdevfs /dev/sda8
+ readlink -f /dev/sda8
+ mapped=/dev/sda8
+ grep -q ^/dev/sda8 /tmp/os-prober.gPqBUg/raided-map
+ grep -q ^/dev/sda8  /tmp/os-prober.gPqBUg/swaps-map
+ grep -q ^/dev/sda8  /tmp/os-prober.gPqBUg/mounted-map
+ [ -f /usr/lib/os-probes/50mounted-tests ]
+ [ -x /usr/lib/os-probes/50mounted-tests ]
+ debug running /usr/lib/os-probes/50mounted-tests on /dev/sda8
+ log debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda8
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/50mounted-tests on
/dev/sda8
+ /usr/lib/os-probes/50mounted-tests /dev/sda8
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ fs_type /dev/sda8
+ type blkid
+ blkid -o value -s TYPE /dev/sda8
+ types=ext4
+ [ ext4 = NOT-DETECTED ]
+ [ ext4 = swap ]
+ [ ext4 = crypto_LUKS ]
+ [ ext4 = ntfs ]
+ [ -z ext4 ]
+ tmpmnt=/var/lib/os-prober/mount
+ [ ! -d /var/lib/os-prober/mount ]
+ mkdir /var/lib/os-prober/mount
+ mounted=
+ type grub-mount
+ type grub-probe
+ grub-mount /dev/sda8 /var/lib/os-prober/mount
+ mounted=1
+ grub-probe -d /dev/sda8 -t fs
+ type=ext2
+ [ ext2 ]
+ debug mounted using GRUB ext2 filesystem driver
+ log debug: mounted using GRUB ext2 filesystem driver
+ cache_progname
+ basename /usr/lib/os-probes/50mounted-tests
+ progname=50mounted-tests
+ logger -t 50mounted-tests debug: mounted using GRUB ext2 filesystem driver
+ [ 1 ]
+ debug running subtest /usr/lib/os-probes/mounted/05efi
+ log debug: running subtest /usr/lib/os-probes/mounted/05efi
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/05efi
+ [ -f /usr/lib/os-probes/mounted/05efi ]
+ [ -x /usr/lib/os-probes/mounted/05efi ]
+ /usr/lib/os-probes/mounted/05efi /dev/sda8 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ [ ! -d /sys/firmware/efi ]
+ debug Not on UEFI platform
+ log debug: Not on UEFI platform
+ cache_progname
+ basename /usr/lib/os-probes/mounted/05efi
+ progname=05efi
+ logger -t 05efi debug: Not on UEFI platform
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/10freedos
+ log debug: running subtest /usr/lib/os-probes/mounted/10freedos
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/10freedos
+ [ -f /usr/lib/os-probes/mounted/10freedos ]
+ [ -x /usr/lib/os-probes/mounted/10freedos ]
+ /usr/lib/os-probes/mounted/10freedos /dev/sda8 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda8 is not a FAT partition: exiting
+ log debug: /dev/sda8 is not a FAT partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/10freedos
+ progname=10freedos
+ logger -t 10freedos debug: /dev/sda8 is not a FAT partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/10qnx
+ log debug: running subtest /usr/lib/os-probes/mounted/10qnx
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/10qnx
+ [ -f /usr/lib/os-probes/mounted/10qnx ]
+ [ -x /usr/lib/os-probes/mounted/10qnx ]
+ /usr/lib/os-probes/mounted/10qnx /dev/sda8 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda8 is not a QNX4 partition: exiting
+ log debug: /dev/sda8 is not a QNX4 partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/10qnx
+ progname=10qnx
+ logger -t 10qnx debug: /dev/sda8 is not a QNX4 partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/20macosx
+ log debug: running subtest /usr/lib/os-probes/mounted/20macosx
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/20macosx
+ [ -f /usr/lib/os-probes/mounted/20macosx ]
+ [ -x /usr/lib/os-probes/mounted/20macosx ]
+ /usr/lib/os-probes/mounted/20macosx /dev/sda8 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda8 is not an HFS+ partition: exiting
+ logger -t macosx-prober debug: /dev/sda8 is not an HFS+ partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/20microsoft
+ log debug: running subtest /usr/lib/os-probes/mounted/20microsoft
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/20microsoft
+ [ -f /usr/lib/os-probes/mounted/20microsoft ]
+ [ -x /usr/lib/os-probes/mounted/20microsoft ]
+ /usr/lib/os-probes/mounted/20microsoft /dev/sda8 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ [ -d /sys/firmware/efi ]
+ debug /dev/sda8 is not a MS partition: exiting
+ log debug: /dev/sda8 is not a MS partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/20microsoft
+ progname=20microsoft
+ logger -t 20microsoft debug: /dev/sda8 is not a MS partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/30utility
+ log debug: running subtest /usr/lib/os-probes/mounted/30utility
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/30utility
+ [ -f /usr/lib/os-probes/mounted/30utility ]
+ [ -x /usr/lib/os-probes/mounted/30utility ]
+ /usr/lib/os-probes/mounted/30utility /dev/sda8 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda8 is not a FAT partition: exiting
+ log debug: /dev/sda8 is not a FAT partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/30utility
+ progname=30utility
+ logger -t 30utility debug: /dev/sda8 is not a FAT partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/40lsb
+ log debug: running subtest /usr/lib/os-probes/mounted/40lsb
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/40lsb
+ [ -f /usr/lib/os-probes/mounted/40lsb ]
+ [ -x /usr/lib/os-probes/mounted/40lsb ]
+ /usr/lib/os-probes/mounted/40lsb /dev/sda8 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ file=/var/lib/os-prober/mount/etc/lsb-release
+ [ ! -e /var/lib/os-prober/mount/etc/lsb-release ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/70hurd
+ log debug: running subtest /usr/lib/os-probes/mounted/70hurd
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/70hurd
+ [ -f /usr/lib/os-probes/mounted/70hurd ]
+ [ -x /usr/lib/os-probes/mounted/70hurd ]
+ /usr/lib/os-probes/mounted/70hurd /dev/sda8 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ [ -e /var/lib/os-prober/mount/servers/exec ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/80minix
+ log debug: running subtest /usr/lib/os-probes/mounted/80minix
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/80minix
+ [ -f /usr/lib/os-probes/mounted/80minix ]
+ [ -x /usr/lib/os-probes/mounted/80minix ]
+ /usr/lib/os-probes/mounted/80minix /dev/sda8 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ [ -f /var/lib/os-prober/mount/minix ]
+ [ -e /var/lib/os-prober/mount/boot/image_big ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/83haiku
+ log debug: running subtest /usr/lib/os-probes/mounted/83haiku
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/83haiku
+ [ -f /usr/lib/os-probes/mounted/83haiku ]
+ [ -x /usr/lib/os-probes/mounted/83haiku ]
+ /usr/lib/os-probes/mounted/83haiku /dev/sda8 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda8 is not a BeFS partition: exiting
+ log debug: /dev/sda8 is not a BeFS partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/83haiku
+ progname=83haiku
+ logger -t 83haiku debug: /dev/sda8 is not a BeFS partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/90linux-distro
+ log debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/90linux-distro
+ [ -f /usr/lib/os-probes/mounted/90linux-distro ]
+ [ -x /usr/lib/os-probes/mounted/90linux-distro ]
+ /usr/lib/os-probes/mounted/90linux-distro /dev/sda8
/var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/90solaris
+ log debug: running subtest /usr/lib/os-probes/mounted/90solaris
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/90solaris
+ [ -f /usr/lib/os-probes/mounted/90solaris ]
+ [ -x /usr/lib/os-probes/mounted/90solaris ]
+ /usr/lib/os-probes/mounted/90solaris /dev/sda8 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda8
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ [ -f /var/lib/os-prober/mount/etc/system ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/efi
+ log debug: running subtest /usr/lib/os-probes/mounted/efi
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/efi
+ [ -f /usr/lib/os-probes/mounted/efi ]
+ umount /var/lib/os-prober/mount
+ rmdir /var/lib/os-prober/mount
+ exit 1
+ [ -f /usr/lib/os-probes/init ]
+ [ -f /usr/lib/os-probes/mounted ]
+ mapdevfs /dev/sda9
+ readlink -f /dev/sda9
+ mapped=/dev/sda9
+ grep -q ^/dev/sda9 /tmp/os-prober.gPqBUg/raided-map
+ grep -q ^/dev/sda9  /tmp/os-prober.gPqBUg/swaps-map
+ grep -q ^/dev/sda9  /tmp/os-prober.gPqBUg/mounted-map
+ [ -f /usr/lib/os-probes/50mounted-tests ]
+ [ -x /usr/lib/os-probes/50mounted-tests ]
+ debug running /usr/lib/os-probes/50mounted-tests on /dev/sda9
+ log debug: running /usr/lib/os-probes/50mounted-tests on /dev/sda9
+ cache_progname
+ logger -t os-prober debug: running /usr/lib/os-probes/50mounted-tests on
/dev/sda9
+ /usr/lib/os-probes/50mounted-tests /dev/sda9
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ fs_type /dev/sda9
+ type blkid
+ blkid -o value -s TYPE /dev/sda9
+ types=ext4
+ [ ext4 = NOT-DETECTED ]
+ [ ext4 = swap ]
+ [ ext4 = crypto_LUKS ]
+ [ ext4 = ntfs ]
+ [ -z ext4 ]
+ tmpmnt=/var/lib/os-prober/mount
+ [ ! -d /var/lib/os-prober/mount ]
+ mkdir /var/lib/os-prober/mount
+ mounted=
+ type grub-mount
+ type grub-probe
+ grub-mount /dev/sda9 /var/lib/os-prober/mount
+ mounted=1
+ grub-probe -d /dev/sda9 -t fs
+ type=ext2
+ [ ext2 ]
+ debug mounted using GRUB ext2 filesystem driver
+ log debug: mounted using GRUB ext2 filesystem driver
+ cache_progname
+ basename /usr/lib/os-probes/50mounted-tests
+ progname=50mounted-tests
+ logger -t 50mounted-tests debug: mounted using GRUB ext2 filesystem driver
+ [ 1 ]
+ debug running subtest /usr/lib/os-probes/mounted/05efi
+ log debug: running subtest /usr/lib/os-probes/mounted/05efi
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/05efi
+ [ -f /usr/lib/os-probes/mounted/05efi ]
+ [ -x /usr/lib/os-probes/mounted/05efi ]
+ /usr/lib/os-probes/mounted/05efi /dev/sda9 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ [ ! -d /sys/firmware/efi ]
+ debug Not on UEFI platform
+ log debug: Not on UEFI platform
+ cache_progname
+ basename /usr/lib/os-probes/mounted/05efi
+ progname=05efi
+ logger -t 05efi debug: Not on UEFI platform
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/10freedos
+ log debug: running subtest /usr/lib/os-probes/mounted/10freedos
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/10freedos
+ [ -f /usr/lib/os-probes/mounted/10freedos ]
+ [ -x /usr/lib/os-probes/mounted/10freedos ]
+ /usr/lib/os-probes/mounted/10freedos /dev/sda9 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda9 is not a FAT partition: exiting
+ log debug: /dev/sda9 is not a FAT partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/10freedos
+ progname=10freedos
+ logger -t 10freedos debug: /dev/sda9 is not a FAT partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/10qnx
+ log debug: running subtest /usr/lib/os-probes/mounted/10qnx
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/10qnx
+ [ -f /usr/lib/os-probes/mounted/10qnx ]
+ [ -x /usr/lib/os-probes/mounted/10qnx ]
+ /usr/lib/os-probes/mounted/10qnx /dev/sda9 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda9 is not a QNX4 partition: exiting
+ log debug: /dev/sda9 is not a QNX4 partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/10qnx
+ progname=10qnx
+ logger -t 10qnx debug: /dev/sda9 is not a QNX4 partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/20macosx
+ log debug: running subtest /usr/lib/os-probes/mounted/20macosx
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/20macosx
+ [ -f /usr/lib/os-probes/mounted/20macosx ]
+ [ -x /usr/lib/os-probes/mounted/20macosx ]
+ /usr/lib/os-probes/mounted/20macosx /dev/sda9 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda9 is not an HFS+ partition: exiting
+ logger -t macosx-prober debug: /dev/sda9 is not an HFS+ partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/20microsoft
+ log debug: running subtest /usr/lib/os-probes/mounted/20microsoft
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/20microsoft
+ [ -f /usr/lib/os-probes/mounted/20microsoft ]
+ [ -x /usr/lib/os-probes/mounted/20microsoft ]
+ /usr/lib/os-probes/mounted/20microsoft /dev/sda9 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ [ -d /sys/firmware/efi ]
+ debug /dev/sda9 is not a MS partition: exiting
+ log debug: /dev/sda9 is not a MS partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/20microsoft
+ progname=20microsoft
+ logger -t 20microsoft debug: /dev/sda9 is not a MS partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/30utility
+ log debug: running subtest /usr/lib/os-probes/mounted/30utility
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/30utility
+ [ -f /usr/lib/os-probes/mounted/30utility ]
+ [ -x /usr/lib/os-probes/mounted/30utility ]
+ /usr/lib/os-probes/mounted/30utility /dev/sda9 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda9 is not a FAT partition: exiting
+ log debug: /dev/sda9 is not a FAT partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/30utility
+ progname=30utility
+ logger -t 30utility debug: /dev/sda9 is not a FAT partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/40lsb
+ log debug: running subtest /usr/lib/os-probes/mounted/40lsb
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/40lsb
+ [ -f /usr/lib/os-probes/mounted/40lsb ]
+ [ -x /usr/lib/os-probes/mounted/40lsb ]
+ /usr/lib/os-probes/mounted/40lsb /dev/sda9 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ file=/var/lib/os-prober/mount/etc/lsb-release
+ [ ! -e /var/lib/os-prober/mount/etc/lsb-release ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/70hurd
+ log debug: running subtest /usr/lib/os-probes/mounted/70hurd
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/70hurd
+ [ -f /usr/lib/os-probes/mounted/70hurd ]
+ [ -x /usr/lib/os-probes/mounted/70hurd ]
+ /usr/lib/os-probes/mounted/70hurd /dev/sda9 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ [ -e /var/lib/os-prober/mount/servers/exec ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/80minix
+ log debug: running subtest /usr/lib/os-probes/mounted/80minix
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/80minix
+ [ -f /usr/lib/os-probes/mounted/80minix ]
+ [ -x /usr/lib/os-probes/mounted/80minix ]
+ /usr/lib/os-probes/mounted/80minix /dev/sda9 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ [ -f /var/lib/os-prober/mount/minix ]
+ [ -e /var/lib/os-prober/mount/boot/image_big ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/83haiku
+ log debug: running subtest /usr/lib/os-probes/mounted/83haiku
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/83haiku
+ [ -f /usr/lib/os-probes/mounted/83haiku ]
+ [ -x /usr/lib/os-probes/mounted/83haiku ]
+ /usr/lib/os-probes/mounted/83haiku /dev/sda9 /var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ mpoint=/var/lib/os-prober/mount
+ type=ext2
+ debug /dev/sda9 is not a BeFS partition: exiting
+ log debug: /dev/sda9 is not a BeFS partition: exiting
+ cache_progname
+ basename /usr/lib/os-probes/mounted/83haiku
+ progname=83haiku
+ logger -t 83haiku debug: /dev/sda9 is not a BeFS partition: exiting
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/90linux-distro
+ log debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/90linux-distro
+ [ -f /usr/lib/os-probes/mounted/90linux-distro ]
+ [ -x /usr/lib/os-probes/mounted/90linux-distro ]
+ /usr/lib/os-probes/mounted/90linux-distro /dev/sda9
/var/lib/os-prober/mount ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/90solaris
+ log debug: running subtest /usr/lib/os-probes/mounted/90solaris
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/90solaris
+ [ -f /usr/lib/os-probes/mounted/90solaris ]
+ [ -x /usr/lib/os-probes/mounted/90solaris ]
+ /usr/lib/os-probes/mounted/90solaris /dev/sda9 /var/lib/os-prober/mount
ext2
+ cleanup_tmpdir=false
+ cleanup_ro_partitions=
+ progname=
+ type mapdevfs
+ partition=/dev/sda9
+ dir=/var/lib/os-prober/mount
+ type=ext2
+ [ -f /var/lib/os-prober/mount/etc/system ]
+ exit 1
+ debug running subtest /usr/lib/os-probes/mounted/efi
+ log debug: running subtest /usr/lib/os-probes/mounted/efi
+ cache_progname
+ logger -t 50mounted-tests debug: running subtest
/usr/lib/os-probes/mounted/efi
+ [ -f /usr/lib/os-probes/mounted/efi ]
+ umount /var/lib/os-prober/mount
+ rmdir /var/lib/os-prober/mount
+ exit 1
+ [ -f /usr/lib/os-probes/init ]
+ [ -f /usr/lib/os-probes/mounted ]
+ cleanup
+ local partition
+ :
+ rm -rf /tmp/os-prober.gPqBUg
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Sat, 06 Sep 2014 14:57:13 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 06 Sep 2014 14:57:13 GMT) (full text, mbox, link).


Message #20 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Johannes Rohr <jorohr@gmail.com>
Cc: 760148@bugs.debian.org
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Sat, 6 Sep 2014 15:53:07 +0100
On Fri, Sep 05, 2014 at 11:35:16PM +0200, Johannes Rohr wrote:
> Here is the output:

OK, so nothing especially obvious there - it runs to completion.  Let's
try reducing it.  If you run this as root:

  grub-mount /dev/sda9 /mnt
  [ -e /mnt/etc/lsb-release ]
  [ -e /mnt/servers/exec ]
  [ -f /mnt/minix ]
  [ -e /mnt/boot/image_big ]
  ls /mnt/lib*/ld*.so*
  ls /mnt/usr/lib*/ld*.so*
  [ -f /mnt/etc/system ]
  umount /mnt

... do you still get a hung grub-mount process at the end?  If so, try
eliminating commands between grub-mount and umount until you get down to
a minimal subset.  With luck this will let us work out which bits of the
filesystem in question are relevant, and make it possible to extract a
stripped-down copy for me to look at.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Sat, 06 Sep 2014 21:27:12 GMT) (full text, mbox, link).


Acknowledgement sent to Johannes Rohr <jorohr@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 06 Sep 2014 21:27:12 GMT) (full text, mbox, link).


Message #25 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Johannes Rohr <jorohr@gmail.com>
To: Colin Watson <cjwatson@debian.org>
Cc: 760148@bugs.debian.org
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Sat, 06 Sep 2014 23:23:25 +0200
Hi Colin,

I get as far as this

root@:~# [ -e /mnt/sda9/etc/lsb-release ]
root@:~# [ -e /mnt/sda9/servers/exec ]
root@:~# [ -e /mnt/sda9/minix ]
root@:~# [ -e /mnt/sda9/boot/image_big ]
root@:~# [ -e /mnt/sda9/lib*/ld*.so*
root@:~# ls /mnt/sda9/lib*/ld*.so*


So, as soon as I run the ls command, the grub-mount process shoots up to 
99% CPU load and stays there until I kill it with SIGKILL

Cheers,

Johannes




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Sat, 06 Sep 2014 21:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 06 Sep 2014 21:45:05 GMT) (full text, mbox, link).


Message #30 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Johannes Rohr <jorohr@gmail.com>
Cc: 760148@bugs.debian.org
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Sat, 6 Sep 2014 22:41:08 +0100
On Sat, Sep 06, 2014 at 11:23:25PM +0200, Johannes Rohr wrote:
> I get as far as this
> 
> root@:~# [ -e /mnt/sda9/etc/lsb-release ]
> root@:~# [ -e /mnt/sda9/servers/exec ]
> root@:~# [ -e /mnt/sda9/minix ]
> root@:~# [ -e /mnt/sda9/boot/image_big ]
> root@:~# [ -e /mnt/sda9/lib*/ld*.so*
> root@:~# ls /mnt/sda9/lib*/ld*.so*
> 
> 
> So, as soon as I run the ls command, the grub-mount process shoots
> up to 99% CPU load and stays there until I kill it with SIGKILL

Great, that's very useful.  I'd now like the output of "ls -al
/mnt/sda9/lib*/", where the filesystem has been mounted using the
ordinary mount utility rather than grub-mount.  Also, if you have the
spare disk space, I'd like you to try the following, where /path/to/file
is a new file on some filesystem with enough free space:

 1) work out how much space in MiB is consumed by the lib* directories
    at the top level of the filesystem on /dev/sda9, add a bit for good
    measure, and call that $size_in_mib

 2) dd if=/dev/zero of=/path/to/file bs=1048576 count=$size_in_mib

 3) mount -o loop /path/to/file /mnt

 4) copy the top-level lib* directories from the filesystem on /dev/sda9
    to /mnt - make sure to use 'cp -a' to preserve all file attributes

 5) umount /mnt

 6) see if you can now reproduce the same hang using grub-mount on
    /path/to/file

 7) if so, compress /path/to/file using xz, and put it somewhere for me
    to download

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]



Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Sun, 07 Sep 2014 19:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Johannes Rohr <jorohr@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sun, 07 Sep 2014 19:45:04 GMT) (full text, mbox, link).


Message #35 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Johannes Rohr <jorohr@gmail.com>
To: Colin Watson <cjwatson@debian.org>
Cc: 760148@bugs.debian.org
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Sun, 07 Sep 2014 21:41:22 +0200
Hi, when trying to carry out your instructions, I noticed that /lib on 
Arch Linux is a symlink pointing to /usr/lib

I wonder whether that might be part of the problem.

But grub-mount still causes 100% CPU load when trying to ls 
/mnt/sda9/usr/lib*/ld*.so*, so I'll try the rest of your instructions 
anyway.

Cheers,

Johannes


Am 06.09.2014 um 23:41 schrieb Colin Watson:
> On Sat, Sep 06, 2014 at 11:23:25PM +0200, Johannes Rohr wrote:
>> I get as far as this
>>
>> root@:~# [ -e /mnt/sda9/etc/lsb-release ]
>> root@:~# [ -e /mnt/sda9/servers/exec ]
>> root@:~# [ -e /mnt/sda9/minix ]
>> root@:~# [ -e /mnt/sda9/boot/image_big ]
>> root@:~# [ -e /mnt/sda9/lib*/ld*.so*
>> root@:~# ls /mnt/sda9/lib*/ld*.so*
>>
>>
>> So, as soon as I run the ls command, the grub-mount process shoots
>> up to 99% CPU load and stays there until I kill it with SIGKILL
> Great, that's very useful.  I'd now like the output of "ls -al
> /mnt/sda9/lib*/", where the filesystem has been mounted using the
> ordinary mount utility rather than grub-mount.  Also, if you have the
> spare disk space, I'd like you to try the following, where /path/to/file
> is a new file on some filesystem with enough free space:
>
>   1) work out how much space in MiB is consumed by the lib* directories
>      at the top level of the filesystem on /dev/sda9, add a bit for good
>      measure, and call that $size_in_mib
>
>   2) dd if=/dev/zero of=/path/to/file bs=1048576 count=$size_in_mib
>
>   3) mount -o loop /path/to/file /mnt
>
>   4) copy the top-level lib* directories from the filesystem on /dev/sda9
>      to /mnt - make sure to use 'cp -a' to preserve all file attributes
>
>   5) umount /mnt
>
>   6) see if you can now reproduce the same hang using grub-mount on
>      /path/to/file
>
>   7) if so, compress /path/to/file using xz, and put it somewhere for me
>      to download
>
> Thanks,
>




Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Sun, 07 Sep 2014 20:39:05 GMT) (full text, mbox, link).


Acknowledgement sent to Johannes Rohr <jorohr@gmail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sun, 07 Sep 2014 20:39:05 GMT) (full text, mbox, link).


Message #40 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Johannes Rohr <jorohr@gmail.com>
To: Colin Watson <cjwatson@debian.org>
Cc: 760148@bugs.debian.org
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Sun, 07 Sep 2014 22:37:01 +0200
Some more strangeness:

I have created the file as instructed, copied /usr/lib* over.

After mounting the file with grub-mount the following happens:

 sudo ls /mnt/testfile/lib/ld*.so
ls: cannot access /mnt/testfile/lib/ld*.so: No such file or directory


But when I specify the full file name, the file is listed:
sudo ls /mnt/testfile/lib/ld-2.19.so
/mnt/testfile/lib/ld-2.19.so

Even sudo ls /mnt/testfile/lib* returns
ls: cannot access /mnt/testfile/lib*: No such file or directory

whereas ls /mnt/testfile/lib without wildcard kind of works (CPU load 
100%, obviously it is at least trying to read the directory contents, 
although I don't see output.

I will upload the file somewhere for your testing pleasure, I'll send 
you a mail when it is available.

Thanks,

Johannes



Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Sat, 30 Jan 2016 00:36:08 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Born <futur.andy@googlemail.com>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Sat, 30 Jan 2016 00:36:08 GMT) (full text, mbox, link).


Message #45 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Andreas Born <futur.andy@googlemail.com>
To: 760148@bugs.debian.org
Cc: Johannes Rohr <jorohr@gmail.com>, Colin Watson <cjwatson@debian.org>
Subject: Re: Bug#760148: grub-common: grub-mount hangs forever, trying to mount ext4 partition, causing 100% CPU load
Date: Sat, 30 Jan 2016 01:33:22 +0100
[Message part 1 (text/plain, inline)]
Hi,

since this issue appeared here too with an Arch Linux installation,
I'd like to provide some more details collected by me, which might
eventually help to get this fixed. Given the issue I experiences
matches this bug report, I decided to add to this report albeit it
being old. Also note that neither os-prober nor grub development
repositories fix this issue as of today nor am I aware of pending
fixes.

Here's my observations:
- The `ls /mnt/lib*/ld*.so*' call is causative while e.g. `ls /mnt' is
unproblematic.
- Eventually after many minutes with high cpu and memory usage by
grub-mount the ls call returns successfully, i.e. grub-mount/ls do not
hang per se. The whole of os-prober was something like 20-40min for
me. Don't be too impatient, if you want OS detection. ;D
- Reproducible with a large directory (Arch's /lib contains >3900
entries here). Example:
$ mkdir blub
$ for i in {0000..2000}; do echo $i >blub/test_$i; done
- But not really reproducible, i.e. significantly faster, for a
small/empty filesystem.
- Not reproducible in a grub-shell during boot, i.e. ls blub or ls lib
return almost instantly.
- Not reproducible for a single file in such a directory:  `ls /lib/ld-2.22.so'

Below I've attached a shell transcript, which shows the behaviour with
time. It also shows how the reaction time significantly improves with
an empty filesystem and how the same applies to xfs.
Additionaly I'm attaching a file containing part of the strace ouput
of grub-mount, while it "hangs". Looking closely one can see that it's
not just dead looping a lot of reads and seeks, but progressing.
Overall it seems to be a problem with (GRUB's) FUSE implementation.

Should you still need an archive of the lib tree to reproduce let me
know. My Arch /lib* is unfortunately 4GB...

Cheers,
Andreas

*********************** BEGIN TRANSCRIPT
# grub-mount -V
grub-mount (GRUB) 2.02~beta2

# mount /dev/<ARCH-ROOT> /normal-mnt
# mkdir /normal-mnt/blub
# for i in {0000..2000}; do echo $i >/normal-mnt/blub/test_$i; done
# sync
# grub-mount /dev/<ARCH-ROOT> /grub-mnt

# time ls -1f /grub-mnt/blub | wc -l <--- Not as slow as lib but still slow
2003

real 1m3.576s
user 0m0.007s
sys 0m0.000s

# time ls -1f /normal-mnt/blub | wc -l
2003

real 0m0.004s
user 0m0.003s
sys 0m0.000s

# time ls -1f /grub-mnt/lib | wc -l  <--- Here it's even without
asteriks really slow
3918

real 6m9.033s
user 0m0.003s
sys 0m0.003s

# time ls -1f /normal-mnt/lib | wc -l
3915

real 0m0.161s
user 0m0.003s

# truncate -s 1G blub
# mkfs -t ext4 blub
[...]
# mount -o loop blub /mnt
# mkdir mnt/blub
# for i in {0000..2000}; do echo $i>mnt/blub/test_$i; done
# umount mnt
# grub-mount blub /mnt

# time ls -1f mnt/blub | wc -l  <-- for empty fs much better performance
2003

real 0m5.137s
user 0m0.003s
sys 0m0.000s

# rm blub
# truncate -s 1G blub
# mkfs -t xfs blub
[...]
# mount -o loop blub mnt
# mkdir mnt/blub
# for i in {0000..2000}; do echo $i>mnt/blub/test_$i; done
# umount mnt
# ./grub-mount blub /mnt  <-- only grub-mount from latest git master
handles xfs properly

# time ls -1f mnt/blub/ | wc -l  <-- not just limited to ext*
2003

real 0m9.701s
user 0m0.000s
sys 0m0.000s
*********************** END SHELL SESSION
[grub-lib.log.gz (application/x-gzip, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Tue, 27 Sep 2016 12:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to Dominique Brazziel <dbrazziel@snet.net>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Tue, 27 Sep 2016 12:36:03 GMT) (full text, mbox, link).


Message #50 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Dominique Brazziel <dbrazziel@snet.net>
To: 760148@bugs.debian.org
Subject: CPU grind occurs on multi-boot
Date: Tue, 27 Sep 2016 08:25:19 -0400
I get this long running effect one system which contains 
Debian, Fedora and Windows XP.  The longest time is spent with
grub-mount running and much I/O.  

From the output (systemd log) I see the gap between timestamps when
mounted tests and subtests are run against the Fedora partition:

Sep 27 07:37:02 debianx 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/83haiku
Sep 27 07:37:02 debianx 83haiku: debug: /dev/mapper/vg_fedora-lv_root is not a BeFS partition: exiting
Sep 27 07:37:02 debianx 50mounted-tests: debug: running subtest /usr/lib/os-probes/mounted/90linux-distro
<* snip *> 
Sep 27 07:43:06 debianx 90linux-distro: result: /dev/mapper/vg_fedora-lv_root:Fedora release 24 (Twenty Four):Fedora:linux

So, it looks like subtest 90linux-distro is having trouble finding what it's looking for.


 



Information forwarded to debian-bugs-dist@lists.debian.org, GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>:
Bug#760148; Package grub-common. (Tue, 04 Oct 2016 14:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Dominique Brazziel <dbrazziel@snet.net>:
Extra info received and forwarded to list. Copy sent to GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>. (Tue, 04 Oct 2016 14:57:03 GMT) (full text, mbox, link).


Message #55 received at 760148@bugs.debian.org (full text, mbox, reply):

From: Dominique Brazziel <dbrazziel@snet.net>
To: 760148@bugs.debian.org
Subject: Deleted Fedora partition
Date: Tue, 4 Oct 2016 10:56:10 -0400
This particular problem went away after removing the Fedora partition.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 4 22:20:48 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.