Tiny Core Base > Raspberry Pi

submitqc needs to rebuilt the extension because of wrong block size

(1/2) > >>

rhermsen:
While compiling on RPi and verifying the extension I get the following message:


--- Code: ---submitqc: tree.tcz correct block size? Not in 4096 block size. Extension will be rebuilt.
--- End code ---

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: ---$ 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

--- End code ---

Paul_123:
aarch64 extensions need to be 16k.

rhermsen:
So this means that with 'submitqc' the paramter '--blocksize=16384' is needed for piCore64.

Before using 'submitqc':

--- Code: ---$ 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

--- End code ---

Using:

--- Code: ---$ submitqc --libs
--- End code ---

Results in:

--- Code: ---submitqc: tree.tcz correct block size? Not in 4096 block size. Extension will be rebuilt.
--- End code ---


--- Code: ---$ 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
--- End code ---


Rich:
Hi rhermsen

--- Quote from: rhermsen on February 08, 2025, 03:22:18 PM ---So this means that with 'submitqc' the paramter '--blocksize=16384' is needed for piCore64. ...
--- End quote ---

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

polikuo:
We had some discussions on this topic before, but without a conclusion.
It's unclear whether the change of the block size would impact the performance or not.
So we decided to leave it as it is.

Navigation

[0] Message Index

[#] Next page

Go to full version