[Bug 54848] data corrupted on loopback-mounted cramfs image

Bjorn Helgaas bjorn.helgaas at hp.com
Tue Aug 1 21:52:20 UTC 2006


Public bug reported:

Binary package hint: linux

I loopback-mounted a cramfs image from RHEL4 U3 (RedHat/base/stage2.img)
on a Dapper system:

root at tigger:/tmp# uname -a
Linux tigger.helgaas 2.6.15-26-686 #1 SMP PREEMPT Mon Jul 17 20:14:14 UTC 2006 i686 GNU/Linux
root at tigger:/tmp# md5sum /tmp/stage2.img 
3f42a5e179465e763dca0c57072e87b7  stage2.img
root at tigger:/tmp# mount -oloop /tmp/stage2.img /mnt/stage2/
root at tigger:/tmp# xxd /mnt/stage2/usr/bin/anaconda | head
0000000: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000020: 0000 0000 0000 0000 0000 0000 0000 0000  ................
0000030: 0000 0000 0000 0000 0000 0000 0000 0000  ................


I mounted the same stage2.img file on a RHEL4 U3 system, with the correct results:

[root at kona tmp]# uname -a
Linux kona.helgaas 2.6.9-34.EL #1 SMP Fri Feb 24 16:49:08 EST 2006 ia64 ia64 ia64 GNU/Linux
[root at kona tmp]# md5sum /tmp/stage2.img 
3f42a5e179465e763dca0c57072e87b7  /tmp/stage2.img
[root at kona tmp]# mount -oloop /tmp/stage2.img /mnt/stage2/
[root at kona tmp]# xxd /mnt/stage2/usr/bin/anaconda | head
0000000: 2321 2f75 7372 2f62 696e 2f70 7974 686f  #!/usr/bin/pytho
0000010: 6e0a 230a 2320 616e 6163 6f6e 6461 3a20  n.#.# anaconda: 
0000020: 5468 6520 5265 6420 4861 7420 4c69 6e75  The Red Hat Linu
0000030: 7820 496e 7374 616c 6c61 7469 6f6e 2070  x Installation p
0000040: 726f 6772 616d 0a23 0a23 2028 696e 2061  rogram.#.# (in a

** Affects: linux-meta (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
data corrupted on loopback-mounted cramfs image
https://launchpad.net/bugs/54848




More information about the kernel-bugs mailing list