[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Control: tag -1 patch

On Sat, Nov 26, 2016 at 12:59:21PM -0800, Ryan Tandy wrote:
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?

Looks like that was the case. I applied your patch to orion5x-linkstation-lsgl.dts, rebuilt the dtb, dropped it into /etc/flash-kernel/dtbs, and ran flash-kernel again. Much better:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.8.0-1-marvell (debian-kernel@lists.debian.org) (gcc version 5.4.1 20161019 (Debian 5.4.1-3) ) #1 Debian 4.8.5-1 (2016-10-28)
[    0.000000] CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt:Machine model: Buffalo Linkstation Pro/Live

[...]

[    3.297636] sata_mv sata_mv.0: version 1.28
[    3.297844] sata_mv sata_mv.0: cannot get optional clkdev
[    3.320803] sata_mv sata_mv.0: slots 32 ports 2
[    3.386495] scsi host0: sata_mv
[    3.403996] scsi host1: sata_mv
[    3.411527] ata1: SATA max UDMA/133 irq 28
[    3.415723] ata2: SATA max UDMA/133 irq 28
[    3.733937] ata1: SATA link down (SStatus 0 SControl 300)
[    4.212767] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    4.241078] ata2.00: ATA-7: SAMSUNG SP2504C, VT100-41, max UDMA7
[    4.247154] ata2.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    4.293102] ata2.00: configured for UDMA/133
[    4.298609] scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG SP2504C  0-41 PQ: 0 ANSI: 5
[    4.402529] sd 1:0:0:0: [sda] 488397168 512-byte logical blocks: (250 GB/233 GiB)
[    4.416368] sd 1:0:0:0: [sda] Write Protect is off
[    4.421270] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.421705] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.474159]  sda: sda1 sda2 sda3 < sda5 >
[    4.493519] sd 1:0:0:0: [sda] Attached SCSI disk


Reply to: