... The problem in both is that I am unable to load apps locally from the GUI menu. ...Confirmed. I'll try to take a look tomorrow to see if I can spot the problem.
Although I found some 16MB RAM sticks to try and upgrade my 486 desktop PC to 36MB RAM, it looks like the 486 reboot problem is definitely in the kernel code anyway. I finally dug up this patch (https://lore.kernel.org/lkml/CANpbe9Wm3z8fy9HbgS8cuhoj0TREYEEkBipDuhgkWFvqX0UoVQ@mail.gmail.com/) in the kernel mailing list from Oct. 2024. The author says the first bug fixed by it "causes immediate reboot" on CPUs without CPUID support (486s).
Looking though the Git log for the patched file in the kernel sources (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/arch/x86/kernel/head32.c) it doesn't seem to have been merged, though it's not clear why. I guess then that all current unpatched kernels since v6.7-rc1 fail on 486 CPUs (the TC15 kernel was v6.6.8).
I'd ask about adding that patch to the TC16 kernel, but since it's released now I guess I'm a few hours too late...
warning: ignoring return value of 'bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]', declared with attribute 'nodiscard' [-Wunused-result] 66 | report_type.empty();/code]
Hi Uncle WarthogThanks! Let me know if there's anything you want me to test on my systems.... The problem in both is that I am unable to load apps locally from the GUI menu. ...Confirmed. I'll try to take a look tomorrow to see if I can spot the problem.
If you start apps from a terminal window do you see any error messages?
Before we think about recompiling the kernel, you might want to ask the kernel people why the patch wasn't included?
... Something to do with apps and 64-bit?No, something to do with apps and a "comparing ints of different signedness"
if ( sloc == string::npos ) {
if ( (unsigned)sloc == string::npos ) {
if ( (long unsigned)sloc == string::npos ) {
Before we think about recompiling the kernel, you might want to ask the kernel people why the patch wasn't included?OK, I'll ask there on the weekend.
#!/bin/sh
# Variables
EXECDIR=/tmp/brave-build/usr/local/bin/brave.com/brave
TEMP_DIR=/tmp/brave-build
OUTPUT_DIR=/etc/sysconfig/tcedir/optional
GITHUB_API_URL="https://api.github.com/repos/brave/brave-browser/releases/latest"
FILE_PREFIX="brave-browser-"
FILE_SUFFIX="-linux-amd64.zip"
SHA_SUFFIX="-linux-amd64.zip.sha256"
# Comprobar dependencias
for cmd in curl wget unsquashfs unzip mksquashfs shasum; do
if ! command -v $cmd > /dev/null; then
echo "Error: La herramienta '$cmd' no está instalada. Por favor, instálala antes de continuar."
exit 1
fi
done
# Borrar directorio preexistente
rm -rf $TEMP_DIR
# Descomprimir tcz original y borrar contenido dentro de $EXECDIR
cp -f /etc/sysconfig/tcedir/optional/brave-browser.tcz /tmp
unsquashfs -d /tmp/brave-build/ /tmp/brave-browser.tcz
rm -rf $EXECDIR/*
rm -f /tmp/brave-browser.tcz
cd $TEMP_DIR
# Obtener la última versión desde la API de GitHub
LATEST_VERSION=$(curl -s $GITHUB_API_URL | grep "tag_name" | sed 's/.*"v\([0-9.]*\)".*/\1/')
# Crear la URL de descarga del archivo y su SHA256
BRAVE_URL="https://github.com/brave/brave-browser/releases/download/v$LATEST_VERSION/${FILE_PREFIX}${LATEST_VERSION}${FILE_SUFFIX}"
SHA_URL="https://github.com/brave/brave-browser/releases/download/v$LATEST_VERSION/${FILE_PREFIX}${LATEST_VERSION}${SHA_SUFFIX}"
# Descargar la última versión de Brave y el archivo .sha256
wget -O brave-browser.zip $BRAVE_URL
if [ ! -f brave-browser.zip ]; then
echo "Error: No se pudo descargar el archivo desde $BRAVE_URL"
exit 1
fi
wget -O brave-browser.zip.sha256 $SHA_URL
if [ ! -f brave-browser.zip.sha256 ]; then
echo "Error: No se pudo descargar el archivo SHA256 desde $SHA_URL"
exit 1
fi
# Verificar la suma SHA256
echo "Verificando la suma SHA256..."
CHECKSUM=$(shasum -a 256 brave-browser.zip | awk '{print $1}')
EXPECTED_CHECKSUM=$(cat brave-browser.zip.sha256 | awk '{print $1}')
if [ "$CHECKSUM" != "$EXPECTED_CHECKSUM" ]; then
echo "Error: La suma SHA256 no coincide. Descarga corrupta."
exit 1
fi
echo "Suma SHA256 verificada correctamente."
# Extraer los archivos del paquete .zip
unzip brave-browser.zip -d $EXECDIR
rm -f brave-browser.zip
# Crear el paquete .tcz
mksquashfs $TEMP_DIR brave-browser.tcz -noappend
if [ ! -f brave-browser.tcz ]; then
echo "Error: No se generó el archivo brave-browser.tcz"
exit 1
fi
# Verificar permisos de escritura en el directorio de salida
if [ ! -w $OUTPUT_DIR ]; then
echo "Error: No tienes permisos para escribir en $OUTPUT_DIR"
exit 1
fi
# Comprobar si el archivo .tcz existe
if [ ! -f brave-browser.tcz ]; then
echo "Error: No se generó el archivo brave-browser.tcz"
exit 1
fi
# Mover el paquete al directorio de TinyCore
mv -f brave-browser.tcz $OUTPUT_DIR
# Limpiar el directorio temporal
rm -rf $TEMP_DIR
echo "El paquete brave-browser.tcz version $LATEST_VERSION ha sido creado y se copio en $OUTPUT_DIR"
[code][ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517
It would get merged in this repo once approved and back ported. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/?h=linux-6.12.y
Is there much value in rebuilding TC for this, with the whole 16mb issue? Or are these devices stuck with custom kernels from here?
I see that the kernel developers are speaking of dropping support for i486 and early i586.
$ tce-ab
tce-ab - Tiny Core Extension: Application Browser
S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
awk: cmd. line:1: fatal: cannot open file `/etc/sysconfig/tcedir/provides.db' for reading: No such file or directory
S)earch P)rovides K)eywords or Q)uit:
$ uname -a
Linux testapps 6.12.11-tinycore #1 SMP Sun Jan 26 18:37:07 UTC 2025 i686 GNU/Linux
$ version
16.0
S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
awk: /etc/sysconfig/tcedir/provides.db: No such file or directory
S)earch P)rovides K)eywords or Q)uit:
$ uname -a
Linux testapps 6.12.11-tinycore64 #1 SMP Sun Jan 26 16:50:13 UTC 2025 x86_64 GNU/Linux
$ version
16.0
$ tce-ab
tce-ab - Tiny Core Extension: Application Browser
S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
open: No such file or directory
not using seed file /etc/sysconfig/tcedir/provides.db
tce - Tiny Core Extension browser
1. atom-apm.tcz
2. atom.tcz
3. bash-completion.tcz
4. bind-dev.tcz
$ ls -la /etc/sysconfig/tcedir/provides.db
-rw-rw---- 1 tc staff 29189148 May 25 10:18 /etc/sysconfig/tcedir/provides.db
$ tce-ab
tce-ab - Tiny Core Extension: Application Browser
S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
tce - Tiny Core Extension browser
1. atom-apm.tcz
2. atom.tcz
3. bash-completion.tcz
$ uname -a
Linux testapps 6.6.8-tinycore64 #666 SMP Sat Dec 23 16:41:21 UTC 2023 x86_64 GNU/Linux
$ version
15.0
... Scrolling up from the clear screen I do see some messages, but only the first time I try tce-ab: ...That's normal if provides.db is not present. tce-ab calls provides.sh
tc@E310:~$ zsync -i provides.db -q http://repo.tinycorelinux.net/10.x/x86/tcz/provides.db.zsync
open: No such file or directory
not using seed file provides.db
tc@E310:~$ zsync -i provides.db -q http://repo.tinycorelinux.net/10.x/x86/tcz/provides.db.zsync
tc@E310:~$
/bin/ping -A -W 1 -c 2 8.8.8.8 2>&1 > /dev/null || return
$ /bin/ping -A -W 1 -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
Disabling 'Internet Security' in Zscaler:$ /bin/ping -A -W 1 -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=128 time=15.380 ms
64 bytes from 8.8.8.8: seq=1 ttl=128 time=15.613 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 15.380/15.496/15.613 ms