Jump to content
XPEnology Community

TinyCore RedPill loader (TCRP) - Development release 0.9


Recommended Posts

1 hour ago, Peter Suh said:

@Polanskiman

 

I have one question.
There have been two recent forum construction periods.
Could it be because we didn't use a code tag like this?

The code tag has been available to all users for as long as I can remember. I noticed you also don't use it. Please do so in the future. This applies to anyone posting code or logs. Thanks.

 

image.jpeg

  • Thanks 2
Link to comment
Share on other sites

14 hours ago, Peter Suh said:

@pocopico
exactly this time
After copying the original libsynonvme.so.1 file of 7.1.1-42962 to Mac
Edited as below through Hex Fiend app.

 

image.thumb.png.c6d6f6feccbb3fdcc6b23d484754c1a5.png


As per Dolbycat's previous guide
After copying it back to the /lib64 directory, TCRP has now confirmed that the cache works normally.

 

image.thumb.png.3b36b7035e693ce690f0013a37a6530d.png

 

 

However, the TCRP friend still does not recognize the NMVe cache.

 

image.thumb.png.7e3a743eca67c691fca891e65c2e51a7.png

 

Do you mind trying one more thing ?  On the head of rploader.sh there is a variable called 

 

redpillextension="https://github.com/pocopico/rp-ext/raw/main/redpill-${redpillmake}/rpext-index.json"

 

please change to 

 

redpillextension="https://github.com/pocopico/rp-ext/raw/main/redpill/rpext-index.json"

 

and try again 

Link to comment
Share on other sites

@pocopico

I found an old bug within the identifyusb function.

 

I have a builtin USB Storage (245 MB) which I think is too small for TinyCore?

 

Ok but the identifyusb function identify both storages (builtin and the externe USB storage) but when I choose option 2 for the external one, the function is not able to write (the correct identified values) into the user_config.json.

image.thumb.png.5957e1df08112c17d929f011c68ae3f5.png

Link to comment
Share on other sites

1 hour ago, pocopico said:

 

Do you mind trying one more thing ?  On the head of rploader.sh there is a variable called 

 

redpillextension="https://github.com/pocopico/rp-ext/raw/main/redpill-${redpillmake}/rpext-index.json"

 

please change to 

 

redpillextension="https://github.com/pocopico/rp-ext/raw/main/redpill/rpext-index.json"

 

and try again 

 

@pocopico

 

My rploader.sh is still at 0.9.2.3.
So I haven't taken redpill.ko from the redpill-prod ext driver yet.
Prevent automatic update to 0.9.2.4 as shown below
Adjusted to use the existing redpill ext driver as you guide.

 

1131882670_2022-09-275_14_50.thumb.png.14736a8c4bef0d0816a4bbca38d5ed5c.png

 

19507722_2022-09-275_00_30.png.8db2ef4cf4dbcecd612bd039abe49849.png

 

344740732_2022-09-275_09_50.thumb.png.a279e0aa8ea52c03bbfdb5e14f9e5319.png

 

 

I took this action, but this time a kernel panic occurs.

 

As reported earlier, there is no kernel panic when using the first TCRP USB instead of the GNU 4th menu TCRP friend.

 

E1D58EA3-7D07-4D41-BE4A-A0E9D4CC5475_1_105_c.thumb.jpeg.3407d05a68d292f8fa411585e476d98b.jpeg

 

and

 

Isn't the same file used even if you copy and unzip it directly like the one below?

 

sudo curl --location --progress-bar "https://github.com/pocopico/rp-ext/raw/main/redpill/releases/redpill-4.4.180plus-broadwellnk.tgz" --output /home /tc/custom-module/redpill.ko.tgz

 

sudo tar -zxvf /home/tc/custom-module/redpill.ko.tgz -C /home/tc/custom-module/

Edited by Peter Suh
Link to comment
Share on other sites

On 9/27/2022 at 3:52 PM, Dreadnought said:

@pocopico today I tried to bring TCRP friend on my Real test NAS.

I created to Loader as normal without any problems. 

The NAS bootet the loader but remain in a bootloop (update loop?).

Everything I see are the errors  and the "new available" version of friends?

 

Any idea to fix?

 

H340.thumb.jpg.5109eb90793634f4a7af380559c1f2e9.jpg

 

