[Bug 820475] New: 10 minute delay apparently caused by /sbin/blkid
https://bugzilla.novell.com/show_bug.cgi?id=820475 https://bugzilla.novell.com/show_bug.cgi?id=820475#c0 Summary: 10 minute delay apparently caused by /sbin/blkid Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: per@computer.org QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0) Gecko/20100101 Firefox/11.0 Hardware: HP Proliant G4, dual CPU, 4Gb RAM, dual NICs plus one fibre NIC. Software: openSUSE 13.1 M1 Process: network installation over pxe+ssh "Search for Linux partitions" seems to cause a 10minute hold-up : 2013-05-17 17:34:30 <1> chestnut(3239) [libstorage] SystemCmd.cc(select):471 Pid:3641 Idx:0 Pattern:" (/dev/disk/by-id/cciss-3600508b1001fffffa00184c9aaf70004-part1) " Lines:0 2013-05-17 17:34:30 <1> chestnut(3239) [libstorage] SystemCmd.cc(select):471 Pid:3641 Idx:0 Pattern:" (/dev/disk/by-id/wwn-0x600508b1001fffffa00184c9aaf70004-part1) " Lines:0 2013-05-17 17:34:30 <1> chestnut(3239) [libstorage] SystemCmd.cc(SystemCmd):46 constructor SystemCmd:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null" 2013-05-17 17:34:30 <1> chestnut(3239) [libstorage] SystemCmd.cc(execute):90 SystemCmd Executing:"BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null" 2013-05-17 17:44:31 <1> chestnut(3239) [libstorage] SystemCmd.cc(addLine):592 Adding Line 1 "/dev/loop0: TYPE="squashfs" " 2013-05-17 17:44:31 <1> chestnut(3239) [libstorage] SystemCmd.cc(addLine):592 Adding Line 2 "/dev/loop1: TYPE="squashfs" " Reproducible: Always -- 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=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c1
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c2
Per Jessen
Can you reproduce this problem outside boot process, by calling BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null
Hi Stanislav no, running that produces these two lines very quickly: # BLKID_SKIP_CHECK_MDRAID=1 /sbin/blkid -c /dev/null /dev/cciss/c0d0p1: UUID="c8d71217-c202-43fd-b34e-1bded30b5ea9" TYPE="swap" /dev/cciss/c0d0p2: UUID="3fb1dc1c-c1f5-4dd3-9ad9-cbb2d5cbecc4" TYPE="ext4" -- 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=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c3
Stanislav Brabec
/usr/sbin/blkid chmod +x /usr/sbin/blkid
And then reboot, wait and read /dev/blkid*.log. (I am redirecting the output to /dev, because it should be always writable.) Once you will finish the data collection, return to the original state: mv /usr/sbin/blkid.bin /usr/sbin/blkid And remove logs after sending them: rm /dev/blkid*.log -- 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=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c4
--- Comment #4 from Per Jessen
Let's try to create a wrapper and check, where it hangs:
mv /usr/sbin/blkid /usr/sbin/blkid.bin echo -e '#!/bin/sh\nexec strace -r -o /dev/blkid$$.log /usr/sbin/blkid.bin'
/usr/sbin/blkid chmod +x /usr/sbin/blkid
And then reboot, wait and read /dev/blkid*.log. (I am redirecting the output to /dev, because it should be always writable.)
Hi Stanislav I created the new blkid as per your instructions and rebooted, but it doesn't seem have written anything. -- 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=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c5
--- Comment #5 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c6
Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c7
--- Comment #7 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c8
Stanislav Brabec
/usr/sbin/blkid chmod +x /usr/sbin/blkid
If you can launch a serial console, you can send a log, if not, please torn off the splash (F2 or Esc) and provide the output on the screen in the moment of the delay. -- 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=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c9
--- Comment #9 from Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c10
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c11
Stanislav Brabec
https://bugzilla.novell.com/show_bug.cgi?id=820475
https://bugzilla.novell.com/show_bug.cgi?id=820475#c12
Markus Feulner
http://bugzilla.novell.com/show_bug.cgi?id=820475
Stanislav Brabec
participants (1)
-
bugzilla_noreply@novell.com