Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

[BUG?] SQUASHFS error: Major/Minor mismatch

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


matthias at kaehlcke

Jan 12, 2009, 6:08 AM

Post #1 of 6 (2179 views)
Permalink
[BUG?] SQUASHFS error: Major/Minor mismatch

i get the following error when trying to mount a squashfs partition on
an ARM system (edb9302) with linux 2.6.29-rc1:

mount /dev/mtdblock6 /mnt/
SQUASHFS error: Major/Minor mismatch, older Squashfs 3.1 filesystems
are unsupported
mount: mounting /dev/mtdblock6 on /mnt/ failed: Invalid argument

the image has been created using mksquashfs v3.4:

mksquashfs . /tmp/rootfs.squfs -le -noappend

--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

La libertad es como la mañana. Hay quienes esperan dormidos a que
llegue, pero hay quienes desvelan y caminan la noche para alcanzarla
(Subcomandante Marcos)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


Geert.Uytterhoeven at sonycom

Jan 12, 2009, 6:49 AM

Post #2 of 6 (2112 views)
Permalink
Re: [BUG?] SQUASHFS error: Major/Minor mismatch [In reply to]

On Mon, 12 Jan 2009, Matthias Kaehlcke wrote:
> i get the following error when trying to mount a squashfs partition on
> an ARM system (edb9302) with linux 2.6.29-rc1:
>
> mount /dev/mtdblock6 /mnt/
> SQUASHFS error: Major/Minor mismatch, older Squashfs 3.1 filesystems
> are unsupported
> mount: mounting /dev/mtdblock6 on /mnt/ failed: Invalid argument
>
> the image has been created using mksquashfs v3.4:
>
> mksquashfs . /tmp/rootfs.squfs -le -noappend

You have to use a version of mksquashfs that creates file systems with the v4.0
layout, i.e. from the squashfs-tools on SourceForge.net:

git-cvsimport -v -d :pserver:anonymous [at] squashfs:/cvsroot/squashfs squashfs

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone: +32 (0)2 700 8453
Fax: +32 (0)2 700 8622
E-mail: Geert.Uytterhoeven [at] sonycom
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


phillip at lougher

Jan 12, 2009, 6:53 AM

Post #3 of 6 (2120 views)
Permalink
Re: [BUG?] SQUASHFS error: Major/Minor mismatch [In reply to]

Matthias Kaehlcke wrote:
> i get the following error when trying to mount a squashfs partition on
> an ARM system (edb9302) with linux 2.6.29-rc1:
>
> mount /dev/mtdblock6 /mnt/
> SQUASHFS error: Major/Minor mismatch, older Squashfs 3.1 filesystems
> are unsupported
> mount: mounting /dev/mtdblock6 on /mnt/ failed: Invalid argument
>
> the image has been created using mksquashfs v3.4:
>
> mksquashfs . /tmp/rootfs.squfs -le -noappend
>

You have to use the latest version of Mksquashfs in CVS available
from http://squashfs.org.

git-cvsimport -v -d :pserver:anonymous [at] squashfs:/cvsroot/squashfs squashfs

Phillip

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


matthias at kaehlcke

Jan 12, 2009, 7:06 AM

Post #4 of 6 (2112 views)
Permalink
Re: [BUG?] SQUASHFS error: Major/Minor mismatch [In reply to]

El Mon, Jan 12, 2009 at 03:49:36PM +0100 Geert Uytterhoeven ha dit:

> On Mon, 12 Jan 2009, Matthias Kaehlcke wrote:
> > i get the following error when trying to mount a squashfs partition on
> > an ARM system (edb9302) with linux 2.6.29-rc1:
> >
> > mount /dev/mtdblock6 /mnt/
> > SQUASHFS error: Major/Minor mismatch, older Squashfs 3.1 filesystems
> > are unsupported
> > mount: mounting /dev/mtdblock6 on /mnt/ failed: Invalid argument
> >
> > the image has been created using mksquashfs v3.4:
> >
> > mksquashfs . /tmp/rootfs.squfs -le -noappend
>
> You have to use a version of mksquashfs that creates file systems with the v4.0
> layout, i.e. from the squashfs-tools on SourceForge.net:
>
> git-cvsimport -v -d :pserver:anonymous [at] squashfs:/cvsroot/squashfs squashfs

thanks to both of you for the pointer!

--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona

Ma patrie est où je suis, où personne ne me dérange, où personne
ne me demande que je suis, d'où je viens et ce que je fais
(B. Traven)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


woodys at xandros

Jan 12, 2009, 2:11 PM

Post #5 of 6 (2111 views)
Permalink
Re: [BUG?] SQUASHFS error: Major/Minor mismatch [In reply to]

Phillip Lougher wrote:
> Matthias Kaehlcke wrote:
>> i get the following error when trying to mount a squashfs partition on
>> an ARM system (edb9302) with linux 2.6.29-rc1:
>>
>> mount /dev/mtdblock6 /mnt/
>> SQUASHFS error: Major/Minor mismatch, older Squashfs 3.1 filesystems
>> are unsupported
>> mount: mounting /dev/mtdblock6 on /mnt/ failed: Invalid argument
>>
>> the image has been created using mksquashfs v3.4:
>>
>> mksquashfs . /tmp/rootfs.squfs -le -noappend
>>
>
> You have to use the latest version of Mksquashfs in CVS available
> from http://squashfs.org.
>
> git-cvsimport -v -d
> :pserver:anonymous [at] squashfs:/cvsroot/squashfs
> squashfs
>
> Phillip
>
Does not look good! I have squashfs images which work OK in 3.3 and 3.4,
but now I try to boot 2.6.29-rc1 and it can not mount my squashfs root
partition!
Does it mean that squashfs4 is not backward-compatible? If so - I can
not use it - all my images are generated on 3.3 .. 3.4...

Woody

--
Woody Suwalski, Xandros, Ottawa, Canada, 1-613-842-3498 x414

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


phillip at lougher

Jan 13, 2009, 1:00 AM

Post #6 of 6 (2103 views)
Permalink
Re: [BUG?] SQUASHFS error: Major/Minor mismatch [In reply to]

Woody Suwalski wrote:
> Phillip Lougher wrote:
>>
>> You have to use the latest version of Mksquashfs in CVS available
>> from http://squashfs.org.
>>
>> git-cvsimport -v -d
>> :pserver:anonymous [at] squashfs:/cvsroot/squashfs
>> squashfs
>>
>> Phillip
>>
> Does not look good! I have squashfs images which work OK in 3.3 and 3.4,
> but now I try to boot 2.6.29-rc1 and it can not mount my squashfs root
> partition!
> Does it mean that squashfs4 is not backward-compatible? If so - I can
> not use it - all my images are generated on 3.3 .. 3.4...
>

Backwards compatibility was dropped as part of the original review
complaints against mainlining. The new 4.0 layout was necessary to address
some issues again relating to the original review complaints. The 4.0
layout is designed to hopefully not require any further modification in the
future.

Ultimately this does mean the Squashfs mainline code will never be able to
read older filesystems. But, unsquashfs will always be able to read all
filesystem versions, and I'll maintain out-of-tree patches that add
backwards compatibility to the kernel code for those that need it. This
should be finished in the near future.

Philllip
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.