mksquashfs hangs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Customization Kit |
Invalid
|
Low
|
Unassigned | ||
squashfs (Debian) |
Fix Released
|
Unknown
|
|||
squashfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: squashfs-tools
What I expected to happen:
mksquashfs should build a compressed filesystem
What happened instead:
mksquashfs hangs
Potential Fix, Untested:
Debian bugs reports a similar problem with mksquashfs hanging while building a compressed filesystem; there may exist a patch in CVS for squashfs on sourceforge that is not in the officially released distribution on sourceforge.
Overview:
I routinely use mksquashfs as part of a procedure to build a customized compressed filesystem.
No special parameters are input to mksquashfs, as part of this process, so this potentially affects all builders.
Whereas on ubuntu 7.10 and a single processor system, I had no problem with mksquashfs; on a multiprocessor system under ubuntu 8 it hangs.
Command that hangs:
# mksquashfs . $TMPCDCOPY/
(run as root; $TMPCDCOPY points to a valid location; process completes to 96% before hanging)
Package version:
# dpkg-query --list | grep squashfs
ii squashfs-tools 1:3.3-1ubuntu2
Arch: intel 64 bit
lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
Possible solution:
Debian bugs reports a similar problem; there may exist a patch in CVS for squashfs on sourceforge that is not in the released file on sourceforge.
I thought perhaps the ubuntu mksquashfs could suffer from the same problem and maybe does not include the code in CVS
as mentioned with debian.
A patch is mentioned at
http://
cut/paste of this message follows. (However, I have not tried applying the patch he mentions)
>Message #10 received at <email address hidden> (full text, mbox):
>
>From: Stefan Lippers-Hollmann <email address hidden>
>To: <email address hidden>
>Subject: upstream CVS fixes the regression in squashfs-tools 1:3.3-1
>Date: Tue, 11 Dec 2007 02:30:54 +0100
>
>[Message part 1 (text/plain, inline)]
>
>tags 455589 + patch
>stop
>
>Looking through the recent revision history for mksquashfs.c in the
>upstream CVS, changeset 1.47 of /squashfs/
> http://
>caught my eyes. Applying it to 1:3.3-1 succeeds and fixes the previously
>mentioned regression in mksquashfs:
Changed in uck: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in uck: | |
status: | Confirmed → Invalid |
Changed in squashfs: | |
status: | New → Confirmed |
Changed in squashfs: | |
status: | Unknown → Fix Released |
This is probably the same bug that is mentioned in squashfs mailing list. You can identify this by trying to use mksquashfs with "-no-sparse" option. This bug seems to be fixed in the latest CVS-version of suashfs-tools. This all was mentioned in squashfs mailing list: sourceforge. net/mailarchive /forum. php?thread_ name=oyd63wy537 4.fsf%40cs. rice.edu& forum_name= squashfs- devel
http://