Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #785799

Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL)

From Roger Shimizu <rogershimizu@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL)
Date 2016-11-26 17:30 +0100
Message-ID <sHO1r-we-7@gated-at.bofh.it> (permalink)
References <sHjh0-62o-11@gated-at.bofh.it> <sHjqF-65B-3@gated-at.bofh.it> <sHroe-2Rp-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Dear Ryan,

On Fri, Nov 25, 2016 at 4:24 PM, Ryan Tandy <ryan@nardis.ca> wrote:
>
> [  611.971107] scsi host0: sata_mv
> [  611.984111] scsi host1: sata_mv
> [  611.984881] ata1: SATA max UDMA/133 irq 30
> [  611.984916] ata2: SATA max UDMA/133 irq 30
> [  612.302763] ata1: SATA link down (SStatus 0 SControl 300)
> [  612.778697] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [  612.787074] ata2.00: ATA-7: SAMSUNG SP2504C, VT100-41, max UDMA7
> [  612.787118] ata2.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
> [  612.819082] ata2.00: configured for UDMA/133

Looks like your LS-GL really uses the 2nd SATA port.
Though my LS-GL works fine with current DTS.
So it need the following patch to be applied.

diff --git a/arch/arm/boot/dts/orion5x-linkstation-lsgl.dts
b/arch/arm/boot/dts/orion5x-linkstation-lsgl.dts
index 1cf644b..51dc734 100644
--- a/arch/arm/boot/dts/orion5x-linkstation-lsgl.dts
+++ b/arch/arm/boot/dts/orion5x-linkstation-lsgl.dts
@@ -82,6 +82,10 @@
     gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
 };

+&sata {
+    nr-ports = <2>;
+};
+
 &ehci1 {
     status = "okay";
 };


On Sat, Nov 26, 2016 at 1:10 AM, Ryan Tandy <ryan@nardis.ca> wrote:
>
> kurobox_pro-setup.c, AFAIK, used to be used on several related platforms.
> The kurobox pro and LS-GL are nearly identical.

Yes. So maybe the easiest way for you is:
- start your device by kernel 4.3 first.
- confirm your have flash-kernel and linux-image-4.8.0-1-marvell installed.
- cp /usr/lib/linux-image-4.8.0-1-marvell/orion5x-kuroboxpro.dtb
/etc/flash-kernel/dtbs/orion5x-linkstation-lsgl.dtb
- flash-kernel --force 4.8.0-1-marvell
- check the log of above command, it should use
/etc/flash-kernel/dtbs/orion5x-linkstation-lsgl.dtb for building
uImage.buffalo, the kernel image for booting
- reboot and see the result

If the above steps works for you, I can submit the above patch to
kernel upstream, and include it into Stretch release.
So I'm looking forward to your result. Thank you!

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ryan Tandy <ryan@nardis.ca> - 2016-11-25 08:40 +0100
  Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ian Campbell <ijc@debian.org> - 2016-11-25 08:50 +0100
    Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ryan Tandy <ryan@nardis.ca> - 2016-11-25 17:20 +0100
      Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ian Campbell <ijc@debian.org> - 2016-11-25 17:30 +0100
        Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ryan Tandy <ryan@nardis.ca> - 2016-11-25 18:00 +0100
          Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ryan Tandy <ryan@nardis.ca> - 2016-11-25 18:10 +0100
          Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ian Campbell <ijc@debian.org> - 2016-11-25 18:10 +0100
      Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Roger Shimizu <rogershimizu@gmail.com> - 2016-11-26 17:30 +0100
        Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ryan Tandy <ryan@nardis.ca> - 2016-11-26 22:10 +0100
          Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Ryan Tandy <ryan@nardis.ca> - 2016-11-27 00:00 +0100
            Bug#845611: linux-image-4.8.0-1-marvell: hard drive not detected on LinkStation Pro (LS-GL) Roger Shimizu <rogershimizu@gmail.com> - 2016-11-27 01:20 +0100

csiph-web