WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: submitqc needs to rebuilt the extension because of wrong block size  (Read 161 times)

Offline rhermsen

  • Wiki Author
  • Full Member
  • *****
  • Posts: 111
While compiling on RPi and verifying the extension I get the following message:

Code: [Select]
submitqc: tree.tcz correct block size? Not in 4096 block size. Extension will be rebuilt.
I have not seen this with x86 or x86_64 extensions so far.

How can I prevent failing this check and do it correct first time?

Code: [Select]
$ uname -a
Linux box 6.6.47-piCore-v8 #21 SMP PREEMPT Sat Aug 31 15:08:05 EDT 2024 aarch64 GNU/Linux
$ version
15.0

Online Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1325
Re: submitqc needs to rebuilt the extension because of wrong block size
« Reply #1 on: February 07, 2025, 03:07:13 PM »
aarch64 extensions need to be 16k.

Offline rhermsen

  • Wiki Author
  • Full Member
  • *****
  • Posts: 111
Re: submitqc needs to rebuilt the extension because of wrong block size
« Reply #2 on: February 08, 2025, 03:22:18 PM »
So this means that with 'submitqc' the paramter '--blocksize=16384' is needed for piCore64.

Before using 'submitqc':
Code: [Select]
$ unsquashfs -s ${PACKAGE}.tcz
Found a valid SQUASHFS 4:0 superblock on tree.tcz.
Creation or last append time Sat Feb  8 20:12:53 2025
Filesystem size 38432 bytes (37.53 Kbytes / 0.04 Mbytes)
Compression gzip
Block size 16384
Filesystem is exportable via NFS
Inodes are compressed
Data is compressed
Uids/Gids (Id table) are compressed
Fragments are compressed
Always-use-fragments option is not specified
Xattrs are compressed
Duplicates are removed
Number of fragments 0
Number of inodes 9
Number of ids 1
Number of xattr ids 0

Using:
Code: [Select]
$ submitqc --libs
Results in:
Code: [Select]
submitqc: tree.tcz correct block size? Not in 4096 block size. Extension will be rebuilt.
Code: [Select]
$ unsquashfs -s ${PACKAGE}.tcz
Found a valid SQUASHFS 4:0 superblock on tree.tcz.
Creation or last append time Sat Feb  8 20:14:38 2025
Filesystem size 40429 bytes (39.48 Kbytes / 0.04 Mbytes)
Compression gzip
Block size 4096
Filesystem is exportable via NFS
Inodes are compressed
Data is compressed
Uids/Gids (Id table) are compressed
Fragments are compressed
Always-use-fragments option is not specified
Xattrs are compressed
Duplicates are removed
Number of fragments 0
Number of inodes 9
Number of ids 1
Number of xattr ids 0



Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11829
Re: submitqc needs to rebuilt the extension because of wrong block size
« Reply #3 on: February 08, 2025, 05:16:28 PM »
Hi rhermsen
So this means that with 'submitqc' the paramter '--blocksize=16384' is needed for piCore64. ...

I think submitqc will need to deduce blocksize based
on what the  uname -r  and  version  commands
return.