Bug 735408
Summary: | Unit loader.service entered failed state | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Hamzy <hamzy> |
Component: | squashfs-tools | Assignee: | Kyle McMartin <kmcmartin> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 16 | CC: | bruno, karsten, kmcmartin, lersek, peterm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ppc64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-07 19:22:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mark Hamzy
2011-09-02 15:14:22 UTC
bash-4.2# mount /srv/pungi/test/20110902/ppc64/iso/Fedora-20110902-ppc64.iso /mnt/iso/ bash-4.2# scp /mnt/iso/LiveOS/squashfs.img root.90.169:/tmp/ bash-4.2# ssh root.90.169 -bash-4.2# mkdir /tmp/squashfs -bash-4.2# mount /tmp/squashfs.img /tmp/squashfs/ -bash-4.2# yum install squashfs-tools -bash-4.2# unsquashfs -dest /tmp/squashfs2 /tmp/squashfs.img Parallel unsquashfs: Using 16 processors 1 inodes (16384 blocks) to write [========================================================================================================- ] 15383/16384 93% write_xattr: failed to write xattr security.selinux for file /tmp/squashfs2/LiveOS because extended attributes are not supported by the destination filesystem write_xattr: failed to write xattr security.selinux for file /tmp/squashfs2 because extended attributes are not supported by the destination filesystem [============================================================================================================- ] 15987/16384 97% write_xattr: failed to write xattr security.selinux for file /tmp/squashfs2/LiveOS/rootfs.img because extended attributes are not supported by the destination filesystem [===============================================================================================================\] 16384/16384 100% created 1 files created 2 directories created 0 symlinks created 0 devices created 0 fifos -bash-4.2# yum install e2fsprogs -bash-4.2# e2fsck -f /tmp/squashfs2/LiveOS/rootfs.img e2fsck 1.41.14 (22-Dec-2010) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information Anaconda: 20963/131072 files (0.1% non-contiguous), 579801/2097152 blocks -bash-4.2# mkdir /tmp/rootfs /tmp/rootfs2 -bash-4.2# mount /tmp/squashfs/LiveOS/rootfs.img /tmp/rootfs -bash-4.2# mount /tmp/squashfs2/LiveOS/rootfs.img /tmp/rootfs2 -bash-4.2# (cd /tmp/rootfs; find . -type f | xargs sha256sum > /tmp/filelist.sha256sum) sha256sum: ./modules/3.0.1-5.fc16.kh.ppc64/kernel/fs/btrfs/btrfs.ko: Input/output error sha256sum: ./usr/sbin/xfs_copy: Input/output error sha256sum: ./usr/lib64/libvpd_cxx-2.1.so.2.1.3: Input/output error sha256sum: ./usr/lib64/libpangox-1.0.so.0.2903.0: Input/output error sha256sum: ./usr/lib64/libnm-util.so.2.0.0: Input/output error sha256sum: ./usr/lib64/libORBit-imodule-2.so.0.0.0: Input/output error sha256sum: ./usr/lib64/python2.7/multiprocessing/pool.py: Input/output error sha256sum: ./usr/lib64/python2.7/multiprocessing/dummy/__init__.py: Input/output error sha256sum: ./usr/lib64/python2.7/lib-dynload/_bisectmodule.so: Input/output error sha256sum: ./usr/lib64/python2.7/lib-dynload/_localemodule.so: Input/output error sha256sum: ./usr/lib64/python2.7/lib-dynload/_codecs_hk.so: Input/output error sha256sum: ./usr/lib64/python2.7/lib-dynload/datetime.so: Input/output error sha256sum: ./usr/lib64/python2.7/lib-dynload/pyexpat.so: Input/output error sha256sum: ./usr/lib64/python2.7/lib-dynload/xxsubtype.so: Input/output error -bash-4.2# (cd /tmp/rootfs2; find . -type f | xargs sha256sum > /tmp/filelist2.sha256sum) -bash-4.2# gzip -c -9 /tmp/squashfs/LiveOS/rootfs.img > /tmp/rootfs.gz gzip: /tmp/squashfs/LiveOS/rootfs.img: Input/output error -bash-4.2# gzip -c -9 /tmp/squashfs2/LiveOS/rootfs.img > /tmp/rootfs2.gz As a sanity check, can I get you to try extracting either the i686 or x86_64 images instead of the ppc64 one? Thanks! Kyle # file /mnt/archive/fedora/development/16/x86_64/os/isolinux/initrd.img /mnt/archive/fedora/development/16/x86_64/os/isolinux/initrd.img: XZ compressed data # xzcat /mnt/archive/fedora/development/16/x86_64/os/isolinux/initrd.img > initrd xzcat: /mnt/archive/fedora/development/16/x86_64/os/isolinux/initrd.img: Compressed data is corrupt look like that was an invalid test, initrd.img is a concat of images. xzcat can't handle that. What I'm currently doing to test this issue is to pack enough files into a xz compressed squashfs image, mount that via loopback and then cat each file in it to /dev/null. Some of them will fail with the I/O error mentioned above: # mksquashfs /usr squashfs.img -comp xz -Xbjc powerpc # mkdir mnt # mount -o loop squashfs.img mnt # find mnt/ -type f -print -exec cat {} >/dev/null \; It takes a while, but then you'll get the error and squashfs errors get logged in syslog. master@linux:.% git describe 9c1f8594df4814ebfd6822ca3c9444fb3445888d (kyle@dreadnought:~/linux) v3.1-rc6-297-g9c1f859 master@linux:.% git log v3.0.. -- lib/xz (kyle@dreadnought:~/linux) commit 9c1f8594df4814ebfd6822ca3c9444fb3445888d Author: Lasse Collin <lasse.collin> Date: Wed Sep 21 17:30:50 2011 +0300 XZ: Fix incorrect XZ_BUF_ERROR Yeah, it should be fixed in the 3.1 kernels in F-16 and Rawhide. Can the PowerPC people confirm and close the bug? Thanks! Kyle |