Jump to content
XPEnology Community

RedPill TinyCore Loader Installation Guide for DSM 7.1 BareMetal


Peter Suh

Recommended Posts

7 minutes ago, daryl said:

Rebooted to try again seeing menu.sh

 

After getting my.sh in the file system and selecting image build boot menu item it seems the image boots right to menu.sh but it lands me right back in the same place with the same error

 

 

How many nic ports do you actually have?

 

Synology supports up to four.

 

The number of netif_num should match the number of your mac1,2,3,4.

 

If only mac1 exists then netif_num=1 .

 

If mac1 and mac2 exist, netif_num=2.

 

If these values are not automatically adjusted, use the editor of the "Edit User config file manually" menu.

Link to comment
Share on other sites

Thank you again,

 

Motherboard has a 2.5g realtec nic port. I added dual 1g intel nic card on pice. Guessing config files are not dynamic and image will need rebuild... yep. 

 

There were entries for Mac1 SN and Mac3 SN in the user_json. I used the menu item to go back and ask the script to generate an SN for Mac 2. Went back in to user_json and see three SN's but I sell get the same error on reboot. 

 

Going to rearrange PCI cards and re-approach. Getting the feeling that my missing hba card has something to do with this. 

Link to comment
Share on other sites

7 minutes ago, daryl said:

Thank you again,

 

Motherboard has a 2.5g realtec nic port. I added dual 1g intel nic card on pice. Guessing config files are not dynamic and image will need rebuild... yep. 

 

There were entries for Mac1 SN and Mac3 SN in the user_json. I used the menu item to go back and ask the script to generate an SN for Mac 2. Went back in to user_json and see three SN's but I sell get the same error on reboot. 

 

Going to rearrange PCI cards and re-approach. Getting the feeling that my missing hba card has something to do with this. 

 

Using 3 macs takes a lot of effort.
In fact, a user who used three macs insisted that the sort order of PCIE device-id and the order of mac1,2,3 to be used should be exactly matched.
Otherwise, these 3 macs and IPs may be unintentionally matched.

 

The issue of HBA will be separate from this.

Exactly which HBA model do you use?
For SAS LSI cards, the most used and compatible driver was mpt3sas.

 

You need to make sure that this driver is working correctly.
If there are no NIC issues anymore, the next step is to further observe the behavior between your HBA and driver and analyze the logs.

Link to comment
Share on other sites

Acknowledged. This was another feeling I had. Strict ordering with realtec being first since its onboard. Curiously I did see 3 sn's in the user-json and the newest generated (Mac 2) was on the top of the list. When I rebooted the number of SNs being listed was back to 2. 

 

I'll remove the dual Nic card and run again to test how important this is to me. I usually try to bond ports on my nas. Thanks to your mention I see how hairy this can get and I am not sure I am on enough sleep to edit the ordering right now. Thank you once again!

Link to comment
Share on other sites

7 minutes ago, daryl said:

Pulled the 2 port intel Nic card and rebuilt. The init goes well this time however once init is completed "Nothing will be displayed here anymore" the system reboots and this repeats. 

 

It seems to mean that the disk is not found.
We are looking for success stories of 9207 in the XPENOLOGY community.
A full search with the 9207 keyword and the "EVERYWHERE" option is recommended.

 

I haven't tried your HBA either, so I can't say for sure.
Let's check the log.
Can you get the log like below in your web browser?

 

