I managed to install it last week, and was up and running with no Problem. After a power loss when I rebooted it wouldn't boot anymore.
I tried to re-build, re-install the image, different flash drives, etc, but no luck.
Setup
I'm on bare metal
flash drive connected another soldered on the Motherboard(unused 1GB)
Terminal from motherboard
Output
Output on boot
`Loading Linux...
vga=791 is deprecated. Use set gfxpayload=1024x768x16,1024x768 before linux
command instead.
Loading initramfs...
Booting TinyCore Friend
Saving 256 bits of non-creditable seed for next boot
Starting syslogd: OK
Starting acpid: OK
Starting klogd: OK
Running sysctl: OK
Populating /dev using udev: done
Starting system message bus: done
Starting iptables: OK
Starting network: OK
Starting dhcpcd...
dhcpcd-10.0.4 starting
dev: loaded udev
no interfaces have a carrier
Starting connmand: OK
ssh-keygen: generating new host keys: RSA ECDSA ED25519
Starting sshd: OK
Starting SMB services: OK
Starting NMB services: OK
Please press Enter to activate this console. [2024/03/20 20:55:03:0670] N: ttyd 1.7.3 (libwebsockets 4.3.2-2023.08.4)
[2024/03/20 20:55:03:0672] N: tty configuration:
[2024/03/20 20:55:03:0673] N: start command: login -f root
[2024/03/20 20:55:03:0673] N: close signal: SIGHUP (1)
[2024/03/20 20:55:03:0673] N: terminal type: xterm-256color
[2024/03/20 20:55:03:0686] N: /usr/lib/libwebsockets-evlib_uv.so
[2024/03/20 20:55:03:0687] N: lws_create_context: LWS: 4.3.2-2023.08.4, NET CLI SRV H1 H2 WS ConMon IPV6-off
[2024/03/20 20:55:03:0688] N: elops_init_pt_uv: Using foreign event loop...
[2024/03/20 20:55:03:0688] N: __lws_lc_tag: ++ [wsi|0|pipe] (1)
[2024/03/20 20:55:03:0689] N: __lws_lc_tag: ++ [vh|0|netlink] (1)
[2024/03/20 20:55:03:0690] N: __lws_lc_tag: ++ [vh|1|default||7681] (2)
[2024/03/20 20:55:03:0691] N: [vh|1|default||7681]: lws_socket_bind: source ads 0.0.0.0
[2024/03/20 20:55:03:0691] N: __lws_lc_tag: ++ [wsi|1|listen|default||7681] (2)
[2024/03/20 20:55:03:0692] N: Listening on port: 7681`
After boot pressing key / running boot.sh
`root@tcrpfriend:~# ./boot.sh
device node not found
model is not resolved. Please check the /mnt/tcrp/user_config.json file. stopping boot process
!!NOTE: This file is empty!!
root@tcrpfriend:# cat /mnt/tcrp/user_config.json
root@tcrpfriend:#`
Populating user_config.json
At this point I can see the it on the network at \192.168.1.198\tcrpfriend\tcrp
There is an empty user_config.json
I added the same config used at build time.
But both tcrp-p1, and tcrp-p2 are empty observing from the network
Output after config
`root@tcrpfriend:# ./boot.sh device node not found
User config file needs update, updating -> Done
cat: /mnt/tcrp-p1/GRUB_VER: No such file or directory
--------------------------------------={ TinyCore RedPill Friend }=--------------------------------------
TCRP Friend Version : 0.1.0t
0.1.0 friend kernel version up from 5.15.26 to 6.4.16
0.1.0l Modified the kexec option from -a (memory) to -f (file) to accurately load the patched initrd-dsm.
0.1.0m Recycle initrd-dsm instead of custom.gz (extract /exts)
0.1.0n When a loader is inserted into syno disk /dev/sda and /dev/sdb,
change to additionally mount partitions 1,2 and 3 to /dev/sda5,/dev/sda6 and /dev/sdb5.
0.1.0o Added RedPill bootloader hard disk porting function
0.1.0p Added priority search for USB or VMDK bootloader over bootloader injected into HDD
0.1.0q Added support for SHR type to HDD for bootloader injection.
synoboot3 unified to use partition number 4 instead of partition number 5 (1 BASIC + 1 SHR required)
0.1.0r Fix bug of 0.1.0q (Fix typo for partition number 4)
0.1.0s Force the dom_szmax limit of the injected bootloader to be 16GB
0.1.0t Supports bootloader injection with SHR disk only
dom_szmax=32GB (limit size of the injected bootloader)
Model : DS3622xs+, Serial : 20C0SQRTZSWZA, Mac :c1d297c8b765, Build : 7.2.1-69057, Update : 0, LKM : prod
Loader BUS:
CPU,MEM: Intel(R) Atom(TM) CPU D525 @ 1.80GHz [4 Thread(s)], 1.9G Memory
DMI: Iomega Corporation StorCenter Pro xxxx/StorCenter Pro xxxx, BIOS 0122 03/26/2013
SAS/RAID HBAs Count : 0 , NICs Count : 2
System is running in Legacy boot mode
Setting MAC Address from c1:d2:97:c8:b7:65 to c1:d2:97:c8:b7:65 on eth0 (r8169)
Setting MAC Address from c1:d2:97:c8:b7:66 to c1:d2:97:c8:b7:66 on eth1 (r8169)
[2024/03/20 20:59:45:5910] N: rops_handle_POLLIN_netlink: DELADDR
IP Address : 192.168.1.198, Network Interface Card : eth0 [10ec:8168] (r8168
r8169)
IP Address : , Network Interface Card : eth1 [10ec:8168] (r8168
r8169)
ERROR ! /mnt/tcrp-p2/rd.gz file not found, stopping boot process
root@tcrpfriend:#`
Experiments/observations
Honorable mentions in log
When running Re-Install DSM
:: Mounting devtmpfs ... [FAILED]
:: Loading module acpi-cpufreq ... [FAILED]
:: Loading module i40e ... [FAILED]
[ 7.221787] redpill: module verification failed: signature and/or required key missing - tainting kernel
`
Checking ext4 rootfs on /dev/md0
return value: 1
All components of md0 have partition layout above v9.
ForceNewestLayout: Skipped
[ 114.854048] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities
[ 114.916348] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null)
Mounting /dev/md0 /tmpRoot
[ 115.145681] EXT4-fs (m[user_config.json](https://github.com/PeterSuh-Q3/tinycore-redpill/files/14672976/user_config.json)): couldn't mount as ext3 due to feature incompatibilities
[ 115.163855] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: prjquota,rootprjquota,barrier=1
insmod: can't insert '/usr/lib/modu[ 115.209979] eth0: 0xffffc900000ee000, c1:d2:97:c8:b7:6b, IRQ 29
les/r8168.ko': File exists
[ 115.426200] Module [r8168] is removed.
Update OOB FW A success!
Constant error
Some constant warning
I get this every minute or so, but I got it even when the thing was working Maybe from the onboard USB storage
[ 202.162026] usb 8-1: device descriptor read/64, error -110
[ 217.394029] usb 8-1: device descriptor read/64, error -110
[ 217.623029] usb 8-1: new full-speed USB device number 3 using uhci_hcd
Things I tried
Re-Install DSM of ... to USB and SATA (I'm not sure what is the difference)
Different Flash Drive
I had 4 HDDs in RAID 5 I unplugged the others formatted the remaining(from menu.sh), and tried to install it on that(I don't have any more spared)
Rebuilding with different parameters
Bonus question
Now that I have formatted one of the 4 drives from Raid 5 it should theoretically still be possible to recover the data if I get it working right? Is it complicated?
I've only had a week's worth of data there, but I recovered some old pictures from a failed drive and I'm not sure if it survives an other deep scan
Could someone help me with some guidance, please?
Where should I look for the problem?
Thanks for the awesome work!
One week in haven
I managed to install it last week, and was up and running with no Problem. After a power loss when I rebooted it wouldn't boot anymore.
I tried to re-build, re-install the image, different flash drives, etc, but no luck.
Setup
Output
Output on boot
`Loading Linux... vga=791 is deprecated. Use set gfxpayload=1024x768x16,1024x768 before linux command instead. Loading initramfs... Booting TinyCore Friend Saving 256 bits of non-creditable seed for next boot Starting syslogd: OK Starting acpid: OK Starting klogd: OK Running sysctl: OK Populating /dev using udev: done Starting system message bus: done Starting iptables: OK Starting network: OK Starting dhcpcd... dhcpcd-10.0.4 starting dev: loaded udev no interfaces have a carrier Starting connmand: OK ssh-keygen: generating new host keys: RSA ECDSA ED25519 Starting sshd: OK Starting SMB services: OK Starting NMB services: OK Please press Enter to activate this console. [2024/03/20 20:55:03:0670] N: ttyd 1.7.3 (libwebsockets 4.3.2-2023.08.4) [2024/03/20 20:55:03:0672] N: tty configuration: [2024/03/20 20:55:03:0673] N: start command: login -f root [2024/03/20 20:55:03:0673] N: close signal: SIGHUP (1) [2024/03/20 20:55:03:0673] N: terminal type: xterm-256color [2024/03/20 20:55:03:0686] N: /usr/lib/libwebsockets-evlib_uv.so [2024/03/20 20:55:03:0687] N: lws_create_context: LWS: 4.3.2-2023.08.4, NET CLI SRV H1 H2 WS ConMon IPV6-off [2024/03/20 20:55:03:0688] N: elops_init_pt_uv: Using foreign event loop... [2024/03/20 20:55:03:0688] N: __lws_lc_tag: ++ [wsi|0|pipe] (1) [2024/03/20 20:55:03:0689] N: __lws_lc_tag: ++ [vh|0|netlink] (1) [2024/03/20 20:55:03:0690] N: __lws_lc_tag: ++ [vh|1|default||7681] (2) [2024/03/20 20:55:03:0691] N: [vh|1|default||7681]: lws_socket_bind: source ads 0.0.0.0 [2024/03/20 20:55:03:0691] N: __lws_lc_tag: ++ [wsi|1|listen|default||7681] (2) [2024/03/20 20:55:03:0692] N: Listening on port: 7681`After boot pressing key / running boot.sh
`root@tcrpfriend:~# ./boot.sh device node not found model is not resolved. Please check the /mnt/tcrp/user_config.json file. stopping boot process !!NOTE: This file is empty!! root@tcrpfriend:# cat /mnt/tcrp/user_config.json root@tcrpfriend:#`Populating user_config.json
At this point I can see the it on the network at \192.168.1.198\tcrpfriend\tcrp There is an empty user_config.json I added the same config used at build time. But both tcrp-p1, and tcrp-p2 are empty observing from the network
Output after config
`root@tcrpfriend:# ./boot.sh device node not found User config file needs update, updating -> Done cat: /mnt/tcrp-p1/GRUB_VER: No such file or directory --------------------------------------={ TinyCore RedPill Friend }=-------------------------------------- TCRP Friend Version : 0.1.0t 0.1.0 friend kernel version up from 5.15.26 to 6.4.16 0.1.0l Modified the kexec option from -a (memory) to -f (file) to accurately load the patched initrd-dsm. 0.1.0m Recycle initrd-dsm instead of custom.gz (extract /exts) 0.1.0n When a loader is inserted into syno disk /dev/sda and /dev/sdb, change to additionally mount partitions 1,2 and 3 to /dev/sda5,/dev/sda6 and /dev/sdb5. 0.1.0o Added RedPill bootloader hard disk porting function 0.1.0p Added priority search for USB or VMDK bootloader over bootloader injected into HDD 0.1.0q Added support for SHR type to HDD for bootloader injection. synoboot3 unified to use partition number 4 instead of partition number 5 (1 BASIC + 1 SHR required) 0.1.0r Fix bug of 0.1.0q (Fix typo for partition number 4) 0.1.0s Force the dom_szmax limit of the injected bootloader to be 16GB 0.1.0t Supports bootloader injection with SHR disk only dom_szmax=32GB (limit size of the injected bootloader) Model : DS3622xs+, Serial : 20C0SQRTZSWZA, Mac :c1d297c8b765, Build : 7.2.1-69057, Update : 0, LKM : prod Loader BUS: CPU,MEM: Intel(R) Atom(TM) CPU D525 @ 1.80GHz [4 Thread(s)], 1.9G Memory DMI: Iomega Corporation StorCenter Pro xxxx/StorCenter Pro xxxx, BIOS 0122 03/26/2013 SAS/RAID HBAs Count : 0 , NICs Count : 2 System is running in Legacy boot mode Setting MAC Address from c1:d2:97:c8:b7:65 to c1:d2:97:c8:b7:65 on eth0 (r8169) Setting MAC Address from c1:d2:97:c8:b7:66 to c1:d2:97:c8:b7:66 on eth1 (r8169) [2024/03/20 20:59:45:5910] N: rops_handle_POLLIN_netlink: DELADDR IP Address : 192.168.1.198, Network Interface Card : eth0 [10ec:8168] (r8168 r8169) IP Address : , Network Interface Card : eth1 [10ec:8168] (r8168 r8169) ERROR ! /mnt/tcrp-p2/rd.gz file not found, stopping boot process root@tcrpfriend:#`Experiments/observations
Honorable mentions in log
When running Re-Install DSM
:: Mounting devtmpfs ... [FAILED] :: Loading module acpi-cpufreq ... [FAILED] :: Loading module i40e ... [FAILED] [ 7.221787] redpill: module verification failed: signature and/or required key missing - tainting kernel ` Checking ext4 rootfs on /dev/md0 return value: 1 All components of md0 have partition layout above v9. ForceNewestLayout: Skipped [ 114.854048] EXT4-fs (md0): couldn't mount as ext3 due to feature incompatibilities [ 114.916348] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: (null) Mounting /dev/md0 /tmpRoot [ 115.145681] EXT4-fs (m[user_config.json](https://github.com/PeterSuh-Q3/tinycore-redpill/files/14672976/user_config.json)): couldn't mount as ext3 due to feature incompatibilities [ 115.163855] EXT4-fs (md0): mounted filesystem with ordered data mode. Opts: prjquota,rootprjquota,barrier=1 insmod: can't insert '/usr/lib/modu[ 115.209979] eth0: 0xffffc900000ee000, c1:d2:97:c8:b7:6b, IRQ 29 les/r8168.ko': File exists [ 115.426200] Module [r8168] is removed. Update OOB FW A success!Constant error
Some constant warning
I get this every minute or so, but I got it even when the thing was working Maybe from the onboard USB storage [ 202.162026] usb 8-1: device descriptor read/64, error -110 [ 217.394029] usb 8-1: device descriptor read/64, error -110 [ 217.623029] usb 8-1: new full-speed USB device number 3 using uhci_hcdThings I tried
Bonus question
Now that I have formatted one of the 4 drives from Raid 5 it should theoretically still be possible to recover the data if I get it working right? Is it complicated?
I've only had a week's worth of data there, but I recovered some old pictures from a failed drive and I'm not sure if it survives an other deep scan
Could someone help me with some guidance, please? Where should I look for the problem?
user_config.json When booting Re-install.log