Jump to content
XPEnology Community

TinyCore RedPill Loader (TCRP)


pocopico

Recommended Posts

Hi @pocopico Now that I have Time to build up my big System with tiny core friend. I am confused about which extension to pick for my LSI 2008 in IT mode.

 

I’d like to switch to friend on 3622XS+ with 7.1.1-42962.

 

Was that mp3sas or 2?

 

Because TCRP friend doesn’t see any HBA while Boot up. I can find my system anyway, but it tells “not installed”

 

Maybe there’s something wrong with my Bootloader, so I haven’t installed as told yet and switched back to my TCRP SATA Boot, which runs flawlessly.

 

thx for any input 

  • Like 1
Link to comment
Share on other sites

On 10/8/2022 at 7:13 PM, Kaneske said:

Hi @pocopico Now that I have Time to build up my big System with tiny core friend. I am confused about which extension to pick for my LSI 2008 in IT mode.

 

I’d like to switch to friend on 3622XS+ with 7.1.1-42962.

 

Was that mp3sas or 2?

 

Because TCRP friend doesn’t see any HBA while Boot up. I can find my system anyway, but it tells “not installed”

 

Maybe there’s something wrong with my Bootloader, so I haven’t installed as told yet and switched back to my TCRP SATA Boot, which runs flawlessly.

 

thx for any input 

 

MPT3SAS should be auto detected.

  • Like 2
Link to comment
Share on other sites

Hi @pocopico yes of course.

See attached Image.

 

Meanwhile I´ve got an solution with Friend as follows:

 

TCRP Build with Update->Fullupgrade->Serialgen->ext broadwellnk-7.1.1-42962 add mp3sas (link to your repo)->withfriend

 

But I have still to disconnect my X540-T2 Passthrough while build the Loader, with that the Script adds XGBE Drivers from your Repo, they cause Kernel Panic or so, the NAS is not reachable if they are built into the Loader.

 

Anyway. It works with only mpt3sas Extension added manually.

Friend says 0 HBA and could´t get IP...

 

But the System is up.

 

1638096087_Bildschirmfoto2022-10-12um10_26_24.thumb.png.c829939b23657d7b03fa8e5c7eda4d9d.png 

  • Like 1
Link to comment
Share on other sites

Hello everyone! 

@pocopico Thx for your amazing work with tinycore :).

Do you think it's possible to boot from an USB (8go) into tiny core, and burn loader on another USB (512Mo) ? 

Haev an old asustor with a usb card (10pin) directly connected on motherbaord. But 512Mo is too small for tiny core lol. Is there an option to say : burn the img into this usb ? 

 

Thx for your help,

  • Like 1
Link to comment
Share on other sites

20 hours ago, RedwinX said:

Hello everyone! 

@pocopico Thx for your amazing work with tinycore :).

Do you think it's possible to boot from an USB (8go) into tiny core, and burn loader on another USB (512Mo) ? 

Haev an old asustor with a usb card (10pin) directly connected on motherbaord. But 512Mo is too small for tiny core lol. Is there an option to say : burn the img into this usb ? 

 

Thx for your help,

Many thx to @pcristi. Solution https://github.com/fbelavenuto/arpl/releases

Have to download 0.3 version, because nand was 480M and not 512M... After that, update loader to 0.5, and build loader works like a charm! 

Link to comment
Share on other sites

Hello everyone! 

 

My xpenology server is based on HP Proliant ML110 G6 Is build on Intel Xeon X3450 at Intel 3420 chipset

The DS3622xs version works fine on it but is one problem. After restarting the server, the system loads without any problems, but after it is turned off and turned on, a new system installation window appears. I need to select a PAT file and the new DSM installation is starting. Maybe Someone had a similar problem and knows to solve it ?

 

Regards and thank you for your help

ubuntix

 

Link to comment
Share on other sites

你好 

@pocopico 谢谢你

网卡 X520-SR1 不工作。

MB:J4125NHU

platform:DVA1622
version:7.1.1-42962
ext:ixgbe,r8168

错误:无法加载来自 pocopico.ixgbe 的内核”扩展”ixgbe.ko

 