If you can access the DSM installation request screen (if you get a message saying it can't find the disk) with ttyd as below,
Then send me the log with the command you see.
You must use a web browser.

 

http://<youripaddr>:7681/
id : root / pw : ( no password )

 

cat /var/log/linuxrc.syno.log

Link to comment
Share on other sites

9 minutes ago, daryl said:

Pulled the 2 port intel Nic card and rebuilt. The init goes well this time however once init is completed "Nothing will be displayed here anymore" the system reboots and this repeats. 

 

"Nothing will be displayed here anymore"
means that there is nothing more you can do on that console.

At the top of the screen is the IP assigned by DHCP.
You need to access it from a web browser with that IP.

Link to comment
Share on other sites

13 minutes ago, daryl said:

Pulled the 2 port intel Nic card and rebuilt. The init goes well this time however once init is completed "Nothing will be displayed here anymore" the system reboots and this repeats. 

 

In TCRP FRIEND, this screen is normal.
Are you rebooting here?

 

Can you take a picture of your TCRP FRIEND screen before the automatic reboot?

 

957195674_2023-01-1412_45_03.thumb.png.3198fce716ae8b7d075a0b5fdc27a4c1.png

Edited by Peter Suh
Link to comment
Share on other sites

I was using the "nothing will be displayed here anymore" to validate that I am indeed getting past init. I know to not look at the screen anymore at this point. 

 

The issue is that once init completes the unit reboots and this repeats so I wont be able to get any logs from the DSM instance. In TCRP I have this for lspci:

 

tc@box:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 9b43 (rev 05)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05)
00:01.1 PCI bridge: Intel Corporation Skylake PCIe Controller (x8) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 9bc5 (rev 05)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Device 43ed (rev 11)
00:14.2 RAM memory: Intel Corporation Device 43ef (rev 11)
00:16.0 Communication controller: Intel Corporation Device 43e0 (rev 11)
00:17.0 SATA controller: Intel Corporation Device 43d2 (rev 11)
00:1b.0 PCI bridge: Intel Corporation Device 43c0 (rev 11)
00:1b.4 PCI bridge: Intel Corporation Device 43c4 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Device 43b8 (rev 11)
00:1c.4 PCI bridge: Intel Corporation Device 43bc (rev 11)
00:1d.0 PCI bridge: Intel Corporation Device 43b0 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 4385 (rev 11)
00:1f.3 Audio device: Intel Corporation Device f0c8 (rev 11)
00:1f.4 SMBus: Intel Corporation Device 43a3 (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 43a4 (rev 11)
01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2308 PCI-Express Fusion-MPT SAS-2 (rev 05)
02:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
06:00.0 Ethernet controller: Intel Corporation Device 15f3 (rev 03)
07:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809

 

 

Motherboard has 3 nvme slots but only two work with the 10th gen i7 Im using. Both of these slots have a 500gb matching nvme within. Also have a pcie to nvme adapter by sabrent model: EC_PCIE. Going to yank it and connect a 2,5 inch SSD to a motherboard sata port and try again. 

 

Trying not to connect the HDD's that were in a previous DSM (DS1621) Xpenology setup until I can get DSM on its feet. Then I will try to import them. Say, just remembering I have not been able to get in bios yet. Is there a way to lengthen the boot loader timeout through my.sh? Need to check hot plug. 

Link to comment
Share on other sites

17 minutes ago, daryl said:

I was using the "nothing will be displayed here anymore" to validate that I am indeed getting past init. I know to not look at the screen anymore at this point. 

 

The issue is that once init completes the unit reboots and this repeats so I wont be able to get any logs from the DSM instance. In TCRP I have this for lspci:

 

tc@box:~$ lspci
00:00.0 Host bridge: Intel Corporation Device 9b43 (rev 05)
00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05)
00:01.1 PCI bridge: Intel Corporation Skylake PCIe Controller (x8) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 9bc5 (rev 05)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Device 43ed (rev 11)
00:14.2 RAM memory: Intel Corporation Device 43ef (rev 11)
00:16.0 Communication controller: Intel Corporation Device 43e0 (rev 11)
00:17.0 SATA controller: Intel Corporation Device 43d2 (rev 11)
00:1b.0 PCI bridge: Intel Corporation Device 43c0 (rev 11)
00:1b.4 PCI bridge: Intel Corporation Device 43c4 (rev 11)
00:1c.0 PCI bridge: Intel Corporation Device 43b8 (rev 11)
00:1c.4 PCI bridge: Intel Corporation Device 43bc (rev 11)
00:1d.0 PCI bridge: Intel Corporation Device 43b0 (rev 11)
00:1f.0 ISA bridge: Intel Corporation Device 4385 (rev 11)
00:1f.3 Audio device: Intel Corporation Device f0c8 (rev 11)
00:1f.4 SMBus: Intel Corporation Device 43a3 (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device 43a4 (rev 11)
01:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2308 PCI-Express Fusion-MPT SAS-2 (rev 05)
02:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
06:00.0 Ethernet controller: Intel Corporation Device 15f3 (rev 03)
07:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809

 

 

Motherboard has 3 nvme slots but only two work with the 10th gen i7 Im using. Both of these slots have a 500gb matching nvme within. Also have a pcie to nvme adapter by sabrent model: EC_PCIE. Going to yank it and connect a 2,5 inch SSD to a motherboard sata port and try again. 

 

Trying not to connect the HDD's that were in a previous DSM (DS1621) Xpenology setup until I can get DSM on its feet. Then I will try to import them. Say, just remembering I have not been able to get in bios yet. Is there a way to lengthen the boot loader timeout through my.sh? Need to check hot plug. 

 

Please let us know the result of the command below so that we can check your VID/PID as well.
I can predict exactly which driver it will work with.

lspci -nn

 

Synology only supports up to 2 NVMe caches. The 3rd NVMe becomes obsolete.

 

The phenomenon of not entering the DSM installation request stage and going straight to booting is probably KP (Kernel Panic).
It is correct that the general KP state is frozen in that state, but in the situation where it is immediately rebooted, the instability of TCRP FRIEND is also suspicious.


Would you like to try the JOT mode build, which is a different loader build method for menu.sh?
At least if it doesn't reboot, you may be able to make some progress here checking the logs via TTYD.

Edited by Peter Suh
Link to comment
Share on other sites

tc@box:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9b43] (rev 05)
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 05)
00:01.1 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x8) [8086:1905] (rev 05)
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9bc5] (rev 05)
00:08.0 System peripheral [0880]: Intel Corporation Skylake Gaussian Mixture Model [8086:1911]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:43ed] (rev 11)
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:43ef] (rev 11)
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:43e0] (rev 11)
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11)
00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:43c0] (rev 11)
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:43b8] (rev 11)
00:1c.4 PCI bridge [0604]: Intel Corporation Device [8086:43bc] (rev 11)
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:43b0] (rev 11)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4385] (rev 11)
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:f0c8] (rev 11)
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:43a3] (rev 11)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:43a4] (rev 11)
01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2308 PCI-Express Fusion-MPT SAS-2 [1000:0086] (rev 05)
02:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
03:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a809]
05:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
06:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a809]

