Bug#620663: grub-pc hangs after upgrading lenny to squeezy

Dio Brando diobrando at bmlabs.net
Sun Apr 3 21:06:54 UTC 2011


Yes, I followed the procedure above:

$ apt-get source grub-pc
$ cd grub2-1.98+20100804
$ patch -p1 ../readasync.diff
$ dpkg-buildpackage -rfakeroot -b
# dpkg -i /usr/src/grub-common_1.98+20100804-14_amd64.deb (no way, stuck)

then

# time 
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe 
--device /dev/sda1 --target=fs_uuid -v

/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: /dev/sda1 starts from 63.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: opening the device hd0.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: Partition 0 starts from 63.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: opening hd0,msdos1.
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe: 
info: the size of hd0 is 285474816.
064379e4-65a5-4bce-8ae0-afe6a3257c41

real    4m28.464s
user    0m0.068s
sys     0m0.072s

and

# time strace -S time -tt 
/usr/src/grub2-1.98+20100804/debian/grub-common/usr/sbin/grub-probe 
--device /dev/sda1 --target=fs_uuid -v > /tmp/probe_strace 2>&1

real    5m2.368s
user    0m0.080s
sys     0m0.092s

log attached at this email.


On 03/04/2011 22:30, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Sorry miread it: I thought that compiling took too long. When you're
> doing strace, which calls take noticeable amount of time?
> Other than O_SYNC flag I see no reason why reading partitions would be
> slow on your system.
> Hm, the patch I've sent you is for the upstream source. Did it apply
> correctly?
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: probe_strace
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20110403/d777f7fa/attachment-0001.txt>


More information about the Pkg-grub-devel mailing list