čtvrtek 5. května 2016

unrecognised SATA drives / Marvell 88SE6145

Motherboard "NAS 7800" has 8 sata ports, 4 are connected to VIA sata controller, the other 4 are those of Marvell 88SE6145. Whereas the VIA ports work well with OpenSuse 13.2 with pata_via module, the Marvell ports do not recognise attached drives:

ata8: SRST failed (errno=-16)
ata8: link is slow to respond, please be patient (ready=0)

or
ata4: exception Emask 0x10 SAct 0x0 SErr 0xb0000 action 0xe frozen
ata4: irq_stat 0x04400000, PHY RDY change
ata4: SError: { PHYRdyChg PHYInt 10B8B }
ata4: hard resetting link
ata4: SATA link down (SStatus 0 SControl 300)
ata4: hard resetting link
...
According to Allan Cox's solution the automatically identified module should be substituted by the
ahci module with option marvell_enable=1. To do so:
create options file for ahci module:
echo "options ahci marvell_enable=1" >/etc/modprobe.d/my-marvel.conf 

blacklist the broken(?) pata_marvell (append to blacklist file):
echo "blacklist pata_marvell" >>/etc/modprobe.d/50-blacklist.conf

delete pata_marvell from initrd modules in /etc/sysconfig/kernel:
INITRD_MODULES="ahci pata_via ata_generic"

and re-create initrd
mkinitrd

reboot

Remark to the Marvell 88SE6145 raid 0/1/5 controller: it is a sw raid controller, drives appear in linux as JBOD regardless of BIOS settings.

Žádné komentáře:

Okomentovat