Jump to content
XPEnology Community

USB port considered as internal disk with PCI-e ASMedia 1064 + M2 card for additionnal 30 satas ports on DS918+


andgest

Recommended Posts

Posted (edited)

Hello,

 

After several attempts to get all my satas ports to work properly and to preserve my usb ports as an external drive, I decided to write here hoping to find some help !

 

I have a Xpenology 7.2 DS918+ running a SuperMicro X11SCL-IF motherboard with 4 physical sata ports and a total of 8 USB ports.

I recently updated it to version 7.2 (Model DS918+) by following the tutorial =>

 

 

I then added a PCI-e 16x expansion card with 24 sata ports : TISHRIC TSR818 – ASM1812+1064 chip

image.thumb.png.0f5ba96ddbfe3b04381ba6b2826eb9af.png


I also added an NVME M2 card with 6 sata ports : Riser - M.2 to SATA 3.0

image.thumb.png.64a9deda9647beb503316af5c5745416.png

 

 

This gives me a total of 34 satas ports (yes, I know it's a lot, but I wanted to be able to use all my old disks and not be limited in the future).

 

As the DS918+ is limited to 16 disks by default, I made the modifications to support my 34 satas ports by rebooting on tinycore build.

To do this, I modified the user_config.json to obtain the following properties:

"synoinfo": {
  "internalportcfg": "0x3FFFFFFFF”,
  "maxdisks": "34",
  
  "esataportcfg": "0x0",
  "usbportcfg": "0x3FC00000000"
},

 

 

I then ran the command ./rploader.sh satamap

I was surpised by what it displayed because it wasn't very consistent:

 

For my motherboard with 4 physical ports

Found "00:17.0 Intel Corporation Device a352 (rev 10)" Detected 6 ports/0 drives. Override # of ports or ENTER to accept <6>

 

6 ports found instead of 4 physical ports. No bad ports. So I declared 4 instead of 6.

 

For my PCI-e x16 card with 24 physical ports

Found "03:00.0 ASMedia Technology Inc. Device 1064 (rev 02)" Detected 24 ports/0 drives. Bad ports: -139 -138 -137 -136 -133 -132 -131 -130 -129 -128 -127 -126 -125 -124 -123 -122 -121 -120. Override # of ports or ENTER to accept <24>

Found "04:00.0 ASMedia Technology Inc. Device 1064 (rev 02)" Detected 24 ports/1 drives. Bad ports: -115 -114 -113 -112 -109 -108 -107 -106 -105 -104 -103 -102 -101 -100 -99 -98 -97 -96. Override # of ports or ENTER to accept <24>

Found "05:00.0 ASMedia Technology Inc. Device 1064 (rev 02)" Detected 24 ports/0 drives. Bad ports: -91 -90 -89 -88 -85 -84 -83 -82 -81 -80 -79 -78 -77 -76 -75 -74 -73 -72. Override # of ports or ENTER to accept <24>

Found "06:00.0 ASMedia Technology Inc. Device 1064 (rev 02)" Detected 24 ports/0 drives. Bad ports: -67 -66 -65 -64 -61 -60 -59 -58 -57 -56 -55 -54 -53 -52 -51 -50 -49 -48. Override # of ports or ENTER to accept <24>

Found "07:00.0 ASMedia Technology Inc. Device 1064 (rev 02)" Detected 24 ports/0 drives. Bad ports: -43 -42 -41 -40 -37 -36 -35 -34 -33 -32 -31 -30 -29 -28 -27 -26 -25 -24. Override # of ports or ENTER to accept <24>

Found "08:00.0 ASMedia Technology Inc. Device 1064 (rev 02)" Detected 24 ports/0 drives. Bad ports: -19 -18 -17 -16 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0. Override # of ports or ENTER to accept <24>

 

6 times detected with 24 ports on each with 18 bad ports each time. Knowing that I only have one card with 24 physical ports.

I divided 24 by 6 and declared 4 for each.

 

For my M2 NVME board with 6 physical ports

Found "0e:00.0 ASMedia Technology Inc. Device 1166 (rev 02)" Detected 32 ports/0 drives. Bad ports: 7 8. Override # of ports or ENTER to accept <32>

32 ports detected with 2 bad ports. Knowing that I only have 6 physical ports.

 

I declared 6 instead of 32.

 

 

 

At the end, I get a warning telling me that there are bad ports, but I apply my config anyway and I get this in my user_config.json.

"extra_cmdline": {
  
  "SataPortMap": "44444446",
  "DiskIdxMap": "0004080c1014181c"
},

 

 

I boot my system and all my sata slots seem to work (modulo the order of the disk numbers which are not consistent).

 

I've read that I can redefine the order with sata_remap in extra_cmdline, is this true?

 

On the other hand, when I plug in an external usb disk, it's detected as an internal device with disk number 17 (whatever USB port I use, I have 8 in total).

And that's the subject of my message.

How can I preserve my usb ports so that it's considered an external and not an internal disk?

 

It must surely be linked to the wrong ports, but how do I manage them correctly ?

 

If anyone has the right procedure I'm a taker 🙂

 

Here's the output of my dmesg command dmesg.txt

 

Thank you in advance for your contribution

Edited by andgest
Change title
Link to comment
Share on other sites

  • andgest changed the title to USB port considered as internal disk with PCI-e ASMedia 1064 + M2 card for additionnal 30 satas ports on DS918+

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