Jump to content
XPEnology Community

RedPill - the new loader for 6.2.4 - Discussion


Recommended Posts

36 minutes ago, aportnov said:

When I prescribe a sata port map, I don't see more than 9 disks. I removed this option and ordered "maxlanport": "2",
""internal port cfg": "0xffffffff",
"esataportcfg": "0x0000",
""usb port cfg" : "0xfc000",
""maxdisk": "14"Now I have seen all of the drives from the controller when connected to 10 pieces, but for some reason the disk numbers not in a row.

 

image.thumb.png.7b0a0660718836c678024dc88f3df72e.png


I think you’ve got the SataPortMap=226 correctly if you have three controllers. So 4 on first controller, six on second and four on third. You are mentioning that you only have two but I see three on lspci 

 

0000:00:1f.2 0106: 8086:8c82 , maybe 2 ports 

0001:00:12.0 0106: 8086:5ae3, maybe two ports 

0001:01:00.0 0106: 1b4b:9215 (rev 11) and 10 ports ? 

  
 

DiskIdxMap is a two digit number and sets where the disk numbering starts for each controller, so I would put DiskIdxMap=000204

 

This might help 

 

https://gugucomputing.wordpress.com/2018/11/11/experiment-on-sata_args-in-grub-cfg/amp/

Edited by pocopico
Link to comment
Share on other sites

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


I think you’ve got the SataPortMap=226 correctly if you have three controllers. So 4 on first controller, six on second and four on third. You are mentioning that you only have two but I see three on lspci 

 

0000:00:1f.2 0106: 8086:8c82 , maybe 2 ports 

0001:00:12.0 0106: 8086:5ae3, maybe two ports 

0001:01:00.0 0106: 1b4b:9215 (rev 11) and 10 ports ? 

  
 

DiskIdxMap is a two digit number and sets where the disk numbering starts for each controller, so I would put DiskIdxMap=000204

 

This might help 

 

https://gugucomputing.wordpress.com/2018/11/11/experiment-on-sata_args-in-grub-cfg/amp/

 

image.thumb.png.8269c342471557a81eb5c8b5e0c4052d.png

 

With these parameters, I have only 2 disks. I have 4 internal ports on the motherboard, I don't use them yet, and 10 ports on the pci-e board. Another question is why I have only 4 disks displayed in the picture, on dsm 6.2.3 918 it was from the makedisk parameter display

 

image.png.e2d105c8556f6dae1de080061bcf4625.png

 

 

Link to comment
Share on other sites

7 hours ago, aportnov said:

 

image.thumb.png.8269c342471557a81eb5c8b5e0c4052d.png

 

With these parameters, I have only 2 disks. I have 4 internal ports on the motherboard, I don't use them yet, and 10 ports on the pci-e board. Another question is why I have only 4 disks displayed in the picture, on dsm 6.2.3 918 it was from the makedisk parameter display

 

image.png.e2d105c8556f6dae1de080061bcf4625.png

 

 

 

Please read the article i've sent and test. A SataPortMap=008 DiskIdxMap=0B0C00 might work

 

Edited by pocopico
Link to comment
Share on other sites

hi guys. my intel NUC8i3BEH runs DSM 6.2.3u3 with Jun 1.04b loader just fine. some output is here:

Скрытый текст




cat /proc/scsi/sg/device_strs
Samsung         SSD 870 QVO 4TB                 1B6Q
SanDisk         Ultra Fit                       1.00

cat /proc/scsi/sg/devices
2       0       0       0       0       1       31      0       1
3       0       0       0       0       1       1       0       1

dmesg |grep -i scsi
[    0.417008] SCSI subsystem initialized
[    1.231613] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.581498] Loading iSCSI transport class v2.0-870.
[    1.597431] scsi host0: ahci
[    1.610838] scsi host1: ahci
[    1.620199] scsi host2: ahci
[    1.804448] This is not a kind of scsi disk 259
[    1.804510] This is not a kind of scsi disk 259
[    1.804575] This is not a kind of scsi disk 259
[    1.941091] scsi 2:0:0:0: Direct-Access     Samsung  SSD 870 QVO 4TB          1B6Q PQ: 0 ANSI: 5
[    3.194925] sd 2:0:0:0: [sdc] Attached SCSI disk
[    3.878807] This is not a kind of scsi disk 259
[    3.879678] This is not a kind of scsi disk 259
[    3.880452] This is not a kind of scsi disk 259
[    4.089244] scsi host3: usb-storage 2-2:1.0
[    4.223871] scsi host4: usb-storage 2-3:1.0
[    5.092272] scsi 3:0:0:0: Direct-Access     SanDisk  Ultra Fit                1.00 PQ: 0 ANSI: 6
[    5.107444] sd 3:0:0:0: [synoboot] Attached SCSI removable disk
[    5.225695] scsi 4:0:0:0: Direct-Access     JMicron  Generic                  0208 PQ: 0 ANSI: 6
[    5.230553] sd 4:0:0:0: [sdq] Attached SCSI disk
[    7.504217] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    7.504247] sd 3:0:0:0: Attached scsi generic sg1 type 0
[    7.504273] sd 4:0:0:0: Attached scsi generic sg2 type 0
[   14.442568] This is not a kind of scsi disk 259
[32660.416303] sd 4:0:0:0: [sdq] Synchronizing SCSI cache

lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
sdc           8:32   0   3.6T  0 disk
├─sdc1        8:33   0   2.4G  0 part
│ └─md0       9:0    0   2.4G  0 raid1 /
├─sdc2        8:34   0     2G  0 part
│ └─md1       9:1    0     2G  0 raid1 [SWAP]
└─sdc3        8:35   0   3.6T  0 part
  └─md2       9:2    0   3.6T  0 raid1 /volume1
synoboot    135:240  1  14.3G  0 disk
├─synoboot1 135:241  1    15M  0 part
├─synoboot2 135:242  1    30M  0 part
└─synoboot3 135:243  1     4M  0 part
zram0       251:0    0   9.4G  0 disk  [SWAP]
zram1       251:1    0   9.4G  0 disk  [SWAP]
nvme0n1     259:0    0 931.5G  0 disk
├─nvme0n1p1 259:1    0   2.4G  0 part
├─nvme0n1p2 259:2    0     2G  0 part
└─nvme0n1p3 259:3    0   927G  0 part
  └─md4       9:4    0   927G  0 raid1 /volume3

ls /dev/sd*
/dev/sdc  /dev/sdc1  /dev/sdc2  /dev/sdc3

lspci -nn
0000:00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3ecc] (rev 08)
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-U GT3e [Iris Plus Graphics 655] [8086:3ea5] (rev 01)
0000:00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
0000:00:12.0 Signal processing controller [1180]: Intel Corporation Cannon Point-LP Thermal Controller [8086:9df9] (rev 30)
0000:00:14.0 USB controller [0c03]: Intel Corporation Cannon Point-LP USB 3.1 xHCI Controller [8086:9ded] (rev 30)
0000:00:14.2 RAM memory [0500]: Intel Corporation Cannon Point-LP Shared SRAM [8086:9def] (rev 30)
0000:00:14.3 Network controller [0280]: Intel Corporation Cannon Point-LP CNVi [Wireless-AC] [8086:9df0] (rev 30)
0000:00:16.0 Communication controller [0780]: Intel Corporation Cannon Point-LP MEI Controller #1 [8086:9de0] (rev 30)
0000:00:17.0 SATA controller [0106]: Intel Corporation Cannon Point-LP SATA Controller [AHCI Mode] [8086:9dd3] (rev 30)
0000:00:1c.0 PCI bridge [0604]: Intel Corporation Cannon Point-LP PCI Express Root Port #1 [8086:9db8] (rev f0)
0000:00:1c.4 PCI bridge [0604]: Intel Corporation Cannon Point-LP PCI Express Root Port #5 [8086:9dbc] (rev f0)
0000:00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Point-LP PCI Express Root Port #9 [8086:9db0] (rev f0)
0000:00:1f.0 ISA bridge [0601]: Intel Corporation Cannon Point-LP LPC Controller [8086:9d84] (rev 30)
0000:00:1f.3 Audio device [0403]: Intel Corporation Cannon Point-LP High Definition Audio Controller [8086:9dc8] (rev 30)
0000:00:1f.4 SMBus [0c05]: Intel Corporation Cannon Point-LP SMBus Controller [8086:9da3] (rev 30)
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Point-LP SPI Controller [8086:9da4] (rev 30)
0000:00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (6) I219-V [8086:15be] (rev 30)
0000:02:00.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02)
0000:03:00.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02)
0000:03:01.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02)
0000:03:02.0 PCI bridge [0604]: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] [8086:15da] (rev 02)
0000:3a:00.0 USB controller [0c03]: Intel Corporation JHL6340 Thunderbolt 3 USB 3.1 Controller (C step) [Alpine Ridge 2C 2016] [8086:15db] (rev 02)
0000:3b:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd NVMe SSD Controller 980 [144d:a809]
0001:00:12.0 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SATA AHCI Controller [8086:5ae3] (rev ff)
0001:00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port A #1 [8086:5ad8] (rev ff)
0001:00:14.0 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series PCI Express Port B #1 [8086:5ad6] (rev ff)
0001:00:15.0 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series USB xHCI [8086:5aa8] (rev ff)
0001:00:16.0 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series I2C Controller #1 [8086:5aac] (rev ff)
0001:00:18.0 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series HSUART Controller #1 [8086:5abc] (rev ff)
0001:00:19.2 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SPI Controller #3 [8086:5ac6] (rev ff)
0001:00:1f.1 Non-VGA unclassified device [0000]: Intel Corporation Celeron N3350/Pentium N4200/Atom E3900 Series SMBus Controller [8086:5ad4] (rev ff)
0001:01:00.0 Non-VGA unclassified device [0000]: Marvell Technology Group Ltd. 88SE9215 PCIe 2.0 x1 4-port SATA 6 Gb/s Controller [1b4b:9215] (rev ff)
0001:02:00.0 Non-VGA unclassified device [0000]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev ff)
0001:03:00.0 Non-VGA unclassified device [0000]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev ff)

 

 

