Your message dated Sat, 22 Dec 2012 14:49:26 +0000
with message-id <e1tmqoe-000806...@franck.debian.org>
and subject line Bug#680084: fixed in os-prober 1.57
has caused the Debian Bug report #680084,
regarding grub-probe: error: no such disk. when probing LVM device (problem 
with symbolic links)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
680084: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=680084
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: grub-common
Version: 1.99-21
Severity: normal

Hello,

It looks that grub-probe have many errors reported, and maybe one of them
is similar to mine, but I cannot find exactly same problem reported.

I have simple configuration with single disk /dev/sda,
and 2 partitions /dev/sda1 (ext3) and /dev/sda2 (LUKS),
on /sda2 I have a LUKS which after giving keys, have a
LVM volume with about 10 logical volumes, including / (ext4).

grub-probe hovewer have some misterious problem with it, involving not
following symlinks:

sredniczarny:~/# grub-probe --target=device /
/dev/mapper/sredniczarny-root
sredniczarny:~# grub-probe --device --target=fs /dev/mapper/sredniczarny-root
grub-probe: error: no such disk.
sredniczarny:~# grub-probe --device --target=fs_uuid /dev/mapper/sredniczarny-
root
grub-probe: error: no such disk.

sredniczarny:~# grub-probe --device --target=fs_uuid $(readlink --canonicalize
/dev/mapper/sredniczarny-root)
0db01a0e-aa96-4796-a4a0-cfbdd89b99b7
sredniczarny:~# grub-probe --device --target=fs $(readlink --canonicalize
/dev/mapper/sredniczarny-root)
ext2

sredniczarny:~# grub-probe --device --target=fs /dev/dm-1
ext2
sredniczarny:~# grub-probe --device --target=fs_uuid /dev/dm-1
0db01a0e-aa96-4796-a4a0-cfbdd89b99b7



sredniczarny:~# ls -l /dev/mapper/
total 0
crw------- 1 root root 10, 236 May 18 15:51 control
lrwxrwxrwx 1 root root       7 May 18 15:51 sda2_crypt -> ../dm-0
lrwxrwxrwx 1 root root       7 May 18 15:51 sredniczarny-root -> ../dm-1
lrwxrwxrwx 1 root root       7 May 18 15:51 sredniczarny-sctank2 -> ../dm-6
lrwxrwxrwx 1 root root       7 May 18 15:51 sredniczarny-swap_1 -> ../dm-4
lrwxrwxrwx 1 root root       7 May 18 15:51 sredniczarny-tmp -> ../dm-5
lrwxrwxrwx 1 root root       7 May 18 15:51 sredniczarny-usr -> ../dm-2
lrwxrwxrwx 1 root root       7 May 18 15:51 sredniczarny-var -> ../dm-3
sredniczarny:~# ls -l /dev/dm-* /dev/root
brw-rw---T 1 root disk 253, 0 May 18 15:51 /dev/dm-0
brw-rw---T 1 root disk 253, 1 May 18 15:51 /dev/dm-1
brw-rw---T 1 root disk 253, 2 May 18 15:53 /dev/dm-2
brw-rw---T 1 root disk 253, 3 May 18 15:53 /dev/dm-3
brw-rw---T 1 root disk 253, 4 May 18 15:51 /dev/dm-4
brw-rw---T 1 root disk 253, 5 May 18 15:52 /dev/dm-5
brw-rw---T 1 root disk 253, 6 May 19 21:58 /dev/dm-6
lrwxrwxrwx 1 root root      4 May 18 15:51 /dev/root -> dm-1



sredniczarny:~# dd if=/dev/mapper/sredniczarny-root | file -
/dev/stdin: Linux rev 1.0 ext4 filesystem data, UUID=0db01a0e-
aa96-4796-a4a0-cfbdd89b99b7, volume name "ROOT" (needs journal recovery)
(extents) (large files) (huge files)



The same with swap:

sredniczarny:~# grub-probe --device --target=fs /dev/mapper/sredniczarny-swap_1
grub-probe: error: no such disk.
sredniczarny:~# grub-probe --device --target=fs_uuid /dev/mapper/sredniczarny-
swap_1
grub-probe: error: no such disk.



Here is verbose output

