Jump to content
XPEnology Community

shibby

Member
  • Posts

    155
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by shibby

  1. 1 hour ago, ThorGroup said:

    You should add that option as an extra_cmdline in user_conf instead.

    that`s true, but when we don`t know what is correct value for our bare metal, then this is the easiest way for testing. And another thing, we can compile RP for other users (who cannot compile RP himself) and they have to only modify grub.cfg for his configuration (vid, pid, mac, sataportmap). We did this in previous loader by Jun, so community know how to do this without any broke :)

  2. i have XG-C100C on 6.2.3 with Juns Loader. I just told you the steps which i had to do to run 10Gbps NIC on it. My motherboard has 2x NIC, so i had to modify /etc/synoinfo.cfg file to allow DS918+ create 3th LAN connection (by default DS918+ has a limit to only 2 NIC).

     

    i didn`t update my Xpenology do redpill because i have and issue to support my second SATA controller. So i can`t check is this atlantic.ko module works.

  3. yesterday i tried upgrade my primary bare metal Xpenology from 6.2.3 to 7.0.1. The problem is that i have two sata controllers:

    1st) on board, 2x HDD and 1x SSD M.2 - those drives are detected

    2nd) miniPCIE to 2x SATA port, 1x HDD, 1x SATA SSD - those drives are NOT detected

     

    H0af3bbef49fd4b5d975fe0be446becdeV.jpg

     

    All 3x HDD has been used as SHR.

     

    I tried figure out which kernel module is used by second controller. I found this:

    sda/sdb/sdc are on first controller:

    Quote

    root@nas:~# udevadm info -a -n /dev/sda | egrep 'looking|DRIVER'
      looking at device '/devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0/block/sda':
        DRIVER==""
      looking at parent device '/devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0':
        DRIVERS=="sd"
      looking at parent device '/devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0':
        DRIVERS==""
      looking at parent device '/devices/pci0000:00/0000:00:17.0/ata1/host0':
        DRIVERS==""
      looking at parent device '/devices/pci0000:00/0000:00:17.0/ata1':
        DRIVERS==""
      looking at parent device '/devices/pci0000:00/0000:00:17.0':
        DRIVERS=="ahci"
      looking at parent device '/devices/pci0000:00':
        DRIVERS==""

     

    sdd/sde are on a second

    Quote

    root@nas:~# udevadm info -a -n /dev/sde | egrep 'looking|DRIVER'
      looking at device '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/ata5/host4/target4:0:0/4:0:0:0/block/sde':
        DRIVER==""
      looking at parent device '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/ata5/host4/target4:0:0/4:0:0:0':
        DRIVERS=="sd"
      looking at parent device '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/ata5/host4/target4:0:0':
        DRIVERS==""
      looking at parent device '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/ata5/host4':
        DRIVERS==""
      looking at parent device '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/ata5':
        DRIVERS==""
      looking at parent device '/devices/pci0000:00/0000:00:1c.4/0000:03:00.0':
        DRIVERS=="ahci"
      looking at parent device '/devices/pci0000:00/0000:00:1c.4':
        DRIVERS=="pcieport"
      looking at parent device '/devices/pci0000:00':
        DRIVERS==""

     

    but i cannot find pcieport module ("lsmod | grep pcie" return empty result)

     

    in dmesq i found only:

    Quote

    root@nas:~# dmesg | grep pcie
    [    1.474876] aer 0000:00:1c.0:pcie02: service driver aer loaded
    [    1.474903] aer 0000:00:1c.3:pcie02: service driver aer loaded
    [    1.474927] aer 0000:00:1c.4:pcie02: service driver aer loaded
    [    1.474945] pcieport 0000:00:1c.0: Signaling PME through PCIe PME interrupt
    [    1.474951] pcie_pme 0000:00:1c.0:pcie01: service driver pcie_pme loaded
    [    1.474959] pcieport 0000:00:1c.3: Signaling PME through PCIe PME interrupt
    [    1.474964] pcie_pme 0000:00:1c.3:pcie01: service driver pcie_pme loaded
    [    1.474972] pcieport 0000:00:1c.4: Signaling PME through PCIe PME interrupt
    [    1.474977] pcie_pme 0000:00:1c.4:pcie01: service driver pcie_pme loaded

     

    About ASM1061 i found this patch

    https://patchwork.kernel.org/project/linux-pci/patch/1315453426-8796-1-git-send-email-kengyu@canonical.com/#2458742

     

    and probably this is it:

    Quote

    root@nas:~# lspci -k

    [...]

    0000:03:00.0 Class 0106: Device 1b21:0612 (rev 02)
            Subsystem: Device 1b21:1060
            Kernel driver in use: ahci
    [...]

     

    Can someone help me to compile "module?" this this patch? The problem is that ahci is build in kernel (not as module) but ata_generic probably is also required. I don`t know, how is this working on 6.2.3 ( i have added extra drivers by IG-88)

  4. hmm ignore above post. After one run of "clean all" only debian:10-slim is cached. Probably not important  to compile redpill :)

     

    Quote

    [+] Building 47.2s (15/15) FINISHED
     => [internal] load .dockerignore                                                                                                                                                                                                                                              0.0s
     => => transferring context: 2B                                                                                                                                                                                                                                                0.0s
     => [internal] load build definition from Dockerfile                                                                                                                                                                                                                           0.0s
     => => transferring dockerfile: 2.14kB                                                                                                                                                                                                                                         0.0s
     => [internal] load metadata for docker.io/library/debian:10-slim                                                                                                                                                                                                              1.1s
     => CACHED [extract 1/2] FROM docker.io/library/debian:10-slim@sha256:47e092810f101be84824f6d93885c18d20d53c8dda6b808392f62845eaf38cc5                                                                                                                                         0.0s
     => [internal] load build context                                                                                                                                                                                                                                              3.3s
     => => transferring context: 356.74MB                                                                                                                                                                                                                                          3.3s
     => [stage-1 2/9] RUN apt-get update &&     apt-get install --yes --no-install-recommends ca-certificates build-essential git libssl-dev curl cpio bspatch vim gettext bc bison flex dosfstools kmod &&     rm -rf /var/lib/apt/lists/* /tmp/* &&     curl --progress-bar --  30.2s
     => [extract 2/2] ADD downloads/ds.apollolake-7.0.dev.txz /                                                                                                                                                                                                                   35.5s
     => [stage-1 3/9] RUN git clone https://github.com/RedPill-TTG/redpill-lkm.git -b master  /opt/redpill-lkm &&     git clone https://github.com/RedPill-TTG/redpill-load.git -b master /opt/redpill-load                                                                       3.2s
     => [stage-1 4/9] COPY --from=extract /usr/local/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/sys-root/usr/lib/modules/DSM-7.0/build/ /opt/redpill-lkm/toolkit_dev-apollolake-7.0-41890                                                                                             1.4s
     => [stage-1 5/9] RUN if [ "apollolake" = "apollolake" ]; then echo '+' > /opt/redpill-lkm/toolkit_dev-apollolake-7.0-41890/.scmversion; fi &&     if [ "toolkit_dev" = "kernel" ]; then         cp /opt/redpill-lkm/toolkit_dev-apollolake-7.0-41890/synoconfigs/apollolake   0.8s
     => [stage-1 6/9] WORKDIR /opt                                                                                                                                                                                                                                                 0.0s
     => [stage-1 7/9] COPY Makefile /opt/                                                                                                                                                                                                                                          0.1s
     => [stage-1 8/9] COPY entrypoint.sh /entrypoint.sh                                                                                                                                                                                                                            0.1s
     => [stage-1 9/9] RUN chmod +x /entrypoint.sh                                                                                                                                                                                                                                  0.4s
     => exporting to image                                                                                                                                                                                                                                                         3.5s
     => => exporting layers                                                                                                                                                                                                                                                        3.5s
     => => writing image sha256:3b40e0c2485293cb037156827f924f481dbc125da7009877ce3edf4d69ae6e3b                                                                                                                                                                                   0.0s
     => => naming to docker.io/library/redpill-tool-chain:apollolake-7.0-41890      

     

×
×
  • Create New...