Thanks. This is from TCRP. 

 

How can I lengthen the boot loader timeout? The system time/date is incorrect and system is stuck on downloading an ntpclient that doesn't seem to be resolving. 

 

Downloading NTP client to assist 

 

has been on the screen for 10 minutes.  I will try the other build method you have mentioned. 

Link to comment
Share on other sites

On 12/29/2022 at 10:08 PM, nemesis122 said:

Hi Peter 

Pls let me know is your mshell script the same as Tinycore only with gui ?

the loader creating is on Pocopico tinycore ?

is it possible that you add 3615 xs because i have done a lot of benchmarks an my gen8 severs i have 5 of them all are double faster with 3615 vs 3622 918 920 etc 

 

Intel Core i3-3240

https://browser.geekbench.com/v5/cpu/19583809

With Tinycore Mshell  3622xs

350

Single-Core Score

787 Multi-Core Score

 

Intel Core i3-3240

https://browser.geekbench.com/v5/cpu/19571457

with ARPL 3622xs

348

Single-Core Score

806

Multi-Core Score

 

and with ARPL 3615 or with or   Jun’s Mod X 3615xs DSM7

https://browser.geekbench.com/v5/cpu/19585405

716

Single-Core Score

1603

Multi-Core Score

 

Maybe this is Linux Kernel Releated??

 

this is the double performance this is also happen with  XEON 1220Lv2 or 1240v2 or 1245 v2 or 1230 v2 always the double performance with 3615 so pls add 3615 back to your mshell 

 

thank you

Michael  

happy New Year 

 

 

 

@nemesis122 what is your benchmarking process ? Can you describe please ? I want to replicate so i can test.

Link to comment
Share on other sites

Thank you for the performance benchmark indication. I still think that I need a longer boot loader timeout. You know how you can tell by the font and text size / screen resolution if you are booting to UEFI? Well for the first time since starting this attempt I have just now booted to UEFI. I am unable to expose my motherboards boot menu due to the zero length of time on the boot loader timeout?

 

Guess I will make a different usb stick to do this with and then return to TCRP and return to TCRP to try the 3615. 

Link to comment
Share on other sites

28 minutes ago, pocopico said:

 

@nemesis122 what is your benchmarking process ? Can you describe please ? I want to replicate so i can test.

 

Hi @pocopico :-)

Download Geekbench 

https://www.geekbench.com/download/linux/

copy the file to temp folder or your choice

Login Putty as User and pass 

then switch to root 

 

sudo su -

cd /volume1/temp
 
tar xvf Geekbench-5.4.6-Linux.tar.gz
ls -lrt

 cd Geekbench-5.4.6-Linux
./geekbench5

 

wait for the results and i could say this thing is only happen with arpl and with the friend options in tinycore / only with tinycore the server has full performance this is happen with all DSM Models only 3615 this has always the full perofrmance i dont know why 

 

you can test when you have low performation with the high freq. options with this command and test again there is hug differenc

modprobe acpi-cpufreq && echo "performance" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

 

Edited by nemesis122
typo
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, nemesis122 said:

 

Hi @pocopico :-)

Download Geekbench 

https://www.geekbench.com/download/linux/

copy the file to temp folder or your choice

Login Putty as User and pass 

then switch to root 

 

sudo su -

cd /volume1/temp
 
tar xvf Geekbench-5.4.6-Linux.tar.gz
ls -lrt

 cd Geekbench-5.4.6-Linux
./geekbench5

 

wait for the results and i could say this thing is only happen with arpl and with the friend options in tinycore / only with tinycore the server has full performance this is happen with all DSM Models only 3615 this has always the full perofrmance i dont know why 

 

you can test when you have low performation with the high freq. options with this command and test again there is hug differenc

modprobe acpi-cpufreq && echo "performance" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

 

 

