Jump to content
XPEnology Community

Florian Hahner

Transition Member
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Florian Hahner's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. So. As you propose, i build a VM witd IDE Disks instead of SCSI Disks After start this VM DSM Installation says "No Disc present" So in the next step, i remove the 8GB IDE HDD, install SCSI Controller, and add a 8GB SCSI HDD. Now i'm able to install DSM. We conclude that DSM will not recognize or accept IDE HDDs. After installation, have a look at the ASM1026 Controller. [ 3.427640] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 3.427784] ata2.00: ATA-9: WDC WD40EZRX-00SPEB0, 80.00A80, max UDMA/133 [ 3.427789] ata2.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA [ 3.427972] ata2.00: configured for UDMA/133 [ 3.428137] scsi 1:0:0:0: Direct-Access WDC WD40EZRX-00SPEB0 80.0 PQ: 0 ANSI: 5 [ 3.428761] sd 1:0:0:0: [sdn] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB) [ 3.428763] sd 1:0:0:0: [sdn] 4096-byte physical blocks [ 3.428798] sd 1:0:0:0: [sdn] Write Protect is off [ 3.428799] sd 1:0:0:0: [sdn] Mode Sense: 00 3a 00 00 [ 3.428814] sd 1:0:0:0: [sdn] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.430540] ata3: send port disabled event [ 3.430865] ata4: send port disabled event [ 3.448414] sdn: sdn1 sdn2 sdn3 [ 3.449443] sd 1:0:0:0: [sdn] Attached SCSI disk root@srv-nas-004:~# udevadm info --query=property --name /dev/sdn DEVNAME=/dev/sdn DEVPATH=/devices/pci0000:00/0000:00:15.0/0000:03:00.0/ata2/host1/target1:0:0/1:0:0:0/block/sdn DEVTYPE=disk ID_PART_TABLE_TYPE=gpt MAJOR=8 MINOR=208 PHYSDEVBUS=scsi PHYSDEVDRIVER=sd PHYSDEVPATH=/devices/pci0000:00/0000:00:15.0/0000:03:00.0/ata2/host1/target1:0:0/1:0:0:0 SUBSYSTEM=block SYNO_DEV_DISKPORTTYPE=ESATA SYNO_INFO_PLATFORM_NAME=bromolow SYNO_KERNEL_VERSION=3.10 USEC_INITIALIZED=21128 So. Different count of SCSI Drives but still mapping of 4TB HDD on /dev/sdn. I'll try to understand which rule maps my 4TB to /dev/sdn and come back later... Good night from germany. Florian
  2. hi, hmm. i follwed a tutorial to setup the xpeonology vm host. but it says nothing about the controller for the 50MB HDD. I'll give it a try. best regards florian
  3. GOAL !!!!! But SMART seems to make trouble. More investigation in the next days. Good night from Germany
  4. So maybe IG-88 is right. I need to modify the config. This is the original synoinfo.conf If /dev/sda maps the index 1 then /dev/sdn maps the index 14, which is programmed as esata port. so we must change Also we must increase the maxdisks parameter from 12 to 16 So. Give it a try.
  5. So. I do a little testing. I removed the ASM1602 ans insert a VMware SCSI Controller with an 8GB HDD. So. Have a look at dmesg [ 2.902150] sd 0:0:0:0: [sda] Cache data unavailable [ 2.902152] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.902994] scsi 0:0:1:0: Direct-Access VMware Virtual disk 2.0 PQ: 0 ANSI: 6 [ 2.903000] scsi target0:0:1: Beginning Domain Validation [ 2.903232] scsi target0:0:1: Domain Validation skipping write tests [ 2.903234] scsi target0:0:1: Ending Domain Validation [ 2.903253] scsi target0:0:1: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) [ 2.905926] sd 0:0:1:0: [sdb] 25165824 512-byte logical blocks: (12.8 GB/12.0 GiB) [ 2.906012] sd 0:0:1:0: [sdb] Write Protect is off [ 2.906014] sd 0:0:1:0: [sdb] Mode Sense: 61 00 00 00 [ 2.906029] sd 0:0:1:0: [sdb] Cache data unavailable [ 2.906030] sd 0:0:1:0: [sdb] Assuming drive cache: write through [ 2.908084] sd 0:0:1:0: [sdb] Cache data unavailable [ 2.908087] sd 0:0:1:0: [sdb] Assuming drive cache: write through [ 2.910046] mptbase: ioc1: Initiating bringup [ 2.929004] ioc1: LSI53C1030 B0: Capabilities={Initiator} [ 2.935299] sda: sda1 sda2 sda3 [ 2.936340] sd 0:0:0:0: [sda] Cache data unavailable [ 2.936343] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 2.936702] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.937743] sdb: sdb1 sdb2 [ 2.939118] sd 0:0:1:0: [sdb] Cache data unavailable [ 2.939119] sd 0:0:1:0: [sdb] Assuming drive cache: write through [ 2.939572] sd 0:0:1:0: [sdb] Attached SCSI disk [ 2.969296] scsi1 : ioc1: LSI53C1030 B0, FwRev=01032920h, Ports=1, MaxQ=128, IRQ=18 [ 2.998125] scsi 1:0:0:0: Direct-Access VMware Virtual disk 2.0 PQ: 0 ANSI: 6 [ 2.998134] scsi target1:0:0: Beginning Domain Validation [ 2.998515] scsi target1:0:0: Domain Validation skipping write tests [ 2.998516] scsi target1:0:0: Ending Domain Validation [ 2.998538] scsi target1:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) [ 2.999553] sd 1:0:0:0: [sdc] 16777216 512-byte logical blocks: (8.58 GB/8.00 GiB) [ 2.999655] sd 1:0:0:0: [sdc] Write Protect is off [ 2.999657] sd 1:0:0:0: [sdc] Mode Sense: 61 00 00 00 [ 2.999679] sd 1:0:0:0: [sdc] Cache data unavailable [ 2.999681] sd 1:0:0:0: [sdc] Assuming drive cache: write through [ 3.001098] sd 1:0:0:0: [sdc] Cache data unavailable [ 3.001100] sd 1:0:0:0: [sdc] Assuming drive cache: write through [ 3.008084] sdc: unknown partition table [ 3.008334] sd 1:0:0:0: [sdc] Cache data unavailable [ 3.008336] sd 1:0:0:0: [sdc] Assuming drive cache: write through [ 3.008718] sd 1:0:0:0: [sdc] Attached SCSI disk As i see, there is a second scsi controller. Also the third HDD is mapped as /dev/sdc There is a difference is the controller a SCSI or SATA one. Maybe i'll modifiy the udev rules. *** Update *** I revert the changes (now only one scsi controller and passtrough of asm1026) It realy seems that udev make a difference between the both disks root@srv-nas-003:~# udevadm info --query=property --name /dev/sdn DEVNAME=/dev/sdn DEVPATH=/devices/pci0000:00/0000:00:15.0/0000:03:00.0/ata2/host1/target1:0:0/1:0:0:0/block/sdn DEVTYPE=disk ID_PART_TABLE_TYPE=gpt MAJOR=8 MINOR=208 PHYSDEVBUS=scsi PHYSDEVDRIVER=sd PHYSDEVPATH=/devices/pci0000:00/0000:00:15.0/0000:03:00.0/ata2/host1/target1:0:0/1:0:0:0 SUBSYSTEM=block SYNO_DEV_DISKPORTTYPE=USBHUB SYNO_INFO_PLATFORM_NAME=bromolow SYNO_KERNEL_VERSION=3.10 USEC_INITIALIZED=205106 root@srv-nas-003:~# udevadm info --query=property --name /dev/sdb DEVNAME=/dev/sdb DEVPATH=/devices/pci0000:00/0000:00:10.0/host4/target4:0:1/4:0:1:0/block/sdb DEVTYPE=disk ID_PART_TABLE_TYPE=dos MAJOR=8 MINOR=16 PHYSDEVBUS=scsi PHYSDEVDRIVER=sd PHYSDEVPATH=/devices/pci0000:00/0000:00:10.0/host4/target4:0:1/4:0:1:0 SUBSYSTEM=block SYNO_DEV_DISKPORTTYPE=SATA SYNO_INFO_PLATFORM_NAME=bromolow SYNO_KERNEL_VERSION=3.10 USEC_INITIALIZED=202768 Remember /dev/sdb is the 12GB HDD an VMWare SCSI Controller and /dev/sdn is 4TB HDD on ASM1062 SDN = SYNO_DEV_DISKPORTTYPE=USBHUB SDB = SYNO_DEV_DISKPORTTYPE=SATA
  6. hi guys, before start, my config i use the vmware standard scsi controller for the 50MB HDD and a additional 12GB Disk. [ 11.023091] scsi4 : ioc0: LSI53C1030 B0, FwRev=01032920h, Ports=1, MaxQ=128, IRQ=17 [ 11.052676] scsi 4:0:0:0: Direct-Access VMware Virtual disk 2.0 PQ: 0 ANSI: 6 [ 11.052684] scsi target4:0:0: Beginning Domain Validation [ 11.052934] scsi target4:0:0: Domain Validation skipping write tests [ 11.052935] scsi target4:0:0: Ending Domain Validation [ 11.052952] scsi target4:0:0: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) [ 11.054216] sd 4:0:0:0: [sda] 102400 512-byte logical blocks: (52.4 MB/50.0 MiB) [ 11.054344] sd 4:0:0:0: [sda] Write Protect is off [ 11.054347] sd 4:0:0:0: [sda] Mode Sense: 61 00 00 00 [ 11.054379] sd 4:0:0:0: [sda] Cache data unavailable [ 11.054380] sd 4:0:0:0: [sda] Assuming drive cache: write through [ 11.056484] sd 4:0:0:0: [sda] Cache data unavailable [ 11.056496] sd 4:0:0:0: [sda] Assuming drive cache: write through [ 11.057651] scsi 4:0:1:0: Direct-Access VMware Virtual disk 2.0 PQ: 0 ANSI: 6 [ 11.057657] scsi target4:0:1: Beginning Domain Validation [ 11.057970] scsi target4:0:1: Domain Validation skipping write tests [ 11.057972] scsi target4:0:1: Ending Domain Validation [ 11.057991] scsi target4:0:1: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 127) [ 11.058853] sda: sda1 sda2 sda3 [ 11.065311] sd 4:0:1:0: [sdb] 25165824 512-byte logical blocks: (12.8 GB/12.0 GiB) [ 11.065407] sd 4:0:1:0: [sdb] Write Protect is off [ 11.065410] sd 4:0:1:0: [sdb] Mode Sense: 61 00 00 00 [ 11.065424] sd 4:0:1:0: [sdb] Cache data unavailable [ 11.065426] sd 4:0:1:0: [sdb] Assuming drive cache: write through [ 11.066852] sd 4:0:0:0: [sda] Cache data unavailable [ 11.066854] sd 4:0:0:0: [sda] Assuming drive cache: write through [ 11.067750] sd 4:0:0:0: [sda] Attached SCSI disk [ 11.069857] sd 4:0:1:0: [sdb] Cache data unavailable [ 11.069859] sd 4:0:1:0: [sdb] Assuming drive cache: write through [ 11.103995] sdb: sdb1 sdb2 [ 11.104812] sd 4:0:1:0: [sdb] Cache data unavailable [ 11.104814] sd 4:0:1:0: [sdb] Assuming drive cache: write through [ 11.105696] sd 4:0:1:0: [sdb] Attached SCSI disk Both are correctly recognized as SDA and SDB Furthermore i passtrough a ASM1602 Controller directly into the VM. The connect hard drive is also detected. [ 3.434074] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 3.434201] ata2.00: ATA-9: WDC WD40EZRX-00SPEB0, 80.00A80, max UDMA/133 [ 3.434205] ata2.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA [ 3.434364] ata2.00: configured for UDMA/133 [ 3.434529] scsi 1:0:0:0: Direct-Access WDC WD40EZRX-00SPEB0 80.0 PQ: 0 ANSI: 5 [ 3.435149] sd 1:0:0:0: [sdn] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB) [ 3.435151] sd 1:0:0:0: [sdn] 4096-byte physical blocks [ 3.435187] sd 1:0:0:0: [sdn] Write Protect is off [ 3.435188] sd 1:0:0:0: [sdn] Mode Sense: 00 3a 00 00 [ 3.435203] sd 1:0:0:0: [sdn] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 3.437169] ata3: send port disabled event [ 3.437390] ata4: send port disabled event [ 10.790930] sdn: sdn1 [ 10.791309] sd 1:0:0:0: [sdn] Attached SCSI disk [ 10.791331] registered taskstats version 1 So, the drive is mapped as SDN. My problem is, that this drive is shown as external sata drive. IG-88 give me the hint with HDD extend via synoinfo.conf. I tried several times. And even killed my whole installation. I dont really understand the existing tutorials. Here are my ideas as i have 2x internal drive (50MB + 12GB HDD ) and 2x internal drive on pci controller i sum up with 4 drives, so for internalportcfg i use 0000 0000 0000 0000 0000 0000 0000 1111 (internalportcfg) as i have no esata ports i set 0 0000 0000 0000 0000 0000 0000 0000 0000 (esataportcfg) admin@srv-nas-003:/$ lsusb |__usb1 1d6b:0002:0310 09 2.00 480MBit/s 0mA 1IF (ehci_hcd 0000:02:02.0) hub |__usb2 1d6b:0001:0310 09 1.10 12MBit/s 0mA 1IF (uhci_hcd 0000:02:00.0) hub |__2-1 0e0f:0003:0103 00 1.10 12MBit/s 0mA 1IF (VMware VMware Virtual USB Mouse ffffffd1ffffffa2ffffffd7ffffffb8) |__2-2 0e0f:0002:0100 09 1.10 12MBit/s 0mA 1IF ( ffffffd6ffffffa3ffffffebffffffcb) hub admin@srv-nas-003:/$ If i understand this correctly then i have to mapped 4 devices 0000 0000 0000 0000 0000 0000 1111 0000 (usbportcfg) But this wont work. What do i wrong ? best regards
  7. i do progress: dmesg shows me only the drive, not the controller [ 3.453108] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 3.453239] ata2.00: ATA-9: WDC WD40EZRX-00SPEB0, 80.00A80, max UDMA/133 [ 3.453244] ata2.00: 7814037168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA [ 3.453408] ata2.00: configured for UDMA/133 [ 3.453569] scsi 1:0:0:0: Direct-Access WDC WD40EZRX-00SPEB0 80.0 PQ: 0 ANSI: 5 [ 3.454151] sd 1:0:0:0: [sdn] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB) [ 3.454154] sd 1:0:0:0: [sdn] 4096-byte physical blocks [ 3.454189] sd 1:0:0:0: [sdn] Write Protect is off [ 3.454191] sd 1:0:0:0: [sdn] Mode Sense: 00 3a 00 00 [ 3.454206] sd 1:0:0:0: [sdn] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA A few lines later i get a 11.263216] sdn: unknown partition table 11.263466] sd 1:0:0:0: [sdn] Attached SCSI disk So, i run parted and give the disk a new label (parted) mklabel gpt mklabel gpt no gpt table, skip zero final sector (parted) print part print part Model: WDC WD40EZRX-00SPEB0 (scsi) Disk /dev/sdn: 4001GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Well, now DSM show me a eSATA Device. Next goal is to move eSATA to internal SATA. Any idea ? Update: I'll try this https://hedichaibi.com/fix-xpenology-problems-viewing-internal-hard-drives-as-esata-hard-drives/ will report result
  8. Hi @all. I'm not really sure, if i wrote into the right thread. I tried to integrate hardware compatibility to ASM1062 Serial ATA Controller. My first step was to look which kernel module provide support on other linux distributions. On OpenMediaVault (3.X Kernel) the AHCI / SATA Modul was loaded for this controller. So i tried to enable this module at kernel config for xpeonology following this tutorial (https://xpenology.club/compile-drivers-xpenology-with-windows-10-and-build-in-bash/). I got serveral .ko Files as i enabled some more devices. After replacing extra.lzma nothing changed in DSM. I tried to insmod the module, but this tool gives no reply at all. http://elixir.free-electrons.com/linux/v4.4/source/drivers/ata/ahci.c shows that the ahci module should support the ASM1062 (i know it is for kernel ver.4.4) So. Can you give me some tipps how to going on ?
×
×
  • Create New...