It seems to be the same symptom that I inquired about yesterday and received an answer.

 

I greatly increased the size of the 3rd partition in the loader using the 0.8.0.0 img file.


It said that none of the 3 partitions on the USB should be resized.

 

Did you too?

 

Link to comment
Share on other sites

On 9/27/2022 at 4:05 PM, Peter Suh said:

 

It seems to be the same symptom that I inquired about yesterday and received an answer.

 

I greatly increased the size of the 3rd partition in the loader using the 0.8.0.0 img file.


It said that none of the 3 partitions on the USB should be resized.

 

Did you too?

 

 

Thanks for the advise.

 

Now I have increased the size of the third partition and try again:

image.thumb.png.ef6d2ea1140275d16f6fb876ea3928c3.png

Link to comment
Share on other sites

5 minutes ago, Peter Suh said:

 

0.9.2.4 image is ok.

Also record a new USB using 0.9.2.4.
Resizing it again didn't help.

owerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=42 
Ramdisk in not compressed 
42518 blocks
3001 blocks
45518 blocks
Setting default boot entry to TCRP Friend
Cleaning up files
Caching files for future use
./rploader.sh: line 2712: [: 3.6: integer expression expected
Found /home/tc/redpill-load/cache/ds3622xsp_42218.pat, copying to cache directory : /mnt/sdb3/auxfiles 

there is an error while setting up: ./rploader.sh: line 2712: [: 3.6: integer expression expected

Maybe this is related?

Edited by Dreadnought
Link to comment
Share on other sites

47 minutes ago, Dreadnought said:
owerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=42 
Ramdisk in not compressed 
42518 blocks
3001 blocks
45518 blocks
Setting default boot entry to TCRP Friend
Cleaning up files
Caching files for future use
./rploader.sh: line 2712: [: 3.6: integer expression expected
Found /home/tc/redpill-load/cache/ds3622xsp_42218.pat, copying to cache directory : /mnt/sdb3/auxfiles 

there is an error while setting up: ./rploader.sh: line 2712: [: 3.6: integer expression expected

Maybe this is related?

I will now try another USB drive maybe this can help...

 

UPDATE:

I tried another USB drive but the error remain.

No matter if I increased the size of partition 3 or not, I stuck in the bootloop.

 

@pocopico @Peter Suh

Edited by Dreadnought
Update
Link to comment
Share on other sites

1 hour ago, Dreadnought said:

I will now try another USB drive maybe this can help...

 

UPDATE:

I tried another USB drive but the error remain.

No matter if I increased the size of partition 3 or not, I stuck in the bootloop.

 

@pocopico @Peter Suh

 

I don't know if this is a problem only in Korea.
Currently, some files on Github are downloading a timeout.
The TCRP friend core file cannot be downloaded.
Are you the same?
https://github.com/pocopico/tcrpfriend/releases

Link to comment
Share on other sites

3 minutes ago, Peter Suh said:

 

I don't know if this is a problem only in Korea.
Currently, some files on Github are downloading a timeout.
The TCRP friend core file cannot be downloaded.
Are you the same?
https://github.com/pocopico/tcrpfriend/releases

For me, the download is working and I am able to access the github sites.

Link to comment
Share on other sites

@pocopico

 

I found a strange phenomenon.
I compared the size of the TCRP friend's core file, and the size of the file uploaded to the release below and the size of the file copied to the root of partition 3 are all different.
Wasn't it checked by chksum?
Wouldn't it be safe to check sha256 ?
So far, it is correct to say that I have been testing with the unstable TCRP friend core file downloaded.
https://github.com/pocopico/tcrpfriend/releases

 

1860600112_2022-09-278_25_36.thumb.png.a7fc31f408fe640b8cb5495fbe0b7b8d.png

 

1965748681_2022-09-278_26_02.thumb.png.976113b9607f34cf3e740f17c9de0cf3.png

Link to comment
Share on other sites

14 minutes ago, Peter Suh said:

@pocopico

 

I found a strange phenomenon.
I compared the size of the TCRP friend's core file, and the size of the file uploaded to the release below and the size of the file copied to the root of partition 3 are all different.
Wasn't it checked by chksum?
Wouldn't it be safe to check sha256 ?
So far, it is correct to say that I have been testing with the unstable TCRP friend core file downloaded.
https://github.com/pocopico/tcrpfriend/releases

 

1860600112_2022-09-278_25_36.thumb.png.a7fc31f408fe640b8cb5495fbe0b7b8d.png

 

1965748681_2022-09-278_26_02.thumb.png.976113b9607f34cf3e740f17c9de0cf3.png

 

At which stage did you end with two different bzImage-friend files ? bzImage file is always updated from the repo IF friend get an IP on time and checks for latest image 

 

BOTH TCRP friend and TCRP will download the latest release available 

Edited by pocopico
Link to comment
Share on other sites

3 minutes ago, pocopico said:

 

At which stage did you end with two different bzImage-friend files ?

 

 

The first captured image is the result of 100% download of all three files.

The second captured image is a case where there was a problem with the download of today's Github repo release, so it could not be filled 100% and an error occurred.

 

I also confirmed a case where the file size was preserved in the third partition that I received during testing in Virtualbox yesterday.

 

1938697700_2022-09-278_46_26.thumb.png.0b782b12dc816bbbc5960667bac8e183.png

Edited by Peter Suh
Link to comment
Share on other sites

1 minute ago, Peter Suh said:

 

 

The first captured image is the result of 100% download of all three files.

The second captured image is a case where there was a problem with the download of today's Github repo release, so it could not be filled 100% and an error occurred.

 

Oh, i see what you mean. I'll check 

Link to comment
Share on other sites

30 minutes ago, Peter Suh said:

@pocopico

 

I found a strange phenomenon.
I compared the size of the TCRP friend's core file, and the size of the file uploaded to the release below and the size of the file copied to the root of partition 3 are all different.
Wasn't it checked by chksum?
Wouldn't it be safe to check sha256 ?
So far, it is correct to say that I have been testing with the unstable TCRP friend core file downloaded.
https://github.com/pocopico/tcrpfriend/releases

 

1860600112_2022-09-278_25_36.thumb.png.a7fc31f408fe640b8cb5495fbe0b7b8d.png

 

1965748681_2022-09-278_26_02.thumb.png.976113b9607f34cf3e740f17c9de0cf3.png

 

Well i checked and i indeed verify the sha256sum of all downloaded files. Thats of course if you dont interrupt the process.

Link to comment
Share on other sites

3 hours ago, Peter Suh said:

 

@pocopico

 

My rploader.sh is still at 0.9.2.3.
So I haven't taken redpill.ko from the redpill-prod ext driver yet.
Prevent automatic update to 0.9.2.4 as shown below
Adjusted to use the existing redpill ext driver as you guide.

 

1131882670_2022-09-275_14_50.thumb.png.14736a8c4bef0d0816a4bbca38d5ed5c.png

 

19507722_2022-09-275_00_30.png.8db2ef4cf4dbcecd612bd039abe49849.png

 

344740732_2022-09-275_09_50.thumb.png.a279e0aa8ea52c03bbfdb5e14f9e5319.png

 

 

I took this action, but this time a kernel panic occurs.

 

As reported earlier, there is no kernel panic when using the first TCRP USB instead of the GNU 4th menu TCRP friend.

 

E1D58EA3-7D07-4D41-BE4A-A0E9D4CC5475_1_105_c.thumb.jpeg.3407d05a68d292f8fa411585e476d98b.jpeg

 

and

 

Isn't the same file used even if you copy and unzip it directly like the one below?

 

sudo curl --location --progress-bar "https://github.com/pocopico/rp-ext/raw/main/redpill/releases/redpill-4.4.180plus-broadwellnk.tgz" --output /home /tc/custom-module/redpill.ko.tgz

 

sudo tar -zxvf /home/tc/custom-module/redpill.ko.tgz -C /home/tc/custom-module/

 

You have a corrupted initramfs its in the top of the screen :)

 

  • Thanks 1
Link to comment
Share on other sites

Hey guys!

I'm having an issue regarding TCRP Friend, it freezes on boot if i let it run by default. All the drives spin up but no activity on them after they start.

If i boot using the standard USB Verbose line in grub, the nas does boot fine.

Another smaller issue, it does not recognize the builtin 10g adapter in my Terramaster F5-422 during its boot. A link connectivity is shown on the network switch, even at 10gbps! And i can ping the NAS on its ip that it gets from the DHCP.

What can i do from within TCRP Friend to try to troubleshoot the boot issue there?

 

If i plug an ethernet cable to one of the Realtek 1g ports, then TCRP Friend does see the internet connection (but it overrides the MAC address using the mac from the 10g adapter) and checks successfully if there is a newer version. It still hangs on boot.

One weird thing i noticed, TCRP Friend seems to believe there is 15 network adapters in the nas! 

871574900_IMG_20220927_151627_mod(Grand).thumb.png.1ff548b615434b7009cfab81d768cb3f.png

Final question, i was also wondering if i could increase the size of the 3rd partition, and only this one, as i have a 64g flash drive. But i wasn't sure if i was "allowed" to do so without breaking anything...

Anyway, i'm VERY happy to report that beside these small issues, the Terramaster F5-422 runs very nice using TCRP 0.9.2.4 and DSM 7.1.1 42962 update 1! Oh and DSM only sees one of the 1g adapters beside the 10g one, but as does Windows. Tinycore though lists all adapters without issue...

 

EDIT : i should add that, as @Dreadnought, i had to do the "./rploader.sh bringfriend" command twice for it to create the boot entry. First time it downloaded 3 files (i think) but did not create the entry, second time it checked the files and created the entry fine.

Edited by Blubster
Link to comment
Share on other sites

5 minutes ago, Blubster said:

Hey guys!

I'm having an issue regarding TCRP Friend, it freezes on boot if i let it run by default. All the drives spin up but no activity on them after they start.

If i boot using the standard USB Verbose line in grub, the nas does boot fine.

Another smaller issue, it does not recognize the builtin 10g adapter in my Terramaster F5-422 during its boot. A link connectivity is shown on the network switch, even at 10gbps! And i can ping the NAS on its ip that it gets from the DHCP.

What can i do from within TCRP Friend to try to troubleshoot the boot issue there?

 

If i plug an ethernet cable to one of the Realtek 1g ports, then TCRP Friend does see the internet connection (but it overrides the MAC address using the mac from the 10g adapter) and checks successfully if there is a newer version. It still hangs on boot.

One weird thing i noticed, TCRP Friend seems to believe there is 15 network adapters in the nas! 

871574900_IMG_20220927_151627_mod(Grand).thumb.png.1ff548b615434b7009cfab81d768cb3f.png

Final question, i was also wondering if i could increase the size of the 3rd partition, and only this one, as i have a 64g flash drive. But i wasn't sure if i was "allowed" to do so without breaking anything...

Anyway, i'm VERY happy to report that beside these small issues, the Terramaster F5-422 runs very nice using TCRP 0.9.2.4 and DSM 7.1.1 42962 update 1! Oh and DSM only sees one of the 1g adapters beside the 10g one, but as does Windows. Tinycore though lists all adapters without issue...

 

I don't know if it's just Korea or if it's a problem with Github as a whole, but the download of some files is very slow or fails.
It is necessary to check that the TCRP friend bzimage and initrd files are downloaded with the correct file size.
TCRP friend loader in progress CTRL+C to stop loading
Can you capture the contents of the /MNT/TCRP folder and send it to me?

The file size should be as shown below.

 

741641784_2022-09-2710_29_24.thumb.png.f226a9dd80b25c259187ab712215b07c.png

Link to comment
Share on other sites

14 minutes ago, Blubster said:

15 network adapters in the nas! 

 

There is a 5 second timer until TCRP Friend tries to boot DSM.

 

Can you please stop with ctrl-c and run the following commands  and send me the output ?

 

lspci -nn

./boot.sh patchkernel

./boot.sh patchramdisk

 

14 minutes ago, Blubster said:

Final question, i was also wondering if i could increase the size of the 3rd partition, and only this one, as i have a 64g flash drive. But i wasn't sure if i was "allowed" to do so without breaking anything...

 

At the moment, you should not increase the size. Its adequate enough to hold all the required files. At some point though i will include an auto increase to maximum size. 

Edited by pocopico
  • Like 1
Link to comment
Share on other sites

  • Polanskiman changed the title to TinyCore RedPill loader (TCRP) - Development release 0.9

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...