Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: mortegai on November 15, 2020, 05:30:05 AM
-
Some error messages appear in the tce-bootload log (python script that loads the extensions on boot):
OS Error code libn:4352
Successful Retry on libn
OS Error code flwm:4352
Successful Retry on flwm
OS Error code xz.t:4352
Successful Retry on xz.t
OS Error code icu.:4352
OS Error code cair:4352
OS Error code icu.:4352
Successful Retry on cair
OS Error code libe:4352
OS Error code dbus:4352
Successful Retry on icu.
Successful Retry on dbus
Successful Retry on libe
...
1) a minor problem: the name of the extension is cut off. The problem is that in the call to mount_extension the second parameter should be p[:-4]:
mount_extension('sudo /usr/bin/mount -t squashfs -o loop ' + sys.argv[1] + '/optional/' + p + ' ' + root + '/tmp/tcloop/' + p[:-4], p[-:4])
2) and the main thing: why the 4352 errors occur and what do they mean? Then the extension mounting is retried and performed successfully.
-
Not sure what the error code means, it would take some time to lookup. But that’s why it retries.
I’ve never seen that many retries. What kind of pi is this?
-
Hi Paul_123
Is the error 5 or 4352 ? Error 5 is an I/O error. Maybe a failing or temperamental memory card.
-
4352, it’s the return code from os.system, which in this case is calling mount.
-
I’ve never seen that many retries. What kind of pi is this?
It's a Pi 4 with 4 Gb.
-
Hi Paul_123
My apologies, I misread OS Error code as 05 Error code.
Error code 4352 is error 17 File exists.
-
Not sure what file exist would mean in a mount command. It succeeds in the immediate retry.
The os.system errors have increased with newer kernels. Back when I first did the forking back in the 4.4 kernel days. I never had retries even programmed. Even with the retries, the boot speed is significantly faster than a non forking environment.
-
Yes, boot time is pretty good.
I was just curious to know the cause of those errors and if eliminating them could improve boot time even more.