sredniczarny:~# grub-probe --verbose --device --target=fs /dev/mapper
/sredniczarny-root
grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: scanning hd0 for LVM.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos2.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0,msdos1.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos2.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0,msdos1.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: scanning hd0 for LVM.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: no LVM signature found.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: scanning hd0,msdos2 for LVM.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: no LVM signature found.
grub-probe: info: scanning hd0,msdos1 for LVM.
grub-probe: info: the size of hd0 is 312581808.
grub-probe: info: no LVM signature found.
grub-probe: info: opening sredniczarny-root.
grub-probe: error: no such disk.


And here is a strace output

sredniczarny:~# strace grub-probe --verbose --device --target=fs /dev/mapper
/sredniczarny-root
execve("/usr/sbin/grub-probe", ["grub-probe", "--verbose", "--device", "--
target=fs", "/dev/mapper/sredniczarny-root"], [/* 43 vars */]) = 0
brk(0)                                  = 0x82b6000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7711000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=191184, ...}) = 0
mmap2(NULL, 191184, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb76e2000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libdevmapper.so.1.02.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`W\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=241368, ...}) = 0
mmap2(NULL, 248316, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb76a5000
mmap2(0xb76de000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38) = 0xb76de000
mmap2(0xb76e1000, 2556, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76e1000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240o\1\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1413288, ...}) = 0
mmap2(NULL, 1427832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7548000
mprotect(0xb769e000, 4096, PROT_NONE)   = 0
mmap2(0xb769f000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x156) = 0xb769f000
mmap2(0xb76a2000, 10616, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb76a2000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libselinux.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360O\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=124996, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7547000
mmap2(NULL, 130140, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7527000
mmap2(0xb7545000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1d) = 0xb7545000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/libudev.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`(\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=58992, ...}) = 0
mmap2(NULL, 61804, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7517000
mmap2(0xb7525000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd) = 0xb7525000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/cmov/librt.so.1", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\30\0\0004\0\0\0"..., 512)
= 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=30684, ...}) = 0
mmap2(NULL, 33360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb750e000
mmap2(0xb7515000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7515000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\n\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9844, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb750a000
mmap2(0xb750c000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb750c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/i386-linux-gnu/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220L\0\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=117009, ...}) = 0
mmap2(NULL, 98816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb74f1000
mmap2(0xb7506000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb7506000
mmap2(0xb7508000, 4608, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7508000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb74f0000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb74ef000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb74ef720, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
mprotect(0xb7506000, 4096, PROT_READ)   = 0
mprotect(0xb750c000, 4096, PROT_READ)   = 0
mprotect(0xb7515000, 4096, PROT_READ)   = 0
mprotect(0xb7525000, 4096, PROT_READ)   = 0
mprotect(0xb7545000, 4096, PROT_READ)   = 0
mprotect(0xb769f000, 8192, PROT_READ)   = 0
mprotect(0xb772f000, 4096, PROT_READ)   = 0
munmap(0xb76e2000, 191184)              = 0
set_tid_address(0xb74ef788)             = 22558
set_robust_list(0xb74ef790, 0xc)        = 0
futex(0xbfd5b720, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL,
bfd5b730) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xb74f56e0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb74f5b70, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="sredniczarny", ...}) = 0
statfs64("/sys/fs/selinux", 84, 0xbfd5b68c) = -1 ENOENT (No such file or
directory)
statfs64("/selinux", 84, {f_type="EXT2_SUPER_MAGIC", f_bsize=4096,
f_blocks=292166, f_bfree=82927, f_bavail=68284, f_files=73296, f_ffree=53355,
f_fsid={-1277882199, 568200562}, f_namelen=255, f_frsize=4096}) = 0
brk(0)                                  = 0x82b6000
brk(0x82d7000)                          = 0x82d7000
open("/proc/filesystems", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7710000
read(3, "nodev\tsysfs\nnodev\trootfs\nnodev\tb"..., 1024) = 410
read(3, "", 1024)                       = 0
close(3)                                = 0
munmap(0xb7710000, 4096)                = 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1534656, ...}) = 0
mmap2(NULL, 1534656, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7378000
close(3)                                = 0
open("/boot/grub/device.map", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7710000
read(3, "(hd0)\t/dev/disk/by-id/ata-WDC_WD"..., 4096) = 64
stat64("/dev/disk/by-id/ata-WDC_WD1600BEVE-00UYT0_WD-WXA0AA9V2992",
{st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
lstat64("/dev", {st_mode=S_IFDIR|0755, st_size=3480, ...}) = 0
lstat64("/dev/disk", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0
lstat64("/dev/disk/by-id", {st_mode=S_IFDIR|0755, st_size=520, ...}) = 0
lstat64("/dev/disk/by-id/ata-WDC_WD1600BEVE-00UYT0_WD-WXA0AA9V2992",
{st_mode=S_IFLNK|0777, st_size=9, ...}) = 0
readlink("/dev/disk/by-id/ata-WDC_WD1600BEVE-00UYT0_WD-WXA0AA9V2992",
"../../sda", 4095) = 9
lstat64("/dev/sda", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...})
= 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7710000, 4096)                = 0
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7710000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7710000, 4096)                = 0
open("/usr/share/locale/pl_PL.UTF-8/LC_MESSAGES/grub.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/pl_PL.utf8/LC_MESSAGES/grub.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/pl_PL/LC_MESSAGES/grub.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/pl.UTF-8/LC_MESSAGES/grub.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/share/locale/pl.utf8/LC_MESSAGES/grub.mo", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/pl/LC_MESSAGES/grub.mo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=24016, ...}) = 0
mmap2(NULL, 24016, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb770b000
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for dmraid_nv RAID devi"..., 47Scanning for dmraid_nv RAID
devices on disk hd0) = 47
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b4f0)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b4fc)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 200778}, NULL) = 0
open("/dev/sda", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 3
_llseek(3, 160041884672, [160041884672], SEEK_SET) = 0
read(3,
"\316\236\241\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
512) = 512
close(3)                                = 0
gettimeofday({1337456425, 203788}, NULL) = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b570)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b57c)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 204394}, NULL) = 0
gettimeofday({1337456425, 204444}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "scanning hd0 for LVM", 20scanning hd0 for LVM)    = 20
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b280)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b28c)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 205406}, NULL) = 0
open("/dev/sda", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 3
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3,
"\353c\220\20\216\320\274\0\260\270\0\0\216\330\216\300\373\276\0|\277\0\6\271\0\2\363\244\352!\6\0"...,
512) = 512
read(3,
"RV\276\33\201\3509\1^\277\364\201f\213-\203}\10\0\17\204\342\0\200|\377\0tFf\213\35"...,
32256) = 32256
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "no LVM signature found", 22no LVM signature found)  = 22
write(2, ".\n", 2.
)                      = 2
close(3)                                = 0
gettimeofday({1337456425, 206138}, NULL) = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b550)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b55c)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 206722}, NULL) = 0
gettimeofday({1337456425, 206771}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid09 RAID devic"..., 46Scanning for mdraid09 RAID
devices on disk hd0) = 46
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b4f0)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b4fc)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 208299}, NULL) = 0
open("/dev/sda", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 3
_llseek(3, 160041795584, [160041795584], SEEK_SET) = 0
read(3, "
\236\241\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32768)
= 32768
brk(0x82f9000)                          = 0x82f9000
close(3)                                = 0
gettimeofday({1337456425, 208775}, NULL) = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b570)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b57c)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 209382}, NULL) = 0
gettimeofday({1337456425, 209431}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid1x RAID devic"..., 46Scanning for mdraid1x RAID
devices on disk hd0) = 46
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b4f0)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b4fc)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 216306}, NULL) = 0
open("/dev/sda", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 3
_llseek(3, 160041877504, [160041877504], SEEK_SET) = 0
read(3,
"\300\236\241\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
512) = 512
close(3)                                = 0
gettimeofday({1337456425, 216715}, NULL) = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b570)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b57c)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 217358}, NULL) = 0
gettimeofday({1337456425, 217408}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid09 RAID devic"..., 46Scanning for mdraid09 RAID
devices on disk hd0) = 46
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b500)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b50c)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 327117}, NULL) = 0
gettimeofday({1337456425, 327364}, NULL) = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 3
fstat64(3, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbfd5b580)      = 0
ioctl(3, BLKSSZGET, 0xbfd5b58c)         = 0
close(3)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 329523}, NULL) = 0
stat64("/dev/.devfsd", 0xbfd5aed0)      = -1 ENOENT (No such file or directory)
open("/dev/sda1", O_RDONLY|O_LARGEFILE) = 3
close(3)                                = 0
uname({sys="Linux", node="sredniczarny", ...}) = 0
stat64("/dev/mapper/control", {st_mode=S_IFCHR|0600, st_rdev=makedev(10, 236),
....}) = 0
open("/dev/mapper/control", O_RDWR|O_LARGEFILE) = 3
open("/proc/devices", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb770a000
read(4, "Character devices:\n  1 mem\n  4 /"..., 1024) = 502
close(4)                                = 0
munmap(0xb770a000, 4096)                = 0
ioctl(3, DM_VERSION, 0x82e0f28)         = 0
stat64("/dev/sda1", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 1), ...})
= 0
open("/dev/sda1", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, 0x301, 0xbfd58e50)             = 0
close(4)                                = 0
open("/dev/sda1", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 512, [512], SEEK_SET)        = 0
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
32768) = 32768
close(4)                                = 0
open("/dev/sda", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 641564672, [641564672], SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
7168) = 7168
open("/dev/sda1", O_RDONLY|O_LARGEFILE) = 5
close(5)                                = 0
stat64("/dev/sda1", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 1), ...})
= 0
open("/dev/sda1", O_RDONLY|O_LARGEFILE) = 5
ioctl(5, 0x301, 0xbfd58e50)             = 0
close(5)                                = 0
open("/dev/sda2", O_RDONLY|O_LARGEFILE) = 5
close(5)                                = 0
stat64("/dev/sda2", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 2), ...})
= 0
open("/dev/sda2", O_RDONLY|O_LARGEFILE) = 5
ioctl(5, 0x301, 0xbfd58e50)             = 0
close(5)                                = 0
close(4)                                = 0
open("/dev/sda2", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "LUKS\272\276\0\1aes\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
25600) = 25600
close(4)                                = 0
gettimeofday({1337456425, 339650}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid09 RAID devic"..., 53Scanning for mdraid09 RAID
devices on disk hd0,msdos2) = 53
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b500)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b50c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 340546}, NULL) = 0
open("/dev/sda2", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 159397569536, [159397569536], SEEK_SET) = 0
read(4, "G#\264\210\325\374K\30J~\272\312
\346F\24\23\t\310.Ei\225\337\371\tB\372Z2\263\n"..., 32768) = 32768
brk(0x8321000)                          = 0x8321000
close(4)                                = 0
gettimeofday({1337456425, 341142}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid09 RAID devic"..., 53Scanning for mdraid09 RAID
devices on disk hd0,msdos1) = 53
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b500)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b50c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 342813}, NULL) = 0
open("/dev/sda1", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 641434112, [641434112], SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
32768) = 32768
_llseek(4, 641466880, [641466880], SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
32768) = 32768
close(4)                                = 0
gettimeofday({1337456425, 344072}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid1x RAID devic"..., 46Scanning for mdraid1x RAID
devices on disk hd0) = 46
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b500)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b50c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 345781}, NULL) = 0
open("/dev/sda", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 160041877504, [160041877504], SEEK_SET) = 0
read(4,
"\300\236\241\22\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
512) = 512
close(4)                                = 0
gettimeofday({1337456425, 346098}, NULL) = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b580)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b58c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 346703}, NULL) = 0
gettimeofday({1337456425, 346856}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid1x RAID devic"..., 53Scanning for mdraid1x RAID
devices on disk hd0,msdos2) = 53
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b500)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b50c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 347710}, NULL) = 0
open("/dev/sda2", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 159397667840, [159397667840], SEEK_SET) = 0
read(4,
"\27\2427\330\3713\352\233\3O\374\236y\215\341\31\260_\2562\305\200\243\243\ni\352yQ\263C7"...,
32768) = 32768
close(4)                                = 0
gettimeofday({1337456425, 348144}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "Scanning for mdraid1x RAID devic"..., 53Scanning for mdraid1x RAID
devices on disk hd0,msdos1) = 53
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b500)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b50c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 353668}, NULL) = 0
open("/dev/sda1", O_RDONLY|O_SYNC|O_LARGEFILE|0x100000) = 4
_llseek(4, 641499648, [641499648], SEEK_SET) = 0
read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
32768) = 32768
brk(0x8349000)                          = 0x8349000
close(4)                                = 0
gettimeofday({1337456425, 354121}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "scanning hd0 for LVM", 20scanning hd0 for LVM)    = 20
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b290)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b29c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 355059}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "no LVM signature found", 22no LVM signature found)  = 22
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 355347}, NULL) = 0
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b560)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b56c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 355932}, NULL) = 0
gettimeofday({1337456425, 356081}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "scanning hd0,msdos2 for LVM", 27scanning hd0,msdos2 for LVM) = 27
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b290)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b29c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 361026}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "no LVM signature found", 22no LVM signature found)  = 22
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 361645}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "scanning hd0,msdos1 for LVM", 27scanning hd0,msdos1 for LVM) = 27
write(2, ".\n", 2.
)                      = 2
open("/dev/sda", O_RDONLY|O_LARGEFILE)  = 4
fstat64(4, {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(8, 0), ...}) = 0
ioctl(4, BLKGETSIZE64, 0xbfd5b290)      = 0
ioctl(4, BLKSSZGET, 0xbfd5b29c)         = 0
close(4)                                = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "the size of hd0 is 312581808", 28the size of hd0 is 312581808) = 28
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 363156}, NULL) = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "no LVM signature found", 22no LVM signature found)  = 22
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 363443}, NULL) = 0
stat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFBLK|S_ISVTX|0660,
st_rdev=makedev(253, 1), ...}) = 0
stat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFBLK|S_ISVTX|0660,
st_rdev=makedev(253, 1), ...}) = 0
lstat64("/dev", {st_mode=S_IFDIR|0755, st_size=3480, ...}) = 0
lstat64("/dev/mapper", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
lstat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFLNK|0777, st_size=7,
....}) = 0
readlink("/dev/mapper/sredniczarny-root", "../dm-1"..., 4095) = 7
lstat64("/dev/dm-1", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(253, 1),
....}) = 0
ioctl(3, DM_TABLE_DEPS, 0x82da8c8)      = 0
ioctl(3, DM_TABLE_DEPS, 0x8310e28)      = 0
stat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFBLK|S_ISVTX|0660,
st_rdev=makedev(253, 1), ...}) = 0
ioctl(3, DM_TABLE_DEPS, 0x82d98c0)      = 0
ioctl(3, DM_TABLE_DEPS, 0x8310e28)      = 0
write(2, "grub-probe: info:", 17grub-probe: info:)       = 17
write(2, " ", 1 )                        = 1
write(2, "opening sredniczarny-root", 25opening sredniczarny-root) = 25
write(2, ".\n", 2.
)                      = 2
gettimeofday({1337456425, 365111}, NULL) = 0
write(2, "grub-probe: error:", 18grub-probe: error:)      = 18
write(2, " ", 1 )                        = 1
write(2, "no such disk", 12no such disk)            = 12
write(2, ".\n", 2.
)                      = 2
close(3)                                = 0
exit_group(1)                           = ?
sredniczarny:~#









