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


Groups > linux.debian.kernel > #55853

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

From Ryan Tandy <ryan@nardis.ca>
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 22:10 +0100
Message-ID <sHSoq-3oG-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> <sHO1r-we-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, Nov 27, 2016 at 01:20:10AM +0900, Roger Shimizu wrote:
>- 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

~ # chroot /target flash-kernel --force 4.8.0-1-marvell
DTB: orion5x-linkstation-lsgl.dtb
Installing /etc/flash-kernel/dtbs/orion5x-linkstation-lsgl.dtb into /boot/dtbs/4.8.0-1-marvell/orion5x-linkstation-lsgl.dtb
Taking backup of orion5x-linkstation-lsgl.dtb.
Installing new orion5x-linkstation-lsgl.dtb.
Installing /etc/flash-kernel/dtbs/orion5x-linkstation-lsgl.dtb into /boot/dtbs/4.8.0-1-marvell/orion5x-linkstation-lsgl.dtb
Taking backup of orion5x-linkstation-lsgl.dtb.
Installing new orion5x-linkstation-lsgl.dtb.
flash-kernel: installing version 4.8.0-1-marvell
flash-kernel: appending /etc/flash-kernel/dtbs/orion5x-linkstation-lsgl.dtb to kernel
Generating kernel u-boot image... done.
Taking backup of uImage.buffalo.
Installing new uImage.buffalo.
Generating initramfs u-boot image... done.
Taking backup of initrd.buffalo.
Installing new initrd.buffalo.

>- 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!

It booted! :)

Linux xenon 4.8.0-1-marvell #1 Debian 4.8.5-1 (2016-10-28) armv5tel GNU/Linux

Unfortunately dmesg and kern.log are flooded with messages like:

[  161.781360] Bad eraseblock 32764 at 0x0001fff00000
[  161.786261] Bad eraseblock 32765 at 0x0001fff40000
[  161.791159] Bad eraseblock 32766 at 0x0001fff80000
[  161.796058] Bad eraseblock 32767 at 0x0001fffc0000

and boot takes a very long time due to logging all these messages. I 
suppose that's a side-effect of using the kurobox-pro dtb - guessing it 
has a different flash layout?

Anyway, the change to nr-ports=2 looks good!

Tested-by: Ryan Tandy <ryan@nardis.ca>

Thanks!

Back to linux.debian.kernel | 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
  Processed: Re: Bug#845611: linux-image-4.8.0-1-marvell: hard  drive not detected on LinkStation Pro (LS-GL) owner@bugs.debian.org (Debian Bug Tracking System) - 2016-11-27 00:00 +0100

csiph-web