From owner-freebsd-current@FreeBSD.ORG Mon Nov 7 09:20:14 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BEFB16A41F; Mon, 7 Nov 2005 09:20:14 +0000 (GMT) (envelope-from dd@freebsd.org) Received: from charade.trit.org (charade.trit.org [65.19.139.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1D0043D46; Mon, 7 Nov 2005 09:20:13 +0000 (GMT) (envelope-from dd@freebsd.org) Received: from maverick.trit.org (maverick.trit.org [IPv6:2001:4830:2381:2062:212:f0ff:fe4c:896a]) by charade.trit.org (Postfix) with ESMTP id CABCB1AF4D4; Mon, 7 Nov 2005 09:20:12 +0000 (UTC) Received: from maverick.trit.org (localhost [127.0.0.1]) by maverick.trit.org (8.13.4/8.13.4) with ESMTP id jA79KC7l001268; Mon, 7 Nov 2005 09:20:12 GMT (envelope-from dd@freebsd.org) Received: (from dima@localhost) by maverick.trit.org (8.13.4/8.13.4/Submit) id jA79KBrr001267; Mon, 7 Nov 2005 09:20:11 GMT (envelope-from dd@freebsd.org) X-Authentication-Warning: maverick.trit.org: dima set sender to dd@freebsd.org using -f Date: Mon, 7 Nov 2005 09:20:11 +0000 From: Dima Dorfman To: =?iso-8859-1?Q?S=F8ren?= Schmidt Message-ID: <20051107092007.GA1240@trit.org> References: <20041116145445.EC71167E2B@gunfright.epcdirect.co.uk> <419B177D.2090206@DeepCore.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <419B177D.2090206@DeepCore.dk> X-PGP-Key: 69FAE582 (http://www.trit.org/~dima/dima.asc) X-PGP-Fingerprint: B340 8338 7DA3 4D61 7632 098E 0730 055B 69FA E582 User-Agent: Mutt/1.5.9i Cc: current@freebsd.org Subject: Re: Marvell SATA Support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2005 09:20:14 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable S=F8ren Schmidt wrote: > Lawrence Farr wrote: > >Hello All, > > > >I have a Supermicro P4SCT+ with an onboard Marvell > >SATA controller, which also has the Adaptec Hostraid > >software raid functionality. Are there any patches to > >support the marvell controller as a plain controller > >anywhere? > > > >pciconf output if anyones interested: > > > >none4@pci2:4:0: class=3D0x010000 card=3D0x504111ab chip=3D0x504111ab rev= =3D0x03 > >hdr=3D0x00 > > vendor =3D 'Marvell Semiconductor (Was: Galileo Technology Ltd)' > > device =3D '88SX504 4-port SATA I PCI-X Controller' > > class =3D mass storage > > subclass =3D SCSI >=20 > Not yet, but I'm working on it, actually on the exact same board. > Maybe, just maybe, you could hack the Highpoint hptmv driver, I havn't=20 > tried but unless they put in "tricks" to prohibit that it should work. S=F8ren, Have you made any progress on this? I have one of these chips on a SuperMicro 5013MT-MT(B) board. It has a HostRAID BIOS, but I don't need the RAID functionality--just being able to see the drives would be enough. Here's my pciconf output (I forgot to write down the entire class value and PCI address, but everything else is accurate): noneX@pciX:Y:Z: class=3DXXX card=3D0x518015d9 chip=3D0x504111ab rev=3D0x00= hdr=3D0x00 vendor =3D 'Marvell Semiconductor (Was: Galileo Technology Ltd)' device =3D '88SX504 4-port SATA I PCI-X Controller' class =3D mass storage subclass =3D RAID Since the subclass is RAID, the ata driver doesn't try to attach to it at all--not even using generic DMA. Would it make sense to force it to try generic DMA, or does the subclass indicate that the interface is completely different? In its current state, I can't see any disks attached to this controller. Is there an easy way to make it work without RAID? I'd hate to put another controller into this box. Thanks, Dima. --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFDbxxGBzAFW2n65YIRAjTIAJ9CJiMYtp1w6yFkhBWRLADXYGI80ACgh05k DIP9smZ++jHtMUpNacm8+4U= =P8C+ -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--