Bug#558422: grub-pc: upgrade hangs

Vladimir 'φ-coder/phcoder' Serbinenko phcoder at gmail.com
Sat Feb 4 01:25:38 UTC 2012


tag 558422 fixed-upstream
thanks
On 18.02.2010 22:23, Steve Grecni wrote:
> strace of grub-mkdevicemap shows it hanging after attempting to access 
> /dev/hdc, my cdrom drive.  So the problem may be the driver, but I'd 
> prefer to retain the usage of this device.
>
>
>
> execve("/usr/sbin/grub-mkdevicemap", ["grub-mkdevicemap"], [/* 17 vars 
> */]) = 0
> brk(0)                                  = 0x867f000
> 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) = 0xb7872000
> 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=98697, ...}) = 0
> mmap2(NULL, 98697, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7859000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/lib/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\260l\1\0004\0\0\0"..., 512) 
> = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1331684, ...}) = 0
> mmap2(NULL, 1337704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 
> 3, 0) = 0xb7712000
> mmap2(0xb7853000, 12288, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x141) = 0xb7853000
> mmap2(0xb7856000, 10600, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7856000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0xb7711000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb77116c0, 
> limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
> limit_in_pages:1, se
> g_not_present:0, useable:1}) = 0
> mprotect(0xb7853000, 8192, PROT_READ)   = 0
> mprotect(0xb7891000, 4096, PROT_READ)   = 0
> munmap(0xb7859000, 98697)               = 0
> brk(0)                                  = 0x867f000
> brk(0x86a0000)                          = 0x86a0000
> open("/boot/grub/device.map", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 
> 0666) = 3
> stat64("/dev/.devfsd", 0xbfed71c0)      = -1 ENOENT (No such file or 
> directory)
> stat64("/dev/fd0", 0xbfed81c0)          = -1 ENOENT (No such file or 
> directory)
> stat64("/dev/.devfsd", 0xbfed71c0)      = -1 ENOENT (No such file or 
> directory)
> open("/dev/hda", O_RDONLY|O_LARGEFILE)  = 4
> ioctl(4, CDROM_GET_CAPABILITY or SNDRV_SEQ_IOCTL_UNSUBSCRIBE_PORT, 0) 
> = -1 EINVAL (Invalid argument)
> fstat64(4, {st_mode=S_IFBLK|0660, st_rdev=makedev(3, 0), ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0xb7871000
> read(4, 
> "\353c\220\1\265\1LILO\26\6%\311\367C\0\0\0\0&\311\367C\205\252\262\354\201\0\201`"..., 
> 4096) = 4096
> close(4)                                = 0
> munmap(0xb7871000, 4096)                = 0
> fstat64(3, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
> 0) = 0xb7871000
> open("/dev/hdb", O_RDONLY|O_LARGEFILE)  = -1 ENOENT (No such file or 
> directory)
> open("/dev/hdc", O_RDONLY|O_LARGEFILE <unfinished ...>
>
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>


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






More information about the Pkg-grub-devel mailing list