Bug 202663

Summary: installer won't load stage2 on NFS install
Product: [Fedora] Fedora Reporter: G.Wolfe Woodbury <redwolfe>
Component: squashfs-toolsAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bbrock
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-16 14:53:55 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:
Attachments:
Description Flags
mksquashfs patch none

Description G.Wolfe Woodbury 2006-08-15 19:32:21 UTC
Description of problem:
NFS install of rawhide 2006-08-15 won't load stage2 or run anaconda


Version-Release number of selected component (if applicable):


How reproducible:
always


Steps to Reproduce:
1. boot.iso or 2006-08-15
2. hit return
3. configure NFS install from local mirror
  
Actual results:
system hangs attempting to load stage2 from NFS server (forever >20mins)


Expected results:
load of stage2 and anaconda install


Additional info:

work1 testbed machine - Celeron(Coppermine)@600MHz  256 MB RAM   VIA IDE chipset
video1: Trident Cyberblade/i1    video2: ATI (Mach64)
160GB IDE disk      RTL8xxx NIC     etc...

Comment 1 Chris Lumens 2006-08-16 14:32:10 UTC
This appears to be a bug in making squashfs filesystems, as the machine is
locking when anaconda goes to mount stage2.img.

According to Phillip Lougher:

> The Mksquashfs bug is a 'corner case bug' that occurs when the number
> of fragments in the filesystem is a multiple of 512 bytes.  Your
> 'rawhide' builds may be hitting this magic number every couple of days
> causing the intermittent bug.
> 
> There is only one way to check this which is to analyse the Squashfs
> filesystem on the rawhide builds that crash or hang.  The attached
> program will check a Squashfs filesystem and print either 'BUGGED
> Squashfs filesystem' or 'OK Squashfs filesystem'.

I have run his test program against our stage2.img and it does in fact show that
the image is bad.

Comment 2 Jeremy Katz 2006-08-16 14:53:55 UTC
Applied the patch from the upstream squashfs archives and built squashfs-tools-3.0-2

Comment 3 Jeremy Katz 2006-08-16 17:28:38 UTC
*** Bug 202806 has been marked as a duplicate of this bug. ***

Comment 4 Chris Lumens 2006-08-17 14:31:46 UTC
Created attachment 134385 [details]
mksquashfs patch

Comment 5 Chris Lumens 2006-08-17 14:33:26 UTC
Today's rawhide works for me.  However just for future reference, I am attaching
a slightly different version of the mksquashfs patch as provided to me by
Phillip.  Please check and make sure whether or not we need the differences in
what went into 3.0-2.