[Bug 805732] New: task blocked for more than 480 secondes

https://bugzilla.novell.com/show_bug.cgi?id=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c0 Summary: task blocked for more than 480 secondes Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: aj@suse.com QAContact: qa-bugs@suse.de CC: rhafer@suse.com Found By: Product Management Blocker: --- Building an image via osc, osc suddenly hangs. ps shows: 29840 pts/19 Ss 0:00 \_ /bin/bash 29950 pts/19 S+ 0:29 | \_ /usr/bin/python /usr/bin/osc build images x86_64 30212 pts/19 S+ 0:00 | \_ sudo /usr/bin/build --root=/abuild/osc/buildroot_images-x86_64 -- 30213 pts/19 S+ 0:00 | \_ /bin/bash /usr/bin/build --root=/abuild/osc/buildroot_images- 30230 pts/19 S+ 0:00 | \_ build logging -e open(F,">>",$ARGV[0])||die("$ARGV[0]: $! 10639 pts/19 S+ 0:00 | \_ su -c cd /usr/src/packages/SOURCES && kiwi --create /usr/ 10640 pts/19 S+ 0:00 | \_ -bash -c cd /usr/src/packages/SOURCES && kiwi --creat 10663 pts/19 S+ 0:00 | \_ /usr/bin/perl /usr/sbin/kiwi --create /usr/src/pa 11072 pts/19 S+ 0:00 | \_ /bin/sh /usr/src/packages/KIWI-oem/boot-VMX.M 11073 pts/19 S+ 0:01 | \_ /usr/bin/zypper --non-interactive --no-gp 11870 pts/19 S+ 0:00 | \_ rpm --root /usr/src/packages/KIWI-oem 11871 pts/19 S+ 0:00 | \_ /bin/sh /var/tmp/rpm-tmp.lfc5dC 1 11902 pts/19 D+ 0:00 | \_ /bin/sh /var/tmp/rpm-tmp.lfc5 and dmesg reports: [326894.045840] INFO: task sh:11902 blocked for more than 480 seconds. [326894.045844] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [326894.045846] sh D ffff88014dcb32c0 0 11902 11871 0x00000000 [326894.045851] ffff88003580dc78 0000000000000086 ffff880002844680 ffff88003580dfd8 [326894.045855] ffff88003580dfd8 ffff88003580dfd8 ffff88014783c4c0 ffff880002844680 [326894.045859] 0000000000000246 ffff880146858800 0000000000000000 0000000000000001 [326894.045862] Call Trace: [326894.045877] [<ffffffff811715cb>] __sb_start_write+0xcb/0x110 [326894.045886] [<ffffffff8118d24b>] mnt_want_write+0x1b/0x50 [326894.045891] [<ffffffff8117d617>] do_last+0xa47/0xed0 [326894.045897] [<ffffffff8117db63>] path_openat+0xc3/0x4c0 [326894.045902] [<ffffffff8117e804>] do_filp_open+0x44/0xb0 [326894.045906] [<ffffffff8116eb83>] do_sys_open+0xf3/0x1e0 [326894.045911] [<ffffffff8159f22d>] system_call_fastpath+0x1a/0x1f [326894.045930] [<00007fa0464a1fe0>] 0x7fa0464a1fdf [327372.659927] INFO: task sh:11902 blocked for more than 480 seconds. [327372.659931] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [327372.659933] sh D ffff88014dcb32c0 0 11902 11871 0x00000000 [327372.659938] ffff88003580dc78 0000000000000086 ffff880002844680 ffff88003580dfd8 [327372.659942] ffff88003580dfd8 ffff88003580dfd8 ffff88014783c4c0 ffff880002844680 [327372.659946] 0000000000000246 ffff880146858800 0000000000000000 0000000000000001 [327372.659949] Call Trace: [327372.659964] [<ffffffff811715cb>] __sb_start_write+0xcb/0x110 [327372.659972] [<ffffffff8118d24b>] mnt_want_write+0x1b/0x50 [327372.659978] [<ffffffff8117d617>] do_last+0xa47/0xed0 [327372.659984] [<ffffffff8117db63>] path_openat+0xc3/0x4c0 [327372.659988] [<ffffffff8117e804>] do_filp_open+0x44/0xb0 [327372.659993] [<ffffffff8116eb83>] do_sys_open+0xf3/0x1e0 [327372.659998] [<ffffffff8159f22d>] system_call_fastpath+0x1a/0x1f [327372.660017] [<00007fa0464a1fe0>] 0x7fa0464a1fdf uname -a reports: Linux byrd 3.7.9-1-desktop #1 SMP PREEMPT Sun Feb 17 23:09:22 UTC 2013 (ae1c506) x86_64 x86_64 x86_64 GNU/Linux The last lines from osc are: [ 378s] Retrieving package sysconfig-0.76.4-1.8.1.x86_64 (173/201), 307.8 KiB (746.2 KiB unpacked) [ 379s] Installing: sysconfig-0.76.4-1.8.1 [.......done] [ 379s] Additional rpm output: [ 379s] warning: /var/cache/kiwi/zypper/packages/usr_src_packages_SOURCES_repos_openSUSE:12.2:Update_standard/x86_64/sysconfig-0.76.4-1.8.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 3dbdc284: NOKEY [ 379s] Updating /etc/sysconfig/network/dhcp... [ 379s] Updating /etc/sysconfig/network/config... [ 379s] Removing old autogenerated device configuration files: [ 379s] [ 379s] [ 379s] Retrieving package grub-0.97-185.1.2.x86_64 (174/201), 331.0 KiB ( 1.4 MiB unpacked) And then it hangs... Steps to reproduce: 1. osc co systemsmanagement:crowbar:2.0 Crowbar_2.0 2. cd systemsmanagement\:crowbar\:2.0/Crowbar_2.0/ 3. osc build images x86_64 4. wait ;) -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c1 --- Comment #1 from Andreas Jaeger <aj@suse.com> 2013-03-05 18:48:49 UTC --- With kernel 3.8.2 it hangs as well - but without a dmesg so far. ps xaf shows: 9474 pts/20 S+ 0:16 \_ /usr/bin/python /usr/bin/osc build images x86_64 9489 pts/20 S+ 0:00 \_ sudo /usr/bin/build --root=/abuild/osc/buildroot_images-x86_64 --rpmlist=/tmp/rpmlist.7 9490 pts/20 S+ 0:00 \_ /bin/bash /usr/bin/build --root=/abuild/osc/buildroot_images-x86_64 --rpmlist=/tmp/ 9506 pts/20 S+ 0:00 \_ build logging -e open(F,">>",$ARGV[0])||die("$ARGV[0]: $!\n");$|=1;select(F);$| 10614 pts/20 S+ 0:00 \_ su -c cd /usr/src/packages/SOURCES && kiwi --prepare /usr/src/packages/SOURCES 10615 pts/20 S+ 0:00 \_ -bash -c cd /usr/src/packages/SOURCES && kiwi --prepare /usr/src/packages/S 10638 pts/20 S+ 0:00 \_ /usr/bin/perl /usr/sbin/kiwi --prepare /usr/src/packages/SOURCES --logf -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c2 --- Comment #2 from Andreas Jaeger <aj@suse.com> 2013-03-05 20:44:15 UTC --- Ignore comment #1 - that looks so far like a bug in kiwi. There was no hang - I could interrupt this easily with ctrl-c. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c3 --- Comment #3 from Andreas Jaeger <aj@suse.com> 2013-03-06 08:28:17 UTC --- This fails with 3.8.2 as well at the same place (installing grub) using: $ uname -a Linux byrd 3.8.2-1-desktop #1 SMP PREEMPT Mon Mar 4 15:32:40 UTC 2013 (0422575) x86_64 x86_64 x86_64 GNU/Linux dmesg reports: [61263.092345] INFO: task sh:20837 blocked for more than 480 seconds. [61263.092349] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [61263.092351] sh D ffff88014dcb3380 0 20837 20811 0x00000000 [61263.092355] ffff88002fb01c78 0000000000000086 ffff8800331ee5c0 ffff88002fb01fd8 [61263.092359] ffff88002fb01fd8 ffff88002fb01fd8 ffff88014743c4c0 ffff8800331ee5c0 [61263.092363] 0000000000000246 ffff880145849800 0000000000000000 0000000000000001 [61263.092366] Call Trace: [61263.092380] [<ffffffff811769cb>] __sb_start_write+0xcb/0x110 [61263.092388] [<ffffffff8119283b>] mnt_want_write+0x1b/0x50 [61263.092394] [<ffffffff811818b7>] do_last+0xa47/0xed0 [61263.092400] [<ffffffff81182c93>] path_openat+0xc3/0x4c0 [61263.092406] [<ffffffff81183c74>] do_filp_open+0x44/0xb0 [61263.092412] [<ffffffff81173eb3>] do_sys_open+0xf3/0x1e0 [61263.092418] [<ffffffff815be36d>] system_call_fastpath+0x1a/0x1f [61263.092438] [<00007fd18d7b9fe0>] 0x7fd18d7b9fdf ps shows: 19607 pts/18 S+ 0:00 \_ /usr/bin/perl /usr/sbin/kiwi --create /usr/src/packages/KIWIROOT-oem --logfile terminal --typ 20028 pts/18 S+ 0:00 \_ /bin/sh /usr/src/packages/KIWI-oem/boot-VMX.Jv2KD4/kiwi-VMXboot-19607/screenrc.smart 20029 pts/18 S+ 0:01 \_ /usr/bin/zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper 20810 pts/18 S+ 0:00 \_ rpm --root /usr/src/packages/KIWI-oem/boot-VMX.Jv2KD4/kiwi-VMXboot-19607 --dbpath 20811 pts/18 S+ 0:00 \_ /bin/sh /var/tmp/rpm-tmp.3mx3kn 1 20837 pts/18 D+ 0:00 \_ /bin/sh /var/tmp/rpm-tmp.3mx3kn 1 -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c4 Adam Spiers <aspiers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aspiers@suse.com --- Comment #4 from Adam Spiers <aspiers@suse.com> 2013-03-11 13:43:45 UTC --- If this is likely to take any significant time to fix, we should mention it in https://en.opensuse.org/openSUSE:OpenStack_and_Crowbar_development_process#C... -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c5 --- Comment #5 from Andreas Jaeger <aj@suse.com> 2013-03-12 07:54:01 UTC --- My computer is using ext4 as filesystem. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c6 Jiri Kosina <jkosina@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jack@suse.com InfoProvider| |aj@suse.com --- Comment #6 from Jiri Kosina <jkosina@suse.com> 2013-03-12 08:59:18 CET --- (In reply to comment #5)
My computer is using ext4 as filesystem.
Would it be easily possible for you to test the same workload on a different filesystem to see whether this is ext4-specific or not? 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c7 --- Comment #7 from Andreas Jaeger <aj@suse.com> 2013-03-12 08:22:01 UTC --- Sure, no problem - I have some space left. Will try XFS now, if you have other suggestions, just tell... -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c8 Ralf Haferkamp <rhafer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ms@suse.com --- Comment #8 from Ralf Haferkamp <rhafer@suse.com> 2013-03-12 09:32:39 CET --- Adding Marcus to CC, he might be able to offer some hints what kiwi is doing at that stage. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c9 --- Comment #9 from Andreas Jaeger <aj@suse.com> 2013-03-12 08:51:16 UTC --- Seems to hang with XFS the same way: osc tail: [ 567s] [ 567s] [ 567s] Retrieving package grub-0.97-185.1.2.x86_64 (174/201), 331.0 KiB ( 1.4 MiB unpacked) ps xaf: 29523 pts/13 S+ 0:00 \_ /usr/bin/python /usr/bin/osc build images x86_64 29526 pts/13 S+ 0:00 \_ sudo /usr/bin/build --root=/test/bnc805732 --rpmlist=/tmp/rpmlist.x2h6op --dist=/tmp/systemsmanagement:crowba 29527 pts/13 S+ 0:00 \_ /bin/bash /usr/bin/build --root=/test/bnc805732 --rpmlist=/tmp/rpmlist.x2h6op --dist=/tmp/systemsmanageme 29544 pts/13 S+ 0:00 \_ build logging -e open(F,">>",$ARGV[0])||die("$ARGV[0]: $!\n");$|=1;select(F);$|=1;while(<STDIN>){my $ 10059 pts/13 S+ 0:00 \_ su -c cd /usr/src/packages/SOURCES && kiwi --create /usr/src/packages/KIWIROOT-oem --logfile terminal 10060 pts/13 S+ 0:00 \_ -bash -c cd /usr/src/packages/SOURCES && kiwi --create /usr/src/packages/KIWIROOT-oem --logfile t 10083 pts/13 S+ 0:00 \_ /usr/bin/perl /usr/sbin/kiwi --create /usr/src/packages/KIWIROOT-oem --logfile terminal --typ 10628 pts/13 S+ 0:00 \_ /bin/sh /usr/src/packages/KIWI-oem/boot-VMX.QFyaWn/kiwi-VMXboot-10083/screenrc.smart 10629 pts/13 S+ 0:01 \_ /usr/bin/zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper 11522 pts/13 S+ 0:00 \_ rpm --root /usr/src/packages/KIWI-oem/boot-VMX.QFyaWn/kiwi-VMXboot-10083 --dbpath 11530 pts/13 S+ 0:00 \_ /bin/sh /var/tmp/rpm-tmp.QprOJo 1 11560 pts/13 D+ 0:00 \_ /bin/sh /var/tmp/rpm-tmp.QprOJo 1 No dmesg output yet... Ralf, I doubt that kiwi is the culprit - this looks more like the postinstall of grub. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c10 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|aj@suse.com | --- Comment #10 from Andreas Jaeger <aj@suse.com> 2013-03-12 08:54:16 UTC --- postinstall that is executed is: cat /test/bnc805732/usr/src/packages/KIWI-oem/boot-VMX.QFyaWn/kiwi-VMXboot-10083/var/tmp/rpm-tmp.QprOJo # should anything go wrong the system will remain bootable : if [ -e /boot/grub/stage2 ] ; then mv /boot/grub/stage2{,.old} fi # copy especially stage2 over, because it will be modified in-place ! cp -p /usr/lib/grub/*stage1* /boot/grub 2>/dev/null || true ALL_ARGS=(--info-dir=/usr/share/info /usr/share/info/grub.info.gz) NUM_ARGS=${#ALL_ARGS[@]} if test -x /sbin/install-info ; then if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then /sbin/install-info "${ALL_ARGS[@]}" fi fi ; ALL_ARGS=(--info-dir=/usr/share/info /usr/share/info/multiboot.info.gz) NUM_ARGS=${#ALL_ARGS[@]} if test -x /sbin/install-info ; then if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then /sbin/install-info "${ALL_ARGS[@]}" fi fi ;#special hack for #46843 dd if=/usr/lib/grub/stage2 of=/boot/grub/stage2 bs=256k sync # sync may take much longer on XFS (Bug#223773) bootpart=`df /boot/. | perl -ane '$F[0] =~ m,/dev/[^\s]*, && print $F[0]'` eval `/sbin/blkid -u filesystem -o udev $bootpart` XFS_FREEZE=`type -p xfs_freeze` || true if [ -n "$XFS_FREEZE" ] ; then if [ "X$ID_FS_TYPE" = "X" -o "t_$ID_FS_TYPE" = "t_xfs" ]; then sync; sleep 5; sync; sleep 5; sync (xfs_freeze -f /; xfs_freeze -f /boot) > /dev/null 2>&1 (xfs_freeze -u /; xfs_freeze -u /boot) > /dev/null 2>&1 fi fi if [ -e /etc/sysconfig/bootloader ] ; then source /etc/sysconfig/bootloader fi LOADER_TYPE=${LOADER_TYPE:-grub} # command sequence to update-install stage1/stage2. # leave everything else alone ! if [ "x$LOADER_TYPE" = "xgrub" -a -e /etc/grub.conf ] ; then /usr/sbin/grub --batch < /etc/grub.conf >/dev/null 2>&1 fi -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c11 --- Comment #11 from Andreas Jaeger <aj@suse.com> 2013-03-12 08:56:48 UTC --- [502336.549644] XFS (sdb3): Mounting Filesystem [502336.719370] XFS (sdb3): Ending clean mount [504459.716687] INFO: task sh:11560 blocked for more than 480 seconds. [504459.716691] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [504459.716693] sh D ffff88014dcf3380 0 11560 11530 0x00000000 [504459.716698] ffff880103699c78 0000000000000082 ffff880105368580 ffff880103699fd8 [504459.716702] ffff880103699fd8 ffff880103699fd8 ffff880147448540 ffff880105368580 [504459.716705] 0000000000000246 ffff880004fd5800 0000000000000000 0000000000000001 [504459.716709] Call Trace: [504459.716722] [<ffffffff811769cb>] __sb_start_write+0xcb/0x110 [504459.716730] [<ffffffff8119283b>] mnt_want_write+0x1b/0x50 [504459.716735] [<ffffffff811818b7>] do_last+0xa47/0xed0 [504459.716742] [<ffffffff81182c93>] path_openat+0xc3/0x4c0 [504459.716747] [<ffffffff81183c74>] do_filp_open+0x44/0xb0 [504459.716753] [<ffffffff81173eb3>] do_sys_open+0xf3/0x1e0 [504459.716759] [<ffffffff815be36d>] system_call_fastpath+0x1a/0x1f [504459.716779] [<00007fbea10b8fe0>] 0x7fbea10b8fdf -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c12 Jiri Kosina <jkosina@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium AssignedTo|kernel-maintainers@forge.pr |jack@suse.com |ovo.novell.com | --- Comment #12 from Jiri Kosina <jkosina@suse.com> 2013-03-12 10:11:13 CET --- Jack, this seems like filesystem freezing/unfreezing imbalance, right? Does it ring any bells? 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c13 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |aj@suse.com --- Comment #13 from Jan Kara <jack@suse.com> 2013-03-12 09:47:31 UTC --- Yes, the shell hangs because the filesystem is frozen. Seeing that the postinstall phase actually does play with fs freezing I think the problem is somewhere there. What is actually the reason for (xfs_freeze -f /; xfs_freeze -f /boot) > /dev/null 2>&1 (xfs_freeze -u /; xfs_freeze -u /boot) > /dev/null 2>&1 in the postinstall? Does the problem go away if you remove these calls? My guess would be that we froze the root filesystem (xfs_freeze -f /) and then the execution of the shell (braces in the next line) tried to open something with O_CREAT (or O_TRUNC, O_WRONLY, ...) which blocks on frozen filesystem. Freezing / from a loosely controlled environment as is a shell is often problematic... Anyway, first I'd like to understand why the freezing is needed and whether removing it solves the problem. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c14 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |duwe@suse.com InfoProvider|aj@suse.com |duwe@suse.com --- Comment #14 from Andreas Jaeger <aj@suse.com> 2013-03-12 10:00:44 UTC --- Jan, this happens even on ext4. I can build a package without them. But let's ask Torsten whether he knows why those are needed? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c15 --- Comment #15 from Jan Kara <jack@suse.com> 2013-03-12 10:18:29 UTC --- Well, xfs_freeze works on all filesystems these days. But you are right that if ID_FS_TYPE is non-empty, we would avoid the freezing on ext4 because of the check before. Can you check what does '/sbin/blkid -u filesystem -o udev $bootpart' return? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c16 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|duwe@suse.com | --- Comment #16 from Andreas Jaeger <aj@suse.com> 2013-03-12 10:39:40 UTC --- For my two partitions I used for testing, this is what should get returned: /sbin/blkid -u filesystem -o udev /dev/sdb3 ID_FS_UUID=b19dd70a-3ab6-40fb-815b-b6f173991ca5 ID_FS_UUID_ENC=b19dd70a-3ab6-40fb-815b-b6f173991ca5 ID_FS_TYPE=xfs byrd:/home/aj/vcs/glibc # /sbin/blkid -u filesystem -o udev /dev/sdb2 ID_FS_UUID=bdc215ab-5c1d-4ae4-b901-7401b49f2df8 ID_FS_UUID_ENC=bdc215ab-5c1d-4ae4-b901-7401b49f2df8 ID_FS_TYPE=ext4 Unfortunately I cannot build with a modified grub packages since kiwi does not find grub anymore after giving: OSC_BUILD_ROOT=/test/bnc805732 osc build --clean --prefer-pkgs=/tmp/grub/ images x86_64 Marcus, any ideas how to inject another grub package? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c17 --- Comment #17 from Marcus Schaefer <ms@suse.com> 2013-03-12 10:57:59 UTC --- When osc builds an image by invoking kiwi, osc also builds the repos inside the chroot which are used by kiwi later to build the image. I would have expected that if you set --prefer-pkgs=... that osc will setup the repo with that prefered packages. If this is not the case it sounds like an osc/buildservice problem Thus it gets more complicated now: iirc the following worked for me in the past - manually chroot into the osc created build root environment osc chroot or manually chroot /path/to/build-root bash - create your own repo: mkdir /tmp/myGrub cp <grub-package> /tmp/myGrub cd /tmp/myGrub && createrepo . - change the kiwi XML description and add another repo: <repository type="rpm-md"/> <source path="/tmp/myGrub"/> </repository> - to make sure your own version of grub is used qualify the name if required <package name="grub-0.97-185.1.2"/> - restart osc image build, no clean Hope that helps -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c18 --- Comment #18 from Jan Kara <jack@suse.com> 2013-03-12 11:05:16 UTC --- Andreas, maybe you could just chroot into the environment created by osc and run the command manually there? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c19 --- Comment #19 from Jan Kara <jack@suse.com> 2013-03-12 11:19:02 UTC --- I've tried it here to let osc create the chroot, chroot into it and indeed blkid doesn't return anything. That's because /dev doesn't seem to be mounted in the chroot. Also for the same reason the shell will the freeze when opening /dev/null because that is an inode in / which is frozen... -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c20 --- Comment #20 from Marcus Schaefer <ms@suse.com> 2013-03-12 11:48:53 UTC --- what the grub postscript does here is really bad, it expects that the install happens on the target system and does some checks on /boot and the filesystem there. Installs of this package in a chroot environment could then have a bad impact on the host system. when kiwi builds an image it has to provide access to dev nodes, proc, sys and other kernel specific information. Every package which does assumptions in that area could cause a failure. That's also the reason why e.g Studio builds images only within a contained environment, the containment VM. The risk to damage,lock down the host system does not exist there but of course a bad package still can have an influence on the contained system driving the image build imho the code in the grub postinstall could also have bad effects on simple package building processes. I would say if you put grub into BuildRequires and build some package with osc you could see the same problem when osc installs the grub package to build up the chroot for building a package just my 2cents -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c21 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |duwe@suse.com --- Comment #21 from Andreas Jaeger <aj@suse.com> 2013-03-13 09:10:07 UTC --- So, two things: * Jan, Why does the kernel fail now - it worked before and still works in the obs? * Torsten, why is the postinstall needed this way? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c22 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@suse.com --- Comment #22 from Jan Kara <jack@suse.com> 2013-03-13 09:34:47 UTC --- That's the question I was asking myself as well. Filesystem freezing has been fixed in 3.6-rc1 (so that really any fs modifications are prevented) so it may be you were running some older kernel before. Also I remember I solved rather similar issue with Stephan Kulow on our build service machines (I'm not sure what was the exact problem there because Stephan tracked it down himself after some initial advices where to look). Stephan, do you remember? I was searching the bugzilla but I couldn't find the bug... Or it could be some difference in userspace (osc, installed packages, package dependencies pulling in grub...). -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c23 Torsten Duwe <duwe@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|duwe@suse.com | --- Comment #23 from Torsten Duwe <duwe@suse.com> 2013-03-13 10:10:30 UTC --- (In reply to comment #21)
* Torsten, why is the postinstall needed this way?
Because someone insisted to support booting Linux from xfs, which was never designed for that purpose. Grub does not use bmap(), but its own FS code on the raw disk. * Linux xfs is extremely lazy writing back dirty data * Linux buffer caches are not coherent (/dev/sda does not include /dev/sda1) The whole magic was needed to get stage2 onto the disk, so it can get modified in-place. Seems like someone broke the detection logic. This bug needs to be reassigned accordingly, or boot from XFS declared unsupported. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c24 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |duwe@suse.com --- Comment #24 from Jan Kara <jack@suse.com> 2013-03-13 10:46:19 UTC --- (In reply to comment #23)
Anyway the simplest solution seem to be to change postinstall to do: (xfs_freeze -f /; xfs_freeze -f /boot; xfs_freeze -u /; xfs_freeze -u /boot ) > /dev/null 2>&1 That way /dev/null will be opened on still unfrozen filesystem (subsequent writing to it doesn't block because device null as such isn't frozen) and things will work (tested that). Thorsten, can you change postinstall like that please? 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c25 --- Comment #25 from Andreas Jaeger <aj@suse.com> 2013-03-13 11:02:21 UTC --- osc pulls in grub since we're building an ISO installation image... Btw. the fix would mean an online update of grub for 12.2 and 12.3. Let's do that... -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c26 Torsten Duwe <duwe@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|duwe@suse.com | --- Comment #26 from Torsten Duwe <duwe@suse.com> 2013-03-20 13:54:03 UTC --- (In reply to comment #24)
(In reply to comment #23)
(In reply to comment #21)
No, it didn't. I was recommended to use xfs_freeze and that did the job.
The whole logic was to be carried out exclusively on xfs, or when the root fs type could not be determined. It looks to me as if someone clueless has inserted the LOADER_TYPE logic in the wrong place. BTW, where are the valid values for YAST_IS_RUNNING documented? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c27 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |duwe@suse.com --- Comment #27 from Jan Kara <jack@suse.com> 2013-03-20 17:13:07 UTC --- (In reply to comment #26)
-- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c28 Torsten Duwe <duwe@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|duwe@suse.com | --- Comment #28 from Torsten Duwe <duwe@suse.com> 2013-03-22 10:52:57 UTC --- When I touch the %post, I'd like it to be fixed for good. There's also bnc#682337, which could be fixed along the way. If grub1 is not the active boot loader, or it is not configured, a lot of things can be skipped in %post. Likewise, if we're on a "friendly" FS like ext4, There's no need to go through all this freezing mess. Again: please point me at some documentation about YAST_IS_RUNNING, and I'l give %post another try. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c29 --- Comment #29 from Ralf Haferkamp <rhafer@suse.com> 2013-03-22 12:24:28 CET --- (In reply to comment #28)
Again: please point me at some documentation about YAST_IS_RUNNING, and I'l give %post another try.
Not exactly documentation :(, but this might help: http://lists.opensuse.org/yast-devel/2013-01/msg00006.html -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c30 --- Comment #30 from Andreas Jaeger <aj@suse.com> 2013-03-22 11:26:34 UTC --- Why do you need YAST_IS_RUNNING? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c31 Torsten Duwe <duwe@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|jack@suse.com |duwe@suse.com --- Comment #31 from Torsten Duwe <duwe@suse.com> 2013-03-22 13:08:59 UTC ---
Not exactly documentation :(, but this might help: http://lists.opensuse.org/yast-devel/2013-01/msg00006.html
Very good! That should help. So, "instsys" is indeed the only case that needs extra care. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c32 Christian Bourque <christian.bourque@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christian.bourque@gmail.com --- Comment #32 from Christian Bourque <christian.bourque@gmail.com> 2013-04-22 19:08:45 UTC --- I got exactly the same behaviour after upgrading to 12.3! Our XFS partition freezes during the nightly backup: [122883.708034] INFO: task xfsaild/dm-1:1565 blocked for more than 480 seconds. [122883.708038] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [122883.708040] xfsaild/dm-1 D ffff88021fc93180 0 1565 2 0x00000000 [122883.708044] ffff880211573d58 0000000000000046 ffff88021398c040 ffff880211573fd8 [122883.708048] ffff880211573fd8 ffff880211573fd8 ffff8801a4b0c100 ffff88021398c040 [122883.708050] ffff88020fe18000 ffff88021011fa00 ffff88021398c040 0000000000000001 [122883.708053] Call Trace: [122883.708093] [<ffffffffa06d695b>] _xfs_log_force+0x1fb/0x290 [xfs] [122883.708194] [<ffffffffa06d6a0c>] xfs_log_force+0x1c/0x80 [xfs] [122883.708283] [<ffffffffa06daab8>] xfsaild+0x128/0x600 [xfs] [122883.708366] [<ffffffff81066273>] kthread+0xb3/0xc0 [122883.708372] [<ffffffff8154f23c>] ret_from_fork+0x7c/0xb0 We do not use Kiwi nor Crowbar as mentioned in earlier comments, this machine is exclusively used for backups... -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c33 --- Comment #33 from Jan Kara <jack@suse.com> 2013-04-23 08:38:37 UTC --- Christian, can you share more details please? If I understand your comment right, the machine is a backup server to which backups are copied? Can you run 'echo w >/proc/sysrq-trigger' when the partition gets frozen and post the output from dmesg here? -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c34 --- Comment #34 from Christian Bourque <christian.bourque@gmail.com> 2013-04-24 16:20:31 UTC --- Yes the machine is a network backup server (smb/rsync) running on 3.7.10-1.1-default x86_64! Next time it freezes I'll send you the output... 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c35 --- Comment #35 from Christian Bourque <christian.bourque@gmail.com> 2013-04-25 19:07:31 UTC --- Created an attachment (id=536926) --> (http://bugzilla.novell.com/attachment.cgi?id=536926) debugging output Output of the command requested by Jan. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c36 Jan Kara <jack@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |christian.bourque@gmail.com --- Comment #36 from Jan Kara <jack@suse.com> 2013-04-25 22:17:28 UTC --- Thanks for the output. So from the traces it doesn't seem this is related at all. I don't see any sign of filesystem freezing being used. Also all the threads seem to be hanging just waiting for IO (to get new IO request structure, wait for IO related locks). Is the machine hung hard or is the only sign of the problem the message in the log? If it is the first case, please file a separate bug. If it is the second case, it may be just that the IO is taking a long time. Unless you observe some unexpected delays in your workload, I wouldn't be probably too concerned. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c37 --- Comment #37 from Christian Bourque <christian.bourque@gmail.com> 2013-04-25 22:21:56 UTC --- I'll do more tests and I'll let you know... Thanks a lot for your time! -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c38 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adrian@suse.com --- Comment #38 from Adrian Schröter <adrian@suse.com> 2013-07-16 06:27:45 UTC --- *** Bug 823846 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=823846 -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c39 --- Comment #39 from Adrian Schröter <adrian@suse.com> 2013-07-16 06:31:52 UTC --- Just to stress this one a bit more. For me all systems I updated to 12.3 or Factory do show this behaviour when building in chroot (but not in kvm). So, it is quite hard since quite some time for me to debug any appliance imageing related issue. So, at least for me this is a critical bug. I can trigger this issue at any time with XFS, btrfs an ext4 filesystems. The traces I saw looked not very helpful, but I can do any kind of testing if you tell me what. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c40 --- Comment #40 from Jan Kara <jack@suse.com> 2013-07-16 11:03:30 UTC --- Adrian, I comment 24 I wrote how to change grub postinstall so that the hang doesn't happen. If you can somehow provide alternative grub package for your builds, you can modify it yourself until Thorsten fixes it how he likes... -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c41 --- Comment #41 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-16 18:00:19 CEST --- This is an autogenerated message for OBS integration: This bug (805732) was mentioned in https://build.opensuse.org/request/show/203519 Factory / grub -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c42 --- Comment #42 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-17 11:00:16 CEST --- This is an autogenerated message for OBS integration: This bug (805732) was mentioned in https://build.opensuse.org/request/show/203570 Factory / grub -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c43 Torsten Duwe <duwe@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|christian.bourque@gmail.com | Resolution| |FIXED --- Comment #43 from Torsten Duwe <duwe@suse.com> 2013-10-17 15:36:58 UTC --- All fixes merged into Factory and SLE11-SP3 -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:54756:moderat | |e -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c45 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:54756:moderat |maint:running:54756:moderat |e |e | |maint:released:sle11-sp3:54 | |758 --- Comment #45 from Swamp Workflow Management <swamp@suse.de> 2013-11-26 12:53:51 UTC --- Update released for: grub, grub-debuginfo, grub-debugsource Products: SLE-DEBUGINFO 11-SP3 (i386, x86_64) SLE-DESKTOP 11-SP3 (i386, x86_64) SLE-SERVER 11-SP3 (i386, x86_64) SLES4VMWARE 11-SP3 (i386, x86_64) -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:54756:moderat |maint:released:sle11-sp3:54 |e |758 |maint:released:sle11-sp3:54 | |758 | -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c1 --- Comment #1 from Andreas Jaeger <aj@suse.com> 2013-03-05 18:48:49 UTC --- With kernel 3.8.2 it hangs as well - but without a dmesg so far. ps xaf shows: 9474 pts/20 S+ 0:16 \_ /usr/bin/python /usr/bin/osc build images x86_64 9489 pts/20 S+ 0:00 \_ sudo /usr/bin/build --root=/abuild/osc/buildroot_images-x86_64 --rpmlist=/tmp/rpmlist.7 9490 pts/20 S+ 0:00 \_ /bin/bash /usr/bin/build --root=/abuild/osc/buildroot_images-x86_64 --rpmlist=/tmp/ 9506 pts/20 S+ 0:00 \_ build logging -e open(F,">>",$ARGV[0])||die("$ARGV[0]: $!\n");$|=1;select(F);$| 10614 pts/20 S+ 0:00 \_ su -c cd /usr/src/packages/SOURCES && kiwi --prepare /usr/src/packages/SOURCES 10615 pts/20 S+ 0:00 \_ -bash -c cd /usr/src/packages/SOURCES && kiwi --prepare /usr/src/packages/S 10638 pts/20 S+ 0:00 \_ /usr/bin/perl /usr/sbin/kiwi --prepare /usr/src/packages/SOURCES --logf -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c2 --- Comment #2 from Andreas Jaeger <aj@suse.com> 2013-03-05 20:44:15 UTC --- Ignore comment #1 - that looks so far like a bug in kiwi. There was no hang - I could interrupt this easily with ctrl-c. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c3 --- Comment #3 from Andreas Jaeger <aj@suse.com> 2013-03-06 08:28:17 UTC --- This fails with 3.8.2 as well at the same place (installing grub) using: $ uname -a Linux byrd 3.8.2-1-desktop #1 SMP PREEMPT Mon Mar 4 15:32:40 UTC 2013 (0422575) x86_64 x86_64 x86_64 GNU/Linux dmesg reports: [61263.092345] INFO: task sh:20837 blocked for more than 480 seconds. [61263.092349] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [61263.092351] sh D ffff88014dcb3380 0 20837 20811 0x00000000 [61263.092355] ffff88002fb01c78 0000000000000086 ffff8800331ee5c0 ffff88002fb01fd8 [61263.092359] ffff88002fb01fd8 ffff88002fb01fd8 ffff88014743c4c0 ffff8800331ee5c0 [61263.092363] 0000000000000246 ffff880145849800 0000000000000000 0000000000000001 [61263.092366] Call Trace: [61263.092380] [<ffffffff811769cb>] __sb_start_write+0xcb/0x110 [61263.092388] [<ffffffff8119283b>] mnt_want_write+0x1b/0x50 [61263.092394] [<ffffffff811818b7>] do_last+0xa47/0xed0 [61263.092400] [<ffffffff81182c93>] path_openat+0xc3/0x4c0 [61263.092406] [<ffffffff81183c74>] do_filp_open+0x44/0xb0 [61263.092412] [<ffffffff81173eb3>] do_sys_open+0xf3/0x1e0 [61263.092418] [<ffffffff815be36d>] system_call_fastpath+0x1a/0x1f [61263.092438] [<00007fd18d7b9fe0>] 0x7fd18d7b9fdf ps shows: 19607 pts/18 S+ 0:00 \_ /usr/bin/perl /usr/sbin/kiwi --create /usr/src/packages/KIWIROOT-oem --logfile terminal --typ 20028 pts/18 S+ 0:00 \_ /bin/sh /usr/src/packages/KIWI-oem/boot-VMX.Jv2KD4/kiwi-VMXboot-19607/screenrc.smart 20029 pts/18 S+ 0:01 \_ /usr/bin/zypper --non-interactive --no-gpg-checks --reposd-dir /var/cache/kiwi/zypper 20810 pts/18 S+ 0:00 \_ rpm --root /usr/src/packages/KIWI-oem/boot-VMX.Jv2KD4/kiwi-VMXboot-19607 --dbpath 20811 pts/18 S+ 0:00 \_ /bin/sh /var/tmp/rpm-tmp.3mx3kn 1 20837 pts/18 D+ 0:00 \_ /bin/sh /var/tmp/rpm-tmp.3mx3kn 1 -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c4 Adam Spiers <aspiers@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aspiers@suse.com --- Comment #4 from Adam Spiers <aspiers@suse.com> 2013-03-11 13:43:45 UTC --- If this is likely to take any significant time to fix, we should mention it in https://en.opensuse.org/openSUSE:OpenStack_and_Crowbar_development_process#C... -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c5 --- Comment #5 from Andreas Jaeger <aj@suse.com> 2013-03-12 07:54:01 UTC --- My computer is using ext4 as filesystem. -- 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=805732 https://bugzilla.novell.com/show_bug.cgi?id=805732#c6 Jiri Kosina <jkosina@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jack@suse.com InfoProvider| |aj@suse.com --- Comment #6 from Jiri Kosina <jkosina@suse.com> 2013-03-12 08:59:18 CET --- (In reply to comment #5)
My computer is using ext4 as filesystem.
Would it be easily possible for you to test the same workload on a different filesystem to see whether this is ext4-specific or not? 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.
participants (1)
-
bugzilla_noreply@novell.com