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

2011-04-08 Thread Vladimir 'φ-coder/phcoder' Serbinenko
tag 620663 fixed-upstream thanks Patch applied upstream On 04.04.2011 22:31, Dio Brando wrote: Ok, it works like a charm. Many thanks. # 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 21

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

2011-04-04 Thread Dio Brando
Hi Vladimir, I'm having trouble patching: $ patch -p1 ../readasync.diff patching file kern/emu/hostdisk.c Hunk #1 succeeded at 551 (offset -78 lines). $ patch -p1 ../readasync_2.diff patching file kern/emu/hostdisk.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply

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

2011-04-04 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 04.04.2011 21:02, Dio Brando wrote: $ patch -p1 ../readasync_2.diff patching file kern/emu/hostdisk.c Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] y Hunk #1 FAILED at 629. Patches aren't incremental. Only latest is to be applied. I also tryied to

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

2011-04-04 Thread Dio Brando
In this case only the last hunk didn't fails (grub source are fresh): $ patch -p1 ../readasync_3.diff patching file kern/emu/hostdisk.c Hunk #1 FAILED at 664. Hunk #2 FAILED at 675. Hunk #3 FAILED at 716. Hunk #4 succeeded at 855 (offset -77 lines). 3 out of 4 hunks FAILED -- saving rejects to

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

2011-04-04 Thread Dio Brando
On 04/04/2011 21:11, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Without success in which way? Ok, patched by hand. Now compiling.. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

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

2011-04-03 Thread Dio Brando
Package: grub-pc Version: 1.98+20100804-14 Severity: grave Linux mcfly.bmlabs.net 2.6.32-bpo.5-amd64 #1 SMP Fri Jun 11 08:42:31 UTC 2010 x86_64 GNU/Linux Debian squeeze After the grub-pc upgrade from grub legacy to grub 2.0 using the command upgrade-from-grub-legacy, update-grub,

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

2011-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2011 13:09, Dio Brando wrote: read(3, ^C unfinished ... Unfortunately your log didn't contain enough info to determine the problem or what the fd=3 refers to. Could you send complete log and try: sudo sh -x grub-mkconfig Then you may need to replace set -e with set-ex in some of

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

2011-04-03 Thread Dio Brando
Hi Vladimir, thanks for the hints. It seems grub-probe to be very slow ( 30 mins before force to stop with ctrl-c). Full log as attachment. # fdisk -l Disk /dev/sda: 146.2 GB, 146163105792 bytes 255 heads, 63 sectors/track, 17769 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

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

2011-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2011 17:51, Dio Brando wrote: thanks for the hints. It seems grub-probe to be very slow ( 30 mins before force to stop with ctrl-c). Full log as attachment. Could you attach the output of /usr/sbin/grub-probe --device /dev/sda1 --target=fs_uuid -v And its strace ? -- Regards

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

2011-04-03 Thread Dio Brando
Sure # time /usr/sbin/grub-probe --device /dev/sda1 --target=fs_uuid -v /usr/sbin/grub-probe: info: the size of hd0 is 285474816. /usr/sbin/grub-probe: info: the size of hd0 is 285474816. /usr/sbin/grub-probe: info: the size of hd0 is 285474816. /usr/sbin/grub-probe: info: the size of hd0 is

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

2011-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
real16m56.160s user0m0.086s sys 0m0.038s Could you try the attached patch? -- Regards Vladimir 'φ-coder/phcoder' Serbinenko === modified file 'grub-core/kern/emu/hostdisk.c' --- grub-core/kern/emu/hostdisk.c 2011-04-03 13:45:20 + +++ grub-core/kern/emu/hostdisk.c

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

2011-04-03 Thread Dio Brando
No way. Installing the new compiled grub package is very very long (after 50min it's still here). On 03/04/2011 20:15, Vladimir 'φ-coder/phcoder' Serbinenko wrote: real16m56.160s user0m0.086s sys 0m0.038s Could you try the attached patch? -- To UNSUBSCRIBE, email to

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

2011-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2011 22:13, Dio Brando wrote: No way. Installing the new compiled grub package is very very long (after 50min it's still here). Debian build system compiles many supported architectures. You can download upstream and compile just yours. Then you can test grub-probe without installing

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

2011-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2011 22:13, Dio Brando wrote: No way. Installing the new compiled grub package is very very long (after 50min it's still here). 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

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

2011-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2011 23:05, Dio Brando wrote: # 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 21 real5m2.368s user0m0.080s sys 0m0.092s log attached at this email. Looks like the

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

2011-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 03.04.2011 23:06, Dio Brando wrote: 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 It seems like