when I try to install\update to redpill with loader built from Jumkey's repo (./build-loader.sh 'DS918+' '7.0.1-42218') with no sata_args defined, in web assistant I got message error on disks 1,2 and sata port disabled. after reading the articles linked above and adding    these strings "DiskIdxMap": "0C",  "SataPortMap": "1",  "SasIdxMap": "0" (and a few other variants) in user_config.json got no disks were found. but when I install DSM on other box (MSI CUBI) and then attach this SSD to NUC, it works. Point me pls. which numbers in sata_args I should set.

Edited by maqros
Link to comment
Share on other sites

28 minutes ago, maqros said:

when I try to install\update to redpill with loader built from Jumkey's repo (./build-loader.sh 'DS918+' '7.0.1-42218') with no sata_args defined, in web assistant I got message error on disks 1,2 and sata port disabled. after reading the articles linked above and adding    these strings "DiskIdxMap": "0C",  "SataPortMap": "1",  "SasIdxMap": "0" (and a few other variants) in user_config.json got no disks were found. but when I install DSM on other box (MSI CUBI) and then attach this SSD to NUC, it works. Point me pls. which numbers in sata_args I should set.

Edited just now by maqros

 

So to my understanding you are saying DSM that you have "SataPortMap": "1" * One SATA Controller

And on that one SATA controller you disk number starts at 0C (12 Decimal)  "DiskIdxMap": "0C"

 

Maybe you could try to move DiskIdxMap to 00 ?

 

Link to comment
Share on other sites

4 минуты назад, pocopico сказал:

 

So to my understanding you are saying DSM that you have "SataPortMap": "1" * One SATA Controller

And on that one SATA controller you disk number starts at 0C (12 Decimal)  "DiskIdxMap": "0C"

 

Maybe you could try to move DiskIdxMap to 00 ?

 

just tried with the same result (no disk detected)

Link to comment
Share on other sites

5 hours ago, devid79 said:

Hello Friends,

 

Any news to use RedPill for 3617xs?

 

Thx a lot

 

Well, thats a good question. The answer is No, not to my knowledge.

 

BUT, it shouldn't be very difficult, as all instructions to patch the kernel and load the redpill module are in the loader section of RedPill github and PCI shimming will be similar to 3615 i guess.

 

TTH is away at the moment, So it's a matter of who is going to do it. TTH was aiming on a newer platform and an AMD kernel but since we havent heard from them recently, that ship has either sail or has gone missing at least for the moment.

 

 

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

3 minutes ago, maqros said:

just tried with the same result (no disk detected)

 

Then maybe the NVME is also counted as a disk controller (PCI Class 108). Can you try

 

"SataPortMap": "44". DiskIdxMap="0004" and SasIdxMap="0"

 

As per : https://pci-ids.ucw.cz/read/PD/01

 

The 01 is a mass storage device and 08 is NVME :

 

00 SCSI storage controller

01 IDE interface

02 Floppy disk controller

03 IPI bus controller

04 RAID bus controller

05 ATA controller

06 SATA controller

07 Serial Attached SCSI controller

08 Non-Volatile memory controller

80 Mass storage controller 

Edited by pocopico
Link to comment
Share on other sites

5 минут назад, pocopico сказал:

 

