Bug 206472 - mksquashfs should use -no-fragment option to avoid corruption
mksquashfs should use -no-fragment option to avoid corruption
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
: 206530 (view as bug list)
Depends On:
Blocks: fedora-ia64
  Show dependency treegraph
Reported: 2006-09-14 12:18 EDT by Prarit Bhargava
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-14 17:14:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to add -no-fragments to mksquashfs calls (1.40 KB, patch)
2006-09-14 12:23 EDT, Prarit Bhargava
no flags Details | Diff

  None (edit)
Description Prarit Bhargava 2006-09-14 12:18:54 EDT
Description of problem:

In BZ 204638, dchapman, esandeen, agriffis and others have been chasing
severe memory corruption on all platforms when using squashfs.

We have chased this down to an issue with the filesystem using fragments.
Avoiding fragments until squashfs is patched and fixed is a good idea and
will increase stability in the long run.

Version-Release number of selected component (if applicable): FC6-test3/20060913

How reproducible: 100%

Steps to Reproduce:
1. Attempt to boot any arch FC6-test3 or rawhide 20060913.
2. Occasionally corruption will be seen.  It varies from arch-to-arch, with ia64
being the most severely hit.
Actual results:

Various panics can be seen in 204638

Expected results: No memory corruption should occur.

Additional info: Patches are currently being generated.  We are continuing to
discuss with Phillip, but at least the fix for anaconda will allow us to
continue installing.

The size difference between the two images is relatively minor (stage2.img was
grabbed from a recent rawhide build.  nofrag2.img was built with the -no-frag
option using the files from stage2.img):

ls -l nofrag2.img stage2.img 
-rwx------ 1 root root 95625216 Sep 14 12:09 nofrag2.img
-rw-r--r-- 1 root root 94273536 Sep 13 14:32 stage2.img
Comment 1 Prarit Bhargava 2006-09-14 12:23:11 EDT
Created attachment 136282 [details]
Patch to add -no-fragments to mksquashfs calls
Comment 2 Prarit Bhargava 2006-09-14 12:25:16 EDT
Comment #1:

"but at least the fix for anaconda" should read "but at least the WORKAROUND for

Comment 3 Prarit Bhargava 2006-09-14 13:46:52 EDT
Should point out that this was tested on ppc, ia64, and x86_64.

Comment 4 Jeremy Katz 2006-09-14 17:14:35 EDT
Comment 5 Jeremy Katz 2006-09-14 17:24:28 EDT
*** Bug 206530 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.