Welcome! Log In Create A New Profile

Advanced

Debian on Synology DS211

Posted by Ivanj 
Re: Debian on Synology DS211
November 19, 2024 05:57PM
> Yes, of course, in all previous examples I have
> removed the USB, since I wanted to boot from the
> SATA connected HDD only and not use USB at all.

Cool!

> Only at the end I have used the USB to boot and
> test whether the 12TB HDD will work.
> I assume that USB will be slower to run the OS
> from, so I wanted to use the much faster SATA.and
> a HDD.

Yes, indeed. If you have SATA, always best to have the rootfs on it. And the 12TB disk should work in u-boot. We just don't have the correct regulator, I think.

This log seems truncated, there is nothing on it:

upper_sata1_1TBHDD.txt (1 byte)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS211
November 20, 2024 03:02PM
Ivanj,


bodhi Wrote:
-------------------------------------------------------
> > Yes, of course, in all previous examples I have
> > removed the USB, since I wanted to boot from
> the
> > SATA connected HDD only and not use USB at all.
>
> Cool!
>
> > Only at the end I have used the USB to boot and
> > test whether the 12TB HDD will work.
> > I assume that USB will be slower to run the OS
> > from, so I wanted to use the much faster
> SATA.and
> > a HDD.
>
> Yes, indeed. If you have SATA, always best to have
> the rootfs on it. And the 12TB disk should work in
> u-boot. We just don't have the correct regulator,
> I think.
>
> This log seems truncated, there is nothing on it:
>
> upper_sata1_1TBHDD.txt (1 byte)

Here is the update DTB. Please copy to your USB rootfs /boot/dts/ and try booting USB rootfs and with 2 data HDDs in the slots. See if both HDDs will be enumerated in Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 11/20/2024 03:26PM by bodhi.
Attachments:
open | download - kirkwood-ds211.dtb (21.9 KB)
open | download - kirkwood-ds211.dts (734 bytes)
Re: Debian on Synology DS211
November 20, 2024 04:01PM
Bodhi,

With the new dtb file both SATA slots are working and recognize the drives!
[  638.325500] ata2: link is slow to respond, please be patient (ready=0)
[  642.385518] ata2: SRST failed (errno=-16)
[  648.365503] ata2: link is slow to respond, please be patient (ready=0)
[  649.835513] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[  649.844839] ata2.00: supports DRM functions and may not be fully accessible
[  649.852573] ata2.00: ATA-10: ST12000NM0127, G006, max UDMA/133
[  649.860574] ata2.00: 23437770752 sectors, multi 0: LBA48 NCQ (depth 31/32)
[  649.902322] ata2.00: Features: Trust
[  649.911162] ata2.00: supports DRM functions and may not be fully accessible
[  649.922670] ata2.00: configured for UDMA/133
[  649.929053] scsi 1:0:0:0: Direct-Access     ATA      ST12000NM0127    G006 PQ: 0 ANSI: 5
[  649.950875] sd 1:0:0:0: [sdb] 23437770752 512-byte logical blocks: (12.0 TB/10.9 TiB)
[  649.965619] sd 1:0:0:0: Attached scsi generic sg1 type 0
[  649.973779] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[  649.986057] sd 1:0:0:0: [sdb] Write Protect is off
[  649.991618] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[  649.991700] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  650.024126] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[  650.148809]  sdb: sdb1
[  650.152362] sd 1:0:0:0: [sdb] Attached SCSI disk
[  665.305516] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[  665.317090] ata1.00: ATA-8: APPLE HDD HTS541010A9E632, JA0AB5N0, max UDMA/133
[  665.324981] ata1.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[  665.338560] ata1.00: configured for UDMA/133
[  665.344002] scsi 0:0:0:0: Direct-Access     ATA      APPLE HDD HTS541 B5N0 PQ: 0 ANSI: 5
[  665.366373] sd 0:0:0:0: [sdc] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[  665.374792] sd 0:0:0:0: [sdc] 4096-byte physical blocks
[  665.381177] sd 0:0:0:0: Attached scsi generic sg2 type 0
[  665.401146] sd 0:0:0:0: [sdc] Write Protect is off
[  665.413484] sd 0:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[  665.413619] sd 0:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  665.435708] sd 0:0:0:0: [sdc] Preferred minimum I/O size 4096 bytes
[  665.535090]  sdc: sdc1
[  665.538693] sd 0:0:0:0: [sdc] Attached SCSI disk