Then maybe the NVME is also counted as a disk controller (PCI Class 108). Can you try

 

"SataPortMap": "44". DiskIdxMap="0004" and SasIdxMap="0"

unfortunately "something went wrong" errors on disks 1,2,4 sata ports were disabled(

Link to comment
Share on other sites

1 minute ago, maqros said:

unfortunately "something went wrong" errors on disks 1,2,4 sata ports were disabled(

 

WoW thats a hard one, play around a bit with the number till you find the correct combination.  You dont have to recreate the loader, you can simply edit the linux line on GRUB until you find the right one.

 

 

"SataPortMap": "11" . DiskIdxMap="0001" and SasIdxMap="0"

 

 

Link to comment
Share on other sites

Только что, pocopico сказал:

You dont have to recreate the loader, you can simply edit the linux line on GRUB until you find the right one.

 

 

"SataPortMap": "11" . DiskIdxMap="0001" and SasIdxMap="0"

 

 

this is what i do, thanks

Link to comment
Share on other sites

55 minutes ago, maqros said:

cat /proc/scsi/sg/devices 2 0 0 0 0 1 31 0 1 3 0 0 0 0 1 1 0 1

 

The header is :

 

 

sh-4.4# cat /proc/scsi/sg/device_hdr
host    chan    id      lun     type    opens   qdepth  busy    online
2           0         0       0         0           1           31         0           1

3           0         0       0         0           1             1         0           1

 

So only one host is listed. The host 3 is the USB as i see qdepth 1 

 

https://tldp.org/HOWTO/SCSI-Generic-HOWTO/proc.html

Edited by pocopico
Link to comment
Share on other sites

20 минут назад, pocopico сказал:

 

The header is :

 

 

sh-4.4# cat /proc/scsi/sg/device_hdr
host    chan    id      lun     type    opens   qdepth  busy    online
2           0         0       0         0           1           31         0           1

3           0         0       0         0           1             1         0           1

 

So only one host is listed. The host 3 is the USB as i see qdepth 1 

 

https://tldp.org/HOWTO/SCSI-Generic-HOWTO/proc.html

yep, you're right, but according to this post "USB devices are also SCSI-based (like SATA):" and need to be counted

  • Like 1
Link to comment
Share on other sites

Hi friends, i'm trying to run Bromolow DSM7 made by latest rp-helper into vmware workstation 16, but i have some trouble with network card, i'v already added pocopico e1000 extension, and setup network card into VM like bridged, but it seems doesn't work.
Do someone have some hints? 
Many thanks 

Link to comment
Share on other sites

18 minutes ago, Aigor said:

Hi friends, i'm trying to run Bromolow DSM7 made by latest rp-helper into vmware workstation 16, but i have some trouble with network card, i'v already added pocopico e1000 extension, and setup network card into VM like bridged, but it seems doesn't work.
Do someone have some hints? 
Many thanks 


the included driver is e1000e. You can edit the vmx file with a text editor and where is says e1000 change it to e1000e

  • Like 1
Link to comment
Share on other sites

14 часа назад, pocopico сказал:

 

Please read the article i've sent and test. A SataPortMap=008 DiskIdxMap=0B0C00 might work

 

 

I tried it the way you wrote, but the system stopped loading altogether. Then I tried to specify only such parameters DiskIdxMap=00001C and SasIdxMap=0 and got more or less the result now the disk is numbered from 1 and the last disks have shifted too, but still not in order. I didn't specify Sataportmap at all. Here is a photo when loading the computer about the connected disks

 

dbadb107-20fe-423f-9ae8-9ebebe339ffe.jfif

 

image.thumb.png.48311a9eddd2a93e7e9093d1a2bdf12e.png

 

Edited by aportnov
Link to comment
Share on other sites

3 часа назад, pocopico сказал:

 

 

DiskIdxMap=00001C What you see then makes sense. 1C = 29 Decimal. Change 1C to 07 and see. DiskIdxMap=000007

 

In short, I eventually switched 4 disks to the motherboard and 6 disks to the pci-e board. Then I checked how it would be with the value of SataPortMap=00 and saw that 1-4 disks were from the motherboard, and the rest from 8. Then I made the value of SataPortMap=0004 and now I have disks from 1 to 10, but if I connect another disk, then it already has the number 33. According to logic, I realized that the disk that should be next in order should be in the hexadecimal system one less than my last correct disk, namely, if I have the last 10 disk, then it is A, therefore I tried SataPortMap=0004A, but nothing changes.

 

image.thumb.png.153d5911fd5123a285d033be30cc8ffc.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...