# cat linuxrc.syno.log
START /linuxrc.syno.impl
'/etc.defaults/model.dtb' -> '/var/run/model.dtb'
Insert HDMI Audio driver
Insert basic USB modules...
:: Loading模块加载usb-common ... [确定]
::加载模块usbcore ... [确定]
::加载模块xhci-hcd ... [确定]
::加载模块xhci-pci ... [确定]
::加载模块module usb-storage ... [ OK ]
:: 从扩展内核模块 ...
为 pocopico.ixgbe 加载 kmod #0 "udp_tunnel.ko" (args: ) 为 pocopico.ixgbe
加载 kmod #1 "ip6_udp_tunnel.ko" (args: )
为 pocopico.ixgbe 加载 kmod #2 "dca.ko" (args: ) 为 pocopico.ixgbe (args: )
加载 kmod #3 "vxlan.ko"
为加载 pocopico.ixgbe (args: ) kmod #4 “ixgbe.ko”
insmod:无法插入“ixgbe.ko”:模块中的未知符号或未知参数
错误:来自 pocopico.ixgbe 的内核扩展“ixgbe.ko”无法
退出错误 [99] rp ext init exec failure...
Fri Oct 14 03:43:49 UTC 2022
none /sys/kernel/debug debugfs rw,relatime 0 0

 

消息

10 月 14 日 05:09:58 内核:[98.878490] ixgbe:未知符号 dcb_getapp(错误 0)
10 月 14 日 05:09:58 内核:[98.884090] ixgbe:未知符号 dcb_setapp(错误 0)
10 月 14 日 05:09:58 内核:[98.889415]ixgbe:未知符号dcb_ieee_delapp(错误0)
10月14日05:09:58内核:[98.896493]ixgbe:未知符号dcb_ieee_setapp(错误0)
10月14日05:09:58内核:[98.909143]ixgbe:未知符号dcb_getapp (err 0)
Oct 14 05:09:58 kernel: [ 98.914463] ixgbe: Unknown symbol dcb_setapp (err 0)
Oct 14 05:09:58 kernel: [ 98.919799] ixgbe: Unknown symbol dcb_ieee_delapp (err 0)
Oct 14 05 :09:58 内核:[98.925507] ixgbe:未知符号 dcb_ieee_setapp (err 0)

 

Edited by coolfree
Link to comment
Share on other sites

19 hours ago, ubuntix said:

Hello everyone! 

 

My xpenology server is based on HP Proliant ML110 G6 Is build on Intel Xeon X3450 at Intel 3420 chipset

The DS3622xs version works fine on it but is one problem. After restarting the server, the system loads without any problems, but after it is turned off and turned on, a new system installation window appears. I need to select a PAT file and the new DSM installation is starting. Maybe Someone had a similar problem and knows to solve it ?

 

Regards and thank you for your help

ubuntix

 

I forgot to add that the problem only occurs when I unplug the power cord.

Link to comment
Share on other sites

Hi colleagues!

Sorry for dummy question (probably), I spent several days but still not have working system yet. I try to install DSM7.I built own config (ASUS mb Z97-P, i4690, 2 WD 3Tb HD) and follow the procedure (found some videos with it as well). I tried to use DS3615xs and DS918+. Some steps are OK but build  step doesn't start with answer "Check custom_config.json for platform settings". It doesn't depend which platform is used (apollolake for 918+ or bromolow for 3516xs).

I tried to use the same procedure indirectly with Proxmox based. The loader is installed OK with virtual machine, DSM is started to be visible in Syno Assistant but PAT file load into invitation is everytime unsuccessful (as for DS3615xs as for DS918+ with different files downloaded from Synology as the version itself as the version upgrade).

So this is not the platform naming problem. So I assume some hardware can be checked somewhere? How to avoid the problem? Otherwise should I try to install DSM6 and upgrade later with DSM itself (like the normal Synology hardware - is it possible)?

I can't find some similar neither this forum nor global Internet.

 

HW:

