From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: Can not see/access devices on Marvell 88SE9485 + SiI 3726 PMP Date: Mon, 01 Jul 2013 07:38:02 -0700 Message-ID: <1372689482.2385.15.camel@dabdike> References: <51D18DA6.8000502@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from bedivere.hansenpartnership.com ([66.63.167.143]:33363 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753768Ab3GAOiE (ORCPT ); Mon, 1 Jul 2013 10:38:04 -0400 In-Reply-To: <51D18DA6.8000502@gmail.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Hajo =?ISO-8859-1?Q?M=F6ller?= Cc: linux-scsi@vger.kernel.org, yuxiangl@marvell.com On Mon, 2013-07-01 at 16:09 +0200, Hajo M=F6ller wrote: > Hi, >=20 > I've got a box which recently got a Marvell 88SE9485 PCIe card > (Supermicro AOC-SAS2LP-MV8), which is connected by a mSAS->4x SATA-ca= ble > to some 5 HDD backplanes (CFI-B53PM, chip is a SiI 3726). >=20 > The HBA's BIOS can see and access the HDDs through the backplanes, wh= ich > various Linux distributions could not. > I tried Ubuntu 12.04.2, Ubuntu 13.04, Debian 7.0 and a current Arch L= inux. > All logs in this mail are from a fresh Ubuntu 12.04.2 install. >=20 > lspci shows the controller as: > 01:00.0 RAID bus controller: Marvell Technology Group Ltd. Device 948= 5 > (rev 03) >=20 > lshw does not show the attached disks, nor are there device nodes in > /dev/ for those disks. >=20 > Unplugging a disk results in this (/var/log/kern.log): > kernel: [ 276.995910] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2062:phy 4 ctrl sts=3D0x00000000. > kernel: [ 276.995914] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2064:phy 4 irq sts =3D 0x01201001 > kernel: [ 278.950547] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2062:phy 4 ctrl sts=3D0x00111000. > kernel: [ 278.950551] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2064:phy 4 irq sts =3D 0x00000081 > kernel: [ 279.502757] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_94xx.c > 838:get all reg link rate is 0x111000 > kernel: [ 279.502760] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_94xx.c > 843:get link rate is 9 > kernel: [ 279.582118] mvsas 0000:01:00.0: Phy0 : No sig fis > kernel: [ 279.582121] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2006:phy0 Attached Device > kernel: [ 283.953502] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2048:Get signature time out, reset phy 4 > kernel: [ 283.953517] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2062:phy 4 ctrl sts=3D0x00000000. > kernel: [ 283.953519] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2064:phy 4 irq sts =3D 0x00001001 > kernel: [ 284.449485] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2062:phy 4 ctrl sts=3D0x00111000. > kernel: [ 284.449488] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2064:phy 4 irq sts =3D 0x00000081 > kernel: [ 286.445635] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_94xx.c > 838:get all reg link rate is 0x111000 > kernel: [ 286.445638] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_94xx.c > 843:get link rate is 9 > kernel: [ 286.524997] mvsas 0000:01:00.0: Phy0 : No sig fis > kernel: [ 286.525000] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2006:phy0 Attached Device >=20 > Replugging the disk: > kernel: [ 310.738784] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2062:phy 4 ctrl sts=3D0x00111000. > kernel: [ 310.738788] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2064:phy 4 irq sts =3D 0x00010000 > kernel: [ 310.738791] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 2113:notify plug in on phy[0] > kernel: [ 310.758632] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_94xx.c > 838:get all reg link rate is 0x111000 > kernel: [ 310.758634] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_94xx.c > 843:get link rate is 9 > kernel: [ 310.877669] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 1175:phy 4 attach dev info is 20001 > kernel: [ 310.877671] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 1177:phy 4 attach sas addr is 4 > kernel: [ 310.877678] > /build/buildd/linux-lts-quantal-3.5.0/drivers/scsi/mvsas/mv_sas.c > 277:phy 4 byte dmaded. > kernel: [ 310.877689] sas: sas_form_port: phy0 belongs to port0 alre= ady(1)! >=20 > According to Marvell's product brief the controller has "Built-in > support for SATA Port Multipliers with FIS-based switching", which it= s > BIOS seems to confirm. >=20 > The PMPs used to work when connected via a Syba SY-PEX40008 (SiI3124) > controller, which has bugs on its own when more than three drives per > PMP are concurrently active. >=20 > Any help is greatly appreciated, mv_sas is a libsas based driver. libsas doesn't have any support for SATA PMPs. When it was added they were left as a todo item but then in the field everyone deployed enterprise type SATA devices in SAS expande= r chassis, so PMP support just got forgotten. James -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html