[Bug 629543] New: clicfs crashes on I/O test
http://bugzilla.novell.com/show_bug.cgi?id=629543 http://bugzilla.novell.com/show_bug.cgi?id=629543#c0 Summary: clicfs crashes on I/O test Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Software Portal AssignedTo: coolo@novell.com ReportedBy: ms@novell.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- I can safely reproduce the following clicfs crash: /sbin/losetup -s -f file.clicfs ==> I suggest to use the clicfs from the live ISO's as example clicfs --ignore-cow-errors -m 5000 -c /tmp/root.cow /dev/loop0 /tmp/myroot resize2fs /tmp/myroot/fsdata.ext3 mount -o loop /tmp/myroot/fsdata.ext3 /mnt mkdir /tmp/lala tar -cf - -C /mnt . | tar -x -C /tmp/lala after a while you get: tar: ./usr/sbin: Cannot stat: Input/output error tar: ./usr/share: Cannot close: Bad file descriptor .. and so on -- Configure bugmail: http://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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c1 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent Status|NEW |ASSIGNED --- Comment #1 from Stephan Kulow <coolo@novell.com> 2010-08-25 12:20:23 CEST --- good news: here too -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c2 --- Comment #2 from Stephan Kulow <coolo@novell.com> 2010-08-25 12:52:41 CEST --- I used the kde_i586 live cd for 11.3 and I can reduce your test case to: clicfs without cow, just mount and cat /mnt/usr/lib/ooo3/basis3.2/program/resource/svxen-US.res -> lzma data corrupt! -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c3 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |ms@novell.com --- Comment #3 from Stephan Kulow <coolo@novell.com> 2010-08-25 13:54:12 CEST --- the data is corrupt because it can't find out the size of the loop device and reads too much data. Why do you use losetup? -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c4 --- Comment #4 from Stephan Kulow <coolo@novell.com> 2010-08-25 14:05:38 CEST --- dd has the same problem: -rw-r--r-- 1 coolo suse 63092 25. Aug 13:59 /tmp/file2.clic coolo@desdemona#src>dd if=/dev/loop1 of=/dev/null bs=1 count=63092 62976+0 Datensätze ein 62976+0 Datensätze aus 62976 Bytes (63 kB) kopiert, 0,0408438 s, 1,5 MB/s I can't get the last 116 bytes out of the device. I can work on not crashing, but returning random data, but not sure it will really improve your use case. -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c5 --- Comment #5 from Stephan Kulow <coolo@novell.com> 2010-08-25 14:29:58 CEST --- I pushed 1.3.7 to filesystems - it won't crash, but it won't do what you expect it to do. But mainly because loop devices don't. -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c6 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|ms@novell.com | Resolution| |FIXED --- Comment #6 from Stephan Kulow <coolo@novell.com> 2010-08-25 14:32:02 CEST --- can't help you more than that I'm afraid. -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c7 --- Comment #7 from Marcus Schaefer <ms@novell.com> 2010-08-25 12:51:20 UTC --- Thanks you are right not using losetup here solves the problem. clicfs based image caches works now, that reduces the build time really a lot Thanks again -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c8 --- Comment #8 from Stephan Kulow <coolo@novell.com> 2010-08-25 15:13:13 CEST --- would love to hear how ;) -- 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=629543 https://bugzilla.novell.com/show_bug.cgi?id=629543#c9 --- Comment #9 from Marcus Schaefer <ms@novell.com> 2010-08-25 13:53:12 UTC --- it works like this: If you call kiwi with the option: kiwi --prepare .... --cache /some/cache/dir it will check if there is a clicfs file (the cache) which can be re-used as cache for this image. If the cache can be used the clicfs is mounted with some cow file for write operations (5GB fixed at the moment) and the packagemanager only has to install the rest which is not already part of the cache if there is no cache kiwi builds it. It uses the patterns and the package list of the config.xml and build a cache for each of these groups. Especially the patterns are re-usable at any time which works great it's possible to have a cache server with a bunch of clicfs cache files and re-use them for the different kiwi --prepare operations. We plan to use that inside Studio but it could also be interesting for the preload department ..let's see -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=629543 http://bugzilla.novell.com/show_bug.cgi?id=629543#c10 --- Comment #10 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (629543) was mentioned in https://build.opensuse.org/request/show/46199 Factory / clicfs -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com