tc@box:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB xHCI Controller [8086:8cb1]
00:16.0 Communication controller [0780]: Intel Corporation 9 Series Chipset Family ME Interface #1 [8086:8cba]
00:1a.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 [8086:8cad]
00:1b.0 Audio device [0403]: Intel Corporation 9 Series Chipset Family HD Audio Controller [8086:8ca0]
00:1c.0 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 [8086:8c90] (rev d0)
00:1c.2 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 [8086:8c94] (rev d0)
00:1d.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 [8086:8ca6]
00:1f.0 ISA bridge [0601]: Intel Corporation 9 Series Chipset Family Z97 LPC Controller [8086:8cc4]
00:1f.2 SATA controller [0106]: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] [8086:8c82]
00:1f.3 SMBus [0c05]: Intel Corporation 9 Series Chipset Family SMBus Controller [8086:8ca2]
02:00.0 Non-Volatile memory controller [0108]: Silicon Motion, Inc. Device [126f:2263] (rev 03)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 11)
tc@box:~$
 

Link to comment
Share on other sites

42 minutes ago, Dittel said:

Hi colleagues!

Sorry for dummy question (probably), I spent several days but still not have working system yet. I try to install DSM7.I built own config (ASUS mb Z97-P, i4690, 2 WD 3Tb HD) and follow the procedure (found some videos with it as well). I tried to use DS3615xs and DS918+. Some steps are OK but build  step doesn't start with answer "Check custom_config.json for platform settings". It doesn't depend which platform is used (apollolake for 918+ or bromolow for 3516xs).

I tried to use the same procedure indirectly with Proxmox based. The loader is installed OK with virtual machine, DSM is started to be visible in Syno Assistant but PAT file load into invitation is everytime unsuccessful (as for DS3615xs as for DS918+ with different files downloaded from Synology as the version itself as the version upgrade).

So this is not the platform naming problem. So I assume some hardware can be checked somewhere? How to avoid the problem? Otherwise should I try to install DSM6 and upgrade later with DSM itself (like the normal Synology hardware - is it possible)?

I can't find some similar neither this forum nor global Internet.

 

HW:

tc@box:~$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 4th Gen Core Processor DRAM Controller [8086:0c00] (rev 06)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:14.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB xHCI Controller [8086:8cb1]
00:16.0 Communication controller [0780]: Intel Corporation 9 Series Chipset Family ME Interface #1 [8086:8cba]
00:1a.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2 [8086:8cad]
00:1b.0 Audio device [0403]: Intel Corporation 9 Series Chipset Family HD Audio Controller [8086:8ca0]
00:1c.0 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 [8086:8c90] (rev d0)
00:1c.2 PCI bridge [0604]: Intel Corporation 9 Series Chipset Family PCI Express Root Port 3 [8086:8c94] (rev d0)
00:1d.0 USB controller [0c03]: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1 [8086:8ca6]
00:1f.0 ISA bridge [0601]: Intel Corporation 9 Series Chipset Family Z97 LPC Controller [8086:8cc4]
00:1f.2 SATA controller [0106]: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode] [8086:8c82]
00:1f.3 SMBus [0c05]: Intel Corporation 9 Series Chipset Family SMBus Controller [8086:8ca2]
02:00.0 Non-Volatile memory controller [0108]: Silicon Motion, Inc. Device [126f:2263] (rev 03)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 11)
tc@box:~$
 

Try using these commands after starting TCRP

sudo ./rploader.sh update now
curl --location "https://github.com/PeterSuh-Q3/tinycore-redpill/raw/main/my.sh.gz" --output my.sh.gz; tar -zxvf my.sh.gz;
./my.sh DS3622xs+J

Then if you need to, edit the file user_config.json. Only refresh the view in WinSCP in the menu Remote -> refresh. For example I put S/N and MAC addresses in this file.
If you need to add drivers, do so now. For example ./rploader.sh ext broadwellnk-7.1.1-42962 add https://raw.githubusercontent.com/pocopico/rp-ext/master/e1000/rpext-index.json

 

After that, execute the command

./rploader.sh build broadwellnk-7.1.1-42962
sudo reboot
 

  • Like 1
Link to comment
Share on other sites

Thank you! I'll try your recommendation. (update&upgrade is always performed before installation)

 

Upd.

WOW!!! Colleage, you are magic! :) System is successfully built and works now!

 

Upd.2

Status "Rookie" sounds in russian language like "hands" in english. So for some of colleagues this status should be changed to "head" but not hands only :) 

 

Upd.3

One remained question: should the USB flash (used for loader built) to be used for everytime or it can be removed? 

Edited by Dittel
added actual status
Link to comment
Share on other sites

8 минут назад, ubuntix сказал:

The USB must be permanently connected

This  is very bad with many reasons :( including safety and usability. As I see it is carrying just a grub loader but nothing more in general. Is it possible to implement some small sata/nvme disk to move the loader there and remove this USB? Perhaps someone tried to implement that? 

Edited by Dittel
add the question
Link to comment
Share on other sites

1 час назад, loveburn сказал:

yes you can use the sata for boot... but it experemental functions...

Is available some real procedure to reboot already working system to boot from SATA instead of USB? I'm afraid to crush my new system at this moment. I see in the boot list as "boot from USB" (first and automatic) next "boot from SATA" and "create tiny boot". However the connected M2 drive (it was connected during bootloader creation) is not formatted (now it is visible as "Microsoft data" and doesn't have bootloader installed). I think to try to move USB flash disk (3 partitions) to M2 disk by external tool while load from another USB recovery flash - is it reasonable? May it work? Or better to recreate bootloader with some parameter (that I don't know yet) to move the boot to M2 instead of flash?

Link to comment
Share on other sites

Hello Everybody,

I'm having some troubles with my baremetal HP n54L gen 7 using  DSM 7.0.1-42218, DS3622XS+ emulated, tinycore-redpill.v0.8.0.0.img and broadwellnk-7.0.1-42218

 

Sometimes, it hangs but i don't know why.

I noticed it the first time when i tried to use docker.

The NAS becomes unresponsive, i can SSH, ls and all,  but can't reboot nor halt.  Each time it's doing that, i have to shut it down physically.

When it's in this "hang" situation, i don't know how to debug it... 

But i tried to take a look anyway and i noticed that i have a lot of this message when i look at dmesg

 

Each 67 seconds, i have 7 times this message, each 9 seconds...

Citation

[427274.824111] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427341.742774] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427350.743299] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427359.751656] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427368.785567] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427377.748804] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427386.733915] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427394.865894] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427461.740101] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427470.895395] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427479.762724] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427488.754272] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427497.743086] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
[427506.810257] <redpill/smart_shim.c:354> ATA_CMD_ID_ATA confirmed SMART support - noop
 

 

Ï looked intop smart.shim.c  (https://github.com/RedPill-TTG/redpill-lkm/blob/master/shim/storage/smart_shim.c) and i noticed that it's writing this specific line in the log if  ata_is_smart_supported  && ata_is_smart_enabled

My basic knowledge in coding prevent me to understand why it's doing that on a regular basis...

 

Could someone help me to debug please ? Not sure if this S.M.A.R.T thing could be a cause though.. 

 

 

 

 

Link to comment
Share on other sites

26 минут назад, loveburn сказал:
6 часов назад, Dittel сказал:

M2

M2 Can't use as Boot Drive....

If you proof that by some adjustments... :( I see my M.2 is visible as nvme but not sata (however z97 chipset shares one of 6 sata port to one m2, possible nvme was not present thai time at all). But i did not seen some critical points why this is impossible.

Link to comment
Share on other sites

4 часа назад, loveburn сказал:

M2 disk in DSM uses only for Read / write cache...

Sorry, colleagues! Many thanks, I forgot about this fact :( Understandable...

Anyway, I tried so many times with latest bootloader (as baremetal as proxmox built)  and may conclude SATA boot is not working at all: just built device starts but software installation failed everytime. Only USB boot creates normal working system. So I remain on proxmox based variant - USB is virtual there :)😀

  • Like 1
Link to comment
Share on other sites

Hi @IG-88

Thank you for your amazing work.  I've read through the post and can't seem to find a definitive answer to solving missing /dev/dri device.  

 

My system spec is - Dell 7060MT i7-8700T 3622xs+F 7.1.1-42962 using iGPU

 

Is HW transcoding supported in 7.1.1-42962?

 

Any help would be appreciated.  

 

Thanks.

 

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