WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: squashfs-tools & corrupted files inside tcz  (Read 3378 times)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
squashfs-tools & corrupted files inside tcz
« on: July 06, 2010, 03:10:28 PM »
TC version 3.0alpha9

recently when creating extensions i started to encounter corrupted files inside tcz

this is happening too much

so can you please rebuild squashfs-tools please because zlib is changed too much since squashfs first build ?

i can only suspect zlib, nothing else comes to my mind

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: squashfs-tools & corrupted files inside tcz
« Reply #1 on: July 07, 2010, 07:45:56 PM »
Base system is waiting on a zlib release, and I think after that should be a good time for a squashfs-tools rebuild.


Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: squashfs-tools & corrupted files inside tcz
« Reply #2 on: July 13, 2010, 08:46:12 AM »
I am also getting weird results with squashfs, files ending up in different directories after being squashed compared to the originals.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: squashfs-tools & corrupted files inside tcz
« Reply #3 on: July 13, 2010, 09:00:58 AM »
Does this still happen in tc-3 rc1 with the re-built zlib and squashfs module?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: squashfs-tools & corrupted files inside tcz
« Reply #4 on: July 13, 2010, 09:22:19 AM »
not seen yet or maybe i am not aware of it. to be 100% sure i need to test all of extensions with some script
that checks each file.

i think this should be enough
Code: [Select]
mount -o loop extension.tcz /mnt/test
find /mnt/test -not -type d | xargs file
umount /mnt/test

All I remember is Input/output error when i tried to cat some of the files and could not open them in text editor.

if it ever happens again i will provide detailed report and the tcz file.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: squashfs-tools & corrupted files inside tcz
« Reply #5 on: July 14, 2010, 07:04:34 AM »
Does this still happen in tc-3 rc1 with the re-built zlib and squashfs module?
I didn't see an updated squashfs extension, am I missing something?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: squashfs-tools & corrupted files inside tcz
« Reply #6 on: July 14, 2010, 03:32:28 PM »
It's the kernel module (not the tools).  If you are running rc1, that's good enough.

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: squashfs-tools & corrupted files inside tcz
« Reply #7 on: July 14, 2010, 04:11:03 PM »
got one :) thanks to my test script catches the bugged ones

http://dl.dropbox.com/u/4808632/GConf-broken.tar.bz2

files broken:
/usr/local/etc/gconf/2/path
/usr/local/share/dbus-1/services/org.gnome.GConf.service
/usr/local/share/GConf/schema/evoldap.schema