Jump to content
XPEnology Community

Automated RedPill Loader (ARPL)


fbelavenuto

Recommended Posts

1 minute ago, jrac86 said:

I tried SataPortMap as 00H and 11H without specifying the DiskIdxMap... Both ways gave the same result. 

I also tried messing with sata_remap, but that didnt work either. Not sure if that is even supported here or I just did it incorrectly.

Link to comment
Share on other sites

1 minute ago, jrac86 said:

I tried SataPortMap as 00H and 11H without specifying the DiskIdxMap... Both ways gave the same result. 

I edited my post. I'm not talking about SataPortMat, but DiskIdxMap.

Re-read my earlier post.

 

BTW you won't get ride of unused first slot with q35.

Link to comment
Share on other sites

1 minute ago, Orphée said:

I edited my post. I'm not talking about SataPortMat, but DiskIdxMap.

Re-read my earlier post.

 

BTW you won't get ride of unused first slot with q35.

I realized, I just didn't understand why you chose the values you did for DiskIdxMap. Should I be setting mine to 060600 - skip the first 6 disks for the first two controllers and starts at 0 for my disk shelf?

Link to comment
Share on other sites

6 minutes ago, jrac86 said:

I realized, I just didn't understand why you chose the values you did for DiskIdxMap. Should I be setting mine to 060600 - skip the first 6 disks for the first two controllers and starts at 0 for my disk shelf?

There are plenty posts explaining DiskIdxMap.

 

It work by 2 digits, and set the position of the sata controller in hexa.

 

18=24

19=25

00=00...

 

SataPortMap 1=1

SataPortMap H=24

 

It means :

Sata Controller 1 has only one slot, and configured as position 24

Sata Controller 2 has only one slot, and configured as position 25

Sata Controller 3 has 24 slots beginning at position 0 to 23.

Edited by Orphée
  • Like 2
Link to comment
Share on other sites

57 minutes ago, Orphée said:

There are plenty posts explaining DiskIdxMap.

 

It work by 2 digits, and set the position of the sata controller in hexa.

 

18=24

19=25

00=00...

 

SataPortMap 1=1

SataPortMap H=24

 

It means :

Sata Controller 1 has only one slot, and configured as position 24

Sata Controller 2 has only one slot, and configured as position 25

Sata Controller 3 has 24 slots beginning at position 0 to 23.

Thank you for the explanation - I did look through many posts and never got as easy of an explanation like you provided. 

 

However, when I set the SataPortMap to 11H and DiskIdxMap to 181900, my disk shelf is still showing the first drives starting at 13...

 

Being there are 6 ports on my motherboard and 6 dummy ports, I thought maybe changing the SataPortMap to 66H and DiskIdxMap to 181E00 would work, but same outcome.

 

Any idea what I'm doing wrong here? I am using the DS3622xs build 42661. 

Link to comment
Share on other sites

8 minutes ago, Orphée said:

lspci -kkq ?

Spoiler

lspci -kkq
0000:00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:01.0 VGA compatible controller: Device 1234:1111 (rev 02)
        Subsystem: Red Hat, Inc. Device 1100
0000:00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
0000:00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: lpc_ich
0000:00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: i801_smbus
0000:01:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: Broadcom / LSI 9200-8e [LSI SAS 6Gb/s SAS/SATA PCIe x8 External HBA]
        Kernel driver in use: mpt3sas
0000:05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:06:07.0 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
        Subsystem: Red Hat, Inc. Device 0001
        Kernel driver in use: virtio-pci
0001:09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)
0001:0c:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)

Thanks for your help on this!

Link to comment
Share on other sites

Spoiler

lspci -kkq
0000:00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:01.0 VGA compatible controller: Device 1234:1111 (rev 02)
        Subsystem: Red Hat, Inc. Device 1100
0000:00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
0000:00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: lpc_ich
0000:00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: i801_smbus
0000:01:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: Broadcom / LSI 9200-8e [LSI SAS 6Gb/s SAS/SATA PCIe x8 External HBA]
        Kernel driver in use: mpt3sas
0000:05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:06:07.0 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
        Subsystem: Red Hat, Inc. Device 0001
        Kernel driver in use: virtio-pci
0001:09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)
0001:0c:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)

Thanks for your help on this!

Post a screenshot of your VM hardware settings
Link to comment
Share on other sites

6 minutes ago, Orphée said:
11 minutes ago, jrac86 said:
Spoiler
  Reveal hidden contents

lspci -kkq
0000:00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:01.0 VGA compatible controller: Device 1234:1111 (rev 02)
        Subsystem: Red Hat, Inc. Device 1100
0000:00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
0000:00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: lpc_ich
0000:00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: i801_smbus
0000:01:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: Broadcom / LSI 9200-8e [LSI SAS 6Gb/s SAS/SATA PCIe x8 External HBA]
        Kernel driver in use: mpt3sas
0000:05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:06:07.0 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
        Subsystem: Red Hat, Inc. Device 0001
        Kernel driver in use: virtio-pci
0001:09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)
0001:0c:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)

Thanks for your help on this!

Post a screenshot of your VM hardware settings

image.png.d6f6c57e555ec9fe9c6e1fc2e7c5c8b5.png

Link to comment
Share on other sites

6 minutes ago, jrac86 said:

Think it was from when I was troubleshooting a few weeks ago. I will change it back to Virtio and see if that changes anything.

Same result...

Here is the output again with the VM using Virtio

 

Spoiler

jrac86@Jrac86-4KSyn:~$ lspci -kkq
0000:00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:01.0 VGA compatible controller: Device 1234:1111 (rev 02)
        Subsystem: Red Hat, Inc. Device 1100