I saw in the past and was thinking where the problem lies. I need to fix redpill-misc to not comment out the acpi-cpufreq if cpu has scaling capabilities. Do you happen to know which CPU FLAG is it ? 

 

It has to be est ? 

 

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/include/asm/cpufeature.h?id=refs/tags/v4.1.3

 

 

 

Edited by pocopico
Link to comment
Share on other sites

7 minutes ago, pocopico said:

 

I saw in the past and was thinking where the problem lies. I need to fix redpill-misc to not comment out the acpi-cpufreq if cpu has scaling capabilities. Do you happen to know which CPU FLAG is it ? 

 

It has to be est ? 

 

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/include/asm/cpufeature.h?id=refs/tags/v4.1.3

 

 

 

no Sorry 

but i think he knows it @idaanx could you us help in this case ?

thank you 

Link to comment
Share on other sites

12 minutes ago, nemesis122 said:

no Sorry 

but i think he knows it @idaanx could you us help in this case ?

thank you 

 

On a hw system that i've tested both performance and default "userspace" scaling_governors the results are the same.  

 

Performance

265

Single-Core Score

487

Multi-Core Score

 

vs 

Userspace:

264

Single-Core Score

480

Multi-Core Score

 

Link to comment
Share on other sites

4 minutes ago, pocopico said:

 

On a hw system that i've tested both performance and default "userspace" scaling_governors the results are the same.  

 

Performance

265

Single-Core Score

487

Multi-Core Score

 

vs 

Userspace:

264

Single-Core Score

480

Multi-Core Score

 

Do you have tested with tinycore and then postupdate with friend (  or Tinycore without friend option?? was i know this is not happen on all CPU but with the xeon in the gen8 microserver there is this issue.

in ARPL this is fixed but as you know arpl bigger as 1.03 is not working in the gen8 also i dont know why.

have a look at this tread 

starting here 

 

 

Link to comment
Share on other sites

@Peter Suh I would like to thank you very much here.

 

The JOT version helped me out here. ARPL isn't working for me with all different settings. (now I'm curious whats the big difference here)

So again, thanks for you work 💪

 

 

 

 

Working on:

Ryzen 5600G, ASRock B450M Pro4 R2.0 (rtl8111h), 16gb ram, 4x4TB + 2X 256GB SSD (cache)

  • Like 2
Link to comment
Share on other sites

Image requested by Peter attached. Ive tried 3 models using my.sh and menu and the system clears init as well as Friend however it just keeps rebooting on its own. JOT build mode also causes rebooting with no time to get on on TTY

IMG_0385.HEIC

Edited by daryl
update on results of JOT build mode
Link to comment
Share on other sites

6 hours ago, daryl said:

Image requested by Peter attached. Ive tried 3 models using my.sh and menu and the system clears init as well as Friend however it just keeps rebooting on its own. JOT build mode also causes rebooting with no time to get on on TTY

IMG_0385.HEIC 1.83 MB · 7 downloads

 

 

Good Morning. daryl.

 

I tried matching the contents of the /home/tc/modules.alias.4.json file with the VID/PID.

Both of your HBAs should use mpt3sas as I would expect.

 

01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2308 PCI-Express Fusion-MPT SAS-2 [1000:0086] (rev 05)
02:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)

{
     "name": "mpt3sas",
     "alias": "pci:v00001000d00000086sv*sd*bc*sc*i*"
},

{
     "name": "mpt3sas",
     "alias": "pci:v00001000d00000072sv*sd*bc*sc*i*"
},


And, the NIC you said is a 2.5G Realtek chipset, like an Intel i225 or i226. Probably the I225-V chipset.

05:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)

{
     "name": "igc",
     "alias": "pci:v00008086d000015F3sv*sd*bc*sc*i*"
},

 

If you do a Google search, you can see that this chipset and linux still don't work well.
https://askubuntu.com/questions/1397363/ethernet-connection-not-working-ubuntu-server-intel-15f3

https://forums.gentoo.org/viewtopic-p-8685596.html?sid=f9288b1cc226dd3b03959a38c054bdad

 

I also have a "Gigabyte Z590I Aorus Ultra" MOBO which has the same I225-V chipset.
I sometimes boot into bare metal for TCRP testing, and it works fine on my MOBO.

 

However, among Korean users, this chipset and TCRP FRIEND did not work, so I think I suggested another solution.
I'll search the contents more at the time and let you know how to deal with it.

 

Additionally, can you take another screenshot of your Tinycore Linux?
Looking at the monitor's ability to display information can be a basis for identifying nics or other problems.

 

In this TCRP monitor function, time synchronization is done by ntpclient processing.
Do you still wait 10 minutes here?

 

And, if you want to extend the 5 second waiting time, connect the USB stick to Windows 10.
Modify the below part of the /boot/grub/grub.cfg file in the first partition of the USB stick.
set timeout="5"

Link to comment
Share on other sites

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...