And here the same (just last lines) without --verbose:

....
gettimeofday({1337456825, 659602}, NULL) = 0
stat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFBLK|S_ISVTX|0660,
st_rdev=makedev(253, 1), ...}) = 0
stat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFBLK|S_ISVTX|0660,
st_rdev=makedev(253, 1), ...}) = 0
lstat64("/dev", {st_mode=S_IFDIR|0755, st_size=3480, ...}) = 0
lstat64("/dev/mapper", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0
lstat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFLNK|0777, st_size=7,
....}) = 0
readlink("/dev/mapper/sredniczarny-root", "../dm-1"..., 4095) = 7
lstat64("/dev/dm-1", {st_mode=S_IFBLK|S_ISVTX|0660, st_rdev=makedev(253, 1),
....}) = 0
ioctl(3, DM_TABLE_DEPS, 0x91758c0)      = 0
ioctl(3, DM_TABLE_DEPS, 0x91abe20)      = 0
stat64("/dev/mapper/sredniczarny-root", {st_mode=S_IFBLK|S_ISVTX|0660,
st_rdev=makedev(253, 1), ...}) = 0
ioctl(3, DM_TABLE_DEPS, 0x91748b8)      = 0
ioctl(3, DM_TABLE_DEPS, 0x91abe20)      = 0
gettimeofday({1337456825, 665481}, NULL) = 0
write(2, "grub-probe: error:", 18grub-probe: error:)      = 18
write(2, " ", 1 )                        = 1
write(2, "no such disk", 12no such disk)            = 12
write(2, ".\n", 2.
)                      = 2
close(3)                                = 0
exit_group(1)                           = ?
sredniczarny:~#