0000:00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
0000:00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: lpc_ich
0000:00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: i801_smbus
0000:01:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: Broadcom / LSI 9200-8e [LSI SAS 6Gb/s SAS/SATA PCIe x8 External HBA]
        Kernel driver in use: mpt3sas
0000:05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:06:07.0 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
        Subsystem: Red Hat, Inc. Device 0001
        Kernel driver in use: virtio-pci
0001:09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)
0001:0c:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)

 

Link to comment
Share on other sites

45 minutes ago, jrac86 said:

Same result...

Here is the output again with the VM using Virtio

 

  lspci -kkq (Hide contents)

jrac86@Jrac86-4KSyn:~$ lspci -kkq
0000:00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:01.0 VGA compatible controller: Device 1234:1111 (rev 02)
        Subsystem: Red Hat, Inc. Device 1100
0000:00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
0000:00:1c.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1c.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
        Kernel driver in use: pcieport
0000:00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: uhci_hcd
0000:00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ehci-pci
0000:00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
0000:00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: lpc_ich
0000:00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: i801_smbus
0000:01:00.0 Serial Attached SCSI controller: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
        Subsystem: Broadcom / LSI 9200-8e [LSI SAS 6Gb/s SAS/SATA PCIe x8 External HBA]
        Kernel driver in use: mpt3sas
0000:05:01.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:02.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:03.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:05:04.0 PCI bridge: Red Hat, Inc. QEMU PCI-PCI bridge
0000:06:07.0 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
        Subsystem: Red Hat, Inc. QEMU Virtual Machine
        Kernel driver in use: ahci
0000:06:12.0 Ethernet controller: Red Hat, Inc. Virtio network device
        Subsystem: Red Hat, Inc. Device 0001
        Kernel driver in use: virtio-pci
0001:09:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)
0001:0c:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller (rev 11)

 

Well.. I don't know, what loader are you running ? mine is DS3622xs+

Link to comment
Share on other sites

3 hours ago, jrac86 said:

I also tried messing with sata_remap, but that didnt work either. Not sure if that is even supported here or I just did it incorrectly.

 

Sata_remap does not exist on all platforms. You may use string against the kernel and see of these are somehow in your platform kernel  

Link to comment
Share on other sites

user_config.json from TRCP :

 

{
  "extra_cmdline": {
    "pid": "0xa4a5",
    "vid": "0x0525",
    "sn": "2150SQRXXXXXX",
    "mac1": "001132XXXXXX",
    "SataPortMap": "118",
    "DiskIdxMap": "100A00"
  },
  "synoinfo": {

          "internalportcfg" : "0xffff",
          "maxdisks" : "16",
              "support_bde_internal_10g" : "no",
              "support_disk_compatibility" : "no",
          "support_memory_compatibility" : "no"


},
  "ramdisk_copy": {


}

}

 

Link to comment
Share on other sites

2 minutes ago, jrac86 said:

Now that I understand the sataport map and diskidxmap, I will give TRCP another shot.

 

Yes, SataPortMap and DiskIdxMap as well as sata_remap should be in the command line (linux line). Its a kernel parameter that should be there early at boot stage. Earlier than loading the ramdisk. Thats one of the reasons i think you always get this empty first port. I couldnt get rid of it in physical hardware, but its not there on VMware, maybe its related to SataDom ? 

Edited by pocopico
Link to comment
Share on other sites

@pocopico I did not play with sata_remap (I did not understand it)

But with Proxmox machine set to q35, there is always this dummy/unused first controller you must handle/add in SataPortMap. but no matter what you try with DiskIdxMap, the first disk shown in DSM start in slot 2.

If you switch machine to default i440fx, no more dummy/unused sata controller, but when you need to passthrough PCI-e, q35 is recommanded, if not mandatory.

 

Edit :

If you look my current boot line conf from DMESG :

 

Quote

Command line: BOOT_IMAGE=/zImage withefi earlyprintk syno_hw_version=DS3622xs+ console=ttyS0,115200n8 netif_num=1 pid=0xa4a5 earlycon=uart8250,io,0x3f8,115200n8 synoboot_satadom=1 syno_port_thaw=1 mac1=001132XXXXXX sn=2150SQRXXXXXX vid=0x0525 elevator=elevator loglevel=15 HddHotplug=0 DiskIdxMap=1000 syno_hdd_detect=0 vender_format_version=2 syno_hdd_powerup_seq=0 log_buf_len=32M root=/dev/md0 SataPortMap=18

 

image.thumb.png.660edf79020635b310740ef8d1bf1a2d.png

 

Spoiler

 

 

image.png.00f0d669e3b067fdb209c3aa5f4c9d56.png

Edited by Orphée
Link to comment
Share on other sites

Thanks everyone who helped me realize my mistake. I put the SataPortMap and DiskIdxMap in the correct place. I still get 2 dummy blank ports in the first 2 slots, but better than 12 of them lol. 

 

So there is no way to get rid of those dummy other than using i440fx instead of q35? Is there a performance hit using i440fx? I know I have to set my HBA card to not use pcie when using i440fx. I just have no idea what difference it makes.

Link to comment
Share on other sites

Thanks everyone who helped me realize my mistake. I put the SataPortMap and DiskIdxMap in the correct place. I still get 2 dummy blank ports in the first 2 slots, but better than 12 of them lol. 
 
So there is no way to get rid of those dummy other than using i440fx instead of q35? Is there a performance hit using i440fx? I know I have to set my HBA card to not use pcie when using i440fx. I just have no idea what difference it makes.
As long as all your 24 disks are available, I wouldn't fight against these unused slots...
Just cosmetic...
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...