Jump to content
XPEnology Community

Razoon

Transition Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Razoon

  1. 18 часов назад, Olegin сказал:

    Попробуйте без sudo запустить, ругаетцо, что root не нужен:

     

    tc@box:~$ sudo ./rploader.sh satamap now

    Found SCSI HBAs, We need to install the SCSI modules

    Don't run this as root.

    Сделал без рута, он скачал SCSI модуль для HBA, эффект тот же, сдается мне что параметр SataPortMap отвечает за то, на какой адаптер смотрит dsm. Может еще что посоветуете?

  2. Господа, загрузчик собрал загрузчик вставил один диск, DSM говорит что дисков нет.

    tc@box:~$ lsscsi
    [1:0:0:0]    disk    ATA      ST3000DM001      CC25  /dev/sda 
    [6:0:0:0]    disk     USB      SanDisk 3.2Gen1 1.00  /dev/sdb 
    
    tc@box:~$ lspci -nnq
    00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/Ivy Bridge DRAM Controller [8086:0158] (rev 09)
    00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
    00:06.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:015d] (rev 09)
    00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
    00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
    00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
    00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b5)
    00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5)
    00:1c.6 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 [8086:1c1c] (rev b5)
    00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b5)
    00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
    00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a5)
    00:1f.0 ISA bridge [0601]: Intel Corporation C206 Chipset Family LPC Controller [8086:1c56] (rev 05)
    00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 05)
    00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 630] [10de:0f00] (rev a1)
    01:00.1 Audio device [0403]: NVIDIA Corporation GF108 High Definition Audio Controller [10de:0bea] (rev a1)
    02:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. 88SE6440 SAS/SATA PCIe controller [11ab:6440] (rev 02)
    03:00.0 SCSI storage controller [0100]: Marvell Technology Group Ltd. 88SE6440 SAS/SATA PCIe controller [11ab:6440] (rev 02)
    04:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
    05:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
    06:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]
    07:00.0 Ethernet controller [0200]: Intel Corporation 82574L Gigabit Network Connection [8086:10d3]

    При этом TC говорит что на портах 5,6 есть ошибки, загрузчик собираю с игнорированием ошибокt

    tc@box:~$ sudo ./rploader.sh satamap now�[J
    Found SCSI HBAs, We need to install the SCSI modules
    Don't run this as root.
    
    Found "00:1f.2 Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 05)"
    Detected 6 ports/1 drives. Bad ports: 5 6. Override # of ports or ENTER to accept <6> 5,6� �� � 6
    Non-numeric, overridden to 0
    
    Found SCSI/HBA "02:00.0 Marvell Technology Group Ltd. 88SE6440 SAS/SATA PCIe controller (rev 02)" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid bus number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    Found SCSI/HBA "03:00.0 Marvell Technology Group Ltd. 88SE6440 SAS/SATA PCIe controller (rev 02)" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid bus number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    lspci: -s: Invalid slot number
    Found SCSI/HBA "" (0 drives)
    
    Computed settings:
    SataPortMap=1
    DiskIdxMap=00
    
    Should i update the user_config.json with these values ? [Yy/Nn] y
    Done.
    tc@box:~$ ls -la /sys/class/ata_port
    total 0
    drwxr-xr-x  2 root root 0 Jun 27 18:21 ./
    drwxr-xr-x 63 root root 0 Jun 27 18:21 ../
    lrwxrwxrwx  1 root root 0 Jun 27 18:21 ata1 -> ../../devices/pci0000:00/0000:00:1f.2/ata1/ata_port/ata1
    lrwxrwxrwx  1 root root 0 Jun 27 18:21 ata2 -> ../../devices/pci0000:00/0000:00:1f.2/ata2/ata_port/ata2
    lrwxrwxrwx  1 root root 0 Jun 27 18:21 ata3 -> ../../devices/pci0000:00/0000:00:1f.2/ata3/ata_port/ata3
    lrwxrwxrwx  1 root root 0 Jun 27 18:21 ata4 -> ../../devices/pci0000:00/0000:00:1f.2/ata4/ata_port/ata4
    lrwxrwxrwx  1 root root 0 Jun 27 18:21 ata5 -> ../../devices/pci0000:00/0000:00:1f.2/ata5/ata_port/ata5
    lrwxrwxrwx  1 root root 0 Jun 27 18:21 ata6 -> ../../devices/pci0000:00/0000:00:1f.2/ata6/ata_port/ata6

    Думается мне что SataPortMap я не правильно выставляю, подскажите бестолковому пожалуйста.

  3. В 06.07.2019 в 12:31, Viper сказал:

    Спасибо, и отдельное - за распиновку.

    Плату подняли, проверить негде оказалось - с GND проблемы (UART программатор = красный сигнал). Воскрешу и сделаю по этой инструкции.

    Реанимируйте, ибо без UART поменять приоритет загрузки врядли представляется возможным. Если нужна будет помощь, пишите.

  4. 9 минут назад, Olegin сказал:

    @Razoon Провода у всех переходников UART на цвет разные... как фломастеры на вкус. Нарисуйте, пжта, в назидание всем rx tx и grnd на плате с комментарием, что +5 не втыкать 😁

    Окей, так пойдет?)

    Слева направо начиная со ВТОРОГО пина RXD, GND, TXD (прием, земля, передача)

    px6_serial_connector.thumb.png.a47261bef22545106297bcc6747601bc.png

    • Thanks 2
  5. В 19.06.2019 в 12:18, Viper сказал:

    Да, эту тему прочёл, по ней вопросов нету:) У PX4 есть особенность - нет видеовыхода и работа идёт только через UART-TTL переходник, один раз уже жахнул не теми пинами:)))

    А так - спасибо:)

    Привет, у меня px6-300d вчера установил dsm 6.2-23739 загрузчик 1.03b для ds3615xs все четко как в аптеке. Не вижу смысла зашивать загрузчик во встроенную флешку ибо если захочется вернуться на родную прошивку ты всего скорее это сделать не сможешь, а тут всегда будет резервный вариант если что то сломалось взял и вернулся на родное, тем паче что у тебя на плате есть распаянный usb в который отлично вставляется разобранная флешка и она остается внутри корпуса. Вот тебе напоследок картиночка с правильной распиновкой usb-uart)). Ну и если нужна будет помощь, пиши всегда буду рад помочь по удаленке.

    px6_serial_connector.png

×
×
  • Create New...