Why grub-probe fails to follow link? Why it probes /dev/sda and /dev/sda1 when
it is not asked for it? Why this behaviour changed (it is a regression, it was
working without error)?

This is not critical error, because I can still boot system after update-grub,
because this is what is generated in case of this error:

menuentry 'Debian GNU/Linux, za pomocą systemu Linux 3.4.0-rc7-t43-devel-
smp-00106-gb1dab2f-dirty' --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 112f7462-0a8b-
4a93-b9e9-03bf35526c98
        echo    'Wczytywanie systemu Linux 3.4.0-rc7-t43-devel-smp-00106
-gb1dab2f-dirty...'
        linux   /vmlinuz-3.4.0-rc7-t43-devel-smp-00106-gb1dab2f-dirty
root=/dev/mapper/sredniczarny-root ro  resume=/dev/mapper/sredniczarny-swap_1
thinkpad_acpi.fan_control=1
        echo    'Wczytywanie początkowego dysku RAM...'
        initrd  /initrd.img-3.4.0-rc7-t43-devel-smp-00106-gb1dab2f-dirty
}


And there is also no problem with boot partition:

sredniczarny:~# grub-probe --target=fs_uuid /boot
112f7462-0a8b-4a93-b9e9-03bf35526c98
sredniczarny:~# grub-probe --target=fs /boot
ext2

