[Bug 774560] New: Yast2-Boot Loader freezes at 100 percent when saving changes
https://bugzilla.novell.com/show_bug.cgi?id=774560 https://bugzilla.novell.com/show_bug.cgi?id=774560#c0 Summary: Yast2-Boot Loader freezes at 100 percent when saving changes Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: rb03884@gmail.com QAContact: jsrain@suse.com Found By: Beta-Customer Blocker: --- Created an attachment (id=501152) --> (http://bugzilla.novell.com/attachment.cgi?id=501152) Saving Yast2-Boot Loader changes freeze up Every time I save changes with Yast2-Boot Loader it freezes at 100 percent. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c1
Michal Filka
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c2
--- Comment #2 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c3
--- Comment #3 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c4
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c5
--- Comment #5 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c6
--- Comment #6 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c7
--- Comment #7 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c8
--- Comment #8 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c9
--- Comment #9 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c10
--- Comment #10 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c11
--- Comment #11 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c12
--- Comment #12 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c13
--- Comment #13 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c14
--- Comment #14 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c15
--- Comment #15 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c16
--- Comment #16 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c17
--- Comment #17 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c18
--- Comment #18 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c19
--- Comment #19 from Michael Chang
It is listing hundreds of files. Bug?
It's not a bug, afaics. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c20
--- Comment #20 from Michael Chang
Copied from my konsole. Should it not go back to the prompt after it is done? I had to use CNTRL+Z to stop it.
tail -f /var/log/YaST2/y2log_bootloader Generating grub.cfg ... tail: /var/log/YaST2/y2log_bootloader: file truncated Generating grub.cfg ... Found theme: /boot/grub2/themes/openSUSE/theme.txt Found linux image: /boot/vmlinuz-3.4.6-1.1-desktop Found initrd image: /boot/initrd-3.4.6-1.1-desktop No volume groups found Found openSUSE 12.1 (x86_64) on /dev/sda1 done
^Z [1]+ Stopped tail -f /var/log/YaST2/y2log_bootloader
CNTRL+Z puts the process to background and suspend it. (In case that it holds file lock or any unreleased resource, which is unwanted side-effect to new running process) If you want a clean termination, use CTRL+C is better way to go. :) The 'trace' (set -x) is not enable in the script, you could try this command $ sed -i '1s/$/ -x/' /usr/sbin/grub2-mkconfig That is set your #! /bin/sh to #! /bin/sh -x And see where the execution blocks (in a command or in a loop). Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c21
--- Comment #21 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c22
--- Comment #22 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c23
--- Comment #23 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c24
--- Comment #24 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c25
--- Comment #25 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c26
--- Comment #26 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c27
--- Comment #27 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c28
--- Comment #28 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c
Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c29
--- Comment #29 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c30
--- Comment #30 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c31
--- Comment #31 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c32
--- Comment #32 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c33
--- Comment #33 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c34
--- Comment #34 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c35
--- Comment #35 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c36
--- Comment #36 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c37
--- Comment #37 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c38
--- Comment #38 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c39
--- Comment #39 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c40
--- Comment #40 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c41
--- Comment #41 from Michael Chang
From the log, it's obvious that grub2-probe took too many time to complete. The time spent is approx 12s each, but you have to time the value with 19.
$ grep grub2-probe bug-774560_grub2-mkcofing-strace.log | wc -l 19 The sum of time is 19x12=228s, which is ridiculous. For your reference, on my testing laptop grub2-probe completes between 0.01 to 0.02s. The difference to yours is huge. The strace output would be very helpful, would you please help to provide? $ strace -T /usr/sbin/grub2-probe --verbose --device /dev/sda1 --target=fs > grub2-probe-strace_T.log Meanwhile .. I'll try digging the code to find any suspicious, but would be much more helpful with above log. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c42
--- Comment #42 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c43
--- Comment #43 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c44
--- Comment #44 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c45
--- Comment #45 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c46
--- Comment #46 from Michael Chang
Why is grub2 fs type set to ext2?
That's grub2's ext2 fs module and is used by all ext fs family. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c47
--- Comment #47 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c48
--- Comment #48 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c49
--- Comment #49 from Roman Bysh
https://bugzilla.novell.com/show_bug.cgi?id=774560
https://bugzilla.novell.com/show_bug.cgi?id=774560#c50
Torsten Duwe
participants (1)
-
bugzilla_noreply@novell.com