From owner-freebsd-current@FreeBSD.ORG Mon Nov 7 12:08:57 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 973D216A41F; Mon, 7 Nov 2005 12:08:57 +0000 (GMT) (envelope-from sos@FreeBSD.ORG) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A1C443D46; Mon, 7 Nov 2005 12:08:56 +0000 (GMT) (envelope-from sos@FreeBSD.ORG) Received: from [194.192.25.136] (mac.deepcore.dk [194.192.25.136]) by spider.deepcore.dk (8.13.4/8.13.3) with ESMTP id jA7C8jd7025898; Mon, 7 Nov 2005 13:08:45 +0100 (CET) (envelope-from sos@FreeBSD.ORG) In-Reply-To: <20051107092007.GA1240@trit.org> References: <20041116145445.EC71167E2B@gunfright.epcdirect.co.uk> <419B177D.2090206@DeepCore.dk> <20051107092007.GA1240@trit.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= Date: Mon, 7 Nov 2005 13:08:51 +0100 To: Dima Dorfman X-Mailer: Apple Mail (2.746.2) X-mail-scanned: by DeepCore Virus & Spam killer v1.12 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 12:08:57 -0000 On 07/11/2005, at 10:20, Dima Dorfman wrote: > 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 = =20 >>> 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 >> >> 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 =20 >> havn't >> tried but unless they put in "tricks" to prohibit that it should =20 >> 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 =20 > 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. The marvell chips doesn't look like a normal ATA controller *at all*, =20= they are very different animals that actually could be dealt with in =20 a seperate driver if need be. Now I've gone to great lengths in ATA to be able to support chips =20 like this (newer Promise chips and AHCI are also in this category), =20 and support will come at some point, I just havn't had time to work =20 on it due to other more urgent things (like getting ATA in 6.0 =20 working as well as possible). Since this is all spare time work I =20 have to prioritize my time, and so far there's always been something =20 else that popped up.. So patience is the way to go, or maybe hope for some vendor needing =20 it badly enough to contract me working hours to do it... S=F8ren Schmidt sos@FreeBSD.org