So, both kernel and initrd can be loaded without problem, also root=/dev/mapper
/sredniczarny-root is actabale, because initrd is able to properly find this
device and open encrypted device + LVM. However, ability to have UUID there
would be best option, and currently it is not automated due this symlink
releated bug.



It may be releated to the fact that grub-probe is trying to also handle
multiple devices setup, and want to know all devices used by it. However, I do
not understand why output would be a different than just following link:



I also doesn't understand why grub-probe even touches /dev/sda , sda1 and sda2!
It was asked explicitly for /dev/something other (like /dev/dm-1), and it still
is the last thing it does. Even more, /dev/sda sda1 and sda2 are opened
multiple times according to strace.


Additional info

sredniczarny:~# cat /proc/mounts  | awk '$2 ~ /^\/$/'
rootfs / rootfs rw 0 0
/dev/mapper/sredniczarny-root / ext4 rw,relatime,nodelalloc 0 0


sredniczarny:~# cat /etc/fstab  | awk '$2 ~ /^\/$/'
/dev/mapper/sredniczarny-root /               ext4    errors=remount-
ro,barrier=1,user_xattr,relatime,acl,commit=120 0       1


Probably converting to UUID based entries here will solve a problem, but still
I do not see why grub-probe fails with simple request when symlinks (and I find
them more human readable and writable than UUIDs) are presented.

Thanks,
Witek



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.4.0-rc6-t43-prod2-00020-g789505b-dirty (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-common depends on:
ii  gettext-base        0.18.1.1-8
ii  libc6               2.13-32
ii  libdevmapper1.02.1  2:1.02.74-3
ii  libfreetype6        2.4.9-1
ii  libfuse2            2.9.0-1
ii  zlib1g              1:1.2.7.dfsg-1

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

Versions of packages grub-common suggests:
ii  desktop-base   6.0.7
ii  grub-emu       <none>
ii  multiboot-doc  <none>
ii  xorriso        1.2.2-1

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: os-prober
Source-Version: 1.57

We believe that the bug you reported is fixed in the latest version of
os-prober, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 680...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christian Perrier <bubu...@debian.org> (supplier of updated os-prober package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 22 Dec 2012 12:54:54 +0100
Source: os-prober
Binary: os-prober-udeb os-prober
Architecture: source i386
Version: 1.57
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-b...@lists.debian.org>
Changed-By: Christian Perrier <bubu...@debian.org>
Description: 
 os-prober  - utility to detect other OSes on a set of drives
 os-prober-udeb - utility to detect other OSes on a set of drives (udeb)
Closes: 680084 685159
Changes: 
 os-prober (1.57) unstable; urgency=low
 .
   [ Christian Perrier ]
   * Deal with grub-probe exiting with non zero status on some
     devices, which in turns can stuck update-grub
     Closes: #680084
 .
   [ Joey Hess ]
   * Fix detection of Fedora and other distros that moved /lib into /usr
     and left behind a symlink. Grub's filesystem code does not support
     symlinks. Closes: #685159 Thanks Andreas Bombe for the patch.
Checksums-Sha1: 
 4a68c8611fc39a358f942084349127ceb04a3e19 1683 os-prober_1.57.dsc
 b577943e8b1633cdb0ac79e3073c5cb0270abaec 26717 os-prober_1.57.tar.gz
 7b81c9761e539216e56c1e122d333824c4f79b2f 12884 os-prober-udeb_1.57_i386.udeb
 df99e3e1fb8c657602122d72c4d91d243c2de756 28830 os-prober_1.57_i386.deb
Checksums-Sha256: 
 bad4f13db5630d5cb1d621a02d934aa6ed3a1e7db6c040dda84c3d14ea09afae 1683 
os-prober_1.57.dsc
 d63c6cbb825a7e411aac5e4805edc6db2fbf77a59282b71c10bd29723b8d860c 26717 
os-prober_1.57.tar.gz
 806004743bcc0d1ea7b9b95881448745179d5f38293ecf37f752c0a879cf0108 12884 
os-prober-udeb_1.57_i386.udeb
 2b72a93996ea204c5b70524999d1567eafc4389758667b2caca609e68dc4ba52 28830 
os-prober_1.57_i386.deb
Files: 
 ddbeb00c563d6d4995c4b088718900c6 1683 debian-installer optional 
os-prober_1.57.dsc
 67548b17d55cc32c1168bb5a4061170d 26717 debian-installer optional 
os-prober_1.57.tar.gz
 02112ae805ee256dcc7af4f86de6f99c 12884 debian-installer optional 
os-prober-udeb_1.57_i386.udeb
 6d177cf76e83e7eec3969a1f8810eb81 28830 utils extra os-prober_1.57_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIVAwUBUNW/vIcvcCxNbiWoAQLHQw/9EYe3Qv+nRGxdtoubSqFx+VkgWmlAHdWM
B7In09CLXxAJnOS9zLuIHoHnmrACfxFbozTatSfqcSpf9Dtn/AHAr0UlLpE1sqSl
iNJVcinSqtgQlps9E8EJndQdoIYojEypz3lIo47Ri94K/80tu9OcqN4Htcb3Edfh
uxWucH7wXnDyFBKfak9ui+/4WRktS+ei4wfJpnjJC8qh7zksZ950YfocWQVDaEJk
CS+cwhEZGfSCfJB4MYbHFIOs4TyOtzle/0mvGlleIqtJSyDKrmeJFye2VmpU9mX4
g4IJ68F84jh/PI5tJCwfs7BN3a4CL3Q+YQGzFjdZN+t+YhuRF54Rqv/slE4VI0dZ
DU383ZZK5N8nVpwqIIq3BlxnBWUcCuwStishmAYWPS/xUesxyFw2+aL2mH1ejCXZ
bKls3Z5fgsW/S60TigewVzTjBDgxNnoFo2jaQJdIMzOfWtxe6gUPTIy9uVZ8abIe
EmatVcggelup1NHm2cXX5/6vYEqyKJ569I+t19C4n5psi25Y3TtZ9CTCPTGM4JPJ
PMP0mEek4oVPqGZaIsNJ3dG02cJuoqT49VzJNDNlQpovOFDk1iOggzhO8axkhzRp
eAqWOCcHDJXPqgQvAnafoj4fqNKBiFYPFWco5yn/PSYIVmPX+7pysepZL4aMzouc
Fy74/naGwSs=
=CVlg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to