The next step is a new uBoot?
Re: Debian on Synology DS211
November 20, 2024 05:11PM
Ivanj,

> With the new dtb file both SATA slots are working
> and recognize the drives!
>
> [  638.325500] ata2: link is slow to respond,
> please be patient (ready=0)
> [  642.385518] ata2: SRST failed (errno=-16)
> [  648.365503] ata2: link is slow to respond,
> please be patient (ready=0)
> [  649.835513] ata2: SATA link up 3.0 Gbps
> (SStatus 123 SControl F300)
> [  649.844839] ata2.00: supports DRM functions and
> may not be fully accessible
> [  649.852573] ata2.00: ATA-10: ST12000NM0127,
> G006, max UDMA/133
> [  649.860574] ata2.00: 23437770752 sectors, multi
> 0: LBA48 NCQ (depth 31/32)
> [  649.902322] ata2.00: Features: Trust
> [  649.911162] ata2.00: supports DRM functions and
> may not be fully accessible
> [  649.922670] ata2.00: configured for UDMA/133
> [  649.929053] scsi 1:0:0:0: Direct-Access     ATA
>      ST12000NM0127    G006 PQ: 0 ANSI: 5
> [  649.950875] sd 1:0:0:0: [sdb] 23437770752
> 512-byte logical blocks: (12.0 TB/10.9 TiB)
> [  649.965619] sd 1:0:0:0: Attached scsi generic
> sg1 type 0
> [  649.973779] sd 1:0:0:0: [sdb] 4096-byte
> physical blocks
> [  649.986057] sd 1:0:0:0: [sdb] Write Protect is
> off
> [  649.991618] sd 1:0:0:0: [sdb] Mode Sense: 00 3a
> 00 00
> [  649.991700] sd 1:0:0:0: [sdb] Write cache:
> enabled, read cache: enabled, doesn't support DPO
> or FUA
> [  650.024126] sd 1:0:0:0: [sdb] Preferred minimum
> I/O size 4096 bytes
> [  650.148809]  sdb: sdb1
> [  650.152362] sd 1:0:0:0: [sdb] Attached SCSI
> disk
> [  665.305516] ata1: SATA link up 3.0 Gbps
> (SStatus 123 SControl F300)
> [  665.317090] ata1.00: ATA-8: APPLE HDD
> HTS541010A9E632, JA0AB5N0, max UDMA/133
> [  665.324981] ata1.00: 1953525168 sectors, multi
> 16: LBA48 NCQ (depth 31/32)
> [  665.338560] ata1.00: configured for UDMA/133
> [  665.344002] scsi 0:0:0:0: Direct-Access     ATA
>      APPLE HDD HTS541 B5N0 PQ: 0 ANSI: 5
> [  665.366373] sd 0:0:0:0: [sdc] 1953525168
> 512-byte logical blocks: (1.00 TB/932 GiB)
> [  665.374792] sd 0:0:0:0: [sdc] 4096-byte
> physical blocks
> [  665.381177] sd 0:0:0:0: Attached scsi generic
> sg2 type 0
> [  665.401146] sd 0:0:0:0: [sdc] Write Protect is
> off
> [  665.413484] sd 0:0:0:0: [sdc] Mode Sense: 00 3a
> 00 00
> [  665.413619] sd 0:0:0:0: [sdc] Write cache:
> enabled, read cache: enabled, doesn't support DPO
> or FUA
> [  665.435708] sd 0:0:0:0: [sdc] Preferred minimum
> I/O size 4096 bytes
> [  665.535090]  sdc: sdc1
> [  665.538693] sd 0:0:0:0: [sdc] Attached SCSI
> disk
>
>
> The next step is a new uBoot?

Nice!

Yes, I'll build another u-boot version.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Synology DS211
November 20, 2